/* ============================================
   L'Horizon & l'Infini — Modern Design System
   ============================================ */

:root {
    /* Core Palette — Deep Ink + Electric Violet + Warm Sand */
    --color-bg: #f7f5f2;
    --color-surface: #ffffff;
    --color-surface-2: #fbfaf8;
    --color-ink: #14121a;
    --color-ink-soft: #2a2733;
    --color-text: #1a1820;
    --color-text-secondary: #55505f;
    --color-text-muted: #8a8496;
    --color-accent: #6d28d9;
    --color-accent-hover: #7c3aed;
    --color-accent-soft: #ede9fe;
    --color-accent-2: #f59e0b;
    --color-accent-2-soft: #fef3c7;
    --color-border: #e6e2dc;
    --color-border-light: #f0ede8;
    --color-dark: #14121a;
    --color-dark-2: #1f1c28;

    /* Typography */
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(20, 18, 26, 0.04);
    --shadow-sm: 0 2px 8px rgba(20, 18, 26, 0.06);
    --shadow-md: 0 8px 24px rgba(20, 18, 26, 0.08);
    --shadow-lg: 0 16px 48px rgba(20, 18, 26, 0.12);
    --shadow-glow: 0 8px 32px rgba(109, 40, 217, 0.18);

    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* Motion */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --max-width: 1240px;
    --header-height: 68px;
    --topbar-height: 38px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 60px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: var(--color-accent);
    color: #fff;
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

.dot-sep {
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ============================================
   Top Announcement Bar
   ============================================ */
.top-bar {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(109, 40, 217, 0.35);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.top-bar-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-bar-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: color var(--transition);
}

.top-bar-links a:hover {
    color: #fff;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-height);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--color-accent), #4c1d95);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
    border-radius: 12px;
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition);
}

.site-logo:hover .logo-mark {
    transform: rotate(-4deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}

/* Navigation */
.main-nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 11px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    background: none;
    border: none;
    font-family: inherit;
}

.nav-link:hover {
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

.nav-link.active {
    color: var(--color-accent);
    background: var(--color-accent-soft);
    font-weight: 600;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.nav-dropdown-btn {
    cursor: pointer;
}

.nav-dropdown-btn svg {
    transition: transform var(--transition);
}

.dropdown.open .nav-dropdown-btn svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 9px 14px;
    font-size: 13.5px;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.dropdown-item:hover {
    background: var(--color-accent-soft);
    color: var(--color-accent);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.header-search:focus-within {
    border-color: var(--color-accent);
    background: var(--color-surface);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.search-icon {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.header-search input {
    border: none;
    background: transparent;
    font-size: 13.5px;
    width: 120px;
    outline: none;
    color: var(--color-text);
    font-family: inherit;
    transition: width var(--transition);
}

.header-search:focus-within input {
    width: 190px;
}

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

.btn-newsletter-header {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: var(--color-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-newsletter-header:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Category Pill Strip
   ============================================ */
.category-strip {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: var(--header-height);
    z-index: 999;
}

.category-strip-scroll {
    position: relative;
    overflow: hidden;
}

/* Fade edges hint at horizontal scroll */
.category-strip-scroll::before,
.category-strip-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.category-strip-scroll::before {
    left: 0;
    background: linear-gradient(to right, var(--color-surface), rgba(255, 255, 255, 0));
}

.category-strip-scroll::after {
    right: 0;
    background: linear-gradient(to left, var(--color-surface), rgba(255, 255, 255, 0));
}

.category-strip-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.category-strip-inner::-webkit-scrollbar {
    display: none;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all var(--transition);
}

.pill-badge:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    background: var(--color-accent-soft);
}

.pill-badge.active {
    background: var(--color-ink);
    color: #fff;
    border-color: var(--color-ink);
    font-weight: 600;
}

/* ============================================
   Hero Bento Grid
   ============================================ */
.hero-bento {
    padding: 48px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Featured Hero Card */
.featured-hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-dark);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.featured-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(20, 18, 26, 0.2);
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-hero-card:hover .hero-img {
    transform: scale(1.04);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 18, 26, 0.95) 0%,
        rgba(20, 18, 26, 0.75) 35%,
        rgba(20, 18, 26, 0.25) 65%,
        rgba(20, 18, 26, 0.1) 100%
    );
}

.hero-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.hero-card-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.badge-accent {
    background: var(--color-accent);
    color: #fff;
}

.badge-accent:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

.badge-ghost {
    background: var(--color-accent-soft);
    color: var(--color-accent);
}

.badge-ghost:hover {
    background: var(--color-accent);
    color: #fff;
}

.read-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
}

.hero-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.hero-card-title a {
    color: #fff;
    transition: color var(--transition);
}

.hero-card-title a:hover {
    color: #c4b5fd;
}

.hero-card-excerpt {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 24px;
    max-width: 90%;
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.author-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.author-chip:hover {
    background: rgba(255, 255, 255, 0.18);
}

.author-chip-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-chip-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.author-chip-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.hero-date {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* Hero Sidebar */
.hero-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent-2);
    margin-bottom: 6px;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: -0.02em;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.trending-item {
    display: flex;
    gap: 16px;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
    cursor: pointer;
}

.trending-item:hover {
    background: var(--color-surface-2);
}

.trending-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-border);
    line-height: 1;
    flex-shrink: 0;
    transition: color var(--transition);
}

.trending-item:hover .trending-number {
    color: var(--color-accent);
}

.trending-body {
    min-width: 0;
}

.trending-body .badge-pill {
    margin-bottom: 8px;
    font-size: 10px;
    padding: 3px 10px;
}

.trending-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.trending-title a {
    color: var(--color-ink);
    display: block;
    transition: color var(--transition);
}

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

.trending-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--color-text-muted);
}

/* ============================================
   Manifesto Strip
   ============================================ */
.manifesto-strip {
    padding: 8px 0 48px;
}

.manifesto-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 48px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #2d1b4e 60%, #3b0764 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.manifesto-text {
    flex: 1;
    min-width: 0;
}

