/* ============================================================
   GistOrbit — Ultra-Modern Design System (2026 Edition)
   Premium Editorial · Spacious · Smooth Animations · Mobile-First
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Montserrat:wght@600;700;800&family=Poppins:wght@400;500;600&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────────── */
:root {
    /* Colors */
    --color-primary:        #0F766E;
    --color-primary-hover:  #115E59;
    --color-primary-light:  rgba(15, 118, 110, 0.08);
    --color-text:           #111111;
    --color-text-secondary: #6B7280;
    --color-text-light:     #9CA3AF;
    --color-bg:             #FCFCFD;
    --color-surface:        #FFFFFF;
    --color-border:         #ECECEC;
    --color-border-light:   #F5F5F5;

    /* Status / Category Colors */
    --color-breaking:     #DC2626;
    --color-politics:     #B91C1C;
    --color-business:     #D97706;
    --color-technology:   #7C3AED;
    --color-sports:       #16A34A;
    --color-entertainment:#EC4899;
    --color-education:    #0F766E;
    --color-world:        #0891B2;
    --color-metro:        #EA580C;

    /* Typography */
    --font-hero:       'Space Grotesk', system-ui, sans-serif;
    --font-headline:   'Montserrat', system-ui, sans-serif;
    --font-body:       'Poppins', system-ui, sans-serif;

    --text-hero:   clamp(2.5rem, 5vw, 4rem);
    --text-featured: clamp(1.75rem, 3.5vw, 2.625rem);
    --text-article: clamp(1.375rem, 2.5vw, 1.75rem);
    --text-section: clamp(1.5rem, 3vw, 2rem);
    --text-body:    1.125rem;
    --text-base:    1rem;
    --text-sm:      0.875rem;
    --text-xs:      0.8125rem;
    --text-caption: 0.8125rem;
    --text-small:   0.75rem;

    /* Spacing */
    --sp-1:  0.5rem;
    --sp-2:  1rem;
    --sp-3:  1.5rem;
    --sp-4:  2rem;
    --sp-6:  3rem;
    --sp-8:  4rem;
    --sp-12: 6rem;
    --sp-16: 7.5rem;
    --gap:   2rem;

    /* Layout */
    --max-width:     1280px;
    --content-width: 780px;
    --sidebar-width: 340px;
    --nav-height:    72px;

    /* Radius */
    --radius-sm:    10px;
    --radius-md:    16px;
    --radius-lg:    20px;
    --radius-xl:    24px;
    --radius-full:  999px;

    /* Shadows */
    --shadow-card:   0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-hover:  0 8px 25px rgba(0,0,0,0.08);
    --shadow-lg:     0 20px 40px rgba(0,0,0,0.08);
    --shadow-nav:    0 1px 0 rgba(0,0,0,0.05);
    --shadow-search: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-glow:   0 0 30px rgba(15, 118, 110, 0.12);

    /* Transitions */
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration:     0.3s;
    --duration-fast: 0.15s;
    --duration-slow: 0.5s;
}

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    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, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--color-primary-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 10px; }

/* ── Utility ─────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-2);
}

@media (min-width: 768px) { .container { padding: 0 var(--sp-4); } }

.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: var(--sp-2); background: var(--color-primary);
    color: #fff; padding: 8px 16px; border-radius: var(--radius-full); font-size: var(--text-sm);
    font-weight: 600; z-index: 9999; transition: top var(--duration);
}
.skip-link:focus { top: var(--sp-2); color: #fff; }

/* ── Reading Progress Bar ────────────────────────────────────────────────────── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #34d399);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── Navigation ──────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all var(--duration) var(--ease);
}

.site-header.scrolled {
    box-shadow: var(--shadow-nav);
}

.header-top {
    background: var(--color-text);
    padding: 6px 0;
    font-size: var(--text-small);
    color: rgba(255,255,255,0.7);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-date { font-weight: 400; }
.header-top-socials { display: flex; gap: var(--sp-2); }
.header-top-socials a {
    color: rgba(255,255,255,0.5);
    transition: color var(--duration-fast);
    font-size: var(--text-sm);
}
.header-top-socials a:hover { color: #fff; }

.header-main { padding: var(--sp-2) 0; }

.header-main .container {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    height: var(--nav-height);
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-hero);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -1px;
}

.logo-text span { color: var(--color-primary); }

/* Header Search */
.header-search {
    margin-left: auto;
    display: none;
}

@media (min-width: 768px) {
    .header-search { display: flex; }
}

.header-search form {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    border: 1.5px solid var(--color-border);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.header-search form:focus-within {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-search);
    background: var(--color-surface);
}

.header-search input {
    background: none;
    border: none;
    padding: 10px 18px;
    width: 220px;
    font-size: var(--text-sm);
    color: var(--color-text);
    outline: none;
}

.header-search input::placeholder { color: var(--color-text-light); }

.header-search button {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 18px;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: background var(--duration-fast);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.header-search button:hover { background: var(--color-primary-hover); }

/* Mobile toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Navigation */
.site-nav { border-top: 1px solid var(--color-border-light); }

.site-nav ul {
    display: none;
    flex-direction: column;
    padding: var(--sp-2) 0;
}

.site-nav ul.is-open { display: flex; }

@media (min-width: 1024px) {
    .site-nav ul {
        display: flex;
        flex-direction: row;
        gap: 0;
        padding: 0;
    }
}

.site-nav a {
    display: block;
    padding: 12px var(--sp-2);
    color: var(--color-text-secondary);
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--duration) var(--ease);
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--duration) var(--ease);
    transform: translateX(-50%);
    border-radius: 2px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--color-text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 24px;
}

/* ── Breaking Ticker ─────────────────────────────────────────────────────────── */
.breaking-ticker {
    background: var(--color-breaking);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: rgba(0,0,0,0.2);
    padding: 8px 16px;
    font-size: var(--text-small);
    font-weight: 700;
    font-family: var(--font-headline);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

.ticker-track { overflow: hidden; flex: 1; }
.ticker-items {
    display: flex;
    animation: ticker-scroll 35s linear infinite;
    white-space: nowrap;
}
.ticker-items:hover { animation-play-state: paused; }
.ticker-item { padding: 8px var(--sp-6); font-size: var(--text-sm); font-weight: 500; }
.ticker-item a { color: #fff; text-decoration: none; }
.ticker-item a:hover { text-decoration: underline; color: #fff; }

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Main Layout ─────────────────────────────────────────────────────────────── */
.site-main { padding: var(--sp-6) 0 var(--sp-12); }

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr var(--sidebar-width);
    }
}

/* ── Hero Section ────────────────────────────────────────────────────────────── */
.hero-section { margin-bottom: var(--sp-8); }

.hero-article {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/7;
    background: var(--color-text);
    cursor: pointer;
}

@media (max-width: 767px) {
    .hero-article { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
}

.hero-article__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), opacity 0.5s;
    opacity: 0.7;
}

