/* ============================================================
   AMI365 — main.css
   No framework. Keep every rule purposeful and minimal.
   Fonts: Roboto (body), Teko (headings/nav)

   CONTENTS
   1. Design tokens (:root)      6. Buttons (.btn system)
   2. Reset & base typography    7. Page components
   3. Layout (container/bleed)   8. Footer
   4. Hero + nav                 9. Responsive (@media)
   5. Dropdowns
   ============================================================ */


/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
    /* Brand */
    --navy:        #303D4E;   /* headings, footer, dark UI */
    --blue:        #0263A4;   /* primary action + links */
    --blue-dark:   #024D80;   /* primary hover */
    --light-blue:  #97CCE8;   /* accents, hairlines, light text */
    --orange:      #F7941D;   /* accent action (donate / CTA) */
    --orange-dark: #E07D0A;   /* accent hover */
    --white:       #FFFFFF;

    /* Text */
    --text:        #7A7A7A;   /* body copy */
    --ink:         #333333;   /* form input text */

    /* Surfaces & borders (merged from ~40 near-duplicates) */
    --surface:     #F7F9FC;   /* light panel background */
    --surface-2:   #EEF3F8;   /* deeper panel / row hover */
    --border:      #E3E8EE;   /* default hairline */
    --border-2:    #D0D8E0;   /* stronger border / inputs */

    /* Type scale (strict — every size maps to one of these) */
    --fs-xs:   0.75rem;   /* 12px — eyebrow labels, fine print */
    --fs-sm:   0.875rem;  /* 14px — captions, meta, small UI */
    --fs-base: 1rem;      /* 16px — body */
    --fs-md:   1.25rem;   /* 20px — lead text, small headings */
    --fs-lg:   1.5rem;    /* 24px — h4 / card titles */
    --fs-xl:   2rem;      /* 32px — h3 */
    --fs-2xl:  2.75rem;   /* 44px — h2 / section titles */
    --fs-3xl:  4rem;      /* 64px — h1 / hero display */

    /* Fonts */
    --font-body: "Roboto", sans-serif;
    --font-head: "Teko", sans-serif;

    /* Shared */
    --radius: 4px;
    --shadow: 0 4px 14px rgba(0,0,0,0.08);
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

ul { list-style: none; }


/* ── Container ──────────────────────────────────────────────── */
.page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Full-bleed utilities ────────────────────────────────────
   Both classes escape .page-container to fill 100vw.

   .full-bleed       — bg/color fills viewport; text stays
                       constrained to 1140px via inner padding.
                       Use for quote bands, CTA strips, etc.

   .full-bleed-wide  — bg AND text fill full viewport width.
                       Use for galleries, maps, full-width images.

   Classic escape trick: push element to left edge with
   left:50% + margin-left:-50vw, then restore width to 100vw.
   ─────────────────────────────────────────────────────────── */
.full-bleed,
.full-bleed-wide {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}
/* Variation 1 — text constrained: apply directly on the element */
/* Set padding-left/right to at least (50vw - 570px) to center
   content within 1140px. Use 150px shorthand on large screens. */

/* Variation 2 — text unconstrained: just add side padding so
   content doesn't touch the screen edge. */
.full-bleed-wide { padding-left: 1.5rem; padding-right: 1.5rem; }


/* ── HERO (nav + title) ─────────────────────────────────────── */
.site-hero {
    display: flex;
    flex-direction: column;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 4rem;
}


/* ── NAV ────────────────────────────────────────────────────── */
nav.site-nav {
    width: 100%;
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 95px;
    padding: 15px 2rem 0 1.25rem;
}

.nav-logo-link { display: block; flex-shrink: 0; }
.nav-logo-img  { height: 58px; width: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-menu li {
    display: flex;
    align-items: center;
    align-self: stretch;
    position: relative;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-family: var(--font-head);
    font-size: 29px;   /* nav chrome — sized to fit 9 items before the 992px breakpoint, not part of the prose scale */
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    height: 100%;
    transition: color 0.15s;
}
.nav-menu li a:hover { color: var(--light-blue); }

.caret { font-size: 0.55em; margin-left: 3px; }

/* DONATE button = .btn .btn-accent; these only handle nav placement/fit */
.nav-menu li a.btn { height: auto; margin-left: 0.5rem; padding: 0.45rem 0.9rem 0.2rem; font-size: var(--fs-md); }
.nav-menu li a.btn:hover { color: var(--white); }


/* ── DROPDOWNS ──────────────────────────────────────────────── */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 900;
    min-width: 210px;
    background: var(--white);
    border-top: 3px solid var(--light-blue);
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    flex-direction: column;
}

/* Invisible bridge over the gap so a slow downward hover keeps the menu open */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu { display: flex; }

.dropdown-menu li { display: block; }

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.3rem;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--navy);
    height: auto;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s, color 0.12s;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--navy); color: var(--white); }

.sub-caret { float: right; margin-left: 0.5rem; }

/* Campus Vision sub-menu opens to the right */
.has-sub > .dropdown-menu {
    top: -3px;
    left: 100%;
    border-top: 3px solid var(--light-blue);
    border-radius: 6px;
}


/* ── MOBILE NAV ─────────────────────────────────────────────── */
.mob-burger { display: none; }
.nav-inner .mob-donate { display: none; }  /* (0,2,0) beats .btn display */

.mob-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--white);
    flex-direction: column;
    overflow-y: auto;
}
.mob-menu.open { display: flex; }

.mob-head {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
}
.mob-head .nav-logo-link { flex: 1; }
.mob-close {
    background: none;
    border: none;
    font-size: var(--fs-lg);
    color: var(--navy);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    margin-left: 0.75rem;
}
.mob-burger {
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--fs-xl);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    margin-left: auto;
    margin-right: -10px;
    margin-top: -10px;
}

.mob-nav > li { border-bottom: 1px solid var(--border); }

.mob-nav > li > a,
.mob-nav > li > details > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 1rem;
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    font-weight: 400;
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.mob-nav > li > details > summary::after    { content: '∨'; font-size: 0.55em; }
.mob-nav > li > details[open] > summary     { background: var(--surface); }

/* Sub-items (2nd level) */
.mob-nav details > ul {
    background: var(--surface);
}
.mob-nav details > ul > li > a,
.mob-nav details > ul > li > details > summary {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.35rem 1rem 0.35rem 1.75rem;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy);
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.mob-nav details > ul > li > details > summary { justify-content: flex-start; position: relative; }
.mob-nav details > ul > li > details > summary::after { position: absolute; right: 1rem; }
.mob-nav details > ul > li > a::before,
.mob-nav details > ul > li > details > summary::before { content: '›'; margin-right: 0.35rem; color: var(--light-blue); }
.mob-nav details > ul > li > details > summary::after  { content: '∨'; font-size: 0.55em; }

/* 3rd-level sub-items — extra indent */
.mob-nav details > ul > li > details > ul { background: var(--surface-2); }
.mob-nav details > ul > li > details > ul > li > a {
    display: flex;
    align-items: center;
    padding: 0.3rem 1rem 0.3rem 2.75rem;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy);
    text-decoration: none;
}
.mob-nav details > ul > li > details > ul > li > a::before { content: '›'; margin-right: 0.35rem; color: var(--light-blue); }

/* Hide default <details> marker */
.mob-nav summary::-webkit-details-marker,
.mob-nav summary::marker { display: none; content: ''; }


