@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #1E2633;    /* Deep Navy Slate */
    --accent-color: #8E1C3D;     /* Crimson/Burgundy */
    --accent-hover: #6D142E;     /* Dark Burgundy */
    --gold-color: #C8A261;       /* Warm Gold */
    --light-bg: #FDFBF9;         /* Cream/Warm White */
    --text-dark: #2B2F38;        /* Soft Dark Text */
    --text-muted: #6C727F;       /* Slate Grey */
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

/* Scroll-driven reveal animation (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes reveal {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .scroll-reveal {
            animation: reveal auto linear both;
            animation-timeline: view();
            animation-range: entry 10% cover 30%;
        }
    }
}

/* Top bar contact details */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--gold-color);
}
.top-bar a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s;
}
.top-bar a:hover {
    color: #fff;
}

/* Header layout & Glassmorphism */
.navbar-brand img {
    height: 48px;
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.03);
}

.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    z-index: 1000;
}

.main-header.shrink {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    padding: 10px 15px !important;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
    border-bottom-color: var(--accent-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-top: 3px solid var(--accent-color);
}

.dropdown-item {
    font-weight: 400;
    padding: 10px 20px;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--accent-color);
    padding-left: 25px;
}

/* Custom Hero Layout */
.hero-section {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    margin-top: 72px; /* For header clearance */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 38, 51, 0.85) 0%, rgba(142, 28, 61, 0.6) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Cards & Content blocks */
.church-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
.church-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--gold-color);
}

/* Call to Action components */
.btn-church {
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.btn-church:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(142, 28, 61, 0.3);
}

.btn-church-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-weight: 500;
    padding: 10px 26px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-church-outline:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Media Page audio player and custom table styling */
.audio-player-container {
    background: rgba(142, 28, 61, 0.03);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.table-church {
    background: #fff;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.table-church tr {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
    border-radius: 4px;
    transition: transform 0.2s ease;
}
.table-church tr:hover {
    transform: scale(1.01);
}
.table-church td, .table-church th {
    padding: 15px 20px;
    vertical-align: middle;
    border: none;
}
.table-church th {
    background-color: rgba(30, 38, 51, 0.03);
    font-weight: 600;
}

/* Interactive elements: FAQs & bible references */
.faq-header {
    background: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}
.faq-header:hover {
    background-color: rgba(142, 28, 61, 0.02);
    border-color: var(--accent-color);
}
.faq-answer {
    padding: 15px 20px;
    border-left: 2px solid var(--accent-color);
    background-color: rgba(30, 38, 51, 0.01);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.bible-ref-header {
    background: rgba(30, 38, 51, 0.03);
    border-left: 3px solid var(--primary-color);
    padding: 10px 15px;
    cursor: pointer;
    margin: 8px 0;
    transition: background 0.2s;
}
.bible-ref-header:hover {
    background: rgba(142, 28, 61, 0.05);
}

/* Footer structure & links */
.site-footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px 0;
    border-top: 4px solid var(--accent-color);
}
.site-footer h5 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 25px;
}
.site-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}
.site-footer a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}
.footer-bottom {
    background-color: #121821;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    padding: 20px 0;
}
.footer-bottom a {
    color: var(--gold-color);
    text-decoration: none;
}

/* Cookie notice banner */
.cookie-notice-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 38, 51, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 1100;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform 0.5s ease-out;
}
.cookie-notice-banner.show {
    transform: translateY(0);
}

/* Staff details (Who's Who cards) */
.staff-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    text-align: center;
    padding: 25px;
}
.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--gold-color);
}
.staff-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    background-position: center top;
    background-size: cover;
    border: 6px solid var(--accent-color);
    transition: transform 0.4s ease;
}
.staff-card:hover .staff-avatar {
    transform: scale(1.05);
}
.staff-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.staff-role {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Auto-styling of content imported from database tables (like meeting times) */
.page-content table {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 25px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}
.page-content table tr:first-child td, .page-content table tr:first-child th {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 12px 20px !important;
    font-family: var(--font-heading) !important;
    border: none !important;
}
.page-content table tr:first-child h4 {
    color: #fff !important;
    margin-bottom: 0 !important;
    font-size: 1.25rem !important;
}
.page-content table tr:not(:first-child) td {
    padding: 14px 20px !important;
    background-color: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    color: var(--text-dark) !important;
    font-size: 0.95rem !important;
    border-top: none !important;
}
.page-content table tr:not(:first-child) td:first-child {
    font-weight: 600 !important;
    color: var(--accent-color) !important;
    width: 150px !important;
    background-color: rgba(30, 38, 51, 0.01) !important;
}
.page-content table tr:last-child td {
    border-bottom: none !important;
}
.page-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}
.page-content ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: square;
    color: var(--text-dark);
}
.page-content ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.page-content ul li a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* 2026 public experience refresh */
:root {
    --primary-color: #20242a;
    --accent-color: #c92f78;
    --accent-hover: #a92061;
    --gold-color: #f3c84b;
    --light-bg: #f7f8fa;
    --text-dark: #252930;
    --text-muted: #69707d;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #fff;
    letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 700;
    line-height: 1.06;
}