.hero-article:hover .hero-article__image {
    transform: scale(1.04);
    opacity: 0.6;
}

.hero-article__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.1) 100%
    );
}

.hero-article__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
}

@media (max-width: 767px) {
    .hero-article__body { padding: var(--sp-3); }
}

.hero-article__title {
    font-family: var(--font-hero);
    font-size: var(--text-hero);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: var(--sp-1) 0 var(--sp-2);
}

.hero-article__title a { color: inherit; text-decoration: none; }
.hero-article__title a:hover { color: inherit; }

.hero-article__excerpt {
    color: rgba(255,255,255,0.75);
    font-size: var(--text-base);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: var(--sp-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-article__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}

.hero-article__meta a { color: rgba(255,255,255,0.8); font-weight: 500; }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.badge-category {
    background: var(--color-primary);
    color: #fff;
}

.badge-breaking {
    background: var(--color-breaking);
    color: #fff;
}

.meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    flex-shrink: 0;
}

/* ── Section Headings ────────────────────────────────────────────────────────── */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-4);
    gap: var(--sp-2);
}

.section-heading h2 {
    font-family: var(--font-headline);
    font-size: var(--text-section);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-heading .view-all {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    transition: color var(--duration-fast);
}

.section-heading .view-all:hover { color: var(--color-primary-hover); }

/* ── Article Cards ───────────────────────────────────────────────────────────── */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

@media (min-width: 600px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.article-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__image .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    font-size: 10px;
}

.article-card__body {
    padding: var(--sp-3);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-card__category {
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    text-decoration: none;
}

.article-card__category:hover { color: var(--color-primary-hover); }

.article-card__title {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a:hover { color: var(--color-primary); }

.article-card__excerpt {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-small);
    color: var(--color-text-light);
    margin-top: auto;
    padding-top: var(--sp-2);
    border-top: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}

.article-card__meta a { color: var(--color-text-secondary); font-weight: 500; }
.article-card__meta a:hover { color: var(--color-primary); }

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

.sidebar-widget {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--sp-3);
    border: 1px solid var(--color-border);
}

.widget-title {
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

/* Trending */
.trending-list { display: flex; flex-direction: column; gap: var(--sp-2); }

.trending-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast);
}

.trending-item:hover { background: var(--color-bg); }

.trending-item__rank {
    font-family: var(--font-hero);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    min-width: 2rem;
    text-align: center;
}

.trending-item:first-child .trending-item__rank { color: var(--color-primary); }

.trending-item__title {
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
}

.trending-item__title a { color: inherit; text-decoration: none; }
.trending-item__title a:hover { color: var(--color-primary); }
.trending-item__meta { font-size: var(--text-small); color: var(--color-text-light); margin-top: 4px; }

/* Newsletter widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--color-text) 0%, #1f2937 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
    text-align: center;
    border: none;
}

.newsletter-widget .widget-title {
    color: #fff;
    border-bottom-color: var(--color-primary);
}

.newsletter-widget p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--sp-3);
    line-height: 1.6;
}

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: var(--text-sm);
    outline: none;
    transition: all var(--duration-fast);
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus { border-color: var(--color-primary); background: rgba(255,255,255,0.12); }

.newsletter-form button {
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.newsletter-form button:hover { background: var(--color-primary-hover); transform: translateY(-1px); }

/* ── Ad Zones ────────────────────────────────────────────────────────────────── */
.ad-zone {
    background: var(--color-bg);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ad-zone--leaderboard { min-height: 90px; }
.ad-zone--rectangle   { min-height: 250px; }
.ad-zone--inline      { min-height: 120px; margin: var(--sp-6) 0; }

/* ── Article Page ────────────────────────────────────────────────────────────── */
.article-page { max-width: var(--content-width); }

.article-header { margin-bottom: var(--sp-4); }

.article-category {
    display: inline-block;
    margin-bottom: var(--sp-2);
}

.article-title {
    font-family: var(--font-hero);
    font-size: var(--text-featured);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: -1px;
    margin-bottom: var(--sp-3);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    flex-wrap: wrap;
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--color-border-light);
}

.article-meta a { color: var(--color-text-secondary); font-weight: 500; }
.article-meta a:hover { color: var(--color-primary); }

.article-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Featured image */
.article-featured-image {
    margin-bottom: var(--sp-4);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

.article-featured-image figcaption {
    font-size: var(--text-caption);
    color: var(--color-text-light);
    text-align: center;
    padding: 8px 0;
}

/* Body */
.article-body {
    font-size: var(--text-body);
    line-height: 1.85;
    color: var(--color-text);
}

.article-body p { margin-bottom: var(--sp-3); }

.article-body h2 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: var(--sp-6) 0 var(--sp-2);
    letter-spacing: -0.3px;
}

.article-body h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    margin: var(--sp-4) 0 var(--sp-2);
}

.article-body ul, .article-body ol {
    margin-bottom: var(--sp-3);
    padding-left: var(--sp-3);
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; }

.article-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--sp-3) var(--sp-4);
    margin: var(--sp-4) 0;
    background: var(--color-primary-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text);
}

.article-body img { border-radius: var(--radius-lg); margin: var(--sp-4) 0; }
.article-body a { color: var(--color-primary); text-decoration: underline; }

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: var(--sp-4) 0;
}

.tag-pill {
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--duration) var(--ease);
}

.tag-pill:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Share */
.share-section {
    padding: var(--sp-3) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin: var(--sp-4) 0;
}

.share-label {
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    transition: all var(--duration) var(--ease);
}

.share-btn:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }
.share-btn--whatsapp { background: #25D366; }
.share-btn--twitter  { background: #000; }
.share-btn--facebook { background: #1877F2; }
.share-btn--copy     { background: var(--color-text-secondary); }

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--sp-4);
    padding: var(--sp-1) 0;
}

.breadcrumbs a { color: var(--color-text-secondary); font-weight: 500; }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .separator { color: var(--color-border); font-size: var(--text-small); }
.breadcrumbs .current { color: var(--color-text); font-weight: 500; }

/* Related */
.related-section {
    margin-top: var(--sp-8);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--color-border-light);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
}

@media (min-width: 600px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Comments ────────────────────────────────────────────────────────────────── */
.comments-section {
    margin-top: var(--sp-8);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--color-border-light);
}

.comments-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-6); }

.comment {
    padding: var(--sp-3);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-border);
}