/* ── HERO TITLE ─────────────────────────────────────────────── */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem 4rem;
}
.hero-content h1 {
    font-family: var(--font-head);
    font-size: 100px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
}
.hero-content p {
    font-size: var(--fs-md);
    color: var(--white);
    margin-top: 0.25rem;
}


/* ── HERO SLIDER (homepage only) ───────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-slider nav.site-nav {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}
.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s linear;
}
/* Separate bg div so we can scale it without affecting overlay/content */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.15); /* resting = endpoint — deactivation snaps to same value, no visible jump */
}
.slider-slide.active .slide-bg {
    animation: slideZoom 5s linear both; /* 'both': from{scale(1)} applies at opacity:0, invisible */
    will-change: transform;
}
/* Pause zoom while hovering a CTA button */
.hero-slider:has(.slider-cta:hover) .slide-bg { animation-play-state: paused; }
@keyframes slideZoom { from { transform: scale(1); } to { transform: scale(1.15); } }
/* Dark navy overlay */
.slider-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 42, 72, 0.62);
    z-index: 1;
}
.slider-slide.active { opacity: 1; }

/* ── Decorative graphics ── */
.slide-deco-left,
.slide-deco-right-orange,
.slide-deco-right-white {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* Orange swirl — left side, behind text */
.slide-deco-left {
    left: 0;
    top: 0;
    width: max(80px, calc((100vw - 1140px) / 2 + 1.5rem));
    /* starts one full image-height above; slides down to top: 0 */
    transform: translateY(-100%);
    opacity: 0;
}
.slider-slide.active .slide-deco-left {
    animation: decoSlideDown 0.9s cubic-bezier(0.22,0.61,0.36,1) 0.5s both;
}

/* Orange quarter-circle — bottom right, spins CCW */
.slide-deco-right-orange {
    right: 0;
    bottom: 0;
    width: 608px;
    transform-origin: left bottom;
    transform: rotate(90deg);
    opacity: 0;
}
.slider-slide.active .slide-deco-right-orange {
    animation: decoSpinCCW 1s cubic-bezier(0.22,0.61,0.36,1) 1s both;
}

/* White curve strip — right edge, slides in from right */
.slide-deco-right-white {
    right: 0;
    top: 0;
    height: 72vh;
    width: auto;
    transform: translateX(100%);
    opacity: 0;
}
.slider-slide.active .slide-deco-right-white {
    animation: decoSlideFromRight 0.8s cubic-bezier(0.22,0.61,0.36,1) 1.2s both;
}

@keyframes decoSlideDown      { from { opacity:1; transform: translateY(-100%); } to { opacity:1; transform: none; } }
@keyframes decoSpinCCW        { from { opacity:1; transform: rotate(90deg); }    to { opacity:1; transform: none; } }
@keyframes decoSlideFromRight { from { opacity:1; transform: translateX(100%); } to { opacity:1; transform: none; } }

/* ── Slide content ── */
.slider-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    isolation: isolate; /* own stacking context — keeps text compositing separate from bg zoom */
    padding: 2rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
    z-index: 3;
}
/* Staggered slide-up per element */
@keyframes slideUp { from { opacity:0; transform: translateY(100px); } to { opacity:1; transform: none; } }
.slider-slide.active .slider-label          { animation: slideUp 0.6s ease 0.2s both; }
.slider-slide.active .slider-content h2     { animation: slideUp 0.6s ease 0.5s both; }
.slider-slide.active .slider-content p      { animation: slideUp 0.6s ease 0.8s both; }
.slider-slide.active .slider-cta-group           { animation: slideUp 0.6s ease 1.1s both; }
.slider-label {
    line-height: 1.1;
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}
.slider-content h2 {
    font-family: var(--font-head);
    font-size: 110px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 0.95;
    margin: 0;
}
.slider-content p {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-top: 0.5rem;
    max-width: 480px;
}
/* CTA group wrapper */
.slider-cta-group { display:flex; gap:1rem; flex-wrap:wrap; margin-top:1.6rem; }
/* Slider CTA visual = .btn .btn-ghost; .slider-cta stays as an animation hook */

/* ── Dots ── */
.slider-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.slider-dot.active {
    background: var(--white);
    transform: scale(1.25);
}

/* ── Prev/Next arrows ── */


