/* ============================================================
   Our Smart Baby — Global Stylesheet
   Design Philosophy: Warm Minimalism
   Color System: Sage Green + Terracotta + Warm White
   Typography: Georgia headings + System sans-serif body
   Mobile-First: All breakpoints designed from 320px up
   ============================================================ */

/* --------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------- */
:root {
    /* Primary Palette */
    --warm-white: #FAF7F2;
    --sage-deep: #3D5A4B;
    --sage-mid: #7A9A84;
    --sage-light: #E8F0EB;
    --terracotta: #C27B5A;
    --terracotta-dark: #A05D3E;
    --dusk-pink: #E8D5CF;
    
    /* Neutrals */
    --charcoal: #2D2A26;
    --mid-gray: #6B6560;
    --light-gray: #B8B2AC;
    --border-subtle: #E5E0DA;
    --white-pure: #FFFFFF;
    
    /* Semantic */
    --text-primary: var(--charcoal);
    --text-secondary: var(--mid-gray);
    --text-muted: var(--light-gray);
    --bg-page: var(--warm-white);
    --bg-card: var(--white-pure);
    --bg-accent: var(--sage-light);
    --border-default: var(--border-subtle);
    --accent-primary: var(--sage-deep);
    --accent-secondary: var(--terracotta);
    --accent-soft: var(--dusk-pink);
    
    /* Typography */
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.8;
    --line-height-heading: 1.3;
    
    /* Spacing Scale (4px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    
    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-card: 0 1px 3px rgba(45, 42, 38, 0.04), 0 4px 12px rgba(45, 42, 38, 0.04);
    --shadow-card-hover: 0 2px 6px rgba(45, 42, 38, 0.06), 0 8px 24px rgba(45, 42, 38, 0.08);
    --shadow-elevated: 0 4px 16px rgba(45, 42, 38, 0.06), 0 12px 32px rgba(45, 42, 38, 0.04);
    
    /* Transitions */
    --ease-out-smooth: cubic-bezier(0.25, 0.8, 0.25, 1.2);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Layout */
    --container-max: 1080px;
    --article-max: 720px;
    --reading-optimal: 680px;
}

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

html {
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

a:hover {
    color: var(--terracotta-dark);
}

/* --------------------------------------------------------
   3. Typography
   -------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: var(--line-height-heading);
    color: var(--accent-primary);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); }

p {
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

p.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

strong {
    font-weight: 600;
    color: var(--charcoal);
}

blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    background: var(--sage-light);
    border-left: 4px solid var(--sage-mid);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--sage-deep);
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------
   4. Layout Containers
   -------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

/* --------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------- */
header.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--duration-normal) ease;
}

header.site-header.scrolled {
    box-shadow: var(--shadow-elevated);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--sage-deep);
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo span {
    color: var(--terracotta);
}

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

nav.desktop-nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-xs) 0;
    border-bottom: 2px solid transparent;
    transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
    letter-spacing: 0.01em;
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active {
    color: var(--sage-deep);
    border-bottom-color: var(--terracotta);
}

/* Mobile Bottom Navigation */
nav.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-default);
    z-index: 1000;
    padding: var(--space-sm) 0 env(safe-area-inset-bottom, 8px);
    box-shadow: 0 -2px 12px rgba(45, 42, 38, 0.04);
}

nav.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

nav.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: var(--space-xs);
    transition: color var(--duration-fast) ease;
    min-width: 56px;
}

nav.mobile-bottom-nav a .nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

nav.mobile-bottom-nav a.active {
    color: var(--terracotta);
}

/* --------------------------------------------------------
   6. Hero Section (Homepage)
   -------------------------------------------------------- */
.hero {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 240, 235, 0.7) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero .hero-badge {
    display: inline-block;
    background: var(--sage-light);
    color: var(--sage-deep);
    font-size: 0.8rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--sage-deep);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero p.lead {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

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

.hero .hero-stat .stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--terracotta);
    line-height: 1.2;
}