.comment.reply {
    margin-left: var(--sp-6);
    border-left-color: var(--color-primary);
    background: var(--color-primary-light);
}

.comment__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.comment__author { font-weight: 600; font-size: var(--text-sm); color: var(--color-text); }
.comment__date { font-size: var(--text-small); color: var(--color-text-light); }
.comment__body { font-size: var(--text-base); line-height: 1.6; }

.comment-form {
    background: var(--color-bg);
    padding: var(--sp-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.comment-form h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--sp-3);
}

.reply-btn {
    font-size: var(--text-small);
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast);
}

.reply-btn:hover { background: var(--color-primary-light); }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-2); }

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: var(--text-base);
    outline: none;
    transition: all var(--duration-fast);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-light); }

.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-2);
}

@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-outline:hover { background: var(--color-bg); border-color: var(--color-text-light); color: var(--color-text); }

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border: none;
    padding: 8px 12px;
}

.btn-ghost:hover { background: var(--color-bg); color: var(--color-text); }

.btn-sm { padding: 6px 14px; font-size: var(--text-small); }

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: var(--sp-8);
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    transition: all var(--duration) var(--ease);
}

.page-link:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
    transform: translateY(-1px);
}

.page-link.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    pointer-events: none;
}

.page-link.disabled { opacity: 0.3; pointer-events: none; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.7);
    margin-top: var(--sp-16);
}

.footer-main { padding: var(--sp-8) 0 var(--sp-6); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}

@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo-text {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.5px;
}

.footer-brand p { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--sp-3); }

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: var(--text-sm);
    transition: all var(--duration) var(--ease);
}

.footer-socials a:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--sp-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links { display: flex; flex-direction: column; gap: 6px; }

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    transition: color var(--duration-fast);
    padding: 2px 0;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--sp-3) 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    font-size: var(--text-small);
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
}

/* ── Alerts ──────────────────────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--sp-2);
    border: 1px solid;
    animation: fadeUp 0.3s var(--ease);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.alert-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }

/* ── Error Pages ─────────────────────────────────────────────────────────────── */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-8) 0;
}

.error-code {
    font-family: var(--font-hero);
    font-size: 10rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
    letter-spacing: -4px;
}

.error-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0;
}

.error-message {
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-4);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Lazy load placeholder ───────────────────────────────────────────────────── */
img[loading="lazy"] { background: var(--color-bg); }

/* ── Focus ───────────────────────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Print ───────────────────────────────────────────────────────────────────── */
@media print {
    .site-header, .site-nav, .breaking-ticker, .sidebar,
    .share-section, .comments-section, .site-footer,
    .ad-zone, .newsletter-widget, .reading-progress { display: none !important; }
    .article-title { color: #000; }
}

/* ── Author Box ───────────────────────────────────────────────────────────────── */
.author-box {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--sp-4);
    margin: var(--sp-6) 0;
}