/* ── TEAM PAGE ──────────────────────────────────────────────── */
.team-member {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: start;
}
.team-member img {
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.team-member h2 {
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    font-weight: 400;
    color: var(--light-blue);
    letter-spacing: 0.9px;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.team-member .role {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
}
.team-member p { margin-bottom: 1.1rem; line-height: 1.7; }
.team-member h4 { margin-top: 1.25rem; font-size: var(--fs-base); }
.team-member h4 a,
.team-member .contact-link a {
    color: var(--light-blue);
    font-weight: 700;
}
.team-member h4 a:hover,
.team-member .contact-link a:hover { text-decoration: underline; }


/* ── GIVE PAGE ──────────────────────────────────────────────── */
.give-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}
.give-intro h2 {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.give-intro p { font-size: var(--fs-base); color: #999; }

.give-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.give-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.give-icon { font-size: var(--fs-xl); margin-bottom: 0.75rem; }

.give-method h3 {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    color: var(--navy);
    margin-bottom: 0.6rem;
}
.give-method p { font-size: var(--fs-base); margin-bottom: 0.75rem; }

/* DAF Direct widget — force full card width */
#dafdirectdiv,
#dafdirectdiv > div,
#dafdirectdiv iframe,
#dafdirectdiv table { width: 100% !important; max-width: 100% !important; }

.give-details-body {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0 0 4px 4px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.5rem;
    font-size: var(--fs-base);
}
.give-details-body p { margin-bottom: 0.4rem; }
.give-details-body a { color: var(--blue); }

.give-zelle-email {
    display: inline-block;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 3px;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy);
    margin: 0.5rem 0 0;
}

.give-highlight {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

/* Thank You Banner */
.give-thankyou {
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
}
.give-thankyou-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.give-thankyou-text h2 {
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}
.give-thankyou-text p { color: #d0e8f5; font-size: var(--fs-base); line-height: 1.7; }

.give-verse {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
}
.give-verse cite {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-head);
    font-size: var(--fs-base);
    font-style: normal;
    letter-spacing: 1px;
    padding: 0.15rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}
.give-verse p { color: #e8f4fd; font-size: var(--fs-sm); line-height: 1.7; }

/* YouTube embed — shared by .give-video, .sc-video, .video-wrap */
.give-video { margin-bottom: 3rem; }

/* ── NEWSLETTER PAGE ────────────────────────────────────────── */
.nl-signup {
    text-align: center;
    margin-bottom: 2.5rem;
}
.nl-signup-btn {
    font-size: var(--fs-md);
    letter-spacing: 1px;
    padding: 0.65rem 2rem;
}

.nl-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}
.nl-intro h2 {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    color: var(--light-blue);
    margin-bottom: 0.5rem;
}
.nl-intro p { font-size: var(--fs-base); }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}
.news-card-body { padding: 0.9rem 0 0; }
.news-date { display: block; font-size: var(--fs-base); color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; }
.news-grid .news-card h3 { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.1; margin-bottom: 0.4rem; }
.news-card h3 a { color: var(--navy); }
.news-card h3 a:hover { color: var(--blue); }
.news-card p { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 0.6rem; color: var(--text); }
.read-more { font-size: var(--fs-sm); color: var(--blue); font-weight: 700; }
.read-more:hover { text-decoration: underline; }

/* ── INDIVIDUAL NEWSLETTER PAGE ─────────────────────────────── */
.nl-issue { margin: 0 auto 4rem; }

.nl-meta { justify-content: space-between; }
.nl-meta-date { font-family: var(--font-head); font-size: var(--fs-lg); color: var(--orange); letter-spacing: 1px; text-transform: uppercase; }
.nl-meta-back { font-size: var(--fs-base); color: var(--blue); }
.nl-meta-back:hover { text-decoration: underline; }

.nl-lead-img { margin-bottom: 2rem; border-radius: 6px; overflow: hidden; }
.nl-lead-img img { width: 100%; max-height: 480px; object-fit: cover; }

/* Article body — shared by newsletter (.nl-body) and sermon (.sc-body) content */
.nl-body, .sc-body { font-size: var(--fs-base); line-height: 1.75; color: #4a4a4a; }
.nl-body h1, .sc-body h1 { font-family: var(--font-head); font-size: var(--fs-xl); color: var(--navy); margin: 2rem 0 0.6rem; border-left: 4px solid var(--orange); padding-left: 0.75rem; }
.nl-body h2, .sc-body h2 { font-family: var(--font-head); font-size: var(--fs-lg); color: var(--navy); margin: 1.75rem 0 0.5rem; }
.nl-body h3, .sc-body h3 { font-family: var(--font-head); font-size: var(--fs-md); color: var(--navy); margin: 1.5rem 0 0.4rem; }
.nl-body p, .sc-body p { margin-bottom: 1rem; }
.nl-body a, .sc-body a { color: var(--blue); text-decoration: underline; }
.nl-body img, .sc-body img { max-width: 100%; border-radius: 4px; margin: 1rem 0; }
.nl-body strong, .sc-body strong { color: var(--navy); }
.nl-body ul, .nl-body ol, .sc-body ul, .sc-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.nl-body li, .sc-body li { margin-bottom: 0.4rem; }
.nl-body blockquote, .sc-body blockquote { border-left: 4px solid var(--light-blue); padding: 0.5rem 1.25rem; margin: 1.5rem 0; font-style: italic; color: #666; background: var(--surface); border-radius: 0 4px 4px 0; }

/* Schedule of Events */
.nl-schedule { margin: 2rem 0; }

.nl-schedule-group { margin-bottom: 2.5rem; }
.nl-schedule-group-label {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--white);
    background: var(--navy);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nl-event {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 1.25rem;
    border-left: 4px solid var(--border);
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    margin-bottom: 0.6rem;
    background: var(--surface);
    border-radius: 0 6px 6px 0;
    transition: border-color 0.15s, background 0.15s;
}
.nl-event:hover { border-color: var(--light-blue); background: var(--surface); }
.nl-event.nl-event-ami { border-left-color: var(--orange); background: #fffaf5; }
.nl-event.nl-event-ami:hover { border-left-color: var(--orange-dark); background: #fff3e6; }
.nl-event.nl-event-tour { border-left-color: var(--blue); background: var(--surface); }
.nl-event.nl-event-tour:hover { border-left-color: #014f83; background: var(--surface-2); }

.nl-event-date {
    font-family: var(--font-head);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--navy);
    padding-top: 0.1rem;
    line-height: 1.3;
}
.nl-event-title {
    font-family: var(--font-head);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.3rem;
}
.nl-event-times { font-size: var(--fs-sm); color: #555; margin-bottom: 0.3rem; line-height: 1.55; }
.nl-event-location { font-size: var(--fs-sm); color: var(--text); margin-top: 0.25rem; }
.nl-event-meta { font-size: var(--fs-sm); margin: 0.25rem 0; }
.nl-event-meta a { color: var(--blue); text-decoration: underline; }
.nl-event-stream { color: var(--blue); font-weight: 600; }

.nl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 2rem 0; }
.nl-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }

.nl-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    border-top: 2px solid var(--border);
    padding-top: 2rem;
    margin-top: 3rem;
}
.nl-nav-prev a, .nl-nav-next a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    height: 100%;
    color: var(--navy);
    font-family: var(--font-head);
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 1.2;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.nl-nav-next a { text-align: right; align-items: flex-end; }
.nl-nav-prev a:hover, .nl-nav-next a:hover {
    background: var(--surface-2);
    border-color: var(--light-blue);
    box-shadow: 0 3px 10px rgba(2,99,164,0.08);
    color: var(--blue);
}
.nl-nav-label { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; }
.nl-nav-date { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--light-blue); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 400; }
.nl-nav-all { white-space: nowrap; align-self: center; padding: 0.5rem 1.5rem; }

/* ── FOOTER ─────────────────────────────────────────────────── */
/* .footer-inner replaced by .page-container in footer-main.php */
.site-footer {
    background-color: var(--navy);
    background-image: url('../images/site/footer-bg_8c9417.webp');
    background-repeat: repeat;
    color: #b0bcc8;
    margin-top: 0;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
}

/* Brand column */
.footer-brand img   { max-width: 220px; margin-bottom: 1rem; }
.footer-org-name    { color: var(--white); font-weight: 700; margin-bottom: 0.5rem; }
.footer-tagline     { font-size: var(--fs-sm); line-height: 1.6; }

/* Column heading */
.footer-heading {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

/* Accordion nav */
.footer-nav { display: flex; flex-direction: column; }

.footer-nav-link {
    display: block;
    padding: 0.55rem 1rem;
    color: var(--border-2);
    font-size: var(--fs-sm);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.15s;
}
.footer-nav-link:hover { color: var(--white); }

.footer-nav-group {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    color: var(--border-2);
    font-size: var(--fs-sm);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s, color 0.15s;
}
.footer-nav-group > summary::-webkit-details-marker { display: none; }
.footer-nav-group > summary::marker { content: ""; }

.footer-nav-group > summary::after {
    content: "▼";
    font-size: 0.6em;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: auto;
}

.footer-nav-group[open] > summary {
    background: #3b7dd8;
    color: var(--white);
}
.footer-nav-group[open] > summary::after {
    content: "▲";
    border-color: rgba(255,255,255,0.6);
}

.footer-nav-sub {
    background: #3b7dd8;
    display: flex;
    flex-direction: column;
}
.footer-nav-sub a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--surface-2);
    font-size: var(--fs-sm);
    border-top: 1px solid rgba(255,255,255,0.18);
    transition: background 0.12s;
}
.footer-nav-sub a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* Nested Campus Vision */
.footer-nav-group--sub { border-bottom: none; border-top: 1px solid rgba(255,255,255,0.18); }
.footer-nav-group--sub > summary { background: #3b7dd8; color: var(--surface-2); padding: 0.5rem 1.5rem; font-size: var(--fs-sm); }
.footer-nav-group--sub[open] > summary { background: #2d6bc4; color: var(--white); }
.footer-nav-sub--deep { background: #2d6bc4; }
.footer-nav-sub--deep a { padding-left: 2rem; }

/* Contact */
.footer-address { font-size: var(--fs-sm); line-height: 1.9; }

/* Newsletter button */

/* Footer bottom */
.footer-legal {
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: #8a96a4;
    padding: 1.5rem 0;
}
.footer-hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-copyright {
    font-size: var(--fs-sm);
    color: #8a96a4;
    text-align: center;
    padding: 1.25rem 0;
}

/* Scroll to top — hidden until user scrolls past nav */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: #4A7BC8;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.25s;
}
.scroll-top.visible { opacity: 0.85; pointer-events: auto; }
.scroll-top:hover   { opacity: 1; background: #3a69b6; }

/* ── GLOBAL MODAL — used site-wide via showModal()/closeModal() in footer-main.php ── */
.site-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(48,61,78,0.6);
    padding: 1.5rem;
}
.site-modal[hidden] { display: none; }
.site-modal-box {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    max-width: 440px;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.site-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: var(--fs-xl);
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    padding: 0.25rem;
}
.site-modal-close:hover { color: var(--navy); }
.site-modal-icon { width: 64px; height: 64px; fill: var(--light-blue); display: block; margin: 0 auto 1rem; }
#site-modal-body h3 {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
#site-modal-body p { font-size: var(--fs-base); color: var(--text); }


/* ── GENERAL CONTENT SECTIONS ──────────────────────────────── */
.content-section {
    margin-bottom: 3rem;
}
.content-section h2 {
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.1;
	font-weight:400;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.content-section h3 {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    color: var(--light-blue);
    margin: 1.5rem 0 0.5rem;
}
.content-section p { margin-bottom: 1rem; }
.content-section a { color: var(--blue); }
.content-section a:hover { text-decoration: underline; }

/* ── 6. BUTTONS ─────────────────────────────────────────────
   One system for every button. Compose: base + colour + size.

     <a class="btn btn-primary">Submit</a>            blue   (default)
     <a class="btn btn-accent btn-lg">Donate</a>      orange, large
     <a class="btn btn-outline btn-sm">More</a>       navy outline, small
     <a class="btn btn-ghost">Learn More</a>          translucent on photos

   Colours: primary (blue), accent (orange), outline, ghost.
   Sizes:   btn-sm · (default ~20px) · btn-lg.  btn-block = full width.
   Element-qualified selectors keep `.content-section a` from
   overriding button text colour / underline.
   ──────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--fs-md);
    line-height: 1;
    letter-spacing: 1px;
    padding: 0.65rem 1.6rem 0.45rem;
    color: var(--white);
    background: var(--blue);            /* default = primary */
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
summary.btn::-webkit-details-marker { display: none; }
summary.btn::marker { content: ""; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:disabled, .btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; }

/* Colour variants (plain class — later source order wins over .btn background) */
.btn-primary        { background: var(--blue); }
.btn-primary:hover  { background: var(--blue-dark); }
.btn-accent         { background: var(--orange); letter-spacing: 1.5px; }
.btn-accent:hover   { background: var(--orange-dark); }
.btn-outline        { background: transparent; border-color: var(--navy); }
.btn-outline:hover  { background: var(--navy); }
.btn-ghost          { background: rgba(151,204,232,0.22); border-color: var(--light-blue); letter-spacing: 2px; }
.btn-ghost:hover    { background: rgba(151,204,232,0.42); border-color: var(--white); }

/* Text colour — element-qualified so it beats `.content-section a`.
   Generic white first, then the outline override (later = wins). */
a.btn, button.btn, summary.btn,
a.btn:hover, button.btn:hover, summary.btn:hover { color: var(--white); text-decoration: none; }
a.btn-outline, button.btn-outline, summary.btn-outline { color: var(--navy); }
a.btn-outline:hover, button.btn-outline:hover, summary.btn-outline:hover { color: var(--white); }

/* Sizes */
.btn-sm    { font-size: var(--fs-base); padding: 0.4rem 1.1rem; letter-spacing: 0.5px; }
.btn-lg    { font-size: var(--fs-lg);   padding: 0.7rem 2rem; }
.btn-block { width: 100%; }
.content-list { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-list li { margin-bottom: 0.4rem; }

.content-quote {
    border-left: 4px solid var(--light-blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--surface);
    border-radius: 0 4px 4px 0;
}
.content-quote p { margin-bottom: 0.5rem; font-style: italic; }
.content-quote cite { font-size: var(--fs-sm); color: var(--navy); font-weight: 700; }


/* ── FULL-BLEED SECTION BACKGROUND ───────────────────────────
   Usage: add class="section-bg" to any section inside page-container.
   Set --section-bg on the element (inline style or a CSS rule) to change color.
   Requires: body { overflow-x: hidden } — already set above.
   ─────────────────────────────────────────────────────────── */
.section-bg {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--section-bg, var(--surface));
    z-index: -1;
}

/* ── WHO WE ARE ─────────────────────────────────────────────── */

/* Two-column section */
.vmo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 40px;
}

.vmo-heading {
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* Hide radio inputs */
.vmo-tabs input[type="radio"] { display: none; }

/* Tab buttons */
.vmo-tab-btns {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}
.vmo-tab-btns label {
    padding: 0.55rem 1.1rem;
    font-family: var(--font-head);
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.vmo-tab-btns label:hover { color: var(--navy); }

/* Active tab — driven by :checked sibling */
#vmo-vision:checked  ~ .vmo-tab-btns label[for="vmo-vision"],
#vmo-mission:checked ~ .vmo-tab-btns label[for="vmo-mission"],
#vmo-values:checked  ~ .vmo-tab-btns label[for="vmo-values"] {
    color: var(--navy);
    border-bottom-color: var(--light-blue);
    background: var(--surface);
}

/* Panels — all hidden by default */
.vmo-panel { display: none; }

#vmo-vision:checked  ~ .vmo-panels #panel-vision,
#vmo-mission:checked ~ .vmo-panels #panel-mission,
#vmo-values:checked  ~ .vmo-panels #panel-values {
    display: block;
}

.vmo-panel p { font-size: var(--fs-base); line-height: 1.75; color: #555; }

/* Right column */
.vmo-right img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

.vmo-tagline {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.vmo-checklist {
    padding: 0;
}
.vmo-checklist li {
    padding: 0.35rem 0 0.35rem 1.75rem;
    position: relative;
    font-size: var(--fs-base);
    color: #555;
}
.vmo-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--light-blue);
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.value-card {
    background: var(--surface);
    border-top: 3px solid var(--light-blue);
    border-radius: 0 0 6px 6px;
    padding: 1.25rem;
}
.value-card h3 {
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.value-card p { font-size: var(--fs-sm); }


/* ── PASTOR BIO ─────────────────────────────────────────────── */
.two-col-bio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.bio-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ── MINISTRY HIGHLIGHTS ────────────────────────────────────── */
.highlights-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: var(--surface);
    padding: 3rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
}
.highlights-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}
.icon-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.icon-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-base);
    color: var(--text);
}
.icon-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: var(--light-blue);
}
.highlights-photo img {
    width: 100%;
    border-radius: 8px;
}

/* ── VIDEO EMBEDS (responsive 16:9) ─────────────────────────── */
.video-wrap, .sc-video, .give-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
}
.video-wrap iframe, .sc-video iframe, .give-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-wrap { margin-top: 1.5rem; }
.sc-video   { margin-bottom: 2rem; }