.hero .hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------
   7. Article Card Grid
   -------------------------------------------------------- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-lg) 0 var(--space-4xl);
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration-normal) ease, transform var(--duration-normal) var(--ease-out-smooth);
    display: flex;
    flex-direction: column;
}

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

.article-card .card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-card .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) ease;
}

.article-card:hover .card-image-wrapper img {
    transform: scale(1.04);
}

.article-card .card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card .category-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.category-tag.tag-reviews {
    background: #E8F0EB;
    color: #3D5A4B;
}

.category-tag.tag-guides {
    background: #FDF0E5;
    color: #B87A3D;
}

.category-tag.tag-lists {
    background: #FEF7E0;
    color: #B8942E;
}

.article-card h3 {
    font-size: 1.2rem;
    margin: 0 0 var(--space-sm);
    flex: 1;
}

.article-card h3 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.article-card h3 a:hover {
    color: var(--sage-deep);
}

.article-card .card-summary {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.article-card .card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* Featured Card (first in grid on homepage) */
.article-card.card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.article-card.card-featured .card-image-wrapper {
    height: 100%;
    min-height: 280px;
}

.article-card.card-featured .card-body {
    padding: var(--space-xl);
    justify-content: center;
}

.article-card.card-featured h3 {
    font-size: 1.5rem;
}

/* --------------------------------------------------------
   8. Article Detail Page
   -------------------------------------------------------- */
.article-header {
    padding: var(--space-3xl) 0 var(--space-lg);
}

.article-header .category-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    background: var(--sage-light);
    color: var(--sage-deep);
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.article-header .article-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Reading Progress Bar */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    background: var(--terracotta);
    z-index: 1001;
    transition: width 0.1s linear;
    width: 0%;
}

/* Article Body */
.article-body {
    padding: 0 0 var(--space-4xl);
}

.article-body p {
    margin-bottom: var(--space-lg);
    line-height: 1.9;
}

.article-body p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    padding-right: 10px;
    padding-top: 6px;
    color: var(--sage-deep);
}

.article-body h2 {
    font-size: 1.6rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-default);
}

.article-body h3 {
    font-size: 1.25rem;
}

.article-body img {
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.article-body ul, 
.article-body ol {
    margin: 0 0 var(--space-lg) 1.5rem;
}

.article-body li {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

/* CTA Box */
.cta-box {
    background: var(--sage-light);
    border: 2px solid var(--terracotta);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.cta-box h3 {
    margin-top: 0;
    color: var(--sage-deep);
}

.cta-box .btn-cta {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white-pure);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-top: var(--space-md);
    transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
    box-shadow: 0 2px 8px rgba(194, 123, 90, 0.25);
}

.cta-box .btn-cta:hover {
    background: var(--terracotta-dark);
    color: var(--white-pure);
    box-shadow: 0 4px 16px rgba(194, 123, 90, 0.35);
}

.cta-box .affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: var(--space-2xl) 0;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.comparison-table::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to right, transparent, var(--bg-page));
    pointer-events: none;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table thead {
    background-color: var(--sage-deep);
    color: var(--white-pure);
}

.comparison-table th {
    padding: var(--space-md);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.comparison-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-default);
    font-size: 0.9rem;
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(232, 240, 235, 0.3);
}

.comparison-table tbody tr:hover {
    background: rgba(232, 240, 235, 0.5);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    box-shadow: var(--shadow-card);
}

.faq-section h2 {
    margin-top: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-md) 0;
}

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

.faq-question {
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    padding: var(--space-sm) 0;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--terracotta);
    transition: transform var(--duration-normal) ease;
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) ease, padding var(--duration-normal) ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: var(--space-md);
}

/* Author Box */
.author-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-3xl) 0 var(--space-2xl);
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--terracotta);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.author-box .author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--sage-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.author-box .author-info h4 {
    margin-top: 0;
    color: var(--charcoal);
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
}

.author-box .author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Why Trust Me Block */
.why-trust-me {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-card);
}