.author-box__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box__label {
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.author-box__name {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    display: block;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color var(--duration-fast);
}

.author-box__name:hover { color: var(--color-primary); }

.author-box__bio {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.author-box__social {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.author-box__social:hover { color: var(--color-primary-hover); }

/* ── Comments empty ──────────────────────────────────────────────────────────── */
.comments-empty {
    text-align: center;
    padding: var(--sp-8) 0;
    color: var(--color-text-light);
    font-size: var(--text-base);
}

/* ── Site nav fix (nav ul needs its own class) ───────────────────────────────── */
ul.site-nav {
    display: none;
    flex-direction: column;
    padding: var(--sp-2) 0;
    list-style: none;
}

ul.site-nav.is-open { display: flex; }

@media (min-width: 1024px) {
    ul.site-nav {
        display: flex;
        flex-direction: row;
        padding: 0;
        gap: 0;
    }
}

/* ── Mobile Hero Fix ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-article {
        aspect-ratio: 3/4;
        max-height: 520px;
        border-radius: var(--radius-lg);
    }

    .hero-article__image {
        opacity: 0.55;
    }

    .hero-article__overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.92) 0%,
            rgba(0,0,0,0.55) 45%,
            rgba(0,0,0,0.2) 100%
        );
    }

    .hero-article__body {
        padding: var(--sp-3) var(--sp-3) var(--sp-4);
    }

    .hero-article__title {
        font-size: 1.75rem;
        line-height: 1.15;
        letter-spacing: -0.5px;
        margin: 8px 0 10px;
        /* Cap at 3 lines */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-article__excerpt {
        font-size: 0.875rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
    }

    .hero-article__meta {
        font-size: 0.75rem;
        gap: 6px;
    }

    .hero-article__meta a { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .hero-article {
        aspect-ratio: auto;
        min-height: 420px;
    }

    .hero-article__title {
        font-size: 1.5rem;
        -webkit-line-clamp: 4;
    }
}

/* ── Contact Success / Error Container ───────────────────────────────────────── */
.form-info-box {
    padding: var(--sp-3);
    background: var(--color-primary-light);
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: var(--text-sm);
    margin-bottom: var(--sp-3);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ============================================================
   Dark Mode
   ============================================================ */
[data-theme="dark"] {
    --color-bg:             #0F1419;
    --color-surface:        #1A1F26;
    --color-text:           #E5E7EB;
    --color-text-secondary: #9CA3AF;
    --color-text-light:     #6B7280;
    --color-border:         #2A303A;
    --color-border-light:   #1F252D;
    --color-primary-light:  rgba(15, 118, 110, 0.15);
    --shadow-card:          0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-hover:         0 8px 25px rgba(0,0,0,0.4);
}

[data-theme="dark"] body { background: var(--color-bg); color: var(--color-text); }

[data-theme="dark"] .site-header {
    background: rgba(15, 20, 25, 0.85);
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .header-top { background: #000; }

[data-theme="dark"] .header-search form {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .header-search input { color: var(--color-text); }

[data-theme="dark"] .site-nav a { color: var(--color-text-secondary); }
[data-theme="dark"] .site-nav a:hover,
[data-theme="dark"] .site-nav a.active { color: var(--color-text); }

[data-theme="dark"] .nav-toggle span { background: var(--color-text); }

[data-theme="dark"] .article-card {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .article-card__title,
[data-theme="dark"] .article-title { color: var(--color-text); }

[data-theme="dark"] .article-card__title a { color: var(--color-text); }

[data-theme="dark"] .sidebar-widget {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .widget-title { color: var(--color-text); }

[data-theme="dark"] .trending-item__title,
[data-theme="dark"] .trending-item__title a { color: var(--color-text); }

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text);
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder { color: var(--color-text-light); }

[data-theme="dark"] .comment {
    background: var(--color-surface);
    border-left-color: var(--color-border);
}

[data-theme="dark"] .comment-form {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .comment__author { color: var(--color-text); }

[data-theme="dark"] .article-body { color: var(--color-text); }
[data-theme="dark"] .article-body h2,
[data-theme="dark"] .article-body h3 { color: var(--color-text); }
[data-theme="dark"] .article-body blockquote {
    background: rgba(15, 118, 110, 0.1);
    color: var(--color-text);
}

[data-theme="dark"] .breadcrumbs .current { color: var(--color-text); }
[data-theme="dark"] .breadcrumbs a { color: var(--color-text-secondary); }

[data-theme="dark"] .btn-outline {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
}
[data-theme="dark"] .btn-outline:hover { background: var(--color-bg); }

[data-theme="dark"] .tag-pill {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

[data-theme="dark"] .ad-zone {
    background: var(--color-surface);
    border-color: var(--color-border);
}

[data-theme="dark"] .page-link {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text-secondary);
}

[data-theme="dark"] .author-box {
    background: var(--color-surface);
    border-color: var(--color-border);
}
[data-theme="dark"] .author-box__name { color: var(--color-text); }

[data-theme="dark"] .featured-image-preview,
[data-theme="dark"] .article-featured-image img { border-radius: var(--radius-xl); }

/* ── Dark Mode Toggle Button ─────────────────────────────────────────────────── */
.dark-mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    padding: 0;
}

.dark-mode-toggle:hover {
    background: var(--color-bg);
    color: var(--color-text);
    border-color: var(--color-text-light);
}

.dark-mode-toggle .icon-sun  { display: none; }
.dark-mode-toggle .icon-moon { display: block; }

[data-theme="dark"] .dark-mode-toggle .icon-sun  { display: block; }
[data-theme="dark"] .dark-mode-toggle .icon-moon { display: none; }

/* ── Back to Top Button ──────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration) var(--ease);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-3px);
}

/* ── Reduced motion support ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ticker-items { animation: none !important; }
    .reading-progress { display: none; }
}

/* ── Accessibility: focus visible on all interactive ─────────────────────────── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link improvements */
.skip-link {
    background: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ── Print optimization ──────────────────────────────────────────────────────── */
@media print {
    body { color: #000 !important; background: #fff !important; }
    .site-header, .site-nav, .breaking-ticker, .sidebar,
    .share-section, .comments-section, .site-footer,
    .ad-zone, .newsletter-widget, .reading-progress,
    .back-to-top, .dark-mode-toggle { display: none !important; }
    .article-page { max-width: 100% !important; }
    .article-title { color: #000 !important; font-size: 24pt !important; }
    .article-body { font-size: 12pt !important; line-height: 1.6 !important; }
    a { color: #000 !important; text-decoration: underline !important; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
    img { max-width: 100% !important; page-break-inside: avoid; }
}

/* ============================================================
   Hero Carousel — Ultra Modern Editorial
   ============================================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    height: clamp(480px, 70vh, 640px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: var(--sp-8);
    background: var(--color-text);
    isolation: isolate;
}

@media (max-width: 767px) {
    .hero-carousel {
        border-radius: var(--radius-lg);
        height: clamp(480px, 80vh, 580px);
        margin-bottom: var(--sp-6);
    }
}

.hero-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease;
}

.hero-slide.is-active .hero-slide__bg img {
    transform: scale(1.08);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0,0,0,0.1) 0%,
            rgba(0,0,0,0.4) 50%,
            rgba(0,0,0,0.85) 100%),
        linear-gradient(90deg,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.15) 60%,
            rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-slide__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding-bottom: 70px;
}

@media (max-width: 767px) {
    .hero-slide__content { padding-bottom: 60px; }
}

.hero-slide__body {
    max-width: 720px;
    color: #fff;
    animation: heroFadeIn 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-slide__category {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.hero-slide__category:hover {
    transform: translateY(-2px);
    color: #fff;
}

.hero-slide__title {
    font-family: var(--font-hero);
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-slide__title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.4s ease;
}

.hero-slide__title a:hover {
    color: #fff;
    background-size: 100% 2px;
}

@media (max-width: 767px) {
    .hero-slide__title {
        font-size: 1.625rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.hero-slide__excerpt {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    max-width: 600px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

@media (max-width: 767px) {
    .hero-slide__excerpt {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }
}

.hero-slide__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.75);
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-slide__meta a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.hero-slide__meta a:hover { color: #fff; text-decoration: underline; }

.hero-slide__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.hero-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    color: var(--color-text);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-slide__cta:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 118, 110, 0.4);
}

.hero-slide__cta svg { transition: transform 0.3s ease; }
.hero-slide__cta:hover svg { transform: translateX(4px); }

/* Navigation arrows */
.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-carousel:hover .hero-carousel__arrow { opacity: 1; }

.hero-carousel__arrow:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.08);
}

.hero-carousel__arrow--prev { left: 20px; }
.hero-carousel__arrow--next { right: 20px; }

@media (max-width: 767px) {
    .hero-carousel__arrow {
        width: 40px;
        height: 40px;
        opacity: 1;
        background: rgba(0,0,0,0.4);
    }
    .hero-carousel__arrow--prev { left: 12px; }
    .hero-carousel__arrow--next { right: 12px; }
}

/* Dots */
.hero-carousel__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 999px;
}

.hero-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-carousel__dot:hover { background: rgba(255,255,255,0.7); }

.hero-carousel__dot.is-active {
    background: #fff;
    width: 28px;
    border-radius: 999px;
}

/* Progress bar */
.hero-carousel__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.1);
    z-index: 3;
}

.hero-carousel__progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), #34d399);
    transition: width 0.1s linear;
}

/* Swipe hint */
@media (max-width: 767px) {
    .hero-carousel::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 12px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        pointer-events: none;
        animation: swipeHint 2.5s ease-in-out 1s 2;
        opacity: 0;
        z-index: 4;
    }
}

@keyframes swipeHint {
    0%   { transform: translate(0, -50%);      opacity: 0; }
    30%  { transform: translate(-8px, -50%);   opacity: 1; }
    60%  { transform: translate(-40px, -50%);  opacity: 0.6; }
    100% { transform: translate(-40px, -50%);  opacity: 0; }
}

/* Remove old hero-section styles conflict */
.hero-section { margin-bottom: var(--sp-6); }

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS ARCHIVE — /news
   ═══════════════════════════════════════════════════════════════════════════ */
.news-archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--color-border-light);
}

.news-archive-title {
    font-family: var(--font-hero);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -1px;
    line-height: 1.1;
}

.news-archive-subtitle {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    margin-top: 8px;
}

.news-archive-stats {
    display: flex;
    gap: var(--sp-6);
    flex-wrap: wrap;
}

.news-stat {
    text-align: center;
}

.news-stat__number {
    font-family: var(--font-hero);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.news-stat__label {
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 4px;
}

@media (max-width: 640px) {
    .news-archive-stats { gap: var(--sp-4); }
    .news-stat__number { font-size: 1.375rem; }
}

/* Filters */
.news-filters {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-3);
    margin-bottom: var(--sp-4);
    box-shadow: var(--shadow-card);
}

.news-filters__form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

.filter-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: all 0.15s;
}

.filter-chip:hover {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text);
}