.top-bar {
    padding: 7px 0;
    background: #20242a;
    border-bottom: 0;
}

.main-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8e9ed;
    box-shadow: 0 4px 20px rgba(26, 28, 32, 0.05);
}

.main-header.shrink {
    padding: 0;
}

.navbar-brand img {
    height: 46px;
}

.nav-link {
    padding: 14px 12px !important;
    border-bottom-width: 3px;
    font-size: 0.94rem;
    font-weight: 600;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.dropdown-menu {
    border: 1px solid #ececf0;
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 6px 6px;
}

.hero-section {
    height: 360px;
    margin-top: 0;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(27, 30, 35, 0.94) 0%, rgba(27, 30, 35, 0.68) 55%, rgba(201, 47, 120, 0.32) 100%);
}

.hero-content h1 {
    max-width: 900px;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 0.98;
    text-shadow: none;
}

.section-space {
    padding: 96px 0;
}

.section-kicker,
.hero-kicker {
    margin-bottom: 14px;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-lead {
    color: var(--text-muted);
    font-size: 1.16rem;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: var(--accent-hover);
}

.btn-church,
.btn-church-outline,
.btn-hero-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 5px;
    font-weight: 700;
}

.btn-church {
    background: var(--accent-color);
}

.btn-church:hover {
    background: var(--accent-hover);
}

.btn-hero-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    color: #20242a;
    background: #fff;
}

.home-hero,
.home-hero .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item {
    height: min(720px, calc(100vh - 110px));
    min-height: 560px;
}

.home-hero .carousel-item {
    position: relative;
}

.home-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(22, 24, 28, 0.9) 0%, rgba(22, 24, 28, 0.62) 48%, rgba(22, 24, 28, 0.1) 82%),
        linear-gradient(0deg, rgba(22, 24, 28, 0.35), transparent 45%);
}

.home-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    color: #fff;
}

.home-hero-content h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(3rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 0.94;
}

.hero-kicker {
    color: var(--gold-color);
}

.hero-lead {
    max-width: 660px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.55;
}

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

.home-hero .carousel-control-prev,
.home-hero .carousel-control-next {
    width: 7%;
}

.home-hero .carousel-indicators {
    justify-content: flex-start;
    width: min(1320px, calc(100% - 48px));
    margin-right: auto;
    margin-bottom: 28px;
    margin-left: auto;
}

.home-hero .carousel-indicators [data-bs-target] {
    width: 42px;
    height: 4px;
    margin: 0 5px 0 0;
    border: 0;
    border-radius: 0;
    background-color: #fff;
}

.visit-strip {
    position: relative;
    z-index: 3;
    background: #fff;
    border-bottom: 1px solid #e8e9ed;
}

.visit-strip-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.25fr 58px;
    min-height: 112px;
}

.visit-intro,
.visit-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 28px;
    border-right: 1px solid #e8e9ed;
}

.visit-intro {
    padding-left: 0;
}

.visit-intro span,
.visit-detail span {
    display: flex;
    flex-direction: column;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.visit-intro strong,
.visit-detail strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.visit-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent-color);
    border-radius: 6px;
}

.visit-detail {
    color: var(--accent-color);
    text-decoration: none;
}

.visit-detail:hover {
    background: #faf6f8;
}

.visit-detail > i {
    width: 24px;
    font-size: 1.25rem;
    text-align: center;
}

.visit-arrow {
    display: grid;
    place-items: center;
    color: #20242a;
    background: var(--gold-color);
    text-decoration: none;
}

.visit-arrow:hover {
    color: #fff;
    background: var(--accent-color);
}

.home-welcome {
    background: #fff;
}

.home-welcome h2 {
    max-width: 560px;
}

.welcome-copy {
    padding-left: 48px;
    border-left: 4px solid var(--gold-color);
    color: #444a55;
    font-size: 1.05rem;
    line-height: 1.8;
}

.welcome-copy h1,
.welcome-copy h2 {
    font-size: 1.7rem;
}

.faith-pathways {
    background: #f4f5f7;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0;
}

.section-heading > p {
    max-width: 460px;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 1.06rem;
}