.manifesto-label {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent-2);
    margin-bottom: 12px;
}

.manifesto-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.45;
    color: #fff;
    margin-bottom: 12px;
}

.manifesto-author {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.manifesto-action {
    flex-shrink: 0;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--color-ink);
    border-color: #fff;
}

/* ============================================
   Articles Feed Section
   ============================================ */
.articles-feed-section {
    padding: 24px 0 80px;
}

.feed-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.feed-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.feed-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.feed-count {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* Modern Article Grid */
.modern-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Modern Card */
.modern-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    animation: fadeInUp 0.5s ease backwards;
}

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

.modern-card:nth-child(1) { animation-delay: 0.02s; }
.modern-card:nth-child(2) { animation-delay: 0.06s; }
.modern-card:nth-child(3) { animation-delay: 0.1s; }
.modern-card:nth-child(4) { animation-delay: 0.14s; }
.modern-card:nth-child(5) { animation-delay: 0.18s; }
.modern-card:nth-child(6) { animation-delay: 0.22s; }
.modern-card:nth-child(7) { animation-delay: 0.26s; }
.modern-card:nth-child(8) { animation-delay: 0.3s; }
.modern-card:nth-child(9) { animation-delay: 0.34s; }

.card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg);
}

.card-media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-card:hover .card-img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--color-ink);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.card-badge:hover {
    background: var(--color-accent);
    color: #fff;
}

.card-inner {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-heading {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
}

.card-heading a {
    color: var(--color-ink);
    transition: color var(--transition);
}

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

.card-summary {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 18px;
    flex: 1;
}

.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
    margin-bottom: 14px;
}

.card-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.card-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.card-author-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-timestamp {
    font-size: 11.5px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.card-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    align-self: flex-start;
    transition: gap var(--transition);
}

.card-arrow-link svg {
    transition: transform var(--transition);
}

.card-arrow-link:hover {
    gap: 10px;
}

.card-arrow-link:hover svg {
    transform: translateX(2px);
}

/* ============================================
   Modern Pagination
   ============================================ */
.modern-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.pag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.pag-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

.pag-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pag-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.pag-num:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pag-num.current {
    background: var(--color-ink);
    border-color: var(--color-ink);
    color: #fff;
}

/* ============================================
   Newsletter CTA
   ============================================ */
.newsletter-cta {
    padding: 40px 0 80px;
}

.newsletter-cta-card {
    position: relative;
    padding: 64px 48px;
    background: linear-gradient(135deg, #4c1d95 0%, var(--color-accent) 50%, #8b5cf6 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
}

.newsletter-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-cta-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.newsletter-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}

