/* ==========================================================================
   Fläsch Info — Design System
   A satirical newspaper for the village of Fläsch, Graubünden
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    /* Primary (warm earth) */
    --color-primary-900: #3B1F0B;
    --color-primary-800: #5C3D2E;
    --color-primary-700: #7A4E2D;
    --color-primary-600: #9A6B45;
    --color-primary-500: #B8845A;
    --color-primary-400: #C9A07A;
    --color-primary-300: #DFC3A0;
    --color-primary-200: #EFE1CC;
    --color-primary-100: #F7F0E6;
    --color-primary-50: #FFFDF8;

    /* Accent (wine red) */
    --color-accent-700: #7A1B2D;
    --color-accent-600: #9B2335;
    --color-accent-500: #BE3144;
    --color-accent-400: #D4596A;
    --color-accent-300: #E8A0AA;
    --color-accent-100: #FDF2F4;

    /* Neutral */
    --color-neutral-900: #1A1A2E;
    --color-neutral-700: #374151;
    --color-neutral-500: #6B7280;
    --color-neutral-300: #D1D5DB;
    --color-neutral-200: #E5E7EB;
    --color-neutral-100: #F3F4F6;
    --color-white: #FFFFFF;

    /* Semantic */
    --color-success: #3D7A4F;
    --color-warning: #C97D2F;
    --color-error: #BE3144;
    --color-info: #2E7D9B;
    --color-gold: #D4A843;

    /* Category colors */
    --cat-politik: #BE3144;
    --cat-wirtschaft: #C97D2F;
    --cat-kurioses: #7C5CBF;
    --cat-gesellschaft: #2E7D9B;
    --cat-kirche: #3D7A4F;
    --cat-kultur: #2E7D9B;
    --cat-sport: #3D8B5F;

    /* Typography */
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    --leading-tight: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;

    /* Per-article category color (set by page) */
    --category-color: var(--color-primary-500);
}

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-neutral-900);
    background: var(--color-primary-100);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-500); }

/* ---------- Layout ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ---------- Info Bar ---------- */
.info-bar {
    background: var(--color-primary-800);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    padding: var(--space-2) 0;
}

.info-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.satire-badge {
    background: var(--color-gold);
    color: var(--color-primary-900);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 2px;
}

/* ---------- Navigation ---------- */
nav {
    background: var(--color-primary-50);
    border-bottom: 1px solid var(--color-primary-300);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

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

.nav-logo img {
    height: 72px;
    width: auto;
}

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

.nav-links a {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-neutral-700);
    text-decoration: none;
    padding: var(--space-2) 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent-600);
    border-bottom-color: var(--color-accent-600);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-neutral-700);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Nav Admin Link (subtle) ---------- */
.nav-admin-link {
    opacity: 0.5;
    font-size: var(--text-xs) !important;
}

/* ---------- User Greeting ---------- */
.user-greeting {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-primary-700);
    opacity: 0;
    transition: opacity 0.3s;
}

.user-greeting.show {
    opacity: 1;
}

/* ---------- Hero Sections ---------- */
.hero {
    background: var(--color-primary-200);
    padding: var(--space-16) 0;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 900;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-primary-900);
    margin-bottom: var(--space-4);
}

.hero .subtitle {
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    color: var(--color-neutral-700);
    max-width: 600px;
    margin: 0 auto;
}

.hero-article {
    position: relative;
    color: white;
    padding: var(--space-12) 0 var(--space-16);
    overflow: hidden;
}

.hero-article .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-article .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-article .hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hero-article h1 {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 900;
    line-height: var(--leading-tight);
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: var(--space-4);
}

.hero-article .article-subtitle {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.hero-article .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    font-size: var(--text-sm);
    opacity: 0.85;
}

/* ---------- Legacy Article Hero (migrated articles use old class names) ---------- */
.hero:has(.hero-image) {
    background: var(--color-primary-900);
    padding: 0;
    color: white;
}

.hero:has(.hero-image) h1 {
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    padding: var(--space-6) var(--space-6) var(--space-3);
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    opacity: 0.9;
    padding: 0 var(--space-6) var(--space-4);
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    font-size: var(--text-sm);
    opacity: 0.85;
    padding: var(--space-2) var(--space-6) var(--space-8);
}