.pathway-tile {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    overflow: hidden;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pathway-tile:hover {
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(32, 36, 42, 0.16);
}

.pathway-magenta {
    background: var(--accent-color);
}

.pathway-yellow {
    color: #20242a;
    background: var(--gold-color);
}

.pathway-yellow:hover {
    color: #20242a;
}

.pathway-charcoal {
    background: #20242a;
}

.pathway-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 58px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1.35rem;
}

.pathway-number {
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0.45;
    font-size: 0.85rem;
    font-weight: 700;
}

.pathway-tile h3 {
    margin-bottom: 12px;
    color: inherit;
    font-size: 1.75rem;
    font-weight: 700;
}

.pathway-tile p {
    opacity: 0.84;
    line-height: 1.65;
}

.pathway-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid currentColor;
    font-weight: 700;
}

.sunday-section {
    background: #fff;
}

.sunday-photo {
    position: relative;
    min-height: 560px;
}

.sunday-photo img {
    width: calc(100% - 54px);
    height: 520px;
    object-fit: cover;
    border-radius: 6px;
}

.sunday-photo-label {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(360px, 82%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 5px;
}

.sunday-photo-label > i {
    font-size: 1.55rem;
}

.sunday-photo-label span {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
}

.service-times {
    margin-top: 30px;
    border-top: 1px solid #dddfe4;
}

.service-times > div {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #dddfe4;
}

.service-time {
    min-width: 76px;
    color: var(--accent-color);
    font-size: 1.35rem;
    font-weight: 700;
}

.service-times > div > span:last-child {
    display: flex;
    flex-direction: column;
    color: var(--text-muted);
}

.service-times strong {
    color: var(--primary-color);
}

.page-content-prose {
    padding: 18px 0 50px;
    line-height: 1.85;
}

.page-content-prose > h2,
.page-content-prose > h3 {
    margin-top: 2rem;
}

.church-card {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(32, 36, 42, 0.06);
}

.site-footer {
    padding: 72px 0 36px;
    background: #20242a;
    border-top: 0;
}

.footer-affiliation-logo {
    width: 140px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.footer-oscr-logo {
    width: 80px;
}

.footer-bottom {
    background: #171a1f;
}

@media (max-width: 991.98px) {
    .top-bar {
        display: none;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 8px 0 16px;
        border-top: 1px solid #ececf0;
    }

    .nav-link {
        padding: 10px 4px !important;
        border-bottom: 0;
    }

    .home-hero,
    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item {
        height: 680px;
        min-height: 0;
    }

    .home-hero-shade {
        background: linear-gradient(90deg, rgba(22, 24, 28, 0.88), rgba(22, 24, 28, 0.42));
    }

    .visit-strip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .visit-intro,
    .visit-detail {
        border-bottom: 1px solid #e8e9ed;
    }

    .visit-intro {
        padding-left: 24px;
    }

    .visit-arrow {
        display: none;
    }

    .welcome-copy {
        padding-left: 0;
        border-left: 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 16px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        width: 230px;
        max-width: calc(100vw - 105px);
        height: auto;
    }

    .home-hero,
    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item {
        height: 620px;
    }

    .home-hero-image {
        object-position: 58% center;
    }

    .home-hero-shade {
        background: linear-gradient(0deg, rgba(22, 24, 28, 0.94) 0%, rgba(22, 24, 28, 0.58) 75%, rgba(22, 24, 28, 0.28) 100%);
    }

    .home-hero-content {
        align-items: flex-end;
        padding-bottom: 82px;
    }

    .home-hero-content h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-actions {
        display: grid;
    }

    .home-hero .carousel-control-prev,
    .home-hero .carousel-control-next {
        display: none;
    }

    .visit-strip-grid {
        grid-template-columns: 1fr;
    }

    .visit-intro,
    .visit-detail {
        border-right: 0;
    }

    .section-space {
        padding: 68px 0;
    }

    .pathway-tile {
        min-height: 330px;
    }

    .sunday-photo {
        min-height: 450px;
    }

    .sunday-photo img {
        width: 100%;
        height: 410px;
    }

    .sunday-photo-label {
        right: 16px;
    }

    .hero-section {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none !important;
    }
}

/* Purpose-built inner pages */
.feature-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #fff;
}

.feature-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(25, 28, 33, .92), rgba(25, 28, 33, .12) 78%);
}

.feature-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 64px;
}

.feature-hero-content h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.1rem, 8vw, 6.6rem);
    font-weight: 700;
    line-height: .94;
}

.feature-hero-lead {
    max-width: 700px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.25rem;
}

.feature-hero-lead p {
    margin: 0;
}

