/* ============================================
   JOYFUL HEART RENEWAL MINISTRIES — DESIGN SYSTEM
   UI/UX Pro Max Skill: Accessible & Ethical + Storytelling
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary Palette — Warm, Spiritual, Trust */
    --color-primary: #5B4A8A;
    /* Deep Purple — wisdom, spirituality */
    --color-primary-light: #7B6AAF;
    --color-primary-dark: #3E3265;
    --color-secondary: #C9956B;
    /* Warm Gold — warmth, welcome */
    --color-secondary-light: #E0BD97;
    --color-accent: #D4AF37;
    /* Gold CTA */
    --color-accent-hover: #BF9D2F;

    /* Backgrounds */
    --bg-hero: #F8F5F0;
    /* Warm Ivory */
    --bg-body: #FDFCFA;
    --bg-card: #FFFFFF;
    --bg-footer: #2D2243;
    --bg-section-alt: #F3EDE4;

    /* Text */
    --text-primary: #1A1523;
    /* Charcoal */
    --text-secondary: #4A4458;
    --text-muted: #6B6580;
    --text-on-dark: #F0ECE3;
    --text-on-primary: #FFFFFF;

    /* Borders & Shadows */
    --border-light: #E8E0D5;
    --border-card: #E0D8CC;
    --shadow-sm: 0 1px 3px rgba(27, 21, 35, 0.06);
    --shadow-md: 0 4px 12px rgba(27, 21, 35, 0.08);
    --shadow-lg: 0 8px 30px rgba(27, 21, 35, 0.10);
    --shadow-glow: 0 0 20px rgba(91, 74, 138, 0.15);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Typography Scale */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-hero: clamp(2.5rem, 5vw, 4rem);
    --fs-h1: clamp(2rem, 4vw, 3rem);
    --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.2rem, 2.5vw, 1.5rem);
    --fs-body: 1rem;
    --fs-sm: 0.875rem;
    --fs-xs: 0.75rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 250ms var(--ease-out);
    --transition-slow: 400ms var(--ease-out);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

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

/* ---------- Utility Classes ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-on-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    color: var(--text-on-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--text-on-primary);
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    color: #1A1523;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: #1A1523;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

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

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.nav-logo-text span {
    display: block;
    font-size: var(--fs-xs);
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    font-size: var(--fs-sm) !important;
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
}

/* ---------- Hero Section ---------- */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 74, 138, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 149, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(91, 74, 138, 0.08);
    border: 1px solid rgba(91, 74, 138, 0.15);
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: var(--fs-hero);
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 em {
    font-style: italic;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-floating-card svg {
    width: 36px;
    height: 36px;
    color: var(--color-secondary);
}

.hero-floating-card-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.hero-floating-card-text span {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--text-muted);
}

/* ---------- Section Base ---------- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-label {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- Bible Studies Grid ---------- */
.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.study-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background: var(--color-primary);
    transition: height var(--transition-base);
    border-radius: 0 2px 2px 0;
}

.study-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.study-card:hover::before {
    height: 100%;
}

.study-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(91, 74, 138, 0.08);
    color: var(--color-primary);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.study-card h3 {
    font-size: var(--fs-h3);
    margin-bottom: 10px;
}

.study-card p {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    margin-bottom: 16px;
}

.study-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.study-card-meta svg {
    width: 14px;
    height: 14px;
}

.study-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ---------- Articles Grid ---------- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.article-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card-image svg {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.4);
}

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

.article-card-tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card-body h3 {
    font-size: 1.15rem;
    margin-top: 8px;
    margin-bottom: 10px;
}

.article-card-body p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ---------- Newsletter / CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--text-on-dark);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: var(--fs-h2);
    color: var(--text-on-dark);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(240, 236, 227, 0.8);
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: var(--fs-body);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h2 {
    font-size: var(--fs-h2);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-fact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-section-alt);
    border-radius: var(--radius-sm);
}

.about-fact svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-fact-text {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.about-fact-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* ---------- Podcast Section ---------- */
.podcast-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.podcast-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.podcast-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.podcast-info h3 {
    font-size: var(--fs-h3);
    margin-bottom: 8px;
}

.podcast-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.podcast-platforms {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.podcast-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-section-alt);
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.podcast-platform:hover {
    background: var(--color-primary);
    color: white;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-footer);
    color: var(--text-on-dark);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: var(--fs-sm);
    color: rgba(240, 236, 227, 0.6);
    margin-top: 12px;
    line-height: 1.7;
    max-width: 280px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--color-secondary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(240, 236, 227, 0.6);
    font-size: var(--fs-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-on-dark);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-xs);
    color: rgba(240, 236, 227, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .mobile-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-body);
        padding: 24px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-floating-card {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .studies-grid {
        grid-template-columns: 1fr;
    }

    .podcast-banner {
        flex-direction: column;
        text-align: center;
    }

    .podcast-platforms {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: var(--fs-sm);
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form input {
        min-width: 100%;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Animations ---------- */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    animation: fade-in-up 0.6s var(--ease-out) forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

/* ---------- Article Body (Phase 3) ---------- */
.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.85;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-body h2 {
    font-size: var(--fs-h2);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
}

.article-body h3 {
    font-size: var(--fs-h3);
}

.article-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Scripture Blockquotes */
.scripture-quote {
    position: relative;
    margin: 28px 0;
    padding: 20px 28px 20px 32px;
    background: rgba(91, 74, 138, 0.04);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

.scripture-quote::before {
    content: '\201C';
    position: absolute;
    top: -6px;
    left: 10px;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

/* Discussion Questions */
.discussion-question {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(201, 149, 107, 0.08), rgba(201, 149, 107, 0.03));
    border: 1px solid rgba(201, 149, 107, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.discussion-question strong {
    color: var(--color-secondary);
    font-weight: 700;
}

/* Article Figures */
.article-figure {
    margin: 32px 0;
    text-align: center;
}

.article-figure img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.article-figure figcaption {
    margin-top: 10px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-style: italic;
}

/* Endnotes */
.endnotes-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.endnotes-section summary {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    padding: 12px 0;
    transition: color var(--transition-fast);
}

.endnotes-section summary:hover {
    color: var(--color-primary);
}

.endnotes-section .endnote {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 16px;
    border-left: 2px solid var(--border-light);
}

/* Article Navigation */
.article-nav-bar {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.related-articles h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.related-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.related-card-tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.related-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.related-card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Empty content notice */
.empty-notice {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.empty-notice a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Responsive additions for articles */
@media (max-width: 768px) {
    .article-body {
        font-size: 1rem;
    }

    .scripture-quote {
        padding: 16px 20px 16px 24px;
        margin: 20px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-nav-bar {
        flex-direction: column;
    }

    .article-nav-bar .btn {
        width: 100%;
        justify-content: center;
    }
}