/**
 * Ellen White Investigation - Community Edition
 * Designed for doubting SDAs seeking truth and community
 * 
 * Design Philosophy: Supportive, Warm, Truth-Focused
 * Target: Average SDA with growing doubts, not academics
 */

/* ====================================
   CSS VARIABLES - TRUTH-SEEKER DESIGN
   ==================================== */

:root {
    /* Colors - Warm & Approachable (Not Academic!) */
    --color-primary: #1e3a8a;           /* Deep Blue - Trust, Truth */
    --color-secondary: #f97316;         /* Warm Orange - Attention, Warmth */
    --color-accent: #0d9488;            /* Teal - Hope, Fresh Start */
    --color-text: #1f2937;              /* Warm Dark Gray */
    --color-text-light: #6b7280;        /* Medium Gray */
    --color-background: #fafaf9;        /* Warm Off-White */
    --color-surface: #ffffff;           /* Pure White */
    --color-border: #e5e7eb;            /* Light Gray Border */
    
    /* Emotional States */
    --color-shock: #dc2626;             /* Red - Shocking quotes */
    --color-support: #059669;           /* Green - Support, validation */
    --color-question: #7c3aed;          /* Purple - Questioning */
    --color-warning: #ea580c;           /* Deep Orange - Important */
    
    /* Typography - Friendly & Readable */
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
                 Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Spacing - More Generous */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --max-width-prose: 680px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    
    /* Shadows - Softer */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-base: 200ms ease;
    --transition-slow: 400ms ease;
}

/* ====================================
   BASE STYLES
   ==================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-background);
    font-size: 1.05rem; 
}

/* ====================================
   TYPOGRAPHY - WARM & INVITING
   ==================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* ====================================
   LAYOUT
   ==================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.prose {
    max-width: var(--max-width-prose);
}

.section {
    padding: var(--space-1xl) 0;
}

/* ====================================
   HEADER - SIMPLE & FRIENDLY
   ==================================== */

.site-header {
    background: white;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    gap: var(--space-md);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.site-logo img {
    width: 32px;
    height: auto; /* Maintains the aspect ratio so it doesn't look squashed */
    display: block; /* Helps with vertical alignment within the header */
}

.nav-primary {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-primary a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

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

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

/* ====================================
   HERO - EMOTIONAL HOOK
   ==================================== */

.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.hero h1 {
    color: white;
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ====================================
   BUTTONS - FRIENDLY & CLEAR
   ==================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

/* ====================================
   SHOCKING QUOTES - CAN'T MISS
   ==================================== */

.shocking-quotes {
    background: #fef2f2;
    padding: var(--space-2xl) 0;
}

.quote-card {
    background: white;
    border-left: 6px solid var(--color-shock);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.quote-source {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

.quote-label {
    display: inline-block;
    background: #fee2e2;
    color: var(--color-shock);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

/* ====================================
   TESTIMONIES - PERSONAL CONNECTION
   ==================================== */

.testimonies {
    background: linear-gradient(to bottom, white 0%, #f0fdf4 100%);
    padding: var(--space-2xl) 0;
}

.testimony-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-support);
}

.testimony-quote {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimony-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimony-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-support);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimony-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--color-primary);
}

.testimony-info p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ====================================
   EVIDENCE CARDS - SCANNABLE
   ==================================== */

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.evidence-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.evidence-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.evidence-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.evidence-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.evidence-card p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.evidence-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.evidence-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.evidence-link:hover svg {
    transform: translateX(4px);
}

/* ====================================
   JOURNEY PATHS - CLEAR NEXT STEPS
   ==================================== */

.journey-section {
    background: white;
    padding: var(--space-2xl) 0;
}

.journey-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 2px solid #93c5fd;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.journey-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.journey-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.journey-card p {
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

/* ====================================
   TOPICS - SIMPLIFIED
   ==================================== */

.topics-section {
    background: #fafaf9;
    padding: var(--space-2xl) 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}


/* ====================================
   TOPIC CARDS WITH ICONS
   ==================================== */

/* Updated topic card styling */
.topic-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border: 2px solid var(--color-border);
    transition: all var(--transition-base);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-decoration: none;
}

.topic-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.topic-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-base);
}

.topic-card:hover .topic-icon {
    transform: scale(1.1);
}

.topic-icon svg {
    width: 24px;
    height: 24px;
}

.topic-content {
    flex: 1;
    min-width: 0;
}