.programme-section,
.kids-section,
.services-page,
.team-section {
    background: #f6f7f9;
}

.programme-card {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-radius: 6px;
}

.programme-card-top {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    text-transform: uppercase;
}

.programme-card-top i {
    font-size: 1.5rem;
}

.programme-time {
    margin: 80px 0 8px;
    font-size: 1rem;
    font-weight: 700;
}

.programme-card h3 {
    font-size: 2rem;
    font-weight: 700;
}

.programme-card p:not(.programme-time) {
    line-height: 1.7;
}

.programme-note {
    width: fit-content;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid currentColor;
    font-size: .84rem;
    font-weight: 700;
}

.programme-pink {
    color: #fff;
    background: var(--accent-color);
}

.programme-pink h3,
.programme-dark h3 {
    color: #fff;
}

.programme-yellow {
    color: #20242a;
    background: var(--gold-color);
}

.programme-dark {
    color: #fff;
    background: #20242a;
}

.detail-band {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 38px;
    background: #fff;
    border-left: 5px solid var(--accent-color);
}

.detail-band .page-content {
    flex: 1;
}

.age-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
}

.age-panel {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    color: #20242a;
    background: #fff;
    border: 1px solid #e2e4e8;
    border-radius: 6px;
}

.age-panel-main {
    grid-row: span 2;
    min-height: 684px;
    color: #fff;
    background: var(--accent-color);
}

.age-panel > i {
    margin: auto 0 42px;
    font-size: 3rem;
}

.age-panel h3 {
    color: inherit;
    font-size: 2rem;
}

.age-panel p {
    opacity: .82;
}

.age-label {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.age-panel strong {
    margin-top: auto;
}

.safeguarding-callout {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding: 28px 32px;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 6px;
}

.safeguarding-callout > i {
    font-size: 2.3rem;
}

.safeguarding-callout h3,
.safeguarding-callout p {
    margin-bottom: 4px;
}

.service-schedule {
    border-top: 1px solid #ced1d7;
}

.service-schedule article {
    display: grid;
    grid-template-columns: 110px 130px 1fr 48px;
    align-items: center;
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid #ced1d7;
}

.service-day {
    color: var(--accent-color);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-clock {
    font-size: 2rem;
    font-weight: 700;
}

.service-schedule h2 {
    margin-bottom: 7px;
    font-size: 1.75rem;
}

.service-schedule p {
    margin: 0;
    color: var(--text-muted);
}

.service-schedule article > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent-color);
    border-radius: 50%;
}

.service-detail-copy {
    padding: 30px;
    background: #fff;
    border-left: 4px solid var(--gold-color);
    line-height: 1.8;
}

.homegroup-section {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, .95), #fff 34%),
        radial-gradient(circle at top right, rgba(201, 47, 120, .1), transparent 34%);
}

.homegroup-intro {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    margin-bottom: 44px;
}

.homegroup-intro h2,
.homegroup-list-heading h2,
.homegroup-cta h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.homegroup-copy {
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(32, 36, 42, .08);
    border-left: 4px solid var(--gold-color);
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(32, 36, 42, .06);
}

.homegroup-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 64px;
}

.homegroup-highlights article {
    padding: 28px;
    background: #20242a;
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
}

.homegroup-highlights i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 8px;
    font-size: 1.25rem;
}

.homegroup-highlights h3,
.homegroup-card h3 {
    color: #fff;
    font-size: 1.35rem;
}

.homegroup-highlights p,
.homegroup-card p,
.homegroup-cta p {
    margin-bottom: 0;
    line-height: 1.75;
}

.homegroup-list-wrap {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    margin-bottom: 64px;
}

.homegroup-list {
    display: grid;
    gap: 18px;
}

.homegroup-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(32, 36, 42, .1);
    border-radius: 8px;
    box-shadow: 0 14px 42px rgba(32, 36, 42, .06);
}

.homegroup-card h3 {
    color: var(--primary-color);
}

.homegroup-card-date {
    display: grid;
    align-content: center;
    min-height: 150px;
    padding: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), #6b2450);
    border-radius: 8px;
}

.homegroup-card-date span {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.homegroup-card-date strong {
    margin-top: 8px;
    font-size: 1.7rem;
    line-height: 1;
}

.homegroup-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
}