/* ── CAMPUS FACILITY PAGES ──────────────────────────────────── */
.campus-facility-layout,
.campus-vision-layout,
.kono-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.facility-sidebar,
.kono-sidebar {
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
}
.facility-sidebar h3,
.kono-sidebar h3 {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    color: var(--light-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.kono-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.kono-sidebar p { font-size: var(--fs-sm); color: var(--border-2); }
.facility-sidebar ul { display: flex; flex-direction: column; gap: 0.75rem; }
.facility-sidebar li {
    font-size: var(--fs-sm);
    color: var(--border-2);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.facility-sidebar li:last-child { border-bottom: none; }
.facility-sidebar li strong {
    display: block;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--white);
    line-height: 1.1;
}

/* ── HOMEPAGE ───────────────────────────────────────────────── */
.home-section { padding: 3rem 0; }
.home-section-bg {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 3rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
    background: var(--navy);
}
.home-section-tint {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 3rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
    background: var(--surface);
}
.home-donate-cta {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 2.25rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
    background: var(--navy) url('../images/site/footer-bg_8c9417.webp');
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-bottom: 4px solid var(--orange);
    margin-bottom: 4rem;
}
.home-donate-cta h2 {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 0.35rem;
}
.home-donate-cta p { color: var(--light-blue); font-size: var(--fs-base); }
.home-section h2,
.home-section-tint h2,
.home-section-bg h2 {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.home-section h2,
.home-section-tint h2  { color: var(--navy); }
.home-section-bg h2    { color: var(--white); }
.home-section .section-sub,
.home-section-bg .section-sub {
    margin-bottom: 1.5rem;
    font-size: var(--fs-base);
}
.home-section .section-sub    { color: var(--text); }
.home-section-bg .section-sub { color: rgba(255,255,255,0.75); }
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.news-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.news-card-date { font-size: var(--fs-xs); color: var(--light-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; }
.news-card-body h3 { font-family: var(--font-head); font-size: var(--fs-md); color: var(--navy); margin-bottom: 0.5rem; }
.news-card-body p { font-size: var(--fs-sm); color: var(--text); flex: 1; }
.home-news-grid .news-card-body a { font-size: var(--fs-sm); color: var(--orange); text-decoration: none; margin-top: 0.75rem; display: inline-block; }
.home-ministry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
.ministry-item {
    padding: 1.5rem;
    background: var(--light-blue);
    color: var(--navy);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-radius: 6px;
    text-decoration: none;
}
.ministry-item-num {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    color: var(--navy);
    line-height: 1;
}
.ministry-item-name {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    color: var(--navy);
}
.ministry-item svg { width: 22px; height: 22px; fill: var(--navy); margin-top: auto; }
.home-cta-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: var(--white);
    padding: 3rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
}
.home-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.home-cta img { width: 100%; border-radius: 8px; }
.home-cta h2 { font-family: var(--font-head); font-size: var(--fs-xl); color: var(--navy); text-transform: uppercase; margin-bottom: 1rem; }
.home-cta ul { margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.home-cta li { color: var(--text); font-size: var(--fs-base); }
.home-cta li::before { content: "✓ "; color: var(--light-blue); font-weight: bold; }
.home-quote {
    /* full-bleed escape — bg fills 100vw, text stays centered */
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: url('../images/site/full-church.webp') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    /* mirrors page-container: constrains text to 1140px on any screen width */
    padding: 10rem max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
    font-size: var(--fs-xl);
    line-height: 1.8;
    font-style: italic;
}
.home-quote::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
}
.home-quote > * { position: relative; margin: 0; }
.home-quote strong { color: var(--light-blue); display: block; margin-top: 1rem; }
/* ── Testimonials carousel ───────────────────────────────── */
.testi-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: var(--surface);
    padding: 3rem 0 4rem;
}
.testi-section h2 {
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 max(1.5rem, calc((100vw - 1140px) / 2 + 1.5rem));
}
.testi-view { overflow: hidden; }
.testi-slide { padding: 0 1.5rem; }
.testi-dots { padding: 0 1.5rem; }
.testi-track { display: flex; transition: transform 0.5s; align-items: start; }
.testi-slide { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background:var(--white); border-radius:12px; padding:32px 28px; box-shadow:0 4px 20px rgba(0,0,0,0.04); border:1px solid var(--border); }
.testi-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.testi-user { display:flex; align-items:center; gap:12px; font-family: var(--font-head); font-size: var(--fs-md); color:#2c3440; }
.testi-ava  { width:55px; height:55px; background:var(--surface); border-radius:50%; display:flex; align-items:center; justify-content:center; fill:#929292; flex-shrink:0; }
.testi-q    { width:38px; height:38px; fill:var(--light-blue); flex-shrink:0; }
.testi-txt  { font-size: var(--fs-base); color:#6a737e; line-height:1.9; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; cursor:pointer; }
.testi-txt.exp { -webkit-line-clamp:unset; }
.testi-dots { display:flex; justify-content:center; gap:10px; margin-top:24px; }
.testi-dot  { width:11px; height:11px; border-radius:50%; background:var(--border); border:none; cursor:pointer; transition:0.3s; padding:0; }
.testi-dot.act { background:var(--navy); transform:scale(1.25); }
.media-ministry-img { width: 100%; display: block; margin: 1rem 0 0; border-radius: 8px; }
.campus-scope-box {
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.campus-scope-box h3 {
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(151,204,232,0.3);
}
.campus-scope-box .scope-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.campus-scope-box .scope-item:last-child { border-bottom: none; }
.campus-scope-box .scope-num {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    color: var(--orange);
    line-height: 1;
}
.campus-scope-box .scope-label {
    font-family: var(--font-head);
    font-size: var(--fs-base);
    color: var(--light-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.15rem;
}
.campus-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}
/* ── CONTACT PAGE ───────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}
.form-notice { background: #eef6ec; border: 1px solid #bcd8b6; color: #2f6627; padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1rem; }
.form-notice-error { background: #fbeeee; border-color: #e0b4b4; color: #9b3535; }
.contact-form { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border-2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-row, .reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.reg-row { gap: 1rem; margin-bottom: 1rem; }
.contact-info { font-size: var(--fs-base); line-height: 1.9; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info a { color: var(--blue); }
.contact-social { margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.contact-social a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); transition: background 0.2s;
}
.contact-social a svg { width: 20px; height: 20px; fill: var(--white); }
.contact-social a[aria-label="Facebook"]:hover  { background: #1877f2; }
.contact-social a[aria-label="YouTube"]:hover   { background: #ff0000; }
.contact-social a[aria-label="Instagram"]:hover { background: #e1306c; }


/* ── CAMPUS VISION ──────────────────────────────────────────── */
.stats-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    color: var(--orange);
    line-height: 1;
}
.stat-label { font-size: var(--fs-sm); color: var(--navy); font-weight: 700; text-transform: uppercase; }

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.campus-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    display: block;
}
.campus-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}
.campus-card:hover img { transform: scale(1.04); }
.campus-card-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(48,61,78,0.82);
    color: var(--white);
    font-family: var(--font-head);
    font-size: var(--fs-md);
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    text-align: center;
}


/* ── MISSIONS PAGE ──────────────────────────────────────────── */
.mission-feature {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}
.mission-feature img { border-radius: 6px; }
.mission-feature-text h3 {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    color: var(--navy);
    margin-bottom: 0.75rem;
}


/* ── SCHEDULE PAGE ──────────────────────────────────────────── */
.schedule-section h2 {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    color: var(--light-blue);
    margin: 2rem 0 1rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.4rem;
}
.schedule-event {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.schedule-dates {
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--orange);
    font-weight: 600;
    padding-top: 0.15rem;
}
.schedule-details h3 {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.schedule-details p { font-size: var(--fs-sm); margin-bottom: 0.3rem; }
.schedule-details a { color: var(--blue); }


/* ── MINISTRIES OVERVIEW ────────────────────────────────────── */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ministry-card {
    display: block;
    padding: 1.5rem;
    background: var(--surface);
    border-top: 3px solid var(--light-blue);
    border-radius: 0 0 6px 6px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ministry-card:hover { border-color: var(--orange); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.ministry-card h3 {
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.ministry-card p { font-size: var(--fs-sm); }


/* ── PHOTO GALLERY ──────────────────────────────────────────── */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    justify-items: start;
}
.photo-gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}
/* odd last item stays in its 50% cell, not stretched */
.photo-gallery img:last-child:nth-child(odd) {
    width: 100%;
    grid-column: 1;
}


/* ── SERMON LISTING ─────────────────────────────────────────── */
/* ── Sermon listing — one row per sermon ─────────────────── */
/* ── SERMON CONTENT PAGES (study guide / devotional / blog) ─── */
.sermon-content-page { margin: 0 auto 4rem; }

.sc-meta, .nl-meta {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}
.sc-meta { gap: 0.75rem; }
.sc-back { font-size: var(--fs-sm); color: var(--blue); flex: 1; }
.sc-back:hover { text-decoration: underline; }
.sc-type-badge {
    font-family: var(--font-head);
    font-size: var(--fs-base);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--white);
    padding: 0.2rem 0.75rem;
    border-radius: 3px;
}
.sc-type-devotional { background: var(--blue); }
.sc-type-blog       { background: var(--orange); }

.sc-headline, .nl-headline {
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* .sc-body content styling shared with .nl-body — see "Article body" in the newsletter section */

.sc-sibling-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 2px solid var(--border);
    padding-top: 2rem;
    margin-top: 3rem;
}
.sc-sibling-links .btn { padding: 0.5rem 1.5rem; font-size: var(--fs-base); }

/* ── SERMON LISTING ─────────────────────────────────────────── */
.sermon-page-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-top: -4rem;
    padding: 2rem 2rem 3rem;
    background: var(--surface);
}
.sermon-list { display: flex; flex-direction: column; gap: 0; }
.sermon-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 0.4rem; margin-top: 2.5rem; margin-bottom: 30px; flex-wrap: wrap;
}
.pag-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 0.6rem;
    border: 1px solid var(--border); border-radius: 4px;
    font-family: var(--font-head); font-size: var(--fs-base);
    color: var(--navy); background: var(--white); text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.pag-btn:hover, .pag-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sermon-row {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.75rem;
    align-items: start;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.sermon-row-thumb { flex-shrink: 0; }
.sermon-row-thumb img { width: 100%; height: auto; border-radius: 4px; display: block; }
.sermon-row-body { min-width: 0; }
.sermon-row-date { font-size: var(--fs-xs); color: var(--light-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; }
.sermon-row-title {
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.4rem;
}
.sermon-row-title a { color: inherit; }
.sermon-row-title a:hover { color: var(--light-blue); }
.sermon-row-desc { color: var(--text); line-height: 1.6; margin-bottom: 0.6rem; }
.sermon-row-links a { color: var(--blue); }
.sermon-row-links a:hover { text-decoration: underline; }
.sermon-row-links span { color: #ccc; margin: 0 0.3rem; }

/* keep 3-col grid style available for other pages */
.sermon-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 3rem; }
.sermon-card { background: var(--white); border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.07); overflow: hidden; }
.sermon-card img { width: 100%; height: auto; }
.sermon-card-body { padding: 0.9rem 1rem; }
.sermon-card h3 { font-family: var(--font-head); font-size: var(--fs-md); color: var(--navy); margin-bottom: 0.4rem; line-height: 1.2; }
.sermon-card h3 a:hover { color: var(--light-blue); }
.sermon-card-links { font-size: var(--fs-sm); color: var(--text); }
.sermon-card-links a { color: var(--blue); }
.sermon-card-links a:hover { text-decoration: underline; }


/* ── GRAND OPENING REGISTRATION ─────────────────────────────── */
.reg { max-width: 900px; margin: 0 auto; }

.reg-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 6px;
}
.reg-facts li { display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.45; }
.reg-facts a { color: var(--light-blue); font-weight: 700; }
.reg-facts svg { width: 22px; height: 22px; fill: var(--light-blue); flex-shrink: 0; margin-top: 2px; }

.reg-form { display: flex; flex-direction: column; }
.reg-legend {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    font-weight: 500;
    color: var(--blue);
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.4rem;
    margin: 1.75rem 0 1.25rem;
}
.reg-legend:first-child { margin-top: 0; }

.att-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}
.reg-field { display: flex; flex-direction: column; gap: 0.35rem; }
.reg-field-full { grid-column: 1 / -1; }
.reg-field label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); }