.hero-category {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wider);
}

/* ---------- Satire Disclaimer ---------- */
.satire-disclaimer {
    background: var(--color-accent-100);
    border-top: 2px solid var(--color-accent-500);
    padding: var(--space-4) var(--space-6);
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--text-sm);
    color: var(--color-accent-700);
}

/* ---------- Section Headers ---------- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-primary-300);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary-800);
}

/* ---------- Story Cards ---------- */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.stories-grid-featured {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.story-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-neutral-300);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

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

.story-card .story-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--color-primary-200);
}

.story-card .story-image-featured {
    height: 240px;
}

.story-card .story-content {
    padding: var(--space-5) var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-card .story-title {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-neutral-900);
    margin: var(--space-3) 0 var(--space-2);
}

.story-card .story-subtitle {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-4);
    flex: 1;
}

.story-card .story-footer {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    color: var(--color-neutral-500);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-neutral-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---------- Category Badges ---------- */
.badge {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    display: inline-block;
}

.badge-politik { background: rgba(190, 49, 68, 0.1); color: var(--cat-politik); }
.badge-wirtschaft { background: rgba(201, 125, 47, 0.1); color: var(--cat-wirtschaft); }
.badge-kurioses { background: rgba(124, 92, 191, 0.1); color: var(--cat-kurioses); }
.badge-gesellschaft { background: rgba(46, 125, 155, 0.1); color: var(--cat-gesellschaft); }
.badge-kirche { background: rgba(61, 122, 79, 0.1); color: var(--cat-kirche); }
.badge-kultur { background: rgba(46, 125, 155, 0.1); color: var(--cat-kultur); }
.badge-sport { background: rgba(61, 139, 95, 0.1); color: var(--cat-sport); }

/* Status badges */
.badge-high { background: rgba(190, 49, 68, 0.1); color: var(--color-error); }
.badge-medium { background: rgba(201, 125, 47, 0.1); color: var(--color-warning); }
.badge-low { background: rgba(46, 125, 155, 0.1); color: var(--color-info); }

/* ---------- Category Filters ---------- */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.category-filters button {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border: 1.5px solid var(--color-neutral-300);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-neutral-700);
    cursor: pointer;
    transition: all 0.2s;
}

.category-filters button:hover {
    border-color: var(--color-primary-500);
    color: var(--color-primary-700);
}

.category-filters button.active {
    background: var(--color-primary-700);
    color: var(--color-white);
    border-color: var(--color-primary-700);
}

/* ---------- Article Content ---------- */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-neutral-900);
}

.article-content p {
    margin-bottom: var(--space-6);
    text-align: justify;
}

.article-content h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--category-color, var(--color-primary-700));
    margin: var(--space-10) 0 var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--category-color, var(--color-primary-300));
}

.article-content h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-neutral-900);
    margin: var(--space-8) 0 var(--space-3);
    padding-left: var(--space-4);
    border-left: 4px solid var(--category-color, var(--color-primary-500));
}

.article-content blockquote {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-neutral-700);
    border-left: 4px solid var(--category-color, var(--color-primary-500));
    background: var(--color-primary-100);
    padding: var(--space-6);
    margin: var(--space-8) 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
}

.article-content blockquote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--category-color, var(--color-primary-400));
    position: absolute;
    top: -0.5rem;
    left: var(--space-4);
    opacity: 0.3;
    font-family: var(--font-serif);
}

.article-content ul, .article-content ol {
    margin: var(--space-6) 0;
    padding: var(--space-6);
    padding-left: var(--space-10);
    background: var(--color-neutral-100);
    border-radius: var(--radius-lg);
}

.article-content li {
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}

.article-content img {
    border-radius: var(--radius-xl);
    margin: var(--space-10) auto;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.article-content img:hover {
    transform: scale(1.01);
}

.article-content strong {
    color: var(--category-color, var(--color-primary-700));
    font-weight: 700;
}

.article-content em {
    color: var(--color-neutral-700);
}

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    line-height: 1;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--color-primary-700);
    color: var(--color-white);
}
.btn-primary:hover {
    background: var(--color-primary-800);
    box-shadow: 0 2px 8px rgba(122, 78, 45, 0.25);
    color: var(--color-white);
}