.homegroup-card dt {
    color: var(--accent-color);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.homegroup-card dd {
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.homegroup-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(28px, 5vw, 54px);
    color: rgba(255, 255, 255, .76);
    background:
        linear-gradient(115deg, rgba(32, 36, 42, .96), rgba(32, 36, 42, .86)),
        url('../uploads/slider/church-family-3.jpg') center / cover;
    border-radius: 8px;
}

.homegroup-cta h2 {
    color: #fff;
}

.homegroup-contact-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.homegroup-contact-card span {
    color: #fff;
    font-weight: 800;
}

.homegroup-contact-card a:not(.btn) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.homegroup-contact-card a:not(.btn):hover {
    color: var(--gold-color);
}

.vision-hero {
    padding: 120px 0;
    color: #fff;
    background: #20242a;
}

.vision-hero h1 {
    max-width: 1050px;
    color: #fff;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: .9;
}

.vision-hero h1 span {
    color: var(--accent-color);
}

.vision-hero > .container > p:last-child {
    max-width: 620px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .7);
    font-size: 1.25rem;
}

.vision-story {
    background: #fff;
}

.vision-image-stack {
    position: relative;
    min-height: 600px;
}

.vision-image-stack img {
    width: calc(100% - 48px);
    height: 560px;
    object-fit: cover;
    border-radius: 6px;
}

.vision-verse {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 28px;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 5px;
    font-size: 1.25rem;
    font-weight: 700;
}

.vision-copy {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.85;
}

.vision-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.vision-pillars {
    padding: 50px 0;
    background: var(--gold-color);
}

.vision-pillars .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.vision-pillars .container > div {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 28px;
    border-right: 1px solid rgba(32, 36, 42, .25);
}

.vision-pillars .container > div:last-child {
    border-right: 0;
}

.vision-pillars span {
    color: var(--accent-color);
    font-weight: 800;
}

.first-visit {
    background: #f6f7f9;
}

.first-visit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #d5d8de;
    border-left: 1px solid #d5d8de;
}

.first-visit-intro,
.first-visit-step {
    min-height: 330px;
    padding: 36px;
    background: #fff;
    border-right: 1px solid #d5d8de;
    border-bottom: 1px solid #d5d8de;
}

.first-visit-intro {
    grid-row: span 2;
    min-height: 660px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--accent-color);
}

.first-visit-intro .section-kicker {
    color: var(--gold-color);
}

.first-visit-intro h2,
.first-visit-intro p {
    color: #fff;
}

.first-visit-step {
    position: relative;
}

.first-visit-step > span {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--accent-color);
    font-weight: 800;
}

.first-visit-step > i {
    margin-bottom: 70px;
    color: var(--accent-color);
    font-size: 2rem;
}

.first-visit-step h3 {
    font-size: 1.55rem;
}

.welcome-detail {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.welcome-detail-action {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    padding: 30px;
    background: var(--gold-color);
    border-radius: 6px;
}

.contact-main {
    background: #fff;
}

.contact-details {
    padding-right: 34px;
}

.contact-detail-list {
    margin-top: 40px;
    border-top: 1px solid #dedfe3;
}

.contact-detail-list > div {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #dedfe3;
}

.contact-detail-list i {
    width: 26px;
    color: var(--accent-color);
    font-size: 1.3rem;
    text-align: center;
}

.contact-detail-list span {
    display: flex;
    flex-direction: column;
    color: var(--text-muted);
}

.contact-detail-list strong {
    color: #20242a;
}

.contact-detail-list a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-form-panel {
    padding: 42px;
    background: #f5f6f8;
    border-radius: 6px;
}

.contact-form-panel .form-control {
    min-height: 50px;
    border: 1px solid #d4d7dd;
    border-radius: 4px;
}

.contact-map-section {
    padding-top: 78px;
    background: #f5f6f8;
}

.contact-map-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 34px;
}

.contact-map-heading h2 {
    margin: 0;
}

.contact-map-frame {
    width: 100%;
    height: 620px;
}

.contact-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.team-intro {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.team-group {
    margin-top: 70px;
}

.team-group-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d5d8de;
}

.team-group-heading span {
    color: var(--accent-color);
    font-weight: 800;
}

.team-group-heading h2 {
    margin: 0;
    font-size: 2rem;
}

.team-profile {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
}

.team-profile-photo {
    aspect-ratio: 4 / 4.7;
    overflow: hidden;
    background: #e8e9ed;
}

.team-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-profile-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #a4a8b0;
    font-size: 4rem;
}

.team-profile-copy {
    min-height: 132px;
    padding: 22px;
    border-top: 4px solid var(--accent-color);
}

.team-profile-copy h3 {
    margin-bottom: 6px;
    font-size: 1.25rem;
    font-weight: 700;
}

.team-profile-copy p {
    margin: 0;
    color: var(--text-muted);
}

.team-overview {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    gap: 48px;
    align-items: start;
    padding: clamp(28px, 5vw, 48px);
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(32, 36, 42, .06);
}

