        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --flame-red: #c62828;
            --flame-light: #ef5350;
            --cross-dark: #2d2d2d;
            --navy: #1a2e4a;
            --navy-deep: #0f1d30;
            --gold: #c9a84c;
            --gold-light: #e8d5a0;
            --cream: #faf5eb;
            --cream-dark: #f0e8d8;
            --sage: #5a7d60;
            --sage-light: #e8f0e9;
            --warm-white: #fffdf8;
            --text-dark: #1f1a14;
            --text-medium: #5c5347;
            --text-light: #8a7f73;
            --radius: 6px;
            --radius-lg: 12px;
            --shadow-sm: 0 1px 3px rgba(31,26,20,0.06), 0 1px 2px rgba(31,26,20,0.04);
            --shadow-md: 0 4px 16px rgba(31,26,20,0.08), 0 2px 6px rgba(31,26,20,0.04);
            --shadow-lg: 0 12px 40px rgba(31,26,20,0.12), 0 4px 12px rgba(31,26,20,0.06);
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Figtree', sans-serif;
            color: var(--text-dark);
            background: var(--warm-white);
            line-height: 1.65;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Young Serif', serif;
            font-weight: 400;
            line-height: 1.2;
        }

        a:not(.btn) { color: var(--flame-red); text-decoration: none; transition: color 0.2s; }
        a:not(.btn):hover { color: var(--navy); }

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

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ============ GRAIN OVERLAY ============ */
        body::after {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 9999;
            opacity: 0.018;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
            background-size: 200px;
        }

        /* ============ NAVBAR ============ */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255,253,248,0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(31,26,20,0.06);
            transition: box-shadow 0.3s;
        }

        .navbar.scrolled {
            box-shadow: var(--shadow-md);
        }

        .navbar-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-logo img {
            height: 54px;
            width: auto;
        }

        .nav-logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }

        .nav-logo-text .church-name {
            font-family: 'Figtree', sans-serif;
            font-weight: 800;
            font-size: 1.22rem;
            color: var(--text-dark);
            letter-spacing: -0.01em;
        }

        .nav-logo-text .church-sub {
            font-family: 'Figtree', sans-serif;
            font-weight: 600;
            font-size: 0.72rem;
            color: var(--flame-red);
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .nav-links > a,
        .nav-dropdown > .nav-dropdown-trigger {
            color: var(--text-dark);
            font-size: 0.92rem;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: var(--radius);
            transition: all 0.2s;
            letter-spacing: 0.01em;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
            font-family: inherit;
            text-decoration: none;
        }

        .nav-links > a:hover,
        .nav-dropdown:hover > .nav-dropdown-trigger {
            background: var(--cream);
            color: var(--flame-red);
        }

        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-trigger svg {
            width: 12px;
            height: 12px;
            opacity: 0.4;
            transition: transform 0.2s;
        }

        .nav-dropdown:hover .nav-dropdown-trigger svg {
            transform: rotate(180deg);
            opacity: 0.7;
        }

        .nav-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(31,26,20,0.06);
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: all 0.2s ease;
            z-index: 100;
        }

        .nav-dropdown:hover .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-dropdown-menu a {
            display: block;
            padding: 10px 14px;
            color: var(--text-dark);
            font-size: 0.85rem;
            font-weight: 500;
            border-radius: var(--radius);
            transition: all 0.15s;
            text-decoration: none;
        }

        .nav-dropdown-menu a:hover {
            background: var(--cream);
            color: var(--flame-red);
        }

        .nav-links .nav-cta {
            background: var(--flame-red);
            color: white;
            margin-left: 8px;
            font-weight: 600;
            font-size: 0.92rem;
            padding: 8px 18px;
            border-radius: var(--radius);
        }

        .nav-links .nav-cta:hover {
            background: var(--navy);
            color: white;
        }

        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .nav-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text-dark);
            border-radius: 2px;
            transition: all 0.3s;
        }

        .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .nav-toggle.active span:nth-child(2) { opacity: 0; }
        .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        /* ============ HERO ============ */
        .hero {
            padding-top: 72px;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: var(--navy-deep);
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 20% 80%, rgba(198,40,40,0.15) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 50%),
                linear-gradient(170deg, #0f1d30 0%, #1a2e4a 40%, #243b55 100%);
            z-index: 0;
        }

        .hero-cross {
            position: absolute;
            right: -60px;
            top: 50%;
            transform: translateY(-50%);
            width: 400px;
            height: 600px;
            opacity: 0.04;
            z-index: 0;
        }

        .hero-cross::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            transform: translateX(-50%);
            width: 40px;
            height: 100%;
            background: white;
        }

        .hero-cross::after {
            content: '';
            position: absolute;
            top: 28%;
            left: 0;
            width: 100%;
            height: 40px;
            background: white;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 24px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .hero-text { color: white; }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            padding: 8px 18px;
            border-radius: 100px;
            font-size: 0.82rem;
            font-weight: 500;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--gold-light);
            margin-bottom: 32px;
        }

        .hero-badge::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--gold);
            animation: pulse-dot 2s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        .hero h1 {
            font-size: clamp(2.8rem, 5.5vw, 4.2rem);
            color: white;
            margin-bottom: 20px;
            line-height: 1.08;
        }

        .hero h1 .accent {
            color: var(--gold-light);
        }

        .hero-subtitle {
            font-size: 1.15rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.7;
            margin-bottom: 40px;
            max-width: 500px;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        a.btn { text-decoration: none; }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            border-radius: var(--radius);
            font-family: 'Figtree', sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            cursor: pointer;
            border: none;
            transition: all 0.25s ease;
        }

        a.btn-primary, .btn-primary {
            background: var(--flame-red);
            color: white;
        }

        a.btn-primary:hover, .btn-primary:hover {
            background: #a82020;
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 6px 24px rgba(198,40,40,0.3);
        }

        a.btn-outline, .btn-outline {
            background: transparent;
            color: white;
            border: 1.5px solid rgba(255,255,255,0.25);
        }

        a.btn-outline:hover, .btn-outline:hover {
            border-color: var(--gold);
            color: var(--gold-light);
            transform: translateY(-1px);
        }

        .hero-image-area {
            position: relative;
        }

        .hero-image-main {
            width: 100%;
            aspect-ratio: 4/3;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255,255,255,0.08);
            overflow: hidden;
            position: relative;
        }

        .hero-image-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-service-card {
            position: absolute;
            bottom: -24px;
            left: -24px;
            background: white;
            border-radius: var(--radius-lg);
            padding: 20px 28px;
            box-shadow: var(--shadow-lg);
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .service-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--cream);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .service-icon svg {
            width: 22px;
            height: 22px;
            color: var(--flame-red);
        }

        .service-info {
            line-height: 1.3;
        }

        .service-info .label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-light);
            font-weight: 600;
        }

        .service-info .time {
            font-family: 'Young Serif', serif;
            font-size: 1.2rem;
            color: var(--text-dark);
        }

        /* ============ STAINED GLASS DIVIDER ============ */
        .divider-glass {
            display: flex;
            height: 5px;
            width: 100%;
        }

        .divider-glass span {
            flex: 1;
        }

        .divider-glass .dg-1 { background: var(--flame-red); }
        .divider-glass .dg-2 { background: var(--gold); }
        .divider-glass .dg-3 { background: var(--sage); }
        .divider-glass .dg-4 { background: var(--navy); }
        .divider-glass .dg-5 { background: var(--flame-light); }
        .divider-glass .dg-6 { background: var(--gold-light); }

        /* ============ WELCOME ============ */
        .welcome {
            padding: 120px 24px;
            background: var(--warm-white);
            text-align: center;
        }

        .welcome-inner {
            max-width: 780px;
            margin: 0 auto;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--flame-red);
            margin-bottom: 20px;
        }

        .section-label::before,
        .section-label::after {
            content: '';
            width: 24px;
            height: 1px;
            background: var(--flame-red);
            opacity: 0.4;
        }

        .welcome h2 {
            font-size: clamp(2rem, 4vw, 2.8rem);
            margin-bottom: 32px;
            color: var(--navy);
        }

        .welcome-statement {
            position: relative;
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-medium);
            padding: 40px 0;
            border-top: 1px solid var(--cream-dark);
            border-bottom: 1px solid var(--cream-dark);
            margin-top: 24px;
        }

        .welcome-statement .quote-mark {
            position: absolute;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'Young Serif', serif;
            font-size: 4rem;
            color: var(--gold);
            opacity: 0.4;
            line-height: 1;
        }

        .welcome-actions {
            margin-top: 40px;
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        a.btn-warm, .btn-warm {
            background: var(--navy);
            color: white;
        }

        a.btn-warm:hover, .btn-warm:hover {
            background: var(--navy-deep);
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 6px 24px rgba(26,46,74,0.25);
        }

        a.btn-ghost, .btn-ghost {
            background: transparent;
            color: var(--navy);
            border: 1.5px solid var(--navy);
        }

        a.btn-ghost:hover, .btn-ghost:hover {
            background: var(--navy);
            color: white;
            transform: translateY(-1px);
        }

        /* ============ EVENTS ============ */
        .events {
            padding: 100px 24px;
            background: var(--cream);
        }

        .events-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 56px;
            flex-wrap: wrap;
            gap: 16px;
        }

        .events-header h2 {
            font-size: clamp(2rem, 4vw, 2.6rem);
            color: var(--navy);
        }

        .events-header p {
            color: var(--text-medium);
            margin-top: 8px;
            font-size: 1.05rem;
        }

        /* Events carousel: four-across on desktop, horizontal scroll with snap
           and arrow navigation if more events are added. */
        .events-carousel {
            position: relative;
        }
        .events-track {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: calc((100% - 72px) / 4);
            gap: 24px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            padding: 4px 4px 12px;
            scrollbar-width: none;
        }
        .events-track::-webkit-scrollbar { display: none; }
        .events-track .event-card { scroll-snap-align: start; min-width: 0; }

        .events-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 4;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: white;
            border: 1px solid var(--cream-dark);
            box-shadow: var(--shadow-md);
            cursor: pointer;
            display: grid;
            place-items: center;
            color: var(--navy);
            transition: background 0.2s, opacity 0.2s, transform 0.1s;
        }
        .events-nav:hover:not(:disabled) {
            background: var(--navy);
            color: white;
            border-color: var(--navy);
        }
        .events-nav:disabled { opacity: 0.35; cursor: default; }
        .events-nav[hidden] { display: none; }
        .events-nav svg { width: 18px; height: 18px; }
        .events-prev { left: -22px; }
        .events-next { right: -22px; }

        @media (max-width: 1024px) {
            .events-track { grid-auto-columns: calc((100% - 24px) / 2); }
            .events-prev { left: -8px; }
            .events-next { right: -8px; }
        }
        @media (max-width: 640px) {
            .events-track { grid-auto-columns: 85%; gap: 16px; }
            .events-prev, .events-next { width: 40px; height: 40px; }
        }

        .event-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.35s ease;
            cursor: default;
        }

        .event-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .event-card-accent {
            height: 4px;
        }

        .event-card:nth-child(1) .event-card-accent { background: var(--flame-red); }
        .event-card:nth-child(2) .event-card-accent { background: var(--gold); }
        .event-card:nth-child(3) .event-card-accent { background: var(--sage); }
        .event-card:nth-child(4) .event-card-accent { background: var(--navy); }

        .event-card-image {
            height: 200px;
            background: var(--cream);
            position: relative;
            overflow: hidden;
        }

        .event-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .event-card:hover .event-card-image img {
            transform: scale(1.05);
        }

        .event-card-body {
            padding: 24px;
        }

        .event-date-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 10px;
        }

        .event-card:nth-child(1) .event-date-badge { color: var(--flame-red); }
        .event-card:nth-child(2) .event-date-badge { color: var(--gold); }
        .event-card:nth-child(3) .event-date-badge { color: var(--sage); }
        .event-card:nth-child(4) .event-date-badge { color: var(--navy); }

        .event-card h3 {
            font-size: 1.25rem;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        .event-card p {
            font-size: 0.9rem;
            color: var(--text-medium);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ============ YOUTH MINISTRY ============ */
        .youth {
            padding: 100px 24px;
            background: var(--warm-white);
        }

        .youth-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 80px;
            align-items: start;
        }

        .youth-text h2 {
            font-size: clamp(2rem, 4vw, 2.6rem);
            color: var(--navy);
            margin-bottom: 16px;
        }

        .youth-text > p {
            color: var(--text-medium);
            font-size: 1.05rem;
            margin-bottom: 32px;
            line-height: 1.7;
        }

        .youth-image {
            aspect-ratio: 3/2;
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .youth-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .schedule-list {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .schedule-item {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 20px;
            padding: 24px 0;
            border-bottom: 1px solid var(--cream-dark);
            transition: all 0.2s;
        }

        .schedule-item:first-child {
            padding-top: 0;
        }

        .schedule-item:last-child {
            border-bottom: none;
        }

        .schedule-date {
            text-align: center;
        }

        .schedule-date .month {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
            color: var(--flame-red);
        }

        .schedule-date .day {
            font-family: 'Young Serif', serif;
            font-size: 2rem;
            line-height: 1.1;
            color: var(--text-dark);
        }

        .schedule-details h4 {
            font-family: 'Figtree', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .schedule-details p {
            font-size: 0.88rem;
            color: var(--text-medium);
        }

        .schedule-details .time-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-light);
            margin-top: 6px;
        }

        .schedule-details .time-badge svg {
            width: 14px;
            height: 14px;
        }

        /* ============ GALLERY ============ */
        .gallery {
            padding: 100px 24px;
            background: var(--cream);
            overflow: hidden;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 56px;
        }

        .gallery-header h2 {
            font-size: clamp(2rem, 4vw, 2.6rem);
            color: var(--navy);
        }

        .gallery-header p {
            color: var(--text-medium);
            margin-top: 8px;
            font-size: 1.05rem;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: 220px;
            gap: 12px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-item {
            border-radius: var(--radius-lg);
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }

        .gallery-item:nth-child(1)  { grid-column: span 2; }
        .gallery-item:nth-child(6)  { grid-column: span 2; }
        .gallery-item:nth-child(7)  { grid-column: span 2; }
        .gallery-item:nth-child(12) { grid-column: span 2; }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* ============ EVENT CARD CLICKABLE ============ */
        .event-card {
            cursor: pointer;
        }
        .event-card:focus-visible {
            outline: 2px solid var(--flame-red);
            outline-offset: 4px;
        }

        /* ============ EVENT MODAL ============ */
        .event-modal {
            position: fixed;
            inset: 0;
            z-index: 10001;
            display: none;
            overflow-y: auto;
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        .event-modal.active {
            display: block;
            opacity: 1;
        }
        .event-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(15, 29, 48, 0.78);
            cursor: pointer;
        }
        .event-modal-card {
            position: relative;
            max-width: 720px;
            margin: 60px auto 40px;
            background: var(--warm-white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 24px 64px rgba(0,0,0,0.35);
            animation: event-modal-in 0.25s ease;
        }
        @keyframes event-modal-in {
            from { transform: translateY(16px); opacity: 0; }
            to   { transform: translateY(0); opacity: 1; }
        }
        .event-modal-image {
            background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 240px;
            max-height: 60vh;
            overflow: hidden;
        }
        .event-modal-image img {
            max-width: 100%;
            max-height: 60vh;
            width: auto;
            height: auto;
            display: block;
            object-fit: contain;
        }
        .event-modal-body {
            padding: 32px 36px 36px;
        }
        .event-modal-date {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            letter-spacing: 0.04em;
            color: var(--flame-red);
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .event-modal h2 {
            font-family: 'Young Serif', serif;
            font-weight: 400;
            color: var(--navy);
            font-size: 2rem;
            line-height: 1.15;
            margin-bottom: 18px;
        }
        .event-modal-description {
            color: var(--text-medium);
            line-height: 1.75;
            font-size: 1rem;
        }
        .event-modal-description p {
            margin-bottom: 14px;
        }
        .event-modal-description p:last-child { margin-bottom: 0; }
        .event-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(0,0,0,0.55);
            color: white;
            cursor: pointer;
            display: grid;
            place-items: center;
            z-index: 2;
            backdrop-filter: blur(4px);
        }
        .event-modal-close svg { width: 20px; height: 20px; }
        .event-modal-close:hover { background: rgba(0,0,0,0.85); }
        @media (max-width: 600px) {
            .event-modal-card { margin: 0; border-radius: 0; min-height: 100vh; }
            .event-modal-image img { height: 280px; }
            .event-modal-body { padding: 24px 20px 32px; }
            .event-modal h2 { font-size: 1.5rem; }
        }

        /* ============ LIGHTBOX MODAL ============ */
        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: rgba(10, 10, 10, 0.95);
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-img-wrap {
            position: relative;
            max-width: 90vw;
            max-height: 85vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .lightbox-img-wrap img {
            max-width: 90vw;
            max-height: 85vh;
            object-fit: contain;
            border-radius: var(--radius);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox-img-wrap img.loaded {
            opacity: 1;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            z-index: 10;
        }

        .lightbox-close:hover {
            background: rgba(255,255,255,0.15);
        }

        .lightbox-close svg {
            width: 20px;
            height: 20px;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            z-index: 10;
        }

        .lightbox-nav:hover {
            background: rgba(255,255,255,0.18);
        }

        .lightbox-nav svg {
            width: 22px;
            height: 22px;
        }

        .lightbox-prev { left: 24px; }
        .lightbox-next { right: 24px; }

        .lightbox-counter {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255,255,255,0.5);
            font-size: 0.85rem;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .lightbox-nav { width: 40px; height: 40px; }
            .lightbox-prev { left: 12px; }
            .lightbox-next { right: 12px; }
            .lightbox-close { top: 12px; right: 12px; }
        }

        /* ============ CONTACT ============ */
        .contact {
            padding: 100px 24px;
            background: var(--warm-white);
        }

        .contact-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .contact h2 {
            font-size: clamp(2rem, 4vw, 2.6rem);
            color: var(--navy);
            margin-bottom: 16px;
        }

        .contact-inner > div > p {
            color: var(--text-medium);
            font-size: 1.05rem;
            margin-bottom: 40px;
            line-height: 1.7;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .contact-row {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .contact-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--cream);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-icon svg {
            width: 20px;
            height: 20px;
            color: var(--flame-red);
        }

        .contact-info .info-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 2px;
        }

        .contact-info p,
        .contact-info a {
            font-size: 0.95rem;
            color: var(--text-dark);
        }

        .contact-info a:hover {
            color: var(--flame-red);
        }

        .contact-map {
            width: 100%;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--cream-dark);
        }

        .contact-map iframe {
            width: 100%;
            height: 400px;
            border: 0;
            display: block;
        }

        /* ============ FOOTER ============ */
        .footer {
            background: var(--navy-deep);
            color: rgba(255,255,255,0.65);
            padding: 80px 24px 40px;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 48px;
        }

        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            margin-top: 16px;
            max-width: 320px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-brand img {
            height: 44px;
            filter: brightness(0) invert(1);
            opacity: 0.9;
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.6);
            transition: all 0.2s;
        }

        .footer-social a:hover {
            background: var(--flame-red);
            border-color: var(--flame-red);
            color: white;
        }

        .footer-social a svg {
            width: 18px;
            height: 18px;
        }

        .footer-col h4 {
            font-family: 'Figtree', sans-serif;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
            color: rgba(255,255,255,0.4);
            margin-bottom: 20px;
        }

        .footer-col a {
            display: block;
            color: rgba(255,255,255,0.65);
            font-size: 0.9rem;
            padding: 5px 0;
            transition: color 0.2s;
        }

        .footer-col a:hover { color: var(--gold-light); }

        .footer-bottom {
            max-width: 1200px;
            margin: 48px auto 0;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.06);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.35);
            flex-wrap: wrap;
            gap: 8px;
        }

        /* Scroll-reveal animations removed — elements render at full opacity. */

        /* Hide the mobile-only service pill on larger screens. */
        .hero-service-pill { display: none; }

        /* ============ CALENDAR ============ */
        .calendar {
            background: white;
            border: 1px solid var(--cream-dark);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .calendar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: var(--navy);
            color: white;
        }
        .calendar-month-label {
            font-family: 'Young Serif', serif;
            font-size: 1.4rem;
            color: white;
            margin: 0;
        }
        .calendar-nav {
            width: 36px; height: 36px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.2);
            background: transparent;
            color: white;
            cursor: pointer;
            display: grid;
            place-items: center;
            transition: background 0.15s, border-color 0.15s;
        }
        .calendar-nav:hover {
            background: rgba(255,255,255,0.12);
            border-color: var(--gold);
        }
        .calendar-nav svg { width: 16px; height: 16px; }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            border-bottom: 1px solid var(--cream-dark);
            background: var(--cream);
        }
        .calendar-weekdays > div {
            padding: 10px 6px;
            text-align: center;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-medium);
            font-weight: 600;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: var(--cream-dark);
        }
        .calendar-day {
            background: white;
            border: none;
            padding: 10px 8px;
            min-height: 80px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            font-family: inherit;
            cursor: default;
            transition: background 0.15s;
            position: relative;
        }
        .calendar-day.other-month { background: #fafaf5; color: var(--text-light); }
        .calendar-day.has-events { cursor: pointer; }
        .calendar-day.has-events:hover { background: var(--cream); }
        .calendar-day.today .calendar-day-num {
            background: var(--gold);
            color: var(--navy);
            font-weight: 700;
        }
        .calendar-day.selected {
            background: var(--cream) !important;
            box-shadow: inset 0 0 0 2px var(--navy);
        }
        .calendar-day-num {
            display: grid;
            place-items: center;
            width: 26px; height: 26px;
            border-radius: 50%;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-dark);
        }
        .calendar-day.other-month .calendar-day-num { color: var(--text-light); font-weight: 500; }
        .calendar-dots {
            display: flex;
            gap: 4px;
            margin-top: 6px;
        }
        .calendar-dot {
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--flame-red);
        }
        .calendar-dot-event { background: var(--flame-red); }
        .calendar-dot-youth { background: var(--gold); }

        .calendar-legend {
            display: flex;
            gap: 20px;
            padding: 12px 20px;
            border-top: 1px solid var(--cream-dark);
            background: var(--warm-white);
            font-size: 0.85rem;
            color: var(--text-medium);
            flex-wrap: wrap;
        }
        .calendar-legend-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .calendar-details {
            margin-top: 28px;
        }
        .calendar-details-title {
            font-family: 'Young Serif', serif;
            color: var(--navy);
            font-size: 1.3rem;
            margin-bottom: 16px;
        }
        .calendar-details-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .calendar-event-card {
            background: white;
            border: 1px solid var(--cream-dark);
            border-left: 4px solid var(--flame-red);
            border-radius: var(--radius);
            padding: 16px 20px;
        }
        .calendar-event-youth { border-left-color: var(--gold); }
        .calendar-event-kind {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
            color: var(--flame-red);
            margin-bottom: 4px;
        }
        .calendar-event-youth .calendar-event-kind { color: #8a6a00; }
        .calendar-event-card h4 {
            font-family: 'Young Serif', serif;
            color: var(--navy);
            font-size: 1.2rem;
            margin-bottom: 4px;
        }
        .calendar-event-time {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 8px;
        }
        .calendar-event-card p {
            color: var(--text-medium);
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0;
        }
        .calendar-empty {
            color: var(--text-light);
            font-style: italic;
            text-align: center;
            padding: 16px;
        }

        .calendar-ongoing {
            margin-top: 48px;
        }
        .calendar-ongoing > h3 {
            font-family: 'Young Serif', serif;
            color: var(--navy);
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        @media (max-width: 640px) {
            .calendar-weekdays > div { font-size: 0.65rem; padding: 8px 2px; }
            .calendar-day { min-height: 56px; padding: 6px 4px; }
            .calendar-day-num { width: 22px; height: 22px; font-size: 0.8rem; }
            .calendar-month-label { font-size: 1.2rem; }
        }

        /* ============ MOBILE NAV ============ */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255,253,248,0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 999;
            padding: 24px;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }

        .mobile-menu.active { display: flex; }

        .mobile-menu a {
            display: block;
            color: var(--text-dark);
            font-size: 1.1rem;
            font-weight: 500;
            padding: 14px 16px;
            border-radius: var(--radius);
            transition: all 0.2s;
        }

        .mobile-menu a:hover {
            background: var(--cream);
            color: var(--flame-red);
        }

        .mobile-section-label {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-light);
            padding: 20px 16px 4px;
            border-top: 1px solid var(--cream-dark);
            margin-top: 4px;
        }

        .mobile-menu .nav-cta {
            background: var(--flame-red);
            color: white;
            text-align: center;
            margin-top: 16px;
            font-weight: 600;
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 48px;
                padding: 60px 24px;
            }

            .hero-image-area { display: none; }

            .hero-service-pill {
                display: inline-flex;
                align-items: center;
                gap: 10px;
                padding: 8px 16px;
                background: rgba(255, 255, 255, 0.08);
                border: 1px solid rgba(201, 168, 76, 0.35);
                border-radius: 999px;
                color: var(--gold-light);
                font-size: 0.85rem;
                font-weight: 600;
                letter-spacing: 0.02em;
                margin-bottom: 20px;
            }
            .hero-service-pill svg { width: 14px; height: 14px; color: var(--gold); }

            .youth-inner {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .contact-inner {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .footer-inner {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .nav-toggle { display: flex; }

            .hero h1 { font-size: 2.4rem; }

            .hero-service-card {
                position: relative;
                bottom: auto;
                left: auto;
                margin-top: 32px;
                display: inline-flex;
            }

            .gallery-grid {
                grid-template-columns: 1fr 1fr;
                grid-auto-rows: 150px;
            }

            .gallery-item:nth-child(1),
            .gallery-item:nth-child(6),
            .gallery-item:nth-child(7),
            .gallery-item:nth-child(12) { grid-column: span 1; }

            .footer-inner {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .hero-actions { flex-direction: column; }
            .hero-actions .btn { width: 100%; justify-content: center; }
            .schedule-item { grid-template-columns: 60px 1fr; gap: 14px; }
            .welcome { padding: 80px 24px; }
            .events, .youth, .gallery, .contact { padding: 72px 24px; }
            .page-header h1 { font-size: 2rem; }
        }

        /* ============ SUBPAGE HEADER ============ */
        .page-header {
            padding-top: 72px;
            background: var(--navy-deep);
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 20% 80%, rgba(198,40,40,0.12) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%),
                linear-gradient(170deg, #0f1d30 0%, #1a2e4a 40%, #243b55 100%);
            z-index: 0;
        }

        .page-header-inner {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 24px 72px;
        }

        .page-header h1 {
            font-size: clamp(2.4rem, 5vw, 3.4rem);
            color: white;
            margin-bottom: 12px;
        }

        .page-header p {
            font-size: 1.15rem;
            color: rgba(255,255,255,0.6);
            max-width: 600px;
            line-height: 1.7;
        }

        /* ============ SUBPAGE CONTENT ============ */
        .page-section {
            padding: 80px 24px;
        }

        .page-section:nth-child(even) {
            background: var(--cream);
        }

        .page-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .page-content h2 {
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            color: var(--navy);
            margin-bottom: 20px;
        }

        .page-content h3 {
            font-size: 1.3rem;
            color: var(--text-dark);
            margin-bottom: 12px;
            margin-top: 32px;
        }

        .page-content p {
            color: var(--text-medium);
            font-size: 1.02rem;
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .page-content ul, .page-content ol {
            color: var(--text-medium);
            font-size: 1.02rem;
            line-height: 1.8;
            margin-bottom: 16px;
            padding-left: 24px;
        }

        .page-content li {
            margin-bottom: 6px;
        }

        .page-content a:not(.btn) {
            color: var(--flame-red);
            font-weight: 500;
        }

        /* ============ INFO CARDS ============ */
        .info-card {
            background: white;
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-sm);
            margin-bottom: 24px;
        }

        .info-card h3 {
            margin-top: 0;
            color: var(--navy);
        }

        .info-card p:last-child {
            margin-bottom: 0;
        }

        .info-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
            margin-top: 32px;
        }

        .info-cards-grid .info-card {
            margin-bottom: 0;
        }

        .info-card .card-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
            color: var(--flame-red);
            margin-bottom: 8px;
        }

        /* ============ PASTOR / STAFF CARD ============ */
        .staff-card {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 40px;
            align-items: start;
            background: white;
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-sm);
            margin-bottom: 32px;
        }

        .staff-photo {
            width: 200px;
            height: 240px;
            border-radius: var(--radius-lg);
            background: var(--cream);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 0.85rem;
        }

        .staff-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .staff-details h3 {
            margin-top: 0;
            font-size: 1.5rem;
            color: var(--navy);
        }

        .staff-details .staff-role {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
            color: var(--flame-red);
            margin-bottom: 16px;
        }

        @media (max-width: 768px) {
            .staff-card {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .staff-photo {
                width: 100%;
                height: 200px;
            }
            .info-cards-grid {
                grid-template-columns: 1fr;
            }
        }

        .feature-section {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
            gap: 36px;
            align-items: center;
        }

        .feature-section-left {
            grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
        }

        .feature-section-left .feature-section-media {
            order: -1;
        }

        .feature-section-top {
            display: block;
        }

        .feature-section-top .feature-section-media {
            margin-bottom: 32px;
        }

        .feature-section-media {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .feature-section-media img {
            width: 100%;
            max-height: 420px;
            object-fit: cover;
            display: block;
        }

        @media (max-width: 768px) {
            .feature-section,
            .feature-section-left {
                grid-template-columns: 1fr;
            }

            .feature-section-left .feature-section-media {
                order: 0;
            }
        }

        /* ============ CONTACT FORM ============ */
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 32px;
        }

        .form-group label {
            display: block;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 6px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1.5px solid var(--cream-dark);
            border-radius: var(--radius);
            font-family: 'Figtree', sans-serif;
            font-size: 0.95rem;
            color: var(--text-dark);
            background: white;
            transition: border-color 0.2s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--flame-red);
        }

        .form-group textarea {
            min-height: 140px;
            resize: vertical;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        @media (max-width: 480px) {
            .form-row { grid-template-columns: 1fr; }
        }

        /* ============ CONTENT MASSAGING (2026-09) ============ */
        /* Long labels (a verse typed into the small label field) read as an
           italic line instead of tracked uppercase. */
        .section-label-long {
            display: block;
            text-transform: none;
            letter-spacing: 0;
            font-size: 1.05rem;
            font-weight: 400;
            font-style: italic;
            line-height: 1.6;
            color: var(--text-medium);
            max-width: 720px;
        }
        .page-content > .section-label-long { margin-left: auto; margin-right: auto; }
        .section-label-long::before,
        .section-label-long::after { display: none; }
        .section-label-left { justify-content: flex-start; }
        .section-label-left::before { display: none; }

        /* Long page-header intros get a wider measure and slightly smaller type. */
        .page-header p.page-header-long {
            max-width: 720px;
            font-size: 1.05rem;
        }

        /* Long hero headlines step down a size so they don't run six lines deep. */
        .hero h1.hero-h1-long {
            font-size: clamp(2.4rem, 4.4vw, 3.4rem);
        }

        /* Quote / statement blocks. Short statements stay centered; long,
           multi-paragraph statements read left-aligned at body size. */
        .quote-statement {
            position: relative;
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-medium);
            padding: 40px 0;
            border-top: 1px solid var(--cream-dark);
            border-bottom: 1px solid var(--cream-dark);
            margin-top: 24px;
        }
        .quote-statement .quote-mark {
            position: absolute;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'Young Serif', serif;
            font-size: 4rem;
            color: var(--gold);
            opacity: 0.4;
            line-height: 1;
        }
        .quote-statement p:last-child,
        .welcome-statement p:last-child { margin-bottom: 0; }
        .quote-statement-long {
            text-align: left;
            font-size: 1.05rem;
            line-height: 1.75;
        }
        .quote-statement-long p { margin-bottom: 1em; }

        /* Staff quote with the attribution outside the quotation marks. */
        .staff-quote {
            margin: 16px 0 24px;
            padding: 20px 0 0;
            border-top: 1px solid var(--cream-dark);
            color: var(--text-medium);
            font-style: italic;
        }
        .staff-quote p { margin-bottom: 8px; }
        .staff-quote cite {
            display: block;
            font-style: normal;
            font-size: 0.9rem;
            color: var(--text-light);
        }

        /* Feature section with no image: copy spans the full width. */
        .feature-section-noimage { display: block; }

        /* Home page youth section when there are no scheduled MYF dates yet. */
        .youth-inner-single {
            grid-template-columns: minmax(0, 720px);
            justify-content: center;
        }

        /* Cards that carry a very long description on the calendar page. */
        .collapsible.is-collapsed .collapsible-body {
            max-height: 14.5em;
            overflow: hidden;
            position: relative;
        }
        .collapsible.is-collapsed .collapsible-body::after {
            content: '';
            position: absolute;
            left: 0; right: 0; bottom: 0;
            height: 4em;
            background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
        }
        .collapsible-toggle {
            margin-top: 12px;
            background: none;
            border: none;
            padding: 0;
            font: inherit;
            font-weight: 600;
            color: var(--flame-red);
            cursor: pointer;
        }
        .collapsible-toggle:hover { text-decoration: underline; }

        /* Bold inline subheadings produced from ALL-CAPS label lines. */
        .page-content p > strong:only-child,
        .page-content p > strong:first-child { color: var(--navy); }

        /* Small portrait photo on the left with the text wrapping around it. */
        .feature-section-portrait {
            display: block;
        }
        .feature-section-portrait .feature-section-media {
            float: left;
            width: min(260px, 40%);
            margin: 6px 32px 12px 0;
            box-shadow: var(--shadow-sm);
        }
        .feature-section-portrait .feature-section-media img {
            max-height: none;
            aspect-ratio: 4 / 5;
        }
        .feature-section-portrait::after {
            content: '';
            display: block;
            clear: both;
        }
        @media (max-width: 560px) {
            .feature-section-portrait .feature-section-media {
                float: none;
                width: 200px;
                margin: 0 0 20px;
            }
        }

        /* Optional photo at the top of a Quote block, shown uncropped. */
        .quote-photo {
            width: min(360px, 100%);
            margin: 0 auto 32px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        .quote-photo img { width: 100%; height: auto; display: block; }

        /* Live broadcast (BoxCast) block. */
        .page-content-wide { max-width: 1200px; }
        .livestream-widget {
            margin-top: 24px;
            min-height: 320px;
            border-radius: var(--radius-lg);
            overflow: hidden;
        }
        .livestream-loading {
            text-align: center;
            color: var(--text-light);
            padding: 120px 0;
            font-style: italic;
        }
        .livestream-fallback {
            text-align: center;
            margin-top: 32px;
            color: var(--text-medium);
        }
        .livestream-fallback p { margin-bottom: 16px; }

        /* Card grid, single-column variant: photo in a column on the left,
           text in its own column beside it (no wrapping under the photo). */
        .info-cards-single {
            grid-template-columns: 1fr;
        }
        .info-card-side {
            display: grid;
            grid-template-columns: 220px minmax(0, 1fr);
            gap: 28px;
            align-items: start;
        }
        .info-card-side > img {
            width: 100%;
            max-width: none !important;
            margin-bottom: 0 !important;
        }
        .info-card-body > :last-child { margin-bottom: 0; }
        @media (max-width: 560px) {
            .info-card-side {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .info-card-side > img { max-width: 220px !important; }
        }

        /* Extra photos under an Image + Text section. */
        .feature-photos {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 14px;
            margin-top: 28px;
        }
        .feature-photo {
            border-radius: var(--radius-md, 12px);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .feature-photo img { width: 100%; height: 180px; object-fit: cover; display: block; }

        /* Home page youth section: text across the top in two columns on
           wide screens, then a grid of pictures underneath. */
        .youth-inner-stacked {
            display: block;
        }
        .youth-copy {
            color: var(--text-medium);
            font-size: 1.05rem;
            line-height: 1.7;
            columns: 2;
            column-gap: 56px;
        }
        .youth-copy p, .youth-copy ul {
            margin: 0 0 16px;
            break-inside: avoid;
        }
        .youth-copy ul { padding-left: 22px; }
        .youth-copy li { margin-bottom: 4px; }
        .youth-copy strong { color: var(--navy); }
        .youth-photos {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
            grid-auto-flow: dense;
            gap: 12px;
            margin-top: 40px;
        }
        .youth-photo {
            border-radius: var(--radius-md, 12px);
            overflow: hidden;
            aspect-ratio: 4 / 3;
        }
        .youth-photo-main { grid-column: span 2; grid-row: span 2; }
        .youth-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
        @media (max-width: 900px) {
            .youth-copy { columns: 1; }
        }
        @media (max-width: 480px) {
            .youth-photos { grid-template-columns: 1fr 1fr; }
        }

        /* Home youth section: short intro, expandable program sections. */
        .youth-copy-short { columns: 1; max-width: 860px; }
        .program-accordion {
            max-width: 860px;
            margin-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .program-panel {
            background: white;
            border: 1px solid var(--cream-dark);
            border-radius: var(--radius-md, 12px);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }
        .program-panel summary {
            list-style: none;
            cursor: pointer;
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 4px 14px;
            padding: 18px 56px 18px 24px;
            position: relative;
        }
        .program-panel summary::-webkit-details-marker { display: none; }
        .program-panel summary:hover .program-title { color: var(--flame-red); }
        .program-panel summary:focus-visible { outline: 2px solid var(--flame-red); outline-offset: -2px; }
        .program-title {
            font-family: 'Young Serif', serif;
            font-size: 1.2rem;
            color: var(--navy);
            transition: color 0.15s;
        }
        .program-subtitle {
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--flame-red);
        }
        .program-chevron {
            position: absolute;
            right: 22px;
            top: 50%;
            width: 20px;
            height: 20px;
            margin-top: -10px;
            color: var(--text-light);
            transition: transform 0.2s;
        }
        .program-panel[open] .program-chevron { transform: rotate(180deg); }
        .program-body {
            padding: 0 24px 20px;
            color: var(--text-medium);
            line-height: 1.7;
        }
        .program-body p, .program-body ul { margin: 0 0 12px; }
        .program-body > :last-child { margin-bottom: 0; }
        .program-body ul { padding-left: 22px; }
        .youth-closing {
            max-width: 860px;
            margin-top: 28px;
            color: var(--text-medium);
            font-size: 1.05rem;
            line-height: 1.7;
        }
        .youth-closing a { font-weight: 600; }

        /* Centered headers for the home Upcoming Events and Youth sections. */
        .events-header-centered { justify-content: center; text-align: center; }
        .youth-centered .youth-text { text-align: center; }
        .youth-centered .youth-copy,
        .youth-centered .program-accordion,
        .youth-centered .youth-closing { margin-left: auto; margin-right: auto; }
        .youth-centered .program-accordion { text-align: left; }
