/* ============================ 
   CSS Variables
============================ */
:root {
    /* Primary Colors */
    --deep-navy: #1A1A2E;       /* Academic, authoritative, timeless */
    --gold: #D4AF37;            /* Sacredness, illumination, wisdom */

    /* Supportive Neutrals */
    --ivory: #F7F5F0;           /* Clean background for high contrast */
    --cool-gray: #4B4B4B;       /* Excellent for subtitles or outlines */
    --oxblood: #581845;         /* Optional contrast accent */
    --gold-dark: #8A6512;       /* WO-4: accessible dark gold for small text on light (June ruling) */
    --ink: #1F2430;             /* WO-4: locked body-text-on-light color */
    --hairline: rgba(26, 26, 46, 0.15); /* WO-4: card frame hairline (navy at low opacity) */
    
    /* Additional Colors */
    --white: #FFFFFF;
    --black: #333333;
    --light-gold: #F1E5AC;      /* Lighter version of gold for hover states */
    --light-navy: #2A2A45;      /* Lighter version of navy for hover states */
    --border-light: #ddd;       /* Hairline borders */
    --error-red: #dc3545;       /* Form validation errors */
    --required-red: #e74c3c;    /* Required-field marker */
    
    /* Typography */
    --header-font: 'Cardo', serif;           /* Main titles, sermon slides, banners */
    --subheader-font: 'Playfair Display', serif; /* Subtitles, quotes, emphasized phrases */
    --body-font: 'Lora', serif;              /* Clean, readable serif for paragraphs */
    --quote-font: 'Georgia', serif;          /* Scripture and formal quotes */
    --utility-font: 'Open Sans', sans-serif; /* Small print, metadata, footnotes */
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Other */
    --border-radius: 4px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ============================ 
   Reset & Base Styles
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

a {
    color: var(--deep-navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    /* WO-4: gold rule + centered lozenge ornament, replaces the plain underline */
    content: '';
    display: block;
    width: 140px;
    height: 16px;
    margin: 1.25rem auto 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 16'%3E%3Cline x1='0' y1='8' x2='54' y2='8' stroke='%23D4AF37' stroke-width='1.5'/%3E%3Cline x1='86' y1='8' x2='140' y2='8' stroke='%23D4AF37' stroke-width='1.5'/%3E%3Crect x='64' y='2' width='12' height='12' fill='%23D4AF37' transform='rotate(45 70 8)'/%3E%3C/svg%3E");
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

section {
    padding: var(--section-padding);
}

/* ============================ 
   Button Styles
============================ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--deep-navy);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-secondary {
    background-color: var(--deep-navy);
    color: var(--white);
    border: 2px solid var(--deep-navy);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--deep-navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--deep-navy);
    border: 2px solid var(--deep-navy);
}

.btn-outline:hover {
    background-color: var(--deep-navy);
    color: var(--white);
}

.btn-text {
    padding: 0;
    background: none;
    color: var(--deep-navy);
    font-weight: 600;
    border: none;
    position: relative;
}

.btn-text:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--gold);
}

.btn-text:hover:after {
    width: 100%;
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* ============================ 
   Header & Navigation
============================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--deep-navy);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    content: url('../images/logo-white.png');
}

nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list li a {
    font-family: var(--utility-font);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 3px;
    position: relative;
}

.nav-list li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--gold);
}

.nav-list li a:hover:after,
.nav-list li a.active:after {
    width: 100%;
}

.nav-list li a.nav-donate {
    background-color: var(--gold);
    color: var(--deep-navy);
    padding: 8px 15px;
    border-radius: var(--border-radius);
}

.nav-list li a.nav-donate:hover {
    background-color: var(--white);
    color: var(--deep-navy);
}

.nav-list li a.nav-donate:after {
    display: none;
}

.social-icons {
    display: flex;
    margin-left: 30px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* ============================ 
   Dropdown Menu
============================ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--deep-navy);
    min-width: 220px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 10px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000; /* Higher z-index to ensure visibility */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.dropdown-menu li a:after {
    display: none;
}

/* Header scroll behavior */
header.scrolled {
    /* Any styling for scrolled state, but keep the blue background */
    background-color: var(--deep-navy);
    border-bottom: 1px solid var(--gold); /* WO-4: gold hairline on scroll */
}

/* ============================ 
   Hero Section - Home Page
============================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../images/hero-background.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* WO-4: deeper navy scrim so type sits on near-solid ground */
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.78) 0%, rgba(26, 26, 46, 0.92) 55%, rgba(26, 26, 46, 0.96) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.tagline {
    font-family: var(--subheader-font);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero h1 {
    /* WO-4: 64-88px on desktop, clamp; smaller breakpoints below still override this */
    font-size: clamp(4rem, 2.2vw + 3.4rem, 5.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================ 
   Subpage Banner
============================ */
.subpage-banner {
    position: relative;
    height: 350px;
    margin-top: 80px;
    background: url('../images/hero-background.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.subpage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.8);
}

.subpage-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 0 20px;
}

.subpage-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

/* WO-4 completion pass: hero eyebrow on generated video pages sits on the
   dark navy overlay, so it needs bright gold (not the light-background
   gold-dark) to hold contrast (matches .book-plate .eyebrow precedent). */
.subpage-content .eyebrow {
    color: var(--gold);
}

.subpage-content p {
    font-family: var(--subheader-font);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--gold);
    max-width: 700px;
    margin: 0 auto;
}


/* ============================ 
   Introduction Section
============================ */
.introduction {
    background-color: var(--white);
    padding: 80px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-image {
    flex: 0 0 40%;
}

.intro-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.portrait-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 125%;
    overflow: hidden;
    border-radius: 2px; /* WO-4: card frame, square corners */
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portrait-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portrait-container:hover img {
    transform: scale(1.03);
}

.social-connect {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.social-connect a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--deep-navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-connect a:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
    transform: translateY(-3px);
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--deep-navy);
}

.intro-text p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--cool-gray);
}

.intro-text .lead {
    font-size: 1.25rem;
    font-family: var(--subheader-font);
    font-style: italic;
    color: var(--cool-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.intro-text .btn {
    margin-top: 10px;
}

/* ============================ 
   Featured Series Section
============================ */
.featured-series {
    background-color: var(--ivory);
    padding: 80px 0;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.series-card {
    background-color: var(--white);
    border-radius: 2px; /* WO-4: card frame, square corners */
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.series-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.series-card:hover .series-image img {
    transform: scale(1.05);
}

.series-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.series-card:hover .series-hover-overlay {
    opacity: 1;
}

.series-icon {
    color: var(--white);
    font-size: 3rem;
}

.series-content {
    padding: 25px;
    text-align: center;
}

.series-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.series-content p {
    font-size: 0.95rem;
    color: var(--cool-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}


/* ============================ 
   Latest Content Tabs Section
============================ */
.latest-content {
    background-color: var(--white);
    padding: 80px 0;
}

.latest-content-tabs {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-family: var(--utility-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cool-gray);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: var(--deep-navy);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-btn:hover {
    color: var(--deep-navy);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.content-card {
    background-color: var(--white);
    border-radius: 2px; /* WO-4: card frame, square corners */
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.content-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.content-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .content-thumbnail img {
    transform: scale(1.05);
}

.content-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.content-card:hover .play-icon {
    opacity: 1;
    background-color: var(--gold);
}

.content-thumbnail.podcast .play-icon {
    background-color: rgba(212, 175, 55, 0.8);
}

.content-thumbnail.podcast .play-icon i {
    color: var(--deep-navy);
}

.article-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.article-tag span {
    background-color: var(--gold);
    color: var(--deep-navy);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-size: 0.8rem;
    font-weight: 600;
}

.content-details {
    padding: 25px;
}

.content-details h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--deep-navy);
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: var(--cool-gray);
    font-family: var(--utility-font);
    font-size: 0.85rem;
}

.content-meta span {
    margin-right: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.content-meta span i {
    margin-right: 5px;
    color: var(--gold);
}

.content-details p {
    font-size: 0.95rem;
    color: var(--cool-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.see-all {
    text-align: center;
    margin-top: 40px;
}


/* ============================ 
   Testimonials Section
============================ */
.testimonials {
    padding: 80px 0;
    background-color: var(--deep-navy);
    color: var(--white);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-title:after {
    background-color: var(--gold);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 30px;
}

.testimonials-slider {
    margin-bottom: 30px;
}

.testimonial {
    padding: 10px;
    outline: none;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    transition: transform 0.3s ease;
    height: 100%;
    min-height: 200px;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    color: var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-text p {
    font-family: var(--quote-font);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
}

.testimonial-author {
    font-family: var(--utility-font);
    font-size: 0.95rem;
    color: var(--gold);
}

/* Slick slider controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-prev,
.testimonial-next {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
}

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.slick-dots {
    display: flex !important;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 8px;
}

.slick-dots li {
    margin: 0;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background-color: var(--gold);
    width: 12px;
    height: 12px;
}

.slick-dots li button:hover {
    background-color: var(--gold);
}

/* Hide slider while loading */
.testimonials-slider:not(.slick-initialized) {
    display: none;
}

/* Prevent FOUC (Flash of Unstyled Content) */
.testimonials-slider {
    visibility: hidden;
}

.testimonials-slider.slick-initialized {
    visibility: visible;
}

/* ============================ 
   Newsletter Section
============================ */
.newsletter {
    padding: 80px 0;
    background-color: var(--ivory);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.newsletter-icon {
    font-size: 5rem;
    color: var(--gold);
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.newsletter-text p {
    margin-bottom: 25px;
    color: var(--cool-gray);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-form .form-group {
    flex: 1;
    min-width: 200px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.newsletter-form button {
    min-width: 150px;
}

/* WO-4 completion pass (a11y): the MailerLite embed injects its own success
   h4 ("Thank you!") under our section h2, tripping Lighthouse heading-order
   even while hidden behind its display:none ancestor pre-submit. Our section
   heading already labels the newsletter block, so the embedded heading is
   redundant; the success paragraph beneath it still shows after submit.
   Selector is MailerLite's own generated class, scoped to .ml-embedded only. */
.ml-embedded .ml-form-successContent h4 {
    display: none;
}

/* ============================
   Footer Section
============================ */
footer {
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo img {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-logo .tagline {
    font-family: var(--subheader-font);
    font-style: italic;
    color: var(--gold);
    font-size: 1.1rem;
}

.footer-links {
    flex: 2 1 600px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    font-family: var(--utility-font);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-section ul li a i {
    margin-right: 8px;
}

/* Footer submenu styling */
.footer-submenu {
    padding-left: 15px;
    margin-top: 10px;
}

.footer-submenu li {
    margin-bottom: 8px;
}

/* Footer social icons */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-family: var(--utility-font);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    color: var(--gold);
}

.footer-legal a:hover {
    text-decoration: underline;
}


/* ============================ 
   About Dr. Carter Page
============================ */
.about-dr-carter {
    padding: 60px 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.about-image {
    flex: 0 0 300px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.portrait {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.portrait:hover {
    transform: scale(1.03);
}

.credentials {
    margin-top: 20px;
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* .credentials h3 is about.html's "Dr. Peter J. Carter" heading (unchanged).
   .credentials h2 is about-ministry.html's heading, promoted from h3 (WO-4
   completion pass: it's the first heading after the page h1 in document
   order, so h2 keeps the outline sequential). font-size pinned on h2 so the
   visual matches the old h3 (generic h2 default is 2.5rem). */
.credentials h2,
.credentials h3 {
    color: var(--gold);
    margin-bottom: 10px;
}

.credentials h2 {
    font-size: 1.75rem;
}

.credentials .title {
    color: var(--white);
    font-style: italic;
    font-family: var(--subheader-font);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.background-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.highlight {
    background-color: var(--ivory);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.highlight i {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* .highlight h4 is about.html's headings (unchanged). .about-text .highlight
   h3 is about-ministry.html's headings, demoted from h4 (WO-4 completion
   pass: they sat directly under the section h2 with no h3 between). The
   .about-text prefix outranks the generic `.about-text h3` rule below
   (same specificity, would otherwise overwrite margin/padding/underline
   width here with its own "What We Offer" values). */
.highlight h4,
.about-text .highlight h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.highlight h4:after,
.about-text .highlight h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.highlight ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.highlight ul li {
    margin-bottom: 8px;
    color: var(--cool-gray);
}

.cta-box {
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    text-align: center;
}

.cta-box h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.cta-box p {
    margin-bottom: 20px;
}

/* WO-4 completion pass (a11y): .about-text p sets ink (dark) body-copy color
   further down this file, at equal specificity to plain `.cta-box p` — same
   specificity means source order decides, and .about-text p comes later, so
   it was winning and putting near-black text on .cta-box's navy background
   (both about-ministry.html and about.html nest .cta-box inside .about-text).
   The extra .about-text qualifier here outranks it outright regardless of
   order, and just restores the box's own white (used everywhere else in it). */
.about-text .cta-box p {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 160px;
}

/* ============================ 
   About Ministry Page
============================ */
.about-ministry {
    padding: 60px 0;
}

.ministry-logo-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates a square */
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: var(--deep-navy);
}

.ministry-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s ease;
}

.ministry-logo:hover {
    transform: scale(1.05);
}

.ministry-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.stat {
    flex: 1;
    min-width: calc(33.333% - 10px);
    background-color: var(--ivory);
    padding: 15px 10px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat .number {
    display: block;
    font-family: var(--header-font);
    font-size: 2rem;
    color: var(--deep-navy);
    font-weight: bold;
    line-height: 1;
}

.stat .label {
    display: block;
    font-family: var(--utility-font);
    font-size: 0.9rem;
    color: var(--cool-gray);
    margin-top: 5px;
    font-weight: 600;
}

.content-offerings {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.offering-item {
    display: flex;
    background-color: var(--ivory);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.offering-icon {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--deep-navy);
    color: var(--gold);
    font-size: 2.5rem;
}

.offering-content {
    flex: 1;
    padding: 20px 25px;
}

.offering-content h4 {
    color: var(--deep-navy);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.offering-content p {
    color: var(--cool-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.about-text h3 {
    margin-top: 40px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.about-text h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--gold);
}


/* ============================ 
   Videos Page
============================ */
.video-categories {
    background-color: var(--ivory);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.categories-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    background: var(--white);
    border: 2px solid var(--deep-navy);
    padding: 8px 15px;
    font-family: var(--utility-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-navy);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--deep-navy);
    color: var(--white);
}

.featured-video {
    padding: 60px 0;
    background-color: var(--white);
}

.featured-video-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    margin-top: 40px;
}

.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.featured-details {
    background-color: var(--ivory);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.featured-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: var(--cool-gray);
    font-family: var(--utility-font);
    font-size: 0.9rem;
}

.featured-meta span {
    margin-right: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.featured-meta span i {
    margin-right: 5px;
    color: var(--gold);
}

.featured-description {
    margin-bottom: 20px;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    background-color: var(--white);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-size: 0.8rem;
    color: var(--deep-navy);
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
}

.share-buttons {
    margin-top: 20px;
}

.share-buttons h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--deep-navy);
}

.share-buttons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: var(--deep-navy);
    color: var(--white);
    margin-right: 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.share-buttons a:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
    transform: translateY(-3px);
}

.video-section {
    padding: 60px 0;
}

.video-section:nth-child(odd) {
    background-color: var(--white);
}

.video-section:nth-child(even) {
    background-color: var(--ivory);
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-header h2 {
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.video-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--cool-gray);
    font-family: var(--subheader-font);
    font-style: italic;
    font-size: 1.1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background-color: var(--white);
    border-radius: 2px; /* WO-4: card frame, square corners */
    border: 1px solid var(--hairline);
    border-top: 3px solid var(--gold);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 3px;
    font-family: var(--utility-font);
    font-size: 0.8rem;
}

.video-thumbnail .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(26, 26, 46, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.video-card:hover .play-icon {
    background-color: var(--gold);
    opacity: 1;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--deep-navy);
}

.video-meta {
    display: flex;
    margin-bottom: 15px;
    font-family: var(--utility-font);
    font-size: 0.85rem;
    color: var(--cool-gray);
}

.video-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.video-meta span i {
    margin-right: 5px;
}

.video-description {
    font-size: 0.9rem;
    color: var(--cool-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.series-link {
    text-align: center;
}

.youtube-cta {
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 60px 0;
}

.youtube-cta .cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.youtube-cta .cta-icon {
    font-size: 5rem;
    color: var(--gold);
}

.youtube-cta .cta-text {
    max-width: 600px;
}

.youtube-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.youtube-cta p {
    margin-bottom: 25px;
    color: var(--ivory);
}

/* ============================ 
   Podcast Page
============================ */
.podcast-platforms {
    background-color: var(--deep-navy);
    padding: 40px 0;
    text-align: center;
}

.platform-title {
    color: var(--white);
    margin-bottom: 30px;
}

.platforms-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.platform-link {
    display: flex;
    align-items: center;
    background-color: var(--white);
    color: var(--deep-navy);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: var(--utility-font);
    font-weight: 600;
}

.platform-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.platform-link:hover {
    background-color: var(--gold);
    transform: translateY(-5px);
}

.featured-episode {
    padding: 60px 0;
    background-color: var(--white);
}

.featured-episode-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.episode-number {
    display: inline-block;
    background-color: var(--gold);
    color: var(--deep-navy);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.episode-description {
    margin-bottom: 25px;
}

.episode-description p {
    color: var(--cool-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.episode-actions {
    display: flex;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.episode-list {
    padding: 60px 0;
    background-color: var(--ivory);
}

.episode-card {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.podcast-topics {
    padding: 60px 0;
    background-color: var(--white);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.topic-card {
    background-color: var(--ivory);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.topic-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.topic-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.topic-card p {
    color: var(--cool-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.suggestion-text {
    font-size: 0.9rem;
    color: var(--ivory);
}

.suggestion-text a {
    color: var(--gold);
    text-decoration: underline;
}

.suggestion-text a:hover {
    text-decoration: none;
}


/* ============================ 
   Blog Page
============================ */
.blog-categories {
    background-color: var(--ivory);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.categories-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    background: var(--white);
    border: 2px solid var(--deep-navy);
    padding: 8px 15px;
    font-family: var(--utility-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-navy);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--deep-navy);
    color: var(--white);
}

.featured-articles {
    padding: 60px 0;
    background-color: var(--white);
}

.featured-articles-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--ivory);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-article.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.featured-article.reverse .article-content {
    direction: ltr;
}

.article-image {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-content {
    padding: 40px;
}

.article-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.article-meta {
    display: flex;
    margin-bottom: 20px;
    font-family: var(--utility-font);
    font-size: 0.9rem;
    color: var(--cool-gray);
}

.article-meta span {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.article-meta span i {
    margin-right: 5px;
    color: var(--gold);
}

.article-excerpt {
    margin-bottom: 25px;
}

.article-excerpt p {
    font-size: 1.05rem;
    color: var(--cool-gray);
    line-height: 1.7;
}

.recent-articles {
    padding: 60px 0;
    background-color: var(--ivory);
}


/* ============================
   Series Navigation
============================ */
.series-banner {
    background: var(--deep-navy);
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    font-family: var(--utility-font);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.series-banner a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}
.series-banner a:hover {
    color: var(--light-gold);
    text-decoration: underline;
}
.series-banner .lesson-indicator {
    color: var(--gold);
    font-weight: 600;
}@media (max-width: 768px) {


    /* General Responsive */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Header/Navigation Responsive */
    .nav-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--deep-navy);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
        z-index: 99;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .social-icons {
        margin-left: 15px;
    }
    
    .dropdown-menu {
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 10px 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-menu li a {
        padding: 10px 0;
    }
    
    .dropdown-menu li a:hover {
        background-color: transparent;
    }
    
    /* Hero Section Responsive */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Video Categories Responsive */
    .video-categories,
    .blog-categories {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .categories-nav {
        width: max-content;
        padding-bottom: 5px;
    }
    
    /* Video Grid Responsive */
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Podcast Page Responsive */
    .platforms-list {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-link {
        width: 80%;
    }
    
    .episode-actions {
        flex-direction: column;
    }
    
    .topics-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Blog Page Responsive */
    .topics-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Donate/Support Page Responsive */
    .donation-buttons,
    .payment-options {
        flex-direction: column;
    }
    
    .donation-btn,
    .payment-btn {
        width: 100%;
    }
    
    .option-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .option-content {
        padding: 20px;
    }
    
    /* Contact Page Responsive */
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .info-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter Form Responsive */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .form-group {
        width: 100%;
    }
    
    /* Tabs Responsive */
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    /* Ministry Stats Responsive */
    .ministry-stats {
        justify-content: center;
    }
    
    .stat {
        min-width: calc(50% - 10px);
    }
    
    /* Subpage Banner Responsive */
    .subpage-banner {
        height: 280px;
    }
    
    .subpage-content h1 {
        font-size: 2.5rem;
    }
    
    .subpage-content p {
        font-size: 1.1rem;
    }
}


/* ============================
   Donate/Support Page
============================ */
.support-intro {
    padding: 60px 0;
    background-color: var(--white);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.support-benefits {
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background-color: var(--ivory);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--deep-navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.benefit-text {
    flex: 1;
}

.benefit-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--deep-navy);
}

.benefit-text p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--cool-gray);
}

.support-message {
    font-family: var(--subheader-font);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--deep-navy);
    text-align: center;
    margin-top: 40px;
}

.ways-to-support {
    padding: 60px 0;
    background-color: var(--ivory);
}

.support-option {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 20px 30px;
}

.option-icon {
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.option-header h3 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.5rem;
}

.option-content {
    padding: 30px;
}

.option-content p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--cool-gray);
}

.donation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.donation-btn {
    background-color: var(--ivory);
    color: var(--deep-navy);
    border: 2px solid var(--deep-navy);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-family: var(--utility-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.donation-btn:hover,
.donation-btn.active {
    background-color: var(--deep-navy);
    color: var(--white);
}

.donation-btn.custom {
    background-color: var(--white);
    border: 2px dashed var(--deep-navy);
}

.patreon-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tier {
    background-color: var(--ivory);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tier:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.tier h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.tier ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.tier ul li {
    margin-bottom: 10px;
    color: var(--cool-gray);
}

.other-support {
    padding: 60px 0;
    background-color: var(--white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-card {
    background-color: var(--ivory);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--deep-navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.support-card p {
    color: var(--cool-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.current-page {
    color: var(--cool-gray);
}

.page-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-links a,
.page-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    color: var(--deep-navy);
    transition: var(--transition);
}

.page-links span.current {
    background-color: var(--deep-navy);
    color: var(--white);
}

.page-links a:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
}

.page-links a.next {
    width: auto;
    padding: 0 15px;
}

.page-links a.next i {
    margin-left: 5px;
}

.blog-topics {
    padding: 60px 0;
    background-color: var(--white);
}

.topics-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.topic-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--ivory);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.topic-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: var(--deep-navy);
}

.topic-link:hover .topic-icon {
    background-color: var(--gold);
    color: var(--deep-navy);
}

.topic-link:hover h3 {
    color: var(--white);
}

.topic-link:hover .topic-count {
    color: var(--gold);
}

.topic-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--deep-navy);
    color: var(--gold);
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition);
}

.topic-link h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--deep-navy);
    transition: var(--transition);
}

.topic-count {
    font-family: var(--utility-font);
    font-size: 0.9rem;
    color: var(--cool-gray);
    transition: var(--transition);
}

.topic-link.view-all {
    background-color: var(--deep-navy);
}

.topic-link.view-all .topic-icon {
    background-color: var(--gold);
    color: var(--deep-navy);
}

.topic-link.view-all h3 {
    color: var(--white);
}


/* ============================ 
   Donate/Support Page (Continued)
============================ */
.supporters {
    padding: 60px 0;
    background-color: var(--ivory);
    text-align: center;
}

.gratitude-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--cool-gray);
}

.supporters-quote {
    max-width: 600px;
    margin: 0 auto;
}

.supporters-quote blockquote {
    font-family: var(--quote-font);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--deep-navy);
    position: relative;
    padding: 0 40px;
}

.supporters-quote blockquote:before,
.supporters-quote blockquote:after {
    content: '"';
    position: absolute;
    color: var(--gold);
    font-size: 4rem;
    line-height: 1;
    font-family: var(--quote-font);
}

.supporters-quote blockquote:before {
    top: -20px;
    left: 0;
}

.supporters-quote blockquote:after {
    bottom: -40px;
    right: 0;
}

.supporters-quote cite {
    display: block;
    font-family: var(--utility-font);
    font-style: normal;
    font-size: 1rem;
    color: var(--cool-gray);
    margin-top: 20px;
}

.donation-faq {
    padding: 60px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background-color: var(--ivory);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light-gold);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--deep-navy);
}

.toggle-icon {
    color: var(--deep-navy);
    font-size: 1rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 20px 30px;
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    color: var(--cool-gray);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.donate-cta {
    padding: 60px 0;
    background-color: var(--deep-navy);
    color: var(--white);
    text-align: center;
}

.cta-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.donate-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2rem;
}

.donate-cta p {
    color: var(--ivory);
    margin-bottom: 30px;
    font-size: 1.1rem;
}


/* ============================ 
   Contact Page
============================ */
.contact-info {
    padding: 60px 0;
    background-color: var(--white);
}

.info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--ivory);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--deep-navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.contact-card h2,
.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--deep-navy);
}

.contact-card p {
    color: var(--cool-gray);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.info-link {
    display: block;
    color: var(--deep-navy);
    font-family: var(--utility-font);
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--gold);
}

.info-address {
    font-style: normal;
    color: var(--cool-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--deep-navy);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--deep-navy);
    transform: translateY(-3px);
}

.contact-form-section {
    padding: 60px 0;
    background-color: var(--ivory);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.form-header p {
    color: var(--cool-gray);
    font-size: 1.05rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--utility-font);
    font-weight: 600;
    color: var(--deep-navy);
}

.form-group label .required {
    color: var(--required-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--cool-gray);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-faq {
    padding: 60px 0;
    background-color: var(--white);
}

.prayer-request {
    padding: 60px 0;
    background-color: var(--deep-navy);
    color: var(--white);
}

.prayer-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.prayer-icon {
    font-size: 5rem;
    color: var(--gold);
}


.prayer-text h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.prayer-text p {
    color: var(--ivory);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.prayer-note {
    font-style: italic;
    font-size: 0.95rem !important;
    opacity: 0.9;
}

/* ============================ 
   Responsive Styles
============================ */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    /* General Responsive */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Hero Section Responsive */
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Introduction Section Responsive */
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image {
        max-width: 300px;
        margin: 0 auto 40px;
    }
    
    .intro-text {
        text-align: center;
    }
    
    /* About Page Responsive */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-text {
        text-align: center;
    }
    
    .highlight h4:after,
    .about-text .highlight h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Videos Page Responsive */
    .featured-video-wrapper {
        grid-template-columns: 1fr;
    }
    
    .video-player {
        margin-bottom: 20px;
    }
    
    .youtube-cta .cta-content,
    .subscribe-cta .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Ministry Page Responsive */
    .offering-item {
        flex-direction: column;
    }
    
    .offering-icon {
        height: 100px;
        width: 100%;
    }
    
    .about-text h3 {
        text-align: center;
    }
    
    .about-text h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .offering-content {
        text-align: center;
    }
    
    /* Podcast Page Responsive */
    .featured-episode-wrapper {
        grid-template-columns: 1fr;
    }
    
    .episode-card {
        grid-template-columns: 1fr;
    }
    
    /* Blog Page Responsive */
    .featured-article,
    .featured-article.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .article-image {
        min-height: 250px;
    }
    
    /* Donate/Support Page Responsive */
    .patreon-tiers,
    .merch-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .benefit-icon {
        margin-bottom: 15px;
    }
    
    /* Contact Page Responsive */
    .prayer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .info-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Newsletter Responsive */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    /* General Responsive */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title:after {
        width: 100px;
        height: 12px;
    }
    
    /* Hero Buttons Responsive */
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* About Page Responsive */
    .background-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Video Grid Responsive */
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-meta span {
        margin-right: 0;
    }
    
    /* Blog Page Responsive */
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-meta span {
        margin-right: 0;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    /* Ministry Stats Responsive */
    .stat {
        min-width: 100%;
    }
    
    /* Supporters Quotes Responsive */
    .supporters-quote blockquote {
        font-size: 1.2rem;
        padding: 0 30px;
    }
    
    .supporters-quote blockquote:before,
    .supporters-quote blockquote:after {
        font-size: 3rem;
    }
    
    /* Contact Page Responsive */
    .social-links {
        flex-wrap: wrap;
    }
    
    /* Subpage Banner Responsive */
    .subpage-banner {
        height: 250px;
    }
    
    .subpage-content h1 {
        font-size: 2rem;
    }
    
    .subpage-content p {
        font-size: 1rem;
    }
    
    /* Newsletter Form Responsive */
    .newsletter-form button {
        width: 100%;
    }
}


.error-message {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

input.error {
    border-color: var(--error-red);
}

/* Accessibility refinement (2026-06-11): WCAG touch target for the mobile nav toggle. Scoped to the mobile breakpoint so the toggle stays hidden on desktop. */
@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Suppress the Bootstrap caret on the About dropdown toggle; it collides
   with the gold underline pseudo-element and renders as a stray gold mark.
   The chevron icon inside the link is the visual indicator. (2026-06-11) */
.nav-list li a.dropdown-toggle::after {
    border: none;
}

/* ============================================================
   WO-4 "Illuminated Modern" additions (staged; see Design-Standards.md)
============================================================ */

/* Eyebrow: 11-12px letterspaced small caps in accessible dark gold,
   the "New Here? Start Here" pattern, now reusable above any section title. */
.eyebrow {
    display: block;
    font-family: var(--utility-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

/* Two-line gold drop cap for the first paragraph of long-form pages. */
.dropcap::first-letter {
    float: left;
    font-family: var(--header-font);
    font-size: 3.4em;
    line-height: 0.78;
    font-weight: 700;
    color: var(--gold);
    padding-right: 8px;
    padding-top: 4px;
}

/* Navy duotone treatment on listing/card thumbnails (one rule, site-wide).
   Dr. Carter's portraits are intentionally excluded (frame only, per spec). */
.series-image img,
.content-thumbnail img,
.video-thumbnail img {
    filter: grayscale(0.55) sepia(0.25) hue-rotate(180deg) saturate(1.3) brightness(0.92) contrast(1.05);
}

/* Barely-there parchment grain on ivory SECTION backgrounds only (never navy). */
.featured-series, .newsletter, .video-categories, .featured-details,
.video-section:nth-child(even), .episode-list, .blog-categories,
.recent-articles, .ways-to-support, .supporters, .contact-form-section,
.grain {
    background-image:
        radial-gradient(rgba(31, 36, 48, 0.05) 1px, transparent 1.5px),
        radial-gradient(rgba(31, 36, 48, 0.035) 1px, transparent 1.5px);
    background-size: 3px 3px, 7px 7px;
    background-position: 0 0, 2px 3px;
}

/* Long-form body copy on light sections: 18px min / 1.7 line-height, ink color. */
.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 1.1rem;
}

/* Series book-plate card (CSS/SVG only, no binary assets). One reusable
   template per Design-Standards; Galatians is the staged CEO-approval sample. */
.book-plate {
    background: var(--deep-navy);
    border: 6px double var(--gold);
    border-radius: 0;
    padding: 44px 28px;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.book-plate .book-plate-motif {
    margin-bottom: 4px;
}

.book-plate .eyebrow {
    color: var(--gold);
    margin-bottom: 0;
}

.book-plate h3 {
    font-family: var(--header-font);
    font-size: 1.75rem;
    color: var(--gold);
    margin: 2px 0 0;
}

.book-plate p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 6px;
}


/* Native details/summary replaces Bootstrap collapse (podcast seasons) */
details.season-group summary.season-header {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
details.season-group summary.season-header::-webkit-details-marker {
    display: none;
}
details.season-group[open] > summary .toggle-icon {
    transform: rotate(180deg);
}

/* Vanilla modal: dim the page behind the video (Bootstrap JS retired) */
#videoModal.show {
    background: rgba(10, 10, 20, 0.75);
}
body.modal-open {
    overflow: hidden;
}

/* ============================
   WO-7 Lesson table (per-book Bible study pages: # | Lesson | Passage | Date | Watch)
============================ */
.lesson-table-wrap {
    overflow-x: auto;
    max-width: 900px;
    margin: 0 auto;
}
.lesson-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}
.lesson-table thead th {
    background: var(--deep-navy);
    color: var(--ivory);
    font-family: var(--utility-font);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 3px solid var(--gold);
}
.lesson-table tbody td {
    padding: 14px 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
    font-family: var(--body-font);
    font-size: 0.95rem;
    vertical-align: middle;
}
.lesson-table tbody tr:nth-child(odd) {
    background: var(--white);
}
.lesson-table tbody tr:nth-child(even) {
    background: var(--ivory);
}
.lesson-table td[data-label="#"] {
    color: var(--gold-dark);
    font-weight: 700;
    width: 2.5em;
}
.lesson-watch {
    display: inline-block;
    padding: 6px 14px;
    border: 2px solid var(--gold-dark);
    color: var(--gold-dark);
    background: transparent;
    font-family: var(--utility-font);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.lesson-watch i {
    margin-left: 4px;
}
.lesson-watch:hover, .lesson-watch:focus {
    background: var(--gold-dark);
    color: var(--white);
}

@media (max-width: 768px) {
    .lesson-table thead {
        display: none;
    }
    .lesson-table, .lesson-table tbody, .lesson-table tr, .lesson-table td {
        display: block;
        width: 100%;
    }
    .lesson-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--hairline);
        border-top: 3px solid var(--gold);
    }
    .lesson-table td {
        border-bottom: none;
        padding: 8px 16px;
        text-align: left;
    }
    .lesson-table td::before {
        content: attr(data-label);
        display: block;
        font-family: var(--utility-font);
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--gold-dark);
        margin-bottom: 2px;
    }
}