.reg-form input[type=text],
.reg-form input[type=email],
.reg-form input[type=tel],
.reg-form input[type=number],
.reg-form input[type=date],
.reg-form select,
.reg-form textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border-2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--ink);
    background: var(--white);
}
.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(151, 204, 232, 0.35);
}

.reg-check { display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.6rem; }
.att-check { margin-bottom: 0; padding-bottom: 0.6rem; }
.reg-check input { margin-top: 0.2rem; }
.reg-check label { font-size: var(--fs-sm); color: var(--ink); cursor: pointer; }

.reg-note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}
.reg-note-warning { background: #fff8ec; border-color: #f3d28a; }
.reg-note > label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.reg-radios { display: flex; gap: 1.5rem; }
.reg-radios label { font-weight: 700; cursor: pointer; }

.reg-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--light-blue);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.c-flds { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.reg-alert {
    background: #fff8ec;
    border: 1px solid #f3d28a;
    color: #8a6400;
    border-radius: 4px;
    padding: 0.6rem 0.9rem;
    margin-top: 0.75rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    display: flex; gap: 0.5rem; align-items: center;
}
.reg-alert svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.reg-heading {
    font-family: var(--font-head);
    font-size: var(--fs-lg);
    color: var(--blue);
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1rem;
}
.reg-heading svg { width: 22px; height: 22px; fill: var(--blue); }

.reg-schedule-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.reg-schedule-cols > div { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 0.9rem; }
.reg-schedule-cols .day { display: block; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; margin-bottom: 0.5rem; color: var(--navy); }
.reg-schedule-cols ul { font-size: var(--fs-sm); color: var(--text); line-height: 1.7; }

/* Registration buttons = .btn variants; these only add placement/spacing */
.reg-add-btn { align-self: flex-start; margin-top: 0.5rem; }
.reg-submit  { margin-top: 1.5rem; margin-bottom: 2rem; }

.reg-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

.reg-sig { display: block; width: 100%; height: 120px; border: 1px solid var(--border-2); border-radius: 4px; background: var(--white); touch-action: none; }
.reg-clear { display: inline-block; margin-top: 0.4rem; font-size: var(--fs-sm); color: #c0392b; }
.reg-helper { font-size: var(--fs-sm); color: var(--text); margin: 0.5rem 0; }

.reg-success { text-align: center; padding: 3rem 1rem; animation: regFade 0.4s ease; }
.reg-success svg { width: 80px; height: 80px; fill: var(--light-blue); }
.reg-success h2 { color: var(--blue); margin: 1rem 0 0.5rem; }
.reg-success p { color: var(--text); max-width: 540px; margin: 0 auto 1.5rem; }
@keyframes regFade { from { opacity: 0; } to { opacity: 1; } }

/* [hidden] overrides for elements whose base rule sets a display value */
.reg-form[hidden], .reg-alert[hidden] { display: none; }

@media (max-width: 640px) {
    .reg-row, .att-row, .reg-schedule-cols { grid-template-columns: 1fr; }
    .reg-facts { flex-direction: column; gap: 1rem; }
}

/* ── GRAND OPENING — FULL SCHEDULE ──────────────────────────── */
.full-sched { max-width: 920px; margin: 0 auto 4rem; }

.full-sched-day {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-head);
    font-size: var(--fs-2xl);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.65rem 1.1rem;
    border-left: 5px solid var(--orange);
    margin: 2.2rem 0 0;
}
.full-sched-day small { font-family: var(--font-head); font-size: var(--fs-md); color: var(--light-blue); letter-spacing: 1px; }

.full-sched-row { display: flex; gap: 1rem; padding: 0.55rem 1.1rem; border-bottom: 1px solid var(--border); }
.full-sched-row:nth-child(even) { background: var(--surface); }
.full-sched-row.full-sched-row-meal { background: var(--navy); }
.full-sched-row-meal .full-sched-what strong { color: var(--light-blue); letter-spacing: 1px; }
.full-sched-row-meal .full-sched-time { color: var(--white); }

.full-sched-time { flex: 0 0 86px; font-family: var(--font-head); font-size: var(--fs-md); line-height: 1.3; color: var(--orange); white-space: nowrap; }
.full-sched-what { flex: 1; font-size: var(--fs-sm); }
.full-sched-what strong { color: var(--navy); font-weight: 700; }
.full-sched-topic { font-style: italic; color: var(--text); }
.full-sched-ws + .full-sched-ws { margin-top: 0.35rem; }

.full-sched-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: var(--fs-sm);
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px 2px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: 2px;
    background: var(--navy);
    color: var(--white);
}
.full-sched-tag-plenary  { background: var(--orange); }
.full-sched-tag-workshop { background: var(--light-blue); color: var(--navy); }