.team-overview h2 {
    margin: 0;
}

.team-overview-copy {
    display: grid;
    gap: 24px;
}

.team-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.team-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #20242a;
    background: #f8fafc;
    border: 1px solid #e5e8ee;
    border-radius: 999px;
    font-weight: 700;
}

.team-stats strong {
    color: var(--accent-color);
}

.team-group-heading {
    align-items: flex-start;
}

.team-group-heading > div p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-weight: 700;
}

.team-profile {
    box-shadow: 0 18px 42px rgba(32, 36, 42, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.team-profile:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(32, 36, 42, .12);
}

.team-profile-photo {
    position: relative;
}

.team-profile-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(32, 36, 42, .74), transparent);
    pointer-events: none;
}

.team-profile-photo span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    max-width: calc(100% - 28px);
    padding: 6px 10px;
    overflow: hidden;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.team-profile-copy {
    background: #fff;
}

.team-help-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 80px;
    padding: clamp(28px, 5vw, 48px);
    color: rgba(255, 255, 255, .76);
    background:
        linear-gradient(110deg, rgba(32, 36, 42, .96), rgba(32, 36, 42, .76)),
        url('../uploads/slider/church-family-4.jpg') center / cover;
    border-radius: 8px;
}

.team-help-panel h2 {
    color: #fff;
}

.team-help-panel .section-kicker {
    color: var(--gold-color);
}

.team-help-panel p {
    max-width: 720px;
    margin: 0;
}

.policy-hero {
    padding: 100px 0;
    color: #fff;
    background: #20242a;
}

.policy-hero h1 {
    color: #fff;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
}

.policy-hero > .container > p:last-child {
    max-width: 650px;
    color: rgba(255, 255, 255, .7);
    font-size: 1.15rem;
}

.policy-aside {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 6px;
}

.policy-aside span {
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.policy-aside a {
    color: #20242a;
    font-weight: 700;
    text-decoration: none;
}

.policy-content {
    line-height: 1.8;
}

.policy-content h1 {
    display: none;
}

.policy-content h2,
.policy-content h3 {
    margin-top: 2.3rem;
    font-size: 1.6rem;
}

.policy-content li {
    margin-bottom: .7rem;
}

.meeting-overview {
    background:
        linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.meeting-card {
    height: 100%;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    color: #20242a;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(32, 36, 42, .06);
}

.meeting-card-featured {
    color: #fff;
    background: #c92f78;
    border-color: #c92f78;
}

.meeting-card span {
    width: max-content;
    padding: 6px 10px;
    color: #c92f78;
    background: #fceaf3;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.meeting-card-featured span {
    color: #20242a;
    background: #f3c84b;
}

.meeting-card h3 {
    margin: 28px 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
}

.meeting-card-featured h3 {
    color: #fff;
}

.meeting-card strong {
    display: block;
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
}

.meeting-card p {
    margin: 0;
    color: var(--text-muted);
}

.meeting-card-featured p {
    color: rgba(255, 255, 255, .82);
}

.meeting-detail-section {
    padding: 90px 0;
    background: #20242a;
}

.meeting-detail-grid {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.6fr);
    gap: 38px;
    align-items: start;
}

.meeting-detail-copy {
    position: sticky;
    top: 120px;
    color: rgba(255, 255, 255, .74);
}

.meeting-detail-copy h2 {
    color: #fff;
}

.meeting-detail-copy .section-kicker {
    color: #f3c84b;
}

.meeting-table-panel {
    padding: 28px;
    background: #fff;
    border-radius: 8px;
}

.auth-body {
    min-height: 100vh;
    background: #20242a;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: clamp(28px, 5vw, 64px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(32, 36, 42, .96) 0%, rgba(32, 36, 42, .76) 58%, rgba(201, 47, 120, .42) 100%),
        url('../uploads/slider/church-family-3.jpg') center / cover;
}

.auth-visual::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 42px solid rgba(243, 200, 75, .22);
    border-radius: 50%;
}