.topic-content h3 {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.topic-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

/* Mobile: Stack icon above content on very small screens */
@media (max-width: 400px) {
    .topic-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .topic-icon {
        width: 56px;
        height: 56px;
    }
    
    .topic-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* ====================================
   CALLOUT BOXES
   ==================================== */

.callout {
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin: var(--space-lg) 0;
}

.callout-support {
    background: #f0fdf4;
    border-left: 4px solid var(--color-support);
}

.callout-question {
    background: #faf5ff;
    border-left: 4px solid var(--color-question);
}

.callout-warning {
    background: #fff7ed;
    border-left: 4px solid var(--color-warning);
}

.callout h4 {
    margin-bottom: var(--space-sm);
}

/* ====================================
   SECTION HEADERS
   ==================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

/* ====================================
   FOOTER - SUPPORTIVE
   ==================================== */

.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-column h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.95rem; 
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

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

/* ====================================
   UTILITIES
   ==================================== */

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

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .nav-primary {
        display: none;
    }
    
    .hero {
        padding: var(--space-xl) 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .evidence-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ====================================
   ACCESSIBILITY
   ==================================== */

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
    pointer-events: none;
}

.search-input {
    width: 200px;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-surface);
    transition: all var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-input::placeholder {
    color: var(--color-text-light);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .search-form {
        width: 100%;
        margin-bottom: var(--space-sm);
    }
    
    .search-input {
        width: 100%;
    }
}

/* Subscribe callout box - COMPACT VERSION */
.subscribe-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: var(--border-radius);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    margin: var(--space-lg) auto;
    max-width: 600px;
}

.subscribe-box h3 {
    color: var(--color-support);
    margin-bottom: var(--space-xs);
    font-size: 1.125rem;
}

.subscribe-box p {
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
    color: white;
}

.btn-subscribe svg {
    width: 18px;
    height: 18px;
}

/* Footer Language Grid */
.footer-language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.footer-language-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all var(--transition-base);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-language-grid a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
}

.footer-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-language-grid span {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Mobile: Single column */
@media (max-width: 768px) {
    .footer-language-grid {
        grid-template-columns: 1fr;
    }
}
/* Tighter footer grid on desktop */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* Trending Cards with Thumbnails */
.trending-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: block;
    text-decoration: none;
    border-top: 4px solid var(--color-secondary);
}

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

.trending-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.trending-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.trending-card:hover .trending-thumbnail img {
    transform: scale(1.05);
}

.trending-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.trending-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.trending-icon svg {
    width: 18px;
    height: 18px;
}

.trending-content {
    padding: var(--space-md);
}

.trending-content h3 {
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.trending-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.trending-cta {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.trending-card:hover .trending-cta {
    color: var(--color-accent);
}

.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dc2626;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ====================================
   TOPIC PAGE STYLES
   Add these to landing.css
   ==================================== */

/* Topic Hero with Icon */
.topic-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.topic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.topic-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.topic-hero-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.topic-hero-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.topic-hero-text h1 {
    color: white;
    margin: 0 0 var(--space-xs);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.topic-hero-text .topic-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Modern Contents Panel */
.contents-panel {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.contents-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border);
}

.contents-header svg {
    width: 32px;
    height: 32px;
    color: var(--color-secondary);
}

.contents-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contents-section {
    margin-bottom: var(--space-lg);
}

.contents-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
}

.section-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.section-title h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--color-primary);
    flex: 1;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-xs);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.article-item:hover {
    background: #f0fdf4;
    transform: translateX(4px);
}

.article-number {
    flex-shrink: 0;
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.article-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
    flex: 1;
    line-height: 1.6;
    font-size: 1.1rem;
}

.article-link:hover {
    color: var(--color-secondary);
}

/* Biblical Test Callout */
.biblical-test {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin: var(--space-xl) 0;
}

.biblical-test h3 {
    color: #92400e;
    margin: 0 0 var(--space-sm);
    font-size: 1.25rem;
}

.biblical-test blockquote {
    background: white;
    border-left: 4px solid #f59e0b;
    padding: var(--space-md);
    margin: var(--space-md) 0;
    border-radius: var(--border-radius);
    font-style: italic;
}

.biblical-test ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.biblical-test li {
    margin-bottom: var(--space-xs);
}

/* Video Promo Card */
.video-promo-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.video-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    flex-shrink: 0;
    width: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-info h4 {
    margin: 0 0 var(--space-xs);
    color: var(--color-primary);
    font-size: 1.25rem;
}

.video-info p {
    margin: 0 0 var(--space-sm);
    color: var(--color-text-light);
}

.video-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Mobile Responsive for Topic Pages */
@media (max-width: 768px) {
    .topic-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-bar {
        margin: var(--space-md) var(--space-md) var(--space-lg);
    }
    
    .video-promo-card {
        flex-direction: column;
        text-align: center;
    }
    
    .video-thumbnail {
        width: 100%;
    }
    
    .contents-panel {
        padding: var(--space-md);
    }
    body {
        font-size: 1.1rem; /* Even bigger on mobile */
    }
    
    .article-link {
        font-size: 1.15rem; /* Nice and readable */
        padding: 0.75rem; /* More tap area */
    }
    
    h1 {
        font-size: 2.2rem; /* Currently 2.5rem might be too big on mobile */
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    /* Make clickable areas bigger on mobile */
    .article-item {
        padding: 1rem; /* More space between items */
    }
}

/* Compact navigation variant for topic pages */
.nav-primary.compact {
    gap: var(--space-sm);
}

.nav-primary.compact a {
    font-size: 0.95rem;
}