.full-sched-note {
    display: inline-block;
    background: #eaf4fb;
    color: #2a5d7c;
    border: 1px solid #c5e0f0;
    font-size: var(--fs-xs);
    border-radius: 12px;
    padding: 1px 10px;
    margin: 4px 6px 0 0;
}

.full-sched-foot { text-align: center; color: var(--text); font-size: var(--fs-sm); margin-top: 1.5rem; }

/* ── EVENTS ─────────────────────────────────────────────────── */
.ev-intro { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.ev-intro h2 { margin-bottom: 0.5rem; }
.ev-intro p  { margin-bottom: 1.25rem; }
.ev-intro .ev-subscribe { display: inline-block; }

/* Category pill */
.ev-cat {
    display: inline-block;
    font-family: var(--font-head);
    font-size: var(--fs-base);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--navy);
    border-radius: 3px;
    padding: 0.1rem 0.7rem;
    line-height: 1.6;
}
.ev-cat-event            { background: var(--orange); }
.ev-cat-speaking-schedule { background: var(--blue); }
.ev-cats { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

/* Listing */
.ev-list { display: flex; flex-direction: column; gap: 1.75rem; margin-bottom: 3rem; }
.ev-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.75rem;
    background: var(--white);
    border: 1px solid var(--surface-2);
    border-radius: 8px;
    overflow: hidden;
}
.ev-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-card-body { padding: 1.5rem 1.75rem 1.5rem 0; display: flex; flex-direction: column; gap: 0.55rem; }
.ev-card-date { font-family: var(--font-head); font-size: var(--fs-lg); color: var(--orange); line-height: 1; }
.ev-card-body h3 { font-size: var(--fs-xl); line-height: 1.05; margin: 0; }
.ev-card-body h3 a { color: var(--navy); }
.ev-card-body h3 a:hover { color: var(--blue); }
.ev-card-loc { color: var(--text); font-style: italic; margin: 0; }
.ev-card-excerpt { margin: 0; }
.ev-card-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.ev-list-past .ev-card { opacity: 0.75; }
.ev-past-heading { margin-top: 1rem; }
.ev-empty { text-align: center; color: var(--text); padding: 2rem 0 3rem; }