.filter-chip.is-active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.filter-selects {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 32px 8px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-surface);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.15s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 140px;
}

.filter-select:hover { border-color: var(--color-text-light); }
.filter-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }

.news-results-count {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-4);
}

.news-empty {
    text-align: center;
    padding: var(--sp-12) var(--sp-4);
    color: var(--color-text-secondary);
}

.news-empty h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTHOR PROFILE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.author-hero {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--sp-4);
    box-shadow: var(--shadow-card);
}

.author-hero__banner {
    height: 140px;
    background:
        linear-gradient(135deg, var(--color-primary) 0%, #34d399 50%, #0F766E 100%),
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 40%);
    background-blend-mode: overlay;
    position: relative;
}

.author-hero__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.author-hero__body {
    padding: 0 var(--sp-6) var(--sp-6);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    align-items: start;
}

@media (min-width: 900px) {
    .author-hero__body {
        grid-template-columns: auto 1fr auto;
        gap: var(--sp-6);
    }
}

.author-hero__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-hero);
    font-size: 3.5rem;
    font-weight: 700;
    border: 5px solid var(--color-surface);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: -70px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.author-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .author-hero__avatar { width: 100px; height: 100px; font-size: 2.5rem; margin-top: -50px; }
}

.author-hero__info { padding-top: var(--sp-3); }

.author-hero__role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.author-hero__name {
    font-family: var(--font-hero);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.author-hero__bio {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: var(--text-base);
    max-width: 620px;
    margin-bottom: var(--sp-3);
}

.author-hero__meta {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: var(--sp-3);
}

.author-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-hero__social {
    display: flex;
    gap: 8px;
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-text-secondary);
    border: 1.5px solid var(--color-border);
    transition: all 0.15s;
}

.author-social-link:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.author-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    align-self: start;
    margin-top: var(--sp-3);
    min-width: 240px;
}

@media (min-width: 900px) {
    .author-hero__stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: var(--sp-3);
    }
}

@media (min-width: 1200px) {
    .author-hero__stats {
        grid-template-columns: repeat(4, 1fr);
        min-width: 400px;
    }
}

.author-stat {
    text-align: center;
    padding: 4px;
}