.why-trust-me h3 {
    margin-top: 0;
    font-size: 1.15rem;
}

.why-trust-me ul {
    margin: var(--space-md) 0 0 1.2rem;
}

.why-trust-me li {
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------
   9. Category Page
   -------------------------------------------------------- */
.page-header {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg) var(--space-2xl);
    position: relative;
}

.page-header .category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-md);
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.trust-strip {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    padding: var(--space-lg) 0 var(--space-2xl);
    text-align: center;
}

.trust-strip .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.trust-strip .trust-item .trust-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--terracotta);
}

.trust-strip .trust-item .trust-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------
   10. About / Static Pages
   -------------------------------------------------------- */
.page-content {
    padding: var(--space-4xl) 0 var(--space-4xl);
}

.page-content h1 {
    margin-bottom: var(--space-xl);
}

.page-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.page-content p {
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------
   11. 404 Page
   -------------------------------------------------------- */
.not-found-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-xl);
}

.not-found-container {
    text-align: center;
    max-width: 520px;
}

.not-found-container .emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: var(--space-lg);
}

.not-found-container h1 {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
}

.not-found-container p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.not-found-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.not-found-links a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-card);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration-fast) ease, color var(--duration-fast) ease;
}

.not-found-links a:hover {
    box-shadow: var(--shadow-card-hover);
    color: var(--terracotta);
}

/* --------------------------------------------------------
   12. Footer
   -------------------------------------------------------- */
footer.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-default);
    padding: var(--space-2xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
}

footer.site-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

footer.site-footer .footer-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--sage-deep);
}

footer.site-footer .footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

footer.site-footer .footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

footer.site-footer .footer-links a:hover {
    color: var(--sage-deep);
}

footer.site-footer .footer-bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-default);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Spacer for mobile bottom nav */
.mobile-nav-spacer {
    display: none;
    height: 72px;
}

/* --------------------------------------------------------
   13. Buttons (Global)
   -------------------------------------------------------- */
.btn-cta {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white-pure) !important;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease, transform var(--duration-fast) ease;
    box-shadow: 0 2px 8px rgba(194, 123, 90, 0.2);
    text-align: center;
}

.btn-cta:hover {
    background: var(--terracotta-dark);
    box-shadow: 0 6px 20px rgba(194, 123, 90, 0.3);
    transform: translateY(-1px);
}

/* --------------------------------------------------------
   14. Responsive Breakpoints
   -------------------------------------------------------- */

/* Tablet & below */
@media (max-width: 768px) {
    :root {
        --space-4xl: 56px;
        --space-3xl: 40px;
    }
    
    nav.desktop-nav {
        display: none;
    }
    
    nav.mobile-bottom-nav {
        display: block;
    }
    
    .mobile-nav-spacer {
        display: block;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .article-card.card-featured {
        grid-template-columns: 1fr;
    }
    
    .article-card.card-featured .card-image-wrapper {
        height: 200px;
        min-height: auto;
    }
    
    .article-card.card-featured h3 {
        font-size: 1.3rem;
    }
    
    .article-card .card-image-wrapper {
        height: 180px;
    }
    
    .hero {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-2xl);
    }
    
    .hero .hero-stats {
        gap: var(--space-lg);
    }
    
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .article-body p:first-of-type::first-letter {
        font-size: 2.8rem;
    }
    
    .container,
    .container-narrow {
        padding: 0 var(--space-md);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p.lead {
        font-size: 1rem;
    }
    
    .hero .hero-stats {
        gap: var(--space-md);
    }
    
    .hero .hero-stat .stat-number {
        font-size: 1.4rem;
    }
    
    .articles-grid {
        gap: var(--space-md);
    }
    
    .article-card .card-body {
        padding: var(--space-md);
    }
    
    .article-card h3 {
        font-size: 1.05rem;
    }
    
    .trust-strip {
        gap: var(--space-md);
    }
    
    footer.site-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-content {
        padding-top: var(--space-2xl);
    }
}