/* Subscribe dropdown (CSS-only via <details>) */
.ev-subscribe { position: relative; display: inline-block; }
.ev-subscribe > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-head);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--blue);
    border-radius: 4px;
    padding: 0.45rem 1.1rem;
    transition: background 0.15s;
}
.ev-subscribe > summary::-webkit-details-marker { display: none; }
.ev-subscribe > summary:hover { background: var(--blue-dark); }
.ev-sub-caret { font-size: 0.8em; }
.ev-subscribe[open] > summary .ev-sub-caret { transform: rotate(180deg); }
.ev-subscribe-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.35rem 0;
}
.ev-subscribe-menu li a {
    display: block;
    padding: 0.55rem 1.1rem;
    color: var(--navy);
    font-size: var(--fs-base);
}
.ev-subscribe-menu li a:hover { background: var(--surface); color: var(--blue); }

/* Single event */
.ev-single { max-width: 1140px; margin: 0 auto 4rem; }
.ev-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ev-back { font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
.ev-headline { font-size: var(--fs-2xl); line-height: 1.05; margin-bottom: 1.5rem; }
.ev-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 2rem;
}
.ev-fact { display: flex; flex-direction: column; gap: 0.15rem; }
.ev-fact-label {
    font-family: var(--font-head); text-transform: uppercase;
    letter-spacing: 1.5px; font-size: var(--fs-sm); color: var(--light-blue);
}
.ev-fact-value { font-weight: 700; color: var(--navy); }
.ev-fact-action { margin-left: auto; }
.ev-lead-img img { width: 100%; border-radius: 8px; display: block; margin-bottom: 2rem; }
.ev-body { line-height: 1.7; }
.ev-body ul { margin: 0 0 1.25rem 1.25rem; }
.ev-body h5 { font-size: var(--fs-lg); margin: 1.5rem 0 0.5rem; }
.ev-foot-nav {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    border-top: 2px solid var(--border); padding-top: 2rem; margin-top: 3rem;
}
/* Match the subscribe-dropdown button size */
.ev-card-actions .btn, .ev-foot-nav .btn {
    padding: 0.45rem 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .ev-card { grid-template-columns: 1fr; }
    .ev-card-img img { height: 200px; }
    .ev-card-body { padding: 1.25rem 1.5rem 1.5rem; }
    .ev-headline { font-size: var(--fs-xl); }
    .ev-fact-action { margin-left: 0; }
}