.auth-brand {
    position: relative;
    z-index: 1;
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .94);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.auth-brand img {
    width: min(310px, 72vw);
    height: auto;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.auth-visual-content .hero-kicker {
    color: #f3c84b;
}

.auth-visual-content h1 {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    font-weight: 800;
    line-height: .9;
}

.auth-visual-content p:not(.hero-kicker) {
    max-width: 620px;
    color: rgba(255, 255, 255, .76);
    font-size: 1.18rem;
    line-height: 1.75;
}

.auth-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.auth-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.auth-pills i {
    color: #f3c84b;
}

.auth-panel-wrap {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: clamp(24px, 5vw, 64px);
    background:
        linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.auth-panel {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 44px);
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(32, 36, 42, .1);
}

.auth-panel-header {
    margin-bottom: 28px;
}

.auth-panel-header h2 {
    margin-bottom: 10px;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 800;
}

.auth-panel-header p:last-child {
    margin: 0;
    color: var(--text-muted);
}

.auth-form {
    display: grid;
    gap: 20px;
}

.auth-input-group {
    position: relative;
}

.auth-input-group i {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #8b929e;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-input-group .form-control {
    min-height: 52px;
    padding-left: 46px;
    color: #20242a;
    background: #f8fafc;
    border-color: #dde2ea;
}

.auth-input-group .form-control:focus {
    background: #fff;
    border-color: rgba(201, 47, 120, .55);
    box-shadow: 0 0 0 .25rem rgba(201, 47, 120, .12);
}

.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-muted);
    font-size: .95rem;
}

.auth-form-row a,
.auth-switch a,
.auth-footnote a {
    color: var(--accent-color);
    font-weight: 800;
    text-decoration: none;
}

.auth-form-row a:hover,
.auth-switch a:hover,
.auth-footnote a:hover {
    color: var(--accent-hover);
}

.auth-submit {
    width: 100%;
    margin-top: 2px;
}

.auth-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--text-muted);
}

.auth-footnote {
    margin: 0;
    text-align: center;
}

.featured-video-panel,
.video-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(32, 36, 42, .08);
}

.featured-video-panel iframe,
.video-card iframe {
    border: 0;
}

.media-page-copy {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.video-card {
    height: 100%;
}

.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: #fff;
    background: #111827;
    text-decoration: none;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
}

.video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, .45), rgba(17, 24, 39, .08));
}

.video-thumb span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 68px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #ff0033;
    border-radius: 8px;
    font-size: 1.45rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

.video-thumb:hover img {
    opacity: .86;
    transform: scale(1.04);
}

.video-card-body {
    padding: 22px;
    border-top: 4px solid var(--accent-color);
}

.video-card-body span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: .86rem;
    font-weight: 800;
}

.video-card-body h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
}

.devotional-pagination {
    display: flex;
    justify-content: center;
}

.devotional-pagination nav > div:first-child {
    display: none;
}

.devotional-pagination .pagination {
    gap: 8px;
    margin: 0;
}

.devotional-pagination .page-link {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #20242a;
    border: 1px solid #dfe4ec;
    border-radius: 6px;
    font-weight: 800;
}

.devotional-pagination .page-item.active .page-link {
    color: #fff;
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.devotional-pagination .page-item.disabled .page-link {
    color: #a3a9b4;
    background: #f8fafc;
}

.media-empty-state {
    padding: 58px 26px;
    color: var(--text-muted);
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cfd5df;
    border-radius: 8px;
}

.media-empty-state i {
    margin-bottom: 18px;
    color: var(--accent-color);
    font-size: 3rem;
}

.media-empty-state h3 {
    font-size: 1.45rem;
    font-weight: 800;
}

.sermon-year-section {
    margin-bottom: 42px;
}

.sermon-year-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d9dde5;
}

.sermon-year-heading h3 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
}

.sermon-year-heading span {
    color: var(--accent-color);
    font-weight: 800;
}

.expect-intro {
    background: #fff;
}

.expect-copy,
.calendar-copy {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.expect-photo-stack {
    position: relative;
    min-height: 560px;
}

.expect-photo-stack img {
    width: 84%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(32, 36, 42, .18);
}

.expect-note {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(340px, 82%);
    padding: 28px;
    color: #fff;
    background: #20242a;
    border-top: 5px solid var(--gold-color);
    border-radius: 8px;
    box-shadow: 0 22px 50px rgba(32, 36, 42, .24);
}

.expect-note span {
    color: var(--gold-color);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.expect-note strong {
    display: block;
    margin: 8px 0;
    font-size: 2.6rem;
    line-height: 1;
}

.expect-note p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
}

.expect-steps {
    padding: 96px 0;
    background: #f7f8fa;
}

.expect-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(32, 36, 42, .05);
}

.expect-card i,
.calendar-cta i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    color: #fff;
    background: var(--accent-color);
    border-radius: 8px;
    font-size: 1.35rem;
}

.expect-card h3,
.calendar-cta h3 {
    margin-bottom: 12px;
    font-size: 1.28rem;
    font-weight: 800;
}

.expect-card p,
.calendar-cta p {
    margin: 0;
    color: var(--text-muted);
}

.expect-help-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 5vw, 48px);
    color: rgba(255, 255, 255, .76);
    background:
        linear-gradient(110deg, rgba(32, 36, 42, .96), rgba(32, 36, 42, .78)),
        url('../uploads/slider/church-family-3.jpg') center / cover;
    border-radius: 8px;
}

