/*
 * KTFM Prayer FIRE Global — Premium UI & Functional Prayer Request
 * Scoped to Prayer FIRE-specific classes only.
 */

/* Hero refinement */
.page-prayer-fire .ministry-detail-hero {
    min-height: min(920px, calc(100vh - 72px));
}

.page-prayer-fire .ministry-detail-hero__veil {
    background:
        linear-gradient(
            90deg,
            rgba(32, 5, 4, .96) 0%,
            rgba(32, 5, 4, .86) 42%,
            rgba(32, 5, 4, .5) 72%,
            rgba(32, 5, 4, .3) 100%
        ),
        linear-gradient(
            0deg,
            rgba(24, 3, 3, .7),
            transparent 50%
        );
}

.page-prayer-fire .ministry-detail-hero__content {
    width: min(930px, 78%);
}

.page-prayer-fire .ministry-detail-hero h1 {
    max-width: 900px;
    font-size: clamp(4.2rem, 7.5vw, 7.8rem);
}

.page-prayer-fire .ministry-detail-hero__actions {
    position: relative;
    z-index: 4;
}

.page-prayer-fire .ministry-detail-hero__actions .button {
    min-height: 54px;
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
}

/* What to Expect */
.prayer-experience {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(218, 153, 48, .16),
            transparent 34rem
        ),
        linear-gradient(180deg, #2b0807 0%, #360b08 100%);
    color: #fff;
}

.prayer-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.prayer-experience__head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: clamp(36px, 7vw, 100px);
    align-items: end;
    margin-bottom: 42px;
}

.prayer-experience .section-heading h2 {
    color: #fff;
}

.prayer-experience .section-heading h2 em {
    color: #e0a841;
}

.prayer-experience__intro {
    max-width: 540px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 1.75;
}

.prayer-experience__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
}

.prayer-experience__grid article {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );
    box-shadow: 0 22px 55px rgba(0,0,0,.12);
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.prayer-experience__grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(224,168,65,.38);
    background:
        linear-gradient(
            145deg,
            rgba(224,168,65,.12),
            rgba(255,255,255,.03)
        );
}

.prayer-experience__card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.prayer-experience__card-top span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #dfa640;
    color: #2a0907;
    font-size: .68rem;
    font-weight: 900;
}

.prayer-experience__card-top small {
    color: #e7b75c;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.prayer-experience__grid h3 {
    max-width: 300px;
    margin: 44px 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.2vw, 2.25rem);
    font-weight: 400;
    line-height: 1.02;
}

.prayer-experience__grid p {
    max-width: 330px;
    margin: 0;
    color: rgba(255,255,255,.69);
    font-size: .88rem;
    line-height: 1.68;
}

.prayer-experience__grid article > i {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        #dea640,
        rgba(222,166,64,0)
    );
}

/* Involvement section */
.prayer-pathways__head {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(280px,500px);
    gap: clamp(36px, 7vw, 100px);
    align-items: end;
}

.prayer-pathways__head > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

/* Prayer request form */
.prayer-request {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(225, 177, 83, .18),
            transparent 28rem
        ),
        #0d2038;
    color: #fff;
}

.prayer-request__grid {
    display: grid;
    grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr);
    gap: clamp(44px, 7vw, 100px);
    align-items: start;
}

.prayer-request__content {
    position: sticky;
    top: 120px;
}

.prayer-request .section-heading h2 {
    color: #fff;
}

.prayer-request .section-heading h2 em {
    color: #e0b15a;
}

.prayer-request__content > p:not(.eyebrow):not(.prayer-request__safety) {
    max-width: 620px;
    color: rgba(255,255,255,.75);
    line-height: 1.75;
}

.prayer-request__principles {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.prayer-request__principles article {
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
}

.prayer-request__principles strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
}

.prayer-request__principles span {
    color: rgba(255,255,255,.66);
    font-size: .82rem;
    line-height: 1.55;
}

.prayer-request__safety {
    margin-top: 22px;
    padding-left: 15px;
    border-left: 2px solid #dca23c;
    color: rgba(255,255,255,.6);
    font-size: .76rem;
    line-height: 1.6;
}

.prayer-request__form-card {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 28px;
    background: #fffdf8;
    color: #10233f;
    box-shadow: 0 30px 80px rgba(0,0,0,.22);
}

.prayer-request__message {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 16px;
}

.prayer-request__message strong {
    display: block;
    margin-bottom: 4px;
}

.prayer-request__message p {
    margin: 0;
    line-height: 1.55;
}

.prayer-request__message.is-success {
    background: #e9f6ee;
    color: #216640;
}

.prayer-request__message.is-error {
    background: #f9ecec;
    color: #8d3434;
}

.prayer-request__form {
    display: grid;
    gap: 15px;
}

.prayer-request__form label {
    display: grid;
    gap: 7px;
}

.prayer-request__form label > span {
    color: #314056;
    font-size: .72rem;
    font-weight: 800;
}

.prayer-request__form label > span i {
    color: #8c97a5;
    font-weight: 500;
}

.prayer-request__form input,
.prayer-request__form select,
.prayer-request__form textarea {
    width: 100%;
    border: 1px solid rgba(16,35,63,.14);
    border-radius: 13px;
    background: #fff;
    color: #10233f;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.prayer-request__form input:focus,
.prayer-request__form select:focus,
.prayer-request__form textarea:focus {
    border-color: #c58b2b;
    box-shadow: 0 0 0 4px rgba(197,139,43,.1);
}

.prayer-request__form textarea {
    resize: vertical;
    min-height: 180px;
}

.prayer-request__form label > small {
    color: #7a8595;
    font-size: .68rem;
    line-height: 1.45;
}

.prayer-request__two {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
}

.prayer-request__check {
    grid-template-columns: 20px 1fr !important;
    gap: 10px !important;
    align-items: start;
    padding: 12px 13px;
    border-radius: 13px;
    background: #f8f4ea;
}

.prayer-request__check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.prayer-request__check span {
    color: #526074 !important;
    line-height: 1.5;
}

.prayer-request__submit {
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: 3px;
}

.prayer-request__honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Final CTA buttons */
.prayer-cta__actions .button {
    min-height: 52px;
    box-shadow: 0 12px 32px rgba(0,0,0,.17);
}

@media (max-width: 980px) {
    .page-prayer-fire .ministry-detail-hero__content {
        width: min(920px, 92%);
    }

    .prayer-experience__head,
    .prayer-pathways__head,
    .prayer-request__grid {
        grid-template-columns: 1fr;
    }

    .prayer-experience__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .prayer-request__content {
        position: static;
    }
}

@media (max-width: 650px) {
    .page-prayer-fire .ministry-detail-hero {
        min-height: 820px;
    }

    .page-prayer-fire .ministry-detail-hero__content {
        width: 100%;
    }

    .page-prayer-fire .ministry-detail-hero h1 {
        font-size: clamp(3.7rem, 16vw, 5.9rem);
    }

    .page-prayer-fire .ministry-detail-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-prayer-fire .ministry-detail-hero__actions .button {
        width: 100%;
        justify-content: center;
    }

    .prayer-experience__grid,
    .prayer-request__two {
        grid-template-columns: 1fr;
    }

    .prayer-experience__grid article {
        min-height: 230px;
    }

    .prayer-experience__grid h3 {
        margin-top: 30px;
    }

    .prayer-request__form-card {
        border-radius: 22px;
    }
}