/* ── STORE ───────────────────────────────────────────────────── */
.shop-wrapper { display: grid; grid-template-columns: 2.5fr 1fr; gap: 3rem; padding: 3rem 0; }
.shop-heading { font-family: var(--font-head); font-size: var(--fs-3xl); color: var(--navy); text-transform: uppercase; margin-bottom: 2rem; grid-column: 1 / -1; }
.shop-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.product-card         { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.product-card img     { width: 100%; height: 260px; object-fit: cover; }
.product-card-body    { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card-title   { font-family: var(--font-head); font-size: var(--fs-xl); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; margin-bottom: 1rem; line-height: 1.1; }
.product-card-desc    { font-size: var(--fs-sm); color: var(--text); margin-bottom: 1.5rem; flex: 1; white-space: pre-wrap; }
.product-card-footer  { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.25rem; }
.product-price        { font-family: var(--font-head); font-size: var(--fs-xl); color: #27ae60; font-weight: 600; line-height: 1; }
.product-price-unit   { font-size: var(--fs-sm); color: var(--text); }
.product-meta         { font-family: var(--font-head); font-size: var(--fs-md); color: var(--navy); font-weight: 600; text-align: right; line-height: 1.2; }
.product-meta span    { display: block; font-size: var(--fs-sm); color: var(--text); font-family: var(--font-body); font-weight: 400; }

.empty-state { grid-column: 1 / -1; padding: 4rem 2rem; text-align: center; background: var(--surface); border-radius: var(--radius); color: var(--text); }

.cart-sidebar   { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 2rem; }
.cart-sidebar h3 { font-family: var(--font-head); font-size: var(--fs-xl); color: var(--navy); border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1rem; }

.cart-empty { color: var(--text); font-size: var(--fs-sm); }

.cart-item        { display: flex; justify-content: space-between; align-items: flex-start; font-size: var(--fs-sm); margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.cart-item-price  { color: var(--text); }
.cart-qty         { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; }
.cart-qty button  { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 3px; width: 22px; height: 22px; cursor: pointer; font-size: var(--fs-base); line-height: 1; }
.cart-remove      { background: none; border: none; color: var(--orange); cursor: pointer; font-size: var(--fs-md); font-weight: 700; line-height: 1; padding: 0 0.25rem; }
.cart-totals           { margin-bottom: 1.5rem; font-size: var(--fs-base); color: var(--navy); }
.cart-totals div       { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.cart-total-final      { font-weight: 700; font-size: var(--fs-md); border-top: 2px solid var(--border); padding-top: 0.5rem; margin-top: 0.25rem; }

.cart-zip-input {
    width: 100%; padding: 0.55rem 0.9rem;
    border: 1px solid var(--border-2); border-radius: var(--radius);
    font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink);
}
.cart-zip-input::placeholder { color: var(--text); }

.checkout-form                { display: none; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.checkout-section-label       { font-family: var(--font-head); font-size: var(--fs-md); color: var(--navy); margin-bottom: 0.25rem; border-bottom: 1px solid var(--border); padding-bottom: 0.25rem; }
.stripe-element-container     { background: var(--white); padding: 0.65rem 0.9rem; border: 1px solid var(--border-2); border-radius: var(--radius); }
.stripe-not-configured        { font-size: var(--fs-sm); color: var(--text); }

.product-detail            { padding: 3rem 0; }
.product-detail-back       { display: inline-block; font-size: var(--fs-base); color: var(--blue); margin-bottom: 1.5rem; }
.product-detail-back:hover { text-decoration: underline; }
.product-detail-layout     { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail-img        { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-detail-title      { font-family: var(--font-head); font-size: var(--fs-3xl); color: var(--navy); text-transform: uppercase; margin-bottom: 0.75rem; line-height: 1.1; }
.product-detail-price      { font-family: var(--font-head); font-size: var(--fs-xl); color: #27ae60; font-weight: 600; margin-bottom: 1.25rem; }
.product-detail-desc       { font-size: var(--fs-base); color: var(--text); margin-bottom: 1.5rem; white-space: pre-wrap; }


/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 992px) {
    .home-quote               { padding: 4rem 1.5rem; font-size: var(--fs-lg); }
    .team-member              { grid-template-columns: 1fr; gap: 2rem; }
    .two-col-bio              { grid-template-columns: 1fr; }
    .highlights-two-col       { grid-template-columns: 1fr; }
    .contact-layout           { grid-template-columns: 1fr; }
    .campus-facility-layout,
    .campus-vision-layout,
    .kono-layout              { grid-template-columns: 1fr; }
    .home-ministry-grid       { grid-template-columns: repeat(2, 1fr); }
    .home-cta-wrap            { padding: 2rem 1.5rem; }
    .home-cta                 { grid-template-columns: 1fr; }
    .campus-videos-grid       { grid-template-columns: 1fr; }

    .vmo-section          { grid-template-columns: 1fr; gap: 2rem; }
    .vmo-heading          { font-size: var(--fs-2xl); }
    .values-grid          { grid-template-columns: repeat(2, 1fr); }
    .campus-grid          { grid-template-columns: repeat(2, 1fr); }
    .ministries-grid      { grid-template-columns: repeat(2, 1fr); }
    .sermon-row           { grid-template-columns: 180px 1fr; }
    .sermon-grid          { grid-template-columns: repeat(2, 1fr); }
    .photo-gallery        { grid-template-columns: 1fr; }
    .hero-content h1      { font-size: var(--fs-3xl); }
    .slider-content h2    { font-size: var(--fs-3xl); }
    .slide-deco-right-orange { width: 320px; }
    .nav-menu             { display: none; }
    .nav-inner .mob-donate { display: inline-flex; margin: 0 auto; }
    .mob-burger { display: block; }
}

@media (max-width: 860px) {
    .footer-grid          { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .news-grid            { grid-template-columns: 1fr 1fr; }
    .give-grid            { grid-template-columns: 1fr; }
    .give-thankyou-inner  { grid-template-columns: 1fr; }
    .mission-feature      { grid-template-columns: 1fr; }
    .schedule-event       { grid-template-columns: 1fr; gap: 0.25rem; }
    .shop-wrapper         { grid-template-columns: 1fr; }
    .cart-sidebar         { position: static; margin-top: 2rem; }
    .product-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .home-donate-cta { justify-content: center; text-align: center; }
    .shop-grid        { grid-template-columns: 1fr; }
    .full-sched-row  { flex-direction: column; gap: 0.1rem; }
    .full-sched-time { flex: none; }
}

@media (max-width: 540px) {
    .footer-grid          { grid-template-columns: 1fr; }
    .news-grid            { grid-template-columns: 1fr; }
    .sermon-row           { grid-template-columns: 1fr; }
    .sermon-grid          { grid-template-columns: 1fr; }
    .campus-grid          { grid-template-columns: 1fr; }
    .ministries-grid      { grid-template-columns: 1fr; }
    .home-news-grid       { grid-template-columns: 1fr; }
    .home-ministry-grid   { grid-template-columns: repeat(2, 1fr); }
    .testi-slide          { grid-template-columns: 1fr; }
    .campus-videos-grid   { grid-template-columns: 1fr; }
    .values-grid          { grid-template-columns: 1fr; }
    .form-row, .reg-row   { grid-template-columns: 1fr; }
    .hero-content h1      { font-size: var(--fs-2xl); }
    .slider-content h2    { font-size: var(--fs-2xl); }
    .slider-content p     { font-size: var(--fs-base); }
    .slide-deco-left,
    .slide-deco-right-orange,
    .slide-deco-right-white { display: none; }
    .slider-content       { align-items: center; text-align: center; }
    .slider-cta-group     { justify-content: center; }
    .home-quote           { padding: 3rem 1.25rem; font-size: var(--fs-md); }
    .nl-gallery           { grid-template-columns: 1fr 1fr; }
    .nl-event             { grid-template-columns: 1fr; }
    .nl-event-date        { font-size: var(--fs-sm); color: var(--orange); margin-bottom: 0.15rem; }
    .nl-nav               { grid-template-columns: 1fr; text-align: center; }
    .nl-nav-prev, .nl-nav-next { text-align: center; }
    .nl-nav-all           { margin: 0 auto; }
    .nl-headline          { font-size: var(--fs-xl); }
}
