/* ==========================================================================
   Programs — Church page
   ========================================================================== */

.smrs-church {
    background: #fff;
    color: #141414;
}

.smrs-church-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--smrs-dark-green, #0C4143);
    margin-bottom: 16px;
}

.smrs-church-heading {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 700;
    margin: 0 0 40px;
    text-align: center;
}

.smrs-church-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.smrs-church-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.smrs-church-reveal.delay-1 { transition-delay: 0.1s; }
.smrs-church-reveal.delay-2 { transition-delay: 0.2s; }

/* ---------- 1. Hero ---------- */

.smrs-church-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 100vh;
    min-height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.smrs-church-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.smrs-church-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.smrs-church-hero-h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 14px;
}

.smrs-church-hero-h2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Pinned reveal + Church Locations sections moved to the Sons page
   per client request (Sons by Grace content). See sons.css. */

/* ---------- 1b. About Sons by Grace — church-facing overview ---------- */

.smrs-church-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 32px 90px;
    text-align: center;
}

.smrs-church-intro-text {
    color: #55534E;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* ==========================================================================
   Church Partner form - hand-coded, matches the Sons page registration
   form's established pattern (dark green section, pill-bordered
   transparent inputs, cream submit button).
   ========================================================================== */

.smrs-church-form-section {
    background: var(--smrs-dark-green, #0C4143);
    padding: 90px 32px;
}

.smrs-church-form-inner {
    max-width: 640px;
    margin: 0 auto;
}

.smrs-church-form-heading {
    color: #fff;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 36px;
    text-align: center;
}

/* Shown instead of the Get in Touch link while registration is
   paused (see $smrs_church_partner_open in functions.php) - same
   pattern as .smrs-sons-form-closed in sons.css. */
.smrs-church-form-closed {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-align: center;
}

.smrs-church-form-closed p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.smrs-church-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.smrs-church-form .full-width {
    grid-column: 1 / -1;
}

.smrs-church-form label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.smrs-church-form input,
.smrs-church-form select,
.smrs-church-form textarea {
    width: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
}

.smrs-church-form select option {
    color: #141414;
}

.smrs-church-form input::placeholder,
.smrs-church-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.smrs-church-form input:focus,
.smrs-church-form select:focus,
.smrs-church-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.smrs-church-form-submit {
    /* display/width/box-sizing/text-align/text-decoration added when
       this became a link to an external Google Form instead of a
       <button> inside the form's grid - see moms.css's
       .smrs-prog-form-submit for the full explanation. */
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    background: var(--smrs-cream, #F3EEE3);
    color: var(--smrs-dark-green, #0C4143);
    border: none;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.smrs-church-form-submit:hover {
    background: #fff;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .smrs-church-form {
        grid-template-columns: 1fr;
    }
}