.author-stat__number {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.author-stat__label {
    font-family: var(--font-headline);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Category strip */
.author-categories-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: var(--sp-3) var(--sp-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-4);
    box-shadow: var(--shadow-card);
}

.author-categories-strip__label {
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-right: 4px;
}

.author-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.author-cat-badge:hover {
    background: var(--color-surface);
    color: var(--color-text);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.author-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-cat-count {
    background: var(--color-border);
    color: var(--color-text-muted);
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 2px;
}

/* Featured Article on author page */
.author-featured-section { margin-bottom: var(--sp-6); }

.author-featured-article {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

@media (min-width: 700px) {
    .author-featured-article { grid-template-columns: 1fr 1fr; }
}

.author-featured-article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.author-featured-article__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
}

@media (min-width: 700px) {
    .author-featured-article__image { aspect-ratio: auto; height: 100%; min-height: 280px; }
}

.author-featured-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.author-featured-article:hover .author-featured-article__image img { transform: scale(1.05); }

.author-featured-article__image .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
}

.author-featured-article__body {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.author-featured-article__title {
    font-family: var(--font-hero);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.author-featured-article__title a {
    color: inherit;
    text-decoration: none;
}

.author-featured-article__title a:hover { color: var(--color-primary); }

.author-featured-article__excerpt {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-featured-article__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 4px;
    flex-wrap: wrap;
}

/* Author tabs */
.author-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: var(--sp-4);
    box-shadow: var(--shadow-card);
}

.author-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-family: var(--font-headline);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.author-tab:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.author-tab.is-active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.author-tabs__count {
    margin-left: auto;
    padding: 0 12px;
    font-size: 12px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — Editorial Magazine Layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Trending Strip (horizontal ranked ticker) ──────────────────────────── */
.trending-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: var(--sp-6);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.trending-strip__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-headline);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
}

.trending-strip__items {
    display: flex;
    overflow-x: auto;
    flex: 1;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.trending-strip__items::-webkit-scrollbar { display: none; }

.trending-strip__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-right: 1px solid var(--color-border-light);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
    min-width: 260px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.trending-strip__item:last-child { border-right: 0; }

.trending-strip__item:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.trending-strip__rank {
    font-family: var(--font-hero);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    min-width: 20px;
    letter-spacing: -1px;
}

.trending-strip__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.trending-strip__cat {
    font-family: var(--font-headline);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trending-strip__title {
    font-family: var(--font-headline);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .trending-strip { flex-direction: column; align-items: stretch; }
    .trending-strip__label { justify-content: center; padding: 10px 16px; }
    .trending-strip__item { min-width: 280px; }
}

/* ── Editor's Picks — 3-column premium ──────────────────────────────────── */
.editors-picks {
    margin-bottom: var(--sp-8);
}

.editors-picks__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

@media (min-width: 900px) {
    .editors-picks__grid {
        grid-template-columns: 2fr 1fr;
        gap: var(--sp-4);
    }
}

.editors-picks__lead {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.editors-picks__lead:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.editors-picks__lead-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
}

.editors-picks__lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.editors-picks__lead:hover .editors-picks__lead-image img { transform: scale(1.04); }

.editors-picks__lead-image .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
}

.editors-picks__lead-body {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editors-picks__lead-title {
    font-family: var(--font-hero);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.editors-picks__lead-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.editors-picks__lead-title a:hover { color: var(--color-primary); }

.editors-picks__lead-excerpt {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editors-picks__stack {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.editors-picks__mini {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--sp-3);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s;
    flex: 1;
    min-height: 0;
}

@media (min-width: 900px) {
    .editors-picks__mini { grid-template-columns: 140px 1fr; }
}

.editors-picks__mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.editors-picks__mini-image {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 1;
}

.editors-picks__mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.editors-picks__mini:hover .editors-picks__mini-image img { transform: scale(1.06); }

.editors-picks__mini-body {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.editors-picks__mini-title {
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    margin-top: 2px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editors-picks__mini-title a {
    color: inherit;
    text-decoration: none;
}

.editors-picks__mini-title a:hover { color: var(--color-primary); }

/* ── Latest Section CTA ─────────────────────────────────────────────────── */
.latest-section__cta {
    text-align: center;
    margin-top: var(--sp-4);
    padding-top: var(--sp-3);
}

/* ── Newsletter Banner ──────────────────────────────────────────────────── */
.newsletter-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d5f5a 100%);
    border-radius: var(--radius-xl);
    padding: var(--sp-6);
    margin: var(--sp-6) 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 8px 30px rgba(15, 118, 110, 0.25);
}

.newsletter-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-banner__content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .newsletter-banner__content {
        grid-template-columns: auto 1fr auto;
        gap: var(--sp-6);
    }
}

.newsletter-banner__icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    grid-row: 1 / -1;
}

@media (min-width: 900px) {
    .newsletter-banner__icon { grid-row: auto; }
}

.newsletter-banner__text h3 {
    font-family: var(--font-hero);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.newsletter-banner__text p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-banner__form {
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
}

@media (min-width: 900px) {
    .newsletter-banner__form { grid-column: auto; }
}

.newsletter-banner__form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 14px;
    outline: none;
    min-width: 200px;
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.2);
}

.newsletter-banner__form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-banner__form input:focus { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.4); }

.newsletter-banner__form button {
    padding: 12px 24px;
    background: #fff;
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.newsletter-banner__form button:hover {
    background: var(--color-text);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ── Category Section (Magazine Layout) ─────────────────────────────────── */
.category-section {
    margin-bottom: var(--sp-8);
}

.section-heading__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.category-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

@media (min-width: 900px) {
    .category-section__grid {
        grid-template-columns: 1.4fr 1fr;
        gap: var(--sp-5);
    }
}

.category-section__lead {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.category-section__lead:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.category-section__lead-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
}

.category-section__lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-section__lead:hover .category-section__lead-image img { transform: scale(1.04); }

.category-section__lead-image .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
}

.category-section__lead-body {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-section__lead-title {
    font-family: var(--font-hero);
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

.category-section__lead-title a {
    color: inherit;
    text-decoration: none;
}

.category-section__lead-title a:hover { color: var(--color-primary); }

.category-section__lead-excerpt {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-section__side {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.category-section__side-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: start;
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--color-border-light);
    transition: transform 0.2s;
}

.category-section__side-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.category-section__side-item:hover { transform: translateX(3px); }

.category-section__side-image {
    display: block;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg);
}

.category-section__side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.category-section__side-item:hover .category-section__side-image img { transform: scale(1.08); }

.category-section__side-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.category-section__side-title {
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-section__side-title a {
    color: inherit;
    text-decoration: none;
}

.category-section__side-title a:hover { color: var(--color-primary); }

.category-section__side-meta {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* ── Final CTA (bottom of homepage) ─────────────────────────────────────── */
.final-cta {
    text-align: center;
    padding: var(--sp-8) var(--sp-4);
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    margin-top: var(--sp-8);
}

.final-cta__content h3 {
    font-family: var(--font-hero);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.final-cta__content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--sp-4);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.final-cta__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTHOR PAGE — Mobile bio fix
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .author-hero__body {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
        text-align: center;
    }

    .author-hero__avatar {
        margin: -50px auto 0;
    }

    .author-hero__info {
        padding-top: 0;
        text-align: center;
    }

    .author-hero__bio {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
        line-height: 1.6;
        display: block;
        overflow: visible;
    }

    .author-hero__meta {
        justify-content: center;
    }

    .author-hero__social {
        justify-content: center;
    }

    .author-hero__stats {
        min-width: 0;
        width: 100%;
        margin-top: var(--sp-2);
    }

    .author-hero__role-badge {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Read more toggle for extremely long bios */
.author-hero__bio {
    position: relative;
    max-height: none;
    overflow: visible;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Newsletter Banner — Mobile Overflow Fix
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .newsletter-banner {
        padding: var(--sp-4);
        border-radius: var(--radius-lg);
    }

    .newsletter-banner::before {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }

    .newsletter-banner__content {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
        text-align: center;
    }

    .newsletter-banner__icon {
        width: 52px;
        height: 52px;
        margin: 0 auto;
        grid-row: auto;
    }

    .newsletter-banner__icon svg {
        width: 26px;
        height: 26px;
    }

    .newsletter-banner__text h3 {
        font-size: 1.125rem;
    }

    .newsletter-banner__text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .newsletter-banner__form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .newsletter-banner__form input {
        min-width: 0;
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }

    .newsletter-banner__form button {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .newsletter-banner {
        padding: var(--sp-3);
        margin-left: calc(var(--sp-2) * -1);
        margin-right: calc(var(--sp-2) * -1);
        border-radius: 0;
    }
}

/* Prevent any form overflow on mobile */
@media (max-width: 480px) {
    input, textarea, select {
        max-width: 100%;
        box-sizing: border-box;
    }
    form { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIVE EVENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Pulse dot animation */
.live-pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-breaking);
    animation: live-pulse 1.5s infinite;
    flex-shrink: 0;
    vertical-align: middle;
}

@keyframes live-pulse {
    0%   { transform: scale(1);   opacity: 1;   box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    50%  { transform: scale(1.1); opacity: 0.7; box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
    100% { transform: scale(1);   opacity: 1;   box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Status badges */
.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.live-status-badge--live      { background: var(--color-breaking); color: #fff; }
.live-status-badge--scheduled { background: rgba(59, 130, 246, 0.1); color: #1E40AF; }
.live-status-badge--ended     { background: var(--color-bg); color: var(--color-text-muted); }

/* Index page */
.live-index-hero {
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--color-border-light);
}

.live-index-title {
    font-family: var(--font-hero);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -1px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-index-subtitle {
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.live-section { margin-bottom: var(--sp-6); }

.live-section-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--sp-4);
    display: flex;
    align-items: center;
}

.live-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

@media (min-width: 700px) {
    .live-events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .live-events-grid { grid-template-columns: repeat(3, 1fr); }
}

.live-event-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.live-event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.live-event-card--live {
    border-color: var(--color-breaking);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.live-event-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.live-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.live-event-card:hover .live-event-card__image img { transform: scale(1.05); }

.live-event-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 40%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.live-event-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--color-breaking);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.live-event-card__body {
    padding: var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.live-event-card__cat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    align-self: flex-start;
}

.live-event-card__title {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.live-event-card__desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-event-card__meta {
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
    flex-wrap: wrap;
}

.live-empty {
    text-align: center;
    padding: var(--sp-12) var(--sp-4);
    color: var(--color-text-secondary);
}

.live-past-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-past-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-3);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.15s;
}

.live-past-item:hover {
    background: var(--color-bg);
    color: var(--color-text);
    transform: translateX(3px);
}

.live-past-item h4 {
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.live-past-item span {
    font-size: 12px;
    color: var(--color-text-light);
}

/* Event show page */
.live-event-header {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--sp-4);
    position: relative;
}

.live-event-header__cover {
    position: relative;
    aspect-ratio: 21/9;
    overflow: hidden;
    background: var(--color-text);
}

.live-event-header__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-event-header__cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 40%);
}

.live-event-header__content {
    padding: var(--sp-4);
}

.live-event-header__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--sp-2);
}

.live-event-header__cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    color: #fff;
    font-family: var(--font-headline);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.live-event-header__title {
    font-family: var(--font-hero);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.live-event-header__desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--sp-3);
    max-width: 700px;
}

.live-event-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-secondary);
    flex-wrap: wrap;
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--sp-3);
}

.live-event-header__meta strong { color: var(--color-text); }
.live-event-header__meta svg { vertical-align: -3px; margin-right: 4px; }

.live-event-header__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#followEventBtn.is-following {
    background: var(--color-success);
    border-color: var(--color-success);
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Live Results Widget — Modern Design
   ═══════════════════════════════════════════════════════════════════════════ */
.live-results-widget {
    background: linear-gradient(135deg, #0F766E 0%, #0d5f5a 60%, #0a4a46 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 0;
    margin-bottom: var(--sp-4);
    box-shadow: 0 8px 30px rgba(15, 118, 110, 0.2);
    overflow: hidden;
    position: relative;
    max-width: 100%;
}

.live-results-widget::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.live-results-widget__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-4) var(--sp-4) var(--sp-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.live-results-widget__header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-results-widget__header h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse-dot 1.5s infinite;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}

.live-results-widget__meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.live-results-widget__meta::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: pulse-dot 1.5s infinite;
}

/* ── ELECTION RESULTS ─────────────────────────────────────────────────────── */
.election-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: var(--sp-4);
    position: relative;
    z-index: 1;
}

.election-candidate {
    background: rgba(255, 255, 255, 0.06);
    padding: 14px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
}

.election-candidate:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.election-candidate__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    flex-wrap: wrap;
}