.btn-accent {
    background: var(--color-accent-600);
    color: var(--color-white);
}
.btn-accent:hover {
    background: var(--color-accent-700);
    box-shadow: 0 2px 8px rgba(155, 35, 53, 0.25);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-primary-600);
    color: var(--color-primary-700);
}
.btn-outline:hover {
    background: var(--color-primary-100);
}

.btn-success { background: var(--color-success); color: white; }
.btn-success:hover { background: #2D5A3A; color: white; }

.btn-danger { background: var(--color-error); color: white; }
.btn-danger:hover { background: var(--color-accent-700); color: white; }

.btn-warning { background: var(--color-warning); color: var(--color-neutral-900); }
.btn-warning:hover { background: #A86A25; color: var(--color-neutral-900); }

.btn-sm { font-size: var(--text-xs); padding: 0.375rem 0.75rem; }
.btn-lg { font-size: var(--text-base); padding: 0.875rem 1.75rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-logout {
    background: var(--color-neutral-100);
    color: var(--color-neutral-700);
    border: 1px solid var(--color-neutral-300);
    font-size: var(--text-xs);
    padding: 0.375rem 0.75rem;
}
.btn-logout:hover {
    background: var(--color-neutral-200);
    color: var(--color-neutral-900);
}

/* Logout in dark headers */
.admin-header .btn-logout {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.admin-header .btn-logout:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-neutral-700);
    margin-bottom: var(--space-1);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-neutral-900);
    background: var(--color-white);
    border: 1.5px solid var(--color-neutral-300);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px rgba(184, 132, 90, 0.15);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    line-height: var(--leading-normal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

/* ---------- Cards (generic) ---------- */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.card h2 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--color-primary-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-neutral-100);
}

/* ---------- Messages ---------- */
.message {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    border-left: 3px solid;
}

.message.success, .message-success {
    background: rgba(61, 122, 79, 0.08);
    border-left-color: var(--color-success);
    color: #2D5A3A;
}

.message.error, .message-error {
    background: rgba(190, 49, 68, 0.08);
    border-left-color: var(--color-error);
    color: #7A1B2D;
}

.message.warning, .message-warning {
    background: rgba(201, 125, 47, 0.08);
    border-left-color: var(--color-warning);
    color: #7A4E1A;
}

/* ---------- Footer ---------- */
footer {
    background: var(--color-primary-900);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-10) 0;
    margin-top: var(--space-16);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    text-align: center;
    font-size: var(--text-sm);
}

.footer-content a {
    color: var(--color-primary-400);
}

.footer-content a:hover {
    color: var(--color-primary-300);
}

.footer-disclaimer {
    background: rgba(212, 168, 67, 0.1);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    margin-top: var(--space-6);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Loading / Empty states ---------- */
.loading {
    text-align: center;
    padding: var(--space-12);
    color: var(--color-neutral-500);
    font-size: var(--text-sm);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;
        --text-6xl: 2.75rem;
    }

    .info-bar-content {
        flex-direction: column;
        gap: var(--space-1);
        text-align: center;
    }

    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-primary-50);
        border-bottom: 1px solid var(--color-primary-300);
        padding: var(--space-4) var(--space-6);
        gap: var(--space-3);
        box-shadow: var(--shadow-md);
    }

    .nav-toggle { display: block; }

    .hero { padding: var(--space-10) 0; }

    .stories-grid,
    .stories-grid-featured {
        grid-template-columns: 1fr;
    }

    .form-row { grid-template-columns: 1fr; }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .category-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-2);
    }

    .article-content {
        padding: var(--space-8) var(--space-4);
    }

    .hero-article h1 {
        font-size: var(--text-4xl);
    }

    .hero-article .article-meta {
        flex-direction: column;
        gap: var(--space-2);
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 1.875rem;
    }

    .nav-logo img { height: 56px; }
}