.expect-help-band h2 {
    color: #fff;
}

.expect-help-band .section-kicker {
    color: var(--gold-color);
}

.expect-help-band p {
    max-width: 680px;
    margin: 0;
}

.calendar-intro {
    background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.calendar-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #20242a;
    border-radius: 8px;
}

.calendar-summary i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    color: #20242a;
    background: var(--gold-color);
    border-radius: 8px;
    font-size: 1.55rem;
}

.calendar-summary strong,
.calendar-summary span {
    display: block;
}

.calendar-summary strong {
    color: #fff;
    font-size: 1.15rem;
}

.calendar-summary span {
    color: rgba(255, 255, 255, .7);
}

.calendar-shell {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(32, 36, 42, .09);
}

.calendar-shell-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border-bottom: 1px solid #e5e8ee;
}

.calendar-shell-header h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.calendar-frame {
    min-height: 600px;
    background: #f8fafc;
}

.planning-center-calender-embed {
    display: block;
    width: 100% !important;
    min-height: 600px;
    border: 0;
}

.calendar-cta {
    padding: 84px 0;
    background: #fff;
}

.calendar-cta article {
    height: 100%;
    padding: 28px;
    background: #f8fafc;
    border: 1px solid #e5e8ee;
    border-radius: 8px;
}

.calendar-cta a {
    color: var(--accent-color);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .age-grid,
    .first-visit-grid {
        grid-template-columns: 1fr;
    }

    .age-panel-main,
    .first-visit-intro {
        grid-row: auto;
        min-height: 420px;
    }

    .safeguarding-callout {
        grid-template-columns: 52px 1fr;
    }

    .safeguarding-callout .btn {
        grid-column: 2;
        justify-self: start;
    }

    .service-schedule article {
        grid-template-columns: 90px 110px 1fr;
    }

    .service-schedule article > i {
        display: none;
    }

    .homegroup-intro,
    .homegroup-list-wrap,
    .homegroup-cta {
        grid-template-columns: 1fr;
    }

    .homegroup-highlights {
        grid-template-columns: 1fr;
    }

    .vision-pillars .container {
        grid-template-columns: 1fr;
    }

    .vision-pillars .container > div {
        border-right: 0;
        border-bottom: 1px solid rgba(32, 36, 42, .25);
    }

    .welcome-detail {
        grid-template-columns: 1fr;
    }

    .meeting-detail-grid {
        grid-template-columns: 1fr;
    }

    .meeting-detail-copy {
        position: static;
    }

    .team-overview {
        grid-template-columns: 1fr;
    }

    .team-help-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .expect-help-band,
    .calendar-shell-header {
        align-items: start;
        flex-direction: column;
    }

    .expect-photo-stack {
        min-height: 480px;
    }

    .expect-photo-stack img {
        width: 100%;
        height: 430px;
    }

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: auto;
        gap: 74px;
    }

    .auth-panel-wrap {
        padding-top: 34px;
    }
}

@media (max-width: 767.98px) {
    .container > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .container > .row > [class*="col-"],
    .container > .row > [class^="col"] {
        padding-right: 0;
        padding-left: 0;
    }

    .feature-hero {
        min-height: 500px;
    }

    .feature-hero-content {
        padding-bottom: 44px;
    }

    .detail-band {
        align-items: start;
        flex-direction: column;
        padding: 26px;
    }

    .service-schedule article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .homegroup-copy,
    .homegroup-card,
    .homegroup-cta {
        padding: 22px;
    }

    .homegroup-card {
        grid-template-columns: 1fr;
    }

    .homegroup-card-date {
        min-height: auto;
    }

    .homegroup-card dl {
        grid-template-columns: 1fr;
    }

    .vision-image-stack {
        min-height: 440px;
    }

    .vision-image-stack img {
        width: 100%;
        height: 410px;
    }

    .contact-form-panel {
        padding: 26px;
    }

    .contact-map-heading {
        align-items: start;
        flex-direction: column;
    }

    .contact-map-frame {
        height: 480px;
    }

    .auth-visual {
        padding: 24px;
    }

    .auth-visual-content h1 {
        font-size: clamp(2.55rem, 15vw, 4rem);
    }

    .auth-panel-wrap {
        padding: 22px;
    }

    .auth-panel {
        padding: 24px;
    }

    .auth-form-row,
    .auth-switch {
        align-items: flex-start;
        flex-direction: column;
    }

    .calendar-frame,
    .planning-center-calender-embed {
        min-height: 560px;
    }
}