.newsletter-cta-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 22px;
    font-size: 14px;
    font-family: inherit;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    outline: none;
    transition: all var(--transition);
}

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

.newsletter-form input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.18);
}

.newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    background: #fff;
    color: var(--color-accent);
    border: none;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.newsletter-feedback {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 16px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-feedback.success {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-feedback.error {
    background: rgba(239, 68, 68, 0.25);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-title {
    color: #fff;
}

.footer-logo .logo-tagline {
    color: #a78bfa;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-list a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--transition);
}

.footer-list a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-admin-link {
    color: #a78bfa !important;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 32px rgba(20, 18, 26, 0.1);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.cookie-content p {
    font-size: 13.5px;
    color: var(--color-text-secondary);
    flex: 1;
    min-width: 240px;
    line-height: 1.6;
}

.cookie-content p a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.cookie-accept {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.cookie-accept:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.cookie-reject {
    background: transparent;
    color: var(--color-text-secondary);
}

.cookie-reject:hover {
    border-color: var(--color-ink);
    color: var(--color-ink);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-ink);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* ============================================
   Article Full Page
   ============================================ */
.article-full {
    padding: 48px 0 80px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--color-text-secondary);
    font-weight: 500;
}

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

.breadcrumb .sep {
    color: var(--color-border);
}

.breadcrumb .current {
    color: var(--color-text-muted);
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.article-header .badge-pill {
    margin-bottom: 16px;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-ink);
    margin-bottom: 20px;
}

.article-header .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.article-header .article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.article-header .article-author a {
    color: var(--color-text-secondary);
}

.article-header .article-author a:hover {
    color: var(--color-accent);
}

.article-featured-image {
    margin-bottom: 44px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-featured-image img {
    width: 100%;
}

.article-body {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-text);
}

.article-body p {
    margin-bottom: 26px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    font-family: var(--font-display);
    margin: 44px 0 18px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.article-body h2 { font-size: 1.7rem; }
.article-body h3 { font-size: 1.4rem; }
.article-body h4 { font-size: 1.2rem; }

.article-body blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 20px 28px;
    margin: 36px 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-ink-soft);
    background: var(--color-accent-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    line-height: 1.5;
}

.article-body img {
    border-radius: var(--radius-md);
    margin: 36px 0;
}

.article-body ul,
.article-body ol {
    margin: 0 0 26px 28px;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

.article-body em {
    font-style: italic;
}

.article-body strong {
    font-weight: 700;
}

.article-image {
    margin: 36px 0;
}

.article-image img {
    border-radius: var(--radius-md);
    width: 100%;
}

.article-image figcaption {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 44px 0;
    max-width: 760px;
}

.tag-link {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 500;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.tag-link:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 28px;
    padding: 36px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    margin: 44px 0;
    max-width: 760px;
}

.author-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.author-avatar-lg {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--color-accent-soft);
}

.author-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-ink);
}

.author-role {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 22px;
    }

    .contact-card form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Share */
.share-section {
    margin: 44px 0;
    max-width: 760px;
}

.share-section h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-ink);
}

.share-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    transition: all var(--transition);
}

.share-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

/* Related */
.related-articles {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid var(--color-border);
}

.related-articles .section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

/* ============================================
   Category / Author Headers
   ============================================ */
.category-header,
.author-header {
    padding: 48px 0 0;
}

.category-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-ink);
    margin-bottom: 14px;
    line-height: 1.05;
}

.category-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 620px;
    line-height: 1.7;
}

.author-profile {
    display: flex;
    gap: 44px;
    align-items: flex-start;
    padding: 36px 0;
}

.author-profile-avatar {
    width: 168px;
    height: 168px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-surface);
}

.author-profile-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-ink);
    margin-bottom: 6px;
    line-height: 1.1;
}

.author-profile-role {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 18px;
}

.author-profile-bio {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    max-width: 660px;
}

.author-profile-contact {
    margin-top: 16px;
    font-size: 14px;
}

.author-profile-contact a {
    font-weight: 600;
}

/* ============================================
   Static Pages
   ============================================ */
.static-page {
    padding: 48px 0 80px;
}

.page-header {
    margin-bottom: 36px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--color-ink);
    margin-bottom: 0;
    line-height: 1.1;
}

.page-content {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.85;
}

.page-content p {
    margin-bottom: 22px;
}

.page-content h2,
.page-content h3 {
    font-family: var(--font-display);
    margin: 44px 0 18px;
    letter-spacing: -0.02em;
}