.election-candidate__header > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.election-candidate__header strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.election-candidate__header span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.election-candidate__header > div:last-child {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.election-candidate__votes {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.election-candidate__pct {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.election-candidate__bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.election-candidate__bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #fff 0%, #34d399 100%);
    position: relative;
    overflow: hidden;
}

.election-candidate__bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.election-total {
    text-align: center;
    padding: 10px var(--sp-4) var(--sp-4);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

.election-total strong {
    color: #fff;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

/* ── MATCH SCOREBOARD ─────────────────────────────────────────────────────── */
.match-scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--sp-3);
    align-items: center;
    text-align: center;
    color: #fff;
    padding: var(--sp-5) var(--sp-4);
    position: relative;
    z-index: 1;
}

.match-team {
    min-width: 0;
    padding: 0 8px;
}

.match-team__name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 3vw, 15px);
    font-weight: 700;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    word-break: break-word;
}

.match-team__score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -3px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.match-vs {
    text-align: center;
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 60px;
}

.match-status {
    display: inline-block;
    background: #DC2626;
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.match-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'SF Mono', 'Consolas', monospace;
    font-weight: 600;
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .live-results-widget__header {
        padding: var(--sp-3);
    }
    .live-results-widget__header h3 { font-size: 1rem; }
    .live-results-widget__meta { font-size: 10px; }

    .election-results { padding: var(--sp-3); gap: 10px; }
    .election-candidate { padding: 12px; }
    .election-candidate__header strong { font-size: 13px; }
    .election-candidate__votes { font-size: 1.125rem; }

    .match-scoreboard { padding: var(--sp-4) var(--sp-2); gap: 8px; }
    .match-team__name { font-size: 11px; }
}

/* Updates stream */
.live-updates-stream {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--sp-4);
    box-shadow: var(--shadow-card);
}

.live-updates-stream__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--color-border-light);
    margin-bottom: var(--sp-3);
}

.live-updates-stream__header h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.live-updates-stream__count {
    font-size: 12px;
    color: var(--color-text-light);
    background: var(--color-bg);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.live-updates-empty {
    text-align: center;
    padding: var(--sp-6);
    color: var(--color-text-light);
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.updates-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-border) 0%, var(--color-border-light) 100%);
    z-index: 0;
}

.live-update {
    position: relative;
    padding: var(--sp-4) 0 var(--sp-4) 60px;
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1;
}

.live-update:last-child {
    border-bottom: 0;
}

.live-update::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 24px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 3px solid var(--color-primary);
    z-index: 2;
}

.live-update--pinned::before,
.live-update--important::before {
    background: var(--color-breaking);
    border-color: var(--color-breaking);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.live-update--pinned {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.03) 0%, transparent 100%);
    border-radius: var(--radius-md);
    padding-left: 60px;
    padding-right: var(--sp-3);
    margin-bottom: var(--sp-2);
}

.live-update--new {
    animation: updateFadeIn 0.6s ease;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0.06) 0%, transparent 100%);
}

@keyframes updateFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.live-update__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.live-update__avatar {
    position: absolute;
    left: 0;
    top: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), #34d399);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
    z-index: 3;
    border: 3px solid var(--color-surface);
}

.live-update__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-update__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.live-update__author {
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
}

.live-update__time {
    font-size: 12px;
    color: var(--color-text-light);
}

.live-update__type-badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: auto;
}

