/*
Theme Name: RWA Daily Theme
Theme URI: https://rwadaily.ai
Author: RWA Daily Team
Description: Premium bilingual theme for RWA Daily
Version: 2.0.0
Text Domain: rwadaily-theme
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS — PREMIUM DARK
   ═══════════════════════════════════════════ */

:root {
    /* Surfaces */
    --bg-void: #050507;
    --bg-primary: #08090d;
    --bg-elevated: #0e1015;
    --bg-card: #12141a;
    --bg-card-hover: #181b23;
    --bg-glass: rgba(18, 20, 26, 0.7);

    /* Gold System */
    --gold-100: #fef3c7;
    --gold-200: #fde68a;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-dim: rgba(251, 191, 36, 0.08);
    --gold-glow: rgba(251, 191, 36, 0.12);

    /* Neutrals */
    --white: #f8f8f2;
    --text-primary: #e8e6e3;
    --text-secondary: #8a8680;
    --text-muted: #5a5652;
    --text-ghost: #3a3835;

    /* Accents */
    --accent-red: #dc2626;
    --accent-red-dim: rgba(220, 38, 38, 0.1);
    --accent-green: #16a34a;
    --accent-cyan: #06b6d4;

    /* Borders */
    --border: rgba(255, 255, 255, 0.04);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(251, 191, 36, 0.15);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
    --shadow-gold: 0 0 40px rgba(251, 191, 36, 0.06);

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    /* Layout */
    --container: 1120px;
    --container-narrow: 740px;
    --header-h: 64px;
    --section-gap: 80px;

    /* Motion */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0, 0, 0.25, 1);
    --duration: 0.3s;
    --duration-slow: 0.5s;
}

/* ═══════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
    min-height: 100vh;
    position: relative;
}

/* Subtle grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

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

a:hover { color: var(--gold-400); }

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

::selection {
    background: var(--gold-400);
    color: var(--bg-void);
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-ghost); border-radius: 2px; }

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */

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

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

/* ═══════════════════════════════════════════
   HEADER — Minimal, Authoritative
   ═══════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* Logo — clean, editorial */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-logo .logo-icon {
    width: 28px;
    height: 28px;
    background: var(--gold-400);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--bg-void);
    font-weight: 800;
}

.site-logo span.highlight {
    color: var(--gold-400);
    font-weight: 800;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 8px 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all var(--duration) var(--ease);
    position: relative;
}

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

.main-nav a.active {
    color: var(--gold-400);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--gold-400);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
}

.lang-switcher a {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 5px 12px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--duration) var(--ease);
}

.lang-switcher a:hover { color: var(--text-primary); background: var(--bg-card); }

.lang-switcher a.active {
    background: var(--gold-400);
    color: var(--bg-void);
}

/* Mobile */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════
   HERO — Bold, Editorial Statement
   ═══════════════════════════════════════════ */

.hero-section {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
    border: 1px solid var(--border-gold);
    border-radius: 1px;
    font-size: 0.6rem;
    color: var(--gold-400);
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.hero-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-title .gradient-text {
    font-weight: 700;
    color: var(--gold-300);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Divider line under hero */
.hero-section::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold-400);
    margin: 48px auto 0;
    opacity: 0.4;
}

/* ═══════════════════════════════════════════
   SECTION HEADERS — Editorial
   ═══════════════════════════════════════════ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title .icon {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
}

.section-title .icon.blue { background: var(--gold-dim); border-color: var(--border-gold); }
.section-title .icon.purple { background: var(--gold-dim); border-color: var(--border-gold); }
.section-title .icon.cyan { background: var(--gold-dim); border-color: var(--border-gold); }

.section-link {
    font-size: 0.65rem;
    color: var(--text-ghost);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--duration) var(--ease);
    font-family: var(--font-mono);
}

.section-link:hover { color: var(--gold-400); }

/* ═══════════════════════════════════════════
   NEWS FEED — Terminal / Ticker Style
   ═══════════════════════════════════════════ */

.news-feed {
    padding: var(--section-gap) 0 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-primary);
    transition: all var(--duration) var(--ease);
    border-left: 2px solid transparent;
    cursor: pointer;
}

.news-item:hover {
    background: var(--bg-elevated);
    border-left-color: var(--gold-400);
}

.news-item.rwa-highlight {
    border-left-color: var(--accent-red);
    background: var(--bg-elevated);
}

.news-item.rwa-highlight:hover {
    border-left-color: var(--accent-red);
}

.news-item.rwa-highlight .news-item-title {
    color: var(--accent-red);
    font-weight: 600;
}

/* Time column */
.news-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 64px;
    padding-top: 2px;
}

.news-time-dot {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: var(--text-ghost);
    margin-bottom: 6px;
}

.news-item.rwa-highlight .news-time-dot {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red-dim);
}

.news-time-text {
    font-size: 0.68rem;
    color: var(--text-ghost);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

/* Content */
.news-item-content { flex: 1; }

.news-item-title {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 4px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.news-item-title a { color: inherit; }
.news-item-title a:hover { color: var(--gold-400); }

.news-item-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    color: var(--text-ghost);
    font-family: var(--font-mono);
}

.news-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-category-tag {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    border-radius: 1px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
}

.news-category-tag.rwa {
    border-color: var(--accent-red-dim);
    color: var(--accent-red);
    background: var(--accent-red-dim);
}

/* ═══════════════════════════════════════════
   ARTICLE CARDS — Magazine Layout
   ═══════════════════════════════════════════ */

.articles-section {
    padding: 40px 0 var(--section-gap);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.article-card {
    background: var(--bg-primary);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
    position: relative;
}

.article-card:hover {
    background: var(--bg-elevated);
}

.article-card:hover .article-card-image img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.article-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-card);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--duration-slow) var(--ease);
    filter: brightness(0.9) saturate(0.8);
}