.page-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content ul,
.page-content ol {
    margin: 0 0 22px 24px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 16px 24px;
    margin: 32px 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-ink-soft);
    background: var(--color-accent-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.team-member {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: all var(--transition);
}

.team-member:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-border);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 3px solid var(--color-accent-soft);
}

.team-member h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-ink);
}

.team-member .role {
    font-size: 12.5px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.team-member .bio {
    font-size: 13.5px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* ============================================
   Search Page
   ============================================ */
.search-page-form {
    max-width: 640px;
    margin: 0 auto 52px;
}

.search-page-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 22px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.search-page-bar:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.search-page-bar svg {
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.search-page-bar input {
    flex: 1;
    padding: 12px 0;
    font-size: 15px;
    font-family: inherit;
    border: none;
    background: transparent;
    color: var(--color-ink);
    outline: none;
    min-width: 0;
}

.search-page-bar input::placeholder {
    color: var(--color-text-muted);
}

.search-page-btn {
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.search-page-btn:hover {
    background: var(--color-accent-hover);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Error / Empty States
   ============================================ */
.error-page {
    text-align: center;
    padding: 100px 24px;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-ink);
    margin-bottom: 16px;
}

.error-page p {
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.no-articles {
    text-align: center;
    padding: 64px 24px;
    color: var(--color-text-muted);
    font-size: 16px;
    grid-column: 1 / -1;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1180px) {
    .header-inner {
        gap: 12px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 10px;
    }

    .logo-title {
        font-size: 14px;
    }

    .nav-link {
        padding: 8px 8px;
        font-size: 12px;
        max-width: 110px;
    }

    .header-search {
        padding: 8px 12px;
    }

    .header-search input {
        width: 84px;
    }

    .header-search:focus-within input {
        width: 140px;
    }

    .btn-newsletter-header {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .featured-hero-card {
        min-height: 440px;
    }

    .modern-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .manifesto-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 16px;
        gap: 0;
        align-items: stretch;
    }

    .nav-link {
        padding: 13px 16px;
        font-size: 15px;
        max-width: none;
        border-bottom: 1px solid var(--color-border-light);
        border-radius: 0;
        justify-content: space-between;
    }

    .nav-item.dropdown .nav-link {
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --topbar-height: 34px;
    }

    .header-search {
        display: none;
    }

    .btn-newsletter-header {
        display: none;
    }

    .top-bar-text {
        display: none;
    }

    .top-bar-inner {
        justify-content: space-between;
    }

    .modern-articles-grid {
        grid-template-columns: 1fr;
    }

    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-profile-bio {
        text-align: left;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .hero-bento {
        padding: 28px 0 32px;
    }

    .hero-card-content {
        padding: 28px;
    }

    .featured-hero-card {
        min-height: 400px;
    }

    .hero-sidebar {
        padding: 24px;
    }

    .newsletter-cta-card {
        padding: 44px 24px;
    }

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

    .newsletter-form button {
        justify-content: center;
    }

    .feed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .category-strip {
        top: var(--header-height);
    }
}

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

    .search-page-bar {
        padding-left: 16px;
    }

    .search-page-btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .card-inner {
        padding: 18px 20px 20px;
    }

    .hero-card-content {
        padding: 22px;
    }

    .manifesto-card {
        padding: 28px 22px;
    }

    .author-box {
        padding: 24px;
    }

    .modern-pagination {
        gap: 8px;
    }

    .pag-btn {
        padding: 9px 16px;
        font-size: 12.5px;
    }

    .pag-num {
        min-width: 36px;
        height: 36px;
    }

    .article-full {
        padding: 28px 0 56px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-featured-image {
        margin-bottom: 32px;
    }

    .related-articles {
        margin-top: 52px;
        padding-top: 40px;
    }

    .static-page {
        padding: 28px 0 56px;
    }

    .author-profile-avatar {
        width: 120px;
        height: 120px;
    }

    .author-profile-name {
        font-size: 1.7rem;
    }

    .contact-card {
        padding: 26px 20px !important;
    }
}

/* ============================================
   Print
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .share-section,
    .related-articles,
    .back-to-top,
    .top-bar,
    .category-strip,
    .newsletter-cta,
    .reading-progress,
    .manifesto-strip {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .article-title {
        color: #000;
    }
}