.live-update__type-badge--breaking { background: var(--color-breaking); color: #fff; }
.live-update__type-badge--analysis { background: rgba(139, 92, 246, 0.15); color: #6D28D9; }
.live-update__type-badge--photo    { background: rgba(59, 130, 246, 0.15); color: #1E40AF; }
.live-update__type-badge--video    { background: rgba(236, 72, 153, 0.15); color: #BE185D; }
.live-update__type-badge--result   { background: rgba(16, 185, 129, 0.15); color: #065F46; }
.live-update__type-badge--quote    { background: rgba(212, 160, 23, 0.15); color: #92400E; }
.live-update__type-badge--milestone{ background: var(--color-primary-light); color: var(--color-primary); }

.live-update__pinned-badge {
    margin-left: auto;
    font-size: 14px;
}

.live-update__body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
}

.live-update__image {
    margin-top: 12px;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.live-update__linked-article {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 14px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s;
}

.live-update__linked-article:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* New update toast */
.new-update-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-breaking);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 14px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: toastSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastSlideUp {
    from { transform: translate(-50%, 20px); opacity: 0; }
    to   { transform: translate(-50%, 0);    opacity: 1; }
}

.event-ended-banner {
    padding: 14px 20px;
    background: var(--color-warning-bg);
    color: #92400E;
    border-top: 2px solid var(--color-warning);
    font-family: var(--font-headline);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Mobile */
@media (max-width: 640px) {
    .live-event-header__content { padding: var(--sp-3); }
    .live-event-header__actions { flex-direction: column; }
    .live-event-header__actions .btn { width: 100%; justify-content: center; }
    .match-team__score { font-size: 3rem; }
    .live-update { padding-left: 52px; }
    .live-update__avatar { width: 36px; height: 36px; left: 0; top: 18px; }
    .live-update::before { left: 10px; }
    .updates-list::before { left: 17px; }
    .live-update--pinned { padding-left: 52px; }
}

.nav-live-link {
    color: var(--color-breaking) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-weight: 800 !important;
}
.nav-live-link:hover { color: var(--color-breaking) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   Sitewide Live Bar (shows on all pages when event is active)
   ═══════════════════════════════════════════════════════════════════════════ */
.sitewide-live-bar {
    position: sticky;
    top: 0;
    z-index: 998;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: #fff;
    display: flex;
    align-items: stretch;
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.sitewide-live-bar__link {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
    transition: background 0.2s;
}

.sitewide-live-bar__link:hover {
    background: rgba(0,0,0,0.1);
    color: #fff;
}

.sitewide-live-bar__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.2);
    padding: 6px 12px;
    border-radius: 999px;
    flex-shrink: 0;
}

.sitewide-live-bar__badge .live-pulse-dot {
    background: #fff !important;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.5);
}

.sitewide-live-bar__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
}

.sitewide-live-bar__content {
    min-width: 0;
    overflow: hidden;
}

.sitewide-live-bar__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.sitewide-live-bar__update {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sitewide-live-bar__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sitewide-live-bar__link:hover .sitewide-live-bar__cta {
    background: #fff;
    color: #DC2626;
}

.sitewide-live-bar__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.sitewide-live-bar__close:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .sitewide-live-bar__link {
        grid-template-columns: auto 1fr;
        gap: 10px;
        padding: 10px 12px;
    }

    .sitewide-live-bar__badge {
        padding: 4px 10px;
        gap: 6px;
    }

    .sitewide-live-bar__label {
        font-size: 10px;
    }

    .sitewide-live-bar__title {
        font-size: 13px;
    }

    .sitewide-live-bar__update {
        font-size: 11px;
    }

    .sitewide-live-bar__cta {
        display: none;
    }

    .sitewide-live-bar__close {
        padding: 0 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Beat Homepage Callout — properly constrained
   ═══════════════════════════════════════════════════════════════════════════ */
.beat-home-callout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    border-radius: var(--radius-xl);
    padding: var(--sp-5);
    color: #fff;
    text-decoration: none;
    margin: var(--sp-6) 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beat-home-callout:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.35);
    color: #fff;
}

.beat-home-callout__glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.beat-home-callout__inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .beat-home-callout {
        padding: var(--sp-4);
        border-radius: var(--radius-lg);
        margin: var(--sp-4) 0;
    }

    .beat-home-callout__glow {
        width: 180px;
        height: 180px;
        top: -30px;
        right: -30px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Live Event Comments
   ═══════════════════════════════════════════════════════════════════════════ */
.live-comments {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--sp-4);
    margin-top: var(--sp-4);
    box-shadow: var(--shadow-card);
}

.live-comments__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid var(--color-border-light);
    margin-bottom: var(--sp-3);
}

.live-comments__header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-comments__count {
    font-size: 12px;
    color: var(--color-text-light);
    background: var(--color-bg);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.live-comments__disabled {
    text-align: center;
    padding: var(--sp-4);
    color: var(--color-text-muted);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    font-size: 14px;
}

/* Comment form */
.live-comment-form {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-3);
    margin-bottom: var(--sp-4);
    transition: border-color 0.15s;
}

.live-comment-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.live-comment-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

@media (max-width: 500px) {
    .live-comment-form__row { grid-template-columns: 1fr; }
}

.live-comment-form__name,
.live-comment-form__email {
    padding: 10px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-size: 13px;
    font-family: inherit;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
}

.live-comment-form__name:focus,
.live-comment-form__email:focus {
    border-color: var(--color-primary);
}

.live-comment-form__body-wrap {
    position: relative;
}

.live-comment-form__body {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
    resize: vertical;
    min-height: 60px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.15s;
}

.live-comment-form__body:focus {
    border-color: var(--color-primary);
}

.live-comment-form__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 11px;
    color: var(--color-text-light);
}

.live-comment-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.live-comment-form__submit:hover:not(:disabled) {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.live-comment-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.live-comment-form__note {
    font-size: 11px;
    color: var(--color-text-light);
    margin-top: 8px;
    font-style: italic;
}

.live-comment-form__message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    animation: fadeIn 0.3s ease;
}

.live-comment-form__message--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.live-comment-form__message--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Comments list */
.live-comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 4px;
}

.live-comments-list::-webkit-scrollbar {
    width: 6px;
}
.live-comments-list::-webkit-scrollbar-track {
    background: transparent;
}
.live-comments-list::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}

.live-comments-empty {
    text-align: center;
    padding: var(--sp-5);
    color: var(--color-text-light);
    font-size: 14px;
}

/* Individual comment */
.live-comment {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    transition: background 0.2s, transform 0.3s;
    animation: commentSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-comment--new {
    background: var(--color-primary-light);
    animation: commentPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes commentSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes commentPop {
    0%   { opacity: 0; transform: scale(0.95) translateY(-8px); }
    60%  { transform: scale(1.02) translateY(0); }
    100% { opacity: 1; transform: scale(1); }
}

.live-comment--pinned {
    background: #FFFBEB;
    border-left: 3px solid #F59E0B;
    padding-left: 9px;
}

.live-comment--highlighted {
    background: var(--color-primary-light);
    border-left: 3px solid var(--color-primary);
    padding-left: 9px;
}

.live-comment__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.live-comment__body {
    min-width: 0;
}

.live-comment__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.live-comment__author {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
}

.live-comment__badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'Montserrat', sans-serif;
}

.live-comment__badge--pinned {
    background: #F59E0B;
    color: #fff;
}

.live-comment__badge--highlighted {
    background: var(--color-primary);
    color: #fff;
}

.live-comment__time {
    font-size: 11px;
    color: var(--color-text-light);
    margin-left: auto;
}

.live-comment__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}