.article-card-image .category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: var(--gold-400);
    border: 1px solid var(--border-gold);
    border-radius: 1px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-mono);
}

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

.article-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.article-card-title a { color: var(--text-primary); }
.article-card-title a:hover { color: var(--gold-300); }

.article-card-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.article-card-date {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
}

.article-card-readmore {
    color: var(--gold-400);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    transition: gap var(--duration) var(--ease);
}

.article-card-readmore:hover {
    gap: 8px;
    color: var(--gold-300);
}

/* Featured */
.article-card.featured {
    grid-column: span 2;
}

.article-card.featured .article-card-image { height: 320px; }
.article-card.featured .article-card-title { font-size: 1.4rem; font-weight: 500; }
.article-card.featured .article-card-excerpt { -webkit-line-clamp: 4; }

/* ═══════════════════════════════════════════
   SINGLE POST — Long-Form Editorial
   ═══════════════════════════════════════════ */

.single-post-header {
    padding: 80px 0 32px;
    text-align: center;
}

.single-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.65rem;
    color: var(--text-ghost);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.single-post-title {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.single-post-excerpt {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Decorative line */
.single-post-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold-400);
    margin: 0 auto;
    opacity: 0.4;
}

.single-post-content {
    padding: 40px 0 80px;
}

.single-post-content .entry-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 32px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin: 56px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    letter-spacing: -0.02em;
}

.entry-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 12px;
    letter-spacing: -0.01em;
}

.entry-content p { margin-bottom: 20px; }

.entry-content strong { color: var(--text-primary); font-weight: 600; }

.entry-content blockquote {
    border-left: 2px solid var(--gold-400);
    background: var(--bg-elevated);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 2px 2px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.entry-content ul, .entry-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.entry-content li strong {
    color: var(--gold-300);
}

.entry-content a {
    color: var(--gold-400);
    text-decoration: none;
    border-bottom: 1px solid var(--border-gold);
    transition: border-color var(--duration) var(--ease);
}

.entry-content a:hover {
    border-bottom-color: var(--gold-400);
}

.entry-content img {
    border-radius: 2px;
    margin: 32px 0;
    border: 1px solid var(--border);
}

.entry-content pre {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 2px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin: 32px 0;
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   SINGLE NEWS — Compact, Data-Rich
   ═══════════════════════════════════════════ */

.single-news-wrapper {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 64px 32px 80px;
}

.single-news-header {
    margin-bottom: 32px;
}

.single-news-title {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.single-news-title.rwa-related {
    color: var(--accent-red);
}

.single-news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.7rem;
    color: var(--text-ghost);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.single-news-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    padding: 28px 0;
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 20px;
    transition: all var(--duration) var(--ease);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.source-link:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
}

/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 48px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--duration) var(--ease);
    font-family: var(--font-mono);
}

.pagination a:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
}

.pagination .current {
    background: var(--gold-400);
    color: var(--bg-void);
    border-color: var(--gold-400);
}

/* ═══════════════════════════════════════════
   FOOTER — Minimal, Authoritative
   ═══════════════════════════════════════════ */

.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

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

.footer-brand { max-width: 280px; }

.footer-brand-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-brand-desc {
    font-size: 0.8rem;
    color: var(--text-ghost);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-ghost);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 12px; }

.footer-col a {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color var(--duration) var(--ease);
}

.footer-col a:hover { color: var(--gold-400); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.68rem;
    color: var(--text-ghost);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card.featured { grid-column: span 2; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-gap: 48px; }

    .hero-title { font-size: 2.2rem; }
    .hero-section { padding: 60px 0 40px; }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
    }

    .main-nav.active { display: flex; }
    .mobile-nav-toggle { display: block; }

    .articles-grid { grid-template-columns: 1fr; }
    .article-card.featured { grid-column: span 1; }
    .article-card.featured .article-card-image { height: 200px; }

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

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

    .single-post-title { font-size: 1.8rem; }
    .single-news-title { font-size: 1.4rem; }
    .news-item { padding: 16px; }
    .news-time { min-width: 48px; }
    .container, .container-narrow { padding: 0 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-badge { font-size: 0.55rem; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.4s var(--ease-out) forwards;
    opacity: 0;
}

.animate-in:nth-child(1) { animation-delay: 0.03s; }
.animate-in:nth-child(2) { animation-delay: 0.06s; }
.animate-in:nth-child(3) { animation-delay: 0.09s; }
.animate-in:nth-child(4) { animation-delay: 0.12s; }
.animate-in:nth-child(5) { animation-delay: 0.15s; }
.animate-in:nth-child(6) { animation-delay: 0.18s; }
.animate-in:nth-child(7) { animation-delay: 0.21s; }
.animate-in:nth-child(8) { animation-delay: 0.24s; }

/* Glow effect on hover for news items */
.news-item:hover .news-time-dot {
    background: var(--gold-400);
    box-shadow: 0 0 8px var(--gold-glow);
}
