/* ═══════════════════════════════════════════════════════════════
   theHold — Bloomberg Clean (Variant 1)
   Flat design · Sharp edges · Content-first · Authoritative
   ═══════════════════════════════════════════════════════════════ */

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

:root {
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #ebebeb;
    --bg-hover: #e8e8e8;
    --bg-dark: #111111;
    --bg-dark-hover: #1a1a1a;

    /* Text */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-tertiary: #999999;
    --text-inverse: #ffffff;

    /* Borders */
    --border-primary: #e0e0e0;
    --border-heavy: #111111;
    --border-light: #f0f0f0;

    /* Accent — Bloomberg blue */
    --accent: #0066CF;
    --accent-hover: #0052a3;
    --accent-subtle: rgba(0, 102, 207, 0.06);

    /* Functional */
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;

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

    /* No rounded corners — Bloomberg flat */
    --radius-0: 0;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 100ms ease;
    --transition-base: 180ms ease;
    --transition-slow: 280ms ease;

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

    /* Layout */
    --max-width: 1200px;
    --header-height: 48px;
    --nav-height: 0px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    text-decoration: underline;
}

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

/* ══════════════════════════════════════════════════════════════
   TOP BAR — Dark utility strip
   ══════════════════════════════════════════════════════════════ */
.top-bar {
    background: #1a1a1a;
    color: #ccc;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.top-bar-row {
    border-bottom: 1px solid #2a2a2a;
}

.top-bar-row:last-child {
    border-bottom: none;
}

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

.top-bar-left {
    display: flex;
    gap: var(--space-4);
}

.top-bar-link {
    color: #aaa;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.top-bar-link:hover {
    color: #fff;
    text-decoration: none;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.top-bar-search-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.top-bar-search-btn:hover {
    color: #fff;
}

.top-bar-tg {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- LED Crypto Ticker (Marquee) --- */
.led-ticker {
    position: relative;
    height: 36px;
    overflow: hidden;
    background: #0d0d0d;
}

.led-ticker-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(247, 147, 26, 0.15) 0%,
            rgba(247, 147, 26, 0.05) 10%,
            rgba(98, 126, 234, 0.15) 20%,
            rgba(98, 126, 234, 0.05) 30%,
            rgba(0, 255, 163, 0.10) 40%,
            rgba(243, 186, 47, 0.10) 50%,
            rgba(0, 0, 0, 0) 60%,
            rgba(150, 75, 200, 0.10) 70%,
            rgba(247, 147, 26, 0.12) 80%,
            rgba(98, 126, 234, 0.10) 90%,
            rgba(0, 255, 163, 0.08) 100%);
    background-size: 200% 100%;
    animation: led-bg-shift 20s linear infinite;
    pointer-events: none;
}

@keyframes led-bg-shift {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.led-ticker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            #0d0d0d 0%,
            transparent 4%,
            transparent 96%,
            #0d0d0d 100%);
    pointer-events: none;
    z-index: 2;
}

.led-ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: led-scroll 45s linear infinite;
    position: relative;
    z-index: 1;
}

.led-ticker:hover .led-ticker-track {
    animation-play-state: paused;
}

@keyframes led-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.led-set {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.led-coin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    white-space: nowrap;
    height: 100%;
    cursor: default;
    transition: background 0.2s ease;
}

.led-coin:hover {
    background: rgba(255, 255, 255, 0.04);
}

.led-icon {
    font-size: 0.85rem;
    font-weight: 700;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* Coin-specific icon colors */
.led-icon-btc {
    color: #f7931a;
    text-shadow: 0 0 6px rgba(247, 147, 26, 0.4);
}

.led-icon-eth {
    color: #627eea;
    text-shadow: 0 0 6px rgba(98, 126, 234, 0.4);
}

.led-icon-sol {
    color: #00ffa3;
    text-shadow: 0 0 6px rgba(0, 255, 163, 0.3);
}

.led-icon-bnb {
    color: #f3ba2f;
    text-shadow: 0 0 6px rgba(243, 186, 47, 0.3);
}

.led-icon-xrp {
    color: #ffffff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

.led-icon-ada {
    color: #0033ad;
    text-shadow: 0 0 6px rgba(0, 51, 173, 0.4);
}

.led-icon-avax {
    color: #e84142;
    text-shadow: 0 0 6px rgba(232, 65, 66, 0.4);
}

.led-icon-doge {
    color: #c3a634;
    text-shadow: 0 0 6px rgba(195, 166, 52, 0.3);
}

.led-icon-dot {
    color: #e6007a;
    text-shadow: 0 0 6px rgba(230, 0, 122, 0.4);
}

.led-icon-link {
    color: #2a5ada;
    text-shadow: 0 0 6px rgba(42, 90, 218, 0.4);
}

.led-symbol {
    color: #ccc;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.led-price {
    color: #f0f0f0;
    font-weight: 700;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono), monospace;
    letter-spacing: -0.02em;
}

.led-change {
    font-size: 0.65rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.led-up {
    color: #16c784;
    text-shadow: 0 0 4px rgba(22, 199, 132, 0.3);
}

.led-down {
    color: #ea3943;
    text-shadow: 0 0 4px rgba(234, 57, 67, 0.3);
}

.led-sep {
    color: #2a2a2a;
    font-size: 0.65rem;
    user-select: none;
    flex-shrink: 0;
    padding: 0 2px;
}

/* ══════════════════════════════════════════════════════════════
   SEARCH OVERLAY
   ══════════════════════════════════════════════════════════════ */
.search-overlay {
    display: none;
    background: #fff;
    border-bottom: 2px solid var(--border-heavy);
    position: relative;
    z-index: 300;
}

.search-overlay.active {
    display: block;
}

.search-overlay-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-primary);
    border-bottom: 2px solid var(--border-heavy);
}

.search-input {
    flex: 1;
    padding: 10px var(--space-4);
    border: none;
    font-size: 0.92rem;
    font-family: inherit;
    background: transparent;
    outline: none;
}

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

.search-submit {
    padding: 10px var(--space-4);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.search-submit:hover {
    color: var(--text-primary);
}

.search-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 8px;
    transition: color var(--transition-fast);
}

.search-close:hover {
    color: var(--text-primary);
}

.search-empty {
    padding: var(--space-8) 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
}

.search-empty a {
    color: var(--accent);
}

/* ══════════════════════════════════════════════════════════════
   HEADER — White main row, bigger logo
   ══════════════════════════════════════════════════════════════ */
.site-header {
    background: var(--bg-primary);
    border-bottom: 2px solid var(--border-heavy);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 120px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-text strong {
    font-weight: 900;
    color: var(--text-primary);
}

.logo:hover {
    text-decoration: none;
}

/* Header nav — inline */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
    display: none;
}

.header-nav .nav-item {
    position: relative;
}

.header-nav .nav-item>a {
    display: inline-flex;
    align-items: center;
    padding: 0 var(--space-4);
    height: var(--header-height);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color var(--transition-fast);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.header-nav .nav-item>a:hover,
.header-nav .nav-item.active>a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom-color: var(--accent);
}

.header-nav .nav-sep {
    color: var(--border-primary);
    font-size: 0.75rem;
    user-select: none;
    flex-shrink: 0;
}

/* Dropdowns */
.header-nav .nav-item.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-top: 2px solid var(--border-heavy);
    padding: var(--space-2) 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.dropdown a {
    display: block;
    padding: var(--space-2) var(--space-5);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background var(--transition-fast);
}

.dropdown a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Old .main-nav — hidden in Bloomberg, nav is in header */
.main-nav {
    display: none;
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════════════════════ */
.breadcrumbs {
    background: #f2f3f5;
    border-bottom: 1px solid #e8eaed;
}

.breadcrumbs-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px var(--space-6);
    font-size: 0.72rem;
    color: #8b8f97;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #8b8f97;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumbs a:hover {
    color: #f7931a;
    text-decoration: none;
}

.breadcrumbs .sep {
    margin: 0 var(--space-2);
    color: #ccc;
}

.breadcrumbs .current {
    color: #555;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════════════════════════ */
.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ══════════════════════════════════════════════════════════════
   HERO — Removed. Bloomberg goes straight to content.
   ══════════════════════════════════════════════════════════════ */
.hero {
    display: none;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */
.section-header {
    margin-bottom: var(--space-4);
    padding-top: var(--space-8);
    border-bottom: 2px solid var(--border-heavy);
    padding-bottom: var(--space-3);
}

.section-header h2 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════════
   NEWSPAPER HERO — 3-column Front Page (25% | 50% | 25%)
   ══════════════════════════════════════════════════════════════ */
.newspaper-hero {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 0;
    border-bottom: 2px solid var(--border-heavy);
    padding: var(--space-5) 0;
}

/* ── Side columns ── */
.newspaper-col-side {
    display: flex;
    flex-direction: column;
}

.newspaper-col-side:first-child {
    padding-right: var(--space-5);
    border-right: 1px solid var(--border-primary);
}

.newspaper-col-side:last-child {
    padding-left: var(--space-5);
    border-left: 1px solid var(--border-primary);
}

/* Side cards */
.newspaper-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-primary);
}

.newspaper-card:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.newspaper-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.newspaper-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.newspaper-card-image:hover img {
    opacity: 0.9;
}

.newspaper-card-body .card-category {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-1);
    text-decoration: none;
}

.newspaper-card-body .card-category:hover {
    text-decoration: underline;
}

.newspaper-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-2);
}

.newspaper-card-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.newspaper-card-title a:hover {
    text-decoration: underline;
}

.newspaper-card-excerpt {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newspaper-card-date {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Center column (main headline) ── */
.newspaper-col-center {
    padding: 0 var(--space-5);
}

.newspaper-main-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.newspaper-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.newspaper-main-image:hover img {
    opacity: 0.9;
}

.newspaper-main-body .card-category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-2);
    text-decoration: none;
}

.newspaper-main-body .card-category:hover {
    text-decoration: underline;
}

.newspaper-main-title {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
}

.newspaper-main-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.newspaper-main-title a:hover {
    text-decoration: underline;
}

.newspaper-main-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.newspaper-main-meta {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE CARDS — Bloomberg Grid
   ══════════════════════════════════════════════════════════════ */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-bottom: var(--space-8);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.article-card {
    background: var(--bg-primary);
    border-right: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    overflow: hidden;
    transition: background var(--transition-fast);
}

.article-card:nth-child(3n) {
    border-right: none;
}

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

.card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.article-card:hover .card-image img {
    opacity: 0.92;
}

.card-body {
    padding: var(--space-4) var(--space-5) var(--space-5);
}

.card-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-2);
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
}

.card-category:hover {
    text-decoration: underline;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-meta .views {
    color: var(--text-tertiary);
}

/* Small article cards */
.article-card-sm .card-body {
    padding: var(--space-3) var(--space-4);
}

.article-card-sm .card-title {
    font-size: 0.88rem;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORIES SECTION
   ══════════════════════════════════════════════════════════════ */
.categories-section {
    padding-bottom: var(--space-12);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0;
}

.category-card {
    padding: var(--space-4) var(--space-5);
    text-decoration: none;
    border-right: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    transition: background var(--transition-fast);
}

.category-card:hover {
    background: var(--bg-secondary);
    text-decoration: none;
}

.category-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.category-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE SINGLE — Modern Light Theme
   ══════════════════════════════════════════════════════════════ */
.article-single {
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-4) var(--space-12);
}

.article-header {
    margin-bottom: var(--space-6);
    padding: 32px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.article-category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-3);
    text-decoration: none;
    background: linear-gradient(135deg, #ff6b35, #f7931a);
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.article-category:hover {
    opacity: 0.85;
    text-decoration: none;
}

.article-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: #1a1a2e;
    margin-bottom: var(--space-4);
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: 0.78rem;
    color: #999;
}

.article-meta .author {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: var(--space-6);
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Body — Content Typography */
.content-area {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2c2c3a;
}

.content-area h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: var(--space-10) 0 var(--space-4);
    letter-spacing: -0.02em;
    padding-bottom: var(--space-3);
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a2e;
}

.content-area h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: var(--space-8) 0 var(--space-3);
    color: #1a1a2e;
}

.content-area h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: var(--space-6) 0 var(--space-3);
    color: #1a1a2e;
}

.content-area p {
    margin-bottom: var(--space-5);
}

.content-area img {
    margin: var(--space-6) 0;
}

.content-area a {
    color: #f7931a;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.15s;
}

.content-area a:hover {
    color: #ff6b35;
}

.content-area blockquote {
    border-left: 4px solid #f7931a;
    padding: var(--space-4) var(--space-5);
    margin: var(--space-6) 0;
    background: #fff8f0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
}

.content-area code {
    background: #f2f3f5;
    padding: 2px 7px;
    font-family: var(--font-mono);
    font-size: 0.86em;
    border-radius: 4px;
    color: #d63384;
}

.content-area pre {
    background: #1e1e2e;
    color: #e8e8e8;
    padding: var(--space-5);
    overflow-x: auto;
    margin: var(--space-6) 0;
    border-radius: 12px;
    border: none;
}

.content-area pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.content-area ul,
.content-area ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.content-area li {
    margin-bottom: var(--space-2);
}

.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    font-size: 0.9rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.content-area th {
    background: #1a1a2e;
    color: #fff;
    text-align: left;
    padding: var(--space-3) var(--space-4);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: none;
}

.content-area td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.content-area tr:hover td {
    background: #fafbfc;
}

/* WordPress-imported content overrides */
.content-area img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--space-6) 0;
    border-radius: 10px;
}

.content-area figure {
    margin: var(--space-6) 0;
}

.content-area figcaption {
    font-size: 0.8rem;
    color: #999;
    margin-top: var(--space-2);
    text-align: center;
}

.content-area iframe {
    max-width: 100%;
    border-radius: 10px;
}

/* Inline WP calculator widget override */
.content-area input[type="text"],
.content-area input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    background: #fff;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 8px;
    box-sizing: border-box;
}

.content-area input[type="text"]:focus,
.content-area input[type="number"]:focus {
    border-color: #f7931a;
}

.content-area button {
    font-family: inherit;
    cursor: pointer;
}

/* Override inline WP styles on calculator */
.content-area [style*="border-radius"] {
    border-radius: 8px !important;
}

.content-area [style*="background-color: #4CAF50"],
.content-area [style*="background: #4CAF50"],
.content-area [style*="background-color: green"] {
    background-color: #f7931a !important;
    background: #f7931a !important;
}

/* Ensure WP div containers don't overflow */
.content-area>div {
    max-width: 100%;
    overflow-x: auto;
}

/* Calculator embed banner */
.calc-embed-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    margin: var(--space-6) 0;
    transition: all 0.25s;
    border-radius: 12px;
    text-decoration: none;
}

.calc-embed-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.calc-embed-banner-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.calc-embed-banner-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 4px;
}

.calc-embed-banner-arrow {
    color: #f7931a;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Tags — Pill Chips */
.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: #f2f3f5;
    border: 1px solid #e8eaed;
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 20px;
    transition: all 0.2s;
}

.tag:hover {
    border-color: #f7931a;
    color: #f7931a;
    background: #fff8f0;
    text-decoration: none;
}

/* Author Box — Modern Card */
.author-box {
    display: flex;
    gap: var(--space-5);
    margin-top: var(--space-8);
    padding: 24px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.author-box-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #f0f0f0;
}

.author-box strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: var(--space-1);
    color: #1a1a2e;
}

.author-box p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   COMMENTS — Modern Light
   ══════════════════════════════════════════════════════════════ */
.comments-section {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-8) 0 var(--space-12);
}

.comments-section h2 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid #1a1a2e;
    color: #1a1a2e;
}

.comment {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.comment-reply {
    margin-left: 24px;
    padding-left: 20px;
    border-left: 3px solid #f7931a;
    border-radius: 0 12px 12px 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.comment-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a2e;
}

.comment-header time {
    font-size: 0.72rem;
    color: #bbb;
    letter-spacing: 0.03em;
}

.comment-body {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   RELATED ARTICLES — Modern Card Grid
   ══════════════════════════════════════════════════════════════ */
.related-articles {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: var(--space-12);
}

.related-articles h2 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid #1a1a2e;
    color: #1a1a2e;
}

.related-articles .article-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-articles .article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.related-articles .article-card:nth-child(3n),
.related-articles .article-card:nth-child(2n) {
    border-right: 1px solid #e8eaed;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — Bloomberg compact dark
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    margin-top: var(--space-12);
    border-top: 3px solid var(--accent);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-8) var(--space-6) var(--space-6);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-6);
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 400;
    display: block;
    margin-bottom: var(--space-3);
}

.footer-logo strong {
    font-weight: 900;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.footer-contacts h4,
.footer-legal h4 {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-4);
}

.footer-contacts a,
.footer-legal a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    margin-bottom: var(--space-2);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contacts a:hover,
.footer-legal a:hover {
    color: var(--text-inverse);
    text-decoration: none;
}

.footer-social .tg-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-inverse);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-social .tg-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
}

.footer-bottom p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════ */
.error-page {
    text-align: center;
    padding: 120px var(--space-6);
}

.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--border-primary);
    letter-spacing: -0.05em;
    line-height: 1;
}

.error-page h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: var(--space-4) 0 var(--space-3);
}

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

.error-page .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 28px;
    background: var(--bg-dark);
    color: var(--text-inverse);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid var(--border-heavy);
    transition: all var(--transition-base);
}

.error-page .btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY PAGE
   ══════════════════════════════════════════════════════════════ */
.category-header {
    padding: var(--space-6) 0;
    border-bottom: 2px solid var(--border-heavy);
    margin-bottom: var(--space-6);
}

.category-header h1 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-1);
}

.category-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Subcategories — Flat Chips */
.subcategories {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.subcategory-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all var(--transition-fast);
}

.subcategory-chip:hover {
    border-color: var(--border-heavy);
    background: var(--bg-tertiary);
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   AUTHOR LINK (in article meta)
   ══════════════════════════════════════════════════════════════ */
.author-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.15s;
}

.author-link:hover {
    color: #f7931a;
    text-decoration: none;
}

.reading-time,
.views {
    font-size: 0.75rem;
    color: #bbb;
}

.updated-badge {
    padding: 3px 10px;
    background: #fff8f0;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f7931a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    border: 1px solid rgba(247, 147, 26, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   SHARE BUTTONS — Modern Light
   ══════════════════════════════════════════════════════════════ */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-6);
    padding: 16px 0;
}

.share-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e8eaed;
    background: #fff;
    color: #777;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    border-radius: 10px;
}

.share-btn:hover {
    border-color: #ddd;
    color: #1a1a2e;
    background: #f2f3f5;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.share-tg:hover {
    color: #0088cc;
    border-color: #0088cc;
    background: #e8f4fd;
}

.share-vk:hover {
    color: #0077ff;
    border-color: #0077ff;
    background: #e8f0ff;
}

/* ══════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: var(--space-8) 0;
    border-top: 1px solid var(--border-primary);
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-left: -1px;
}

.page-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.page-current {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--text-inverse);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.page-dots {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    padding: 0 var(--space-2);
}

/* ══════════════════════════════════════════════════════════════
   AUTHOR PAGE
   ══════════════════════════════════════════════════════════════ */
.author-page {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-8) 0 var(--space-12);
}

.author-profile {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-top: 2px solid var(--border-heavy);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
}

.author-profile-header {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
}

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

.author-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-inverse);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
}

.author-profile-info {
    flex: 1;
}

.author-profile-info h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-1);
}

.author-position {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-3);
}

.author-bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.author-socials {
    display: flex;
    gap: var(--space-2);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-heavy);
    text-decoration: none;
}

.author-stats {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-primary);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.author-articles h2 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-heavy);
}

/* ══════════════════════════════════════════════════════════════
   AUTHORS LISTING
   ══════════════════════════════════════════════════════════════ */
.authors-page {
    padding-bottom: var(--space-12);
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0;
}

.author-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-primary);
    border-right: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.author-card:hover {
    background: var(--bg-secondary);
    text-decoration: none;
}

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

.author-card-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-card-position {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.author-card-info p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: var(--space-2);
}

.author-card-count {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    margin-top: var(--space-2);
    display: block;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE TABLE OF CONTENTS (Sticky Sidebar)
   ══════════════════════════════════════════════════════════════ */
.article-layout {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
    max-width: 1140px;
    margin: 0 auto;
}

.article-content-col {
    flex: 1;
    min-width: 0;
    max-width: 760px;
}

.article-toc {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    width: 230px;
    flex-shrink: 0;
    order: -1;
    max-height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.toc-progress-ring {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid #f0f0f0;
}

.toc-progress-ring svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.toc-progress-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 4;
}

.toc-progress-fill {
    fill: none;
    stroke: #f7931a;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.toc-progress-text {
    font-size: 0.88rem;
    font-weight: 800;
    color: #f7931a;
    min-width: 36px;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-link {
    display: block;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.15s;
    line-height: 1.4;
    border-radius: 0 6px 6px 0;
}

.toc-link:hover {
    color: #1a1a2e;
    background: #f7f8fa;
    text-decoration: none;
}

.toc-link.active {
    color: #1a1a2e;
    font-weight: 700;
    border-left-color: #f7931a;
    background: #fff8f0;
}

.toc-link.toc-sub {
    padding-left: 24px;
    font-size: 0.72rem;
    font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════
   STATIC PAGE
   ══════════════════════════════════════════════════════════════ */
.static-page {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-8) 0 var(--space-12);
}

.page-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--border-heavy);
}

.page-header h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--space-2);
}

.page-updated {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    color: var(--text-tertiary);
    font-size: 0.92rem;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .article-toc {
        display: none;
    }

    .article-layout {
        display: block;
    }

    .article-content-col {
        max-width: 760px;
        margin: 0 auto;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

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

    .article-card:nth-child(3n) {
        border-right: 1px solid var(--border-primary);
    }

    .article-card:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .top-bar-row-2 {
        display: none;
    }

    .top-bar-left {
        gap: var(--space-3);
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Show old nav as mobile menu */
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 2px solid var(--border-heavy);
        z-index: 90;
    }

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

    .nav-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: var(--space-4) var(--space-6);
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-item>a {
        display: block;
        padding: var(--space-3) 0;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        border-bottom: 1px solid var(--border-light);
        text-decoration: none;
    }

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

    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        border-top: none;
        padding-left: var(--space-5);
    }

    .newspaper-hero {
        grid-template-columns: 1fr;
    }

    .newspaper-col-center {
        order: -1;
        padding: 0 0 var(--space-5);
        margin-bottom: var(--space-5);
        border-bottom: 1px solid var(--border-primary);
    }

    .newspaper-col-side:first-child {
        padding-right: 0;
        border-right: none;
        padding-bottom: var(--space-4);
        margin-bottom: var(--space-4);
        border-bottom: 1px solid var(--border-primary);
    }

    .newspaper-col-side:last-child {
        padding-left: 0;
        border-left: none;
    }

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

    .article-card {
        border-right: none;
    }

    .article-card:nth-child(3n),
    .article-card:nth-child(2n) {
        border-right: none;
    }

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

    .article-header {
        padding: 20px;
        border-radius: 12px;
    }

    .article-header h1 {
        font-size: 1.4rem;
    }

    .article-featured-image {
        border-radius: 10px;
    }

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

    .related-articles .article-card {
        border-right: 1px solid #e8eaed;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-main {
        padding: 0 var(--space-4);
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .featured-article .featured-title {
        font-size: 1.3rem;
    }
}


/* ══════════════════════════════════════════════════════════════
   HOMEPAGE — Classic Portal (Variant A)
   ══════════════════════════════════════════════════════════════ */

/* ── Breaking News Ticker ── */
.hp-breaking {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-bottom: 1px solid var(--border-primary);
    height: 36px;
    background: var(--bg-primary);
}

.hp-breaking-label {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #cc0000;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.hp-breaking-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: hp-breaking-scroll 50s linear infinite;
}

.hp-breaking:hover .hp-breaking-track {
    animation-play-state: paused;
}

@keyframes hp-breaking-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hp-breaking-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hp-breaking-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.hp-breaking-item:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.hp-breaking-cat {
    font-weight: 700;
    color: #cc0000;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hp-breaking-sep {
    color: var(--border-primary);
    font-size: 0.7rem;
    flex-shrink: 0;
    user-select: none;
}

/* ── Two-Column Layout ── */
.hp-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    border-bottom: 2px solid var(--border-heavy);
    padding: var(--space-6) 0;
}

/* ── Left: Rates Section ── */
.hp-rates {
    padding-right: var(--space-6);
    border-right: 1px solid var(--border-primary);
}

.hp-section-header {
    border-bottom: 2px solid var(--border-heavy);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hp-section-header h2 {
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

/* ── Crypto Rates Table ── */
.hp-rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.hp-rates-table thead th {
    text-align: left;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--border-primary);
}

.hp-rates-table thead .hp-th-price,
.hp-rates-table thead .hp-th-change,
.hp-rates-table thead .hp-th-cap,
.hp-rates-table thead .hp-th-vol {
    text-align: right;
}

.hp-rates-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.hp-rates-table tbody tr:hover {
    background: var(--bg-secondary);
}

.hp-td-coin {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    font-weight: 500;
}

.hp-coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Coin-specific colors */
.hp-coin-bitcoin {
    background: #fff3e0;
    color: #f7931a;
}

.hp-coin-ethereum {
    background: #ede7f6;
    color: #627eea;
}

.hp-coin-tether {
    background: #e0f2f1;
    color: #26a17b;
}

.hp-coin-binancecoin {
    background: #fff8e1;
    color: #f3ba2f;
}

.hp-coin-solana {
    background: #e8f5e9;
    color: #00c785;
}

.hp-coin-ripple {
    background: #e3f2fd;
    color: #0085c0;
}

.hp-coin-cardano {
    background: #e8eaf6;
    color: #0033ad;
}

.hp-coin-avalanche-2 {
    background: #fce4ec;
    color: #e84142;
}

.hp-coin-dogecoin {
    background: #fff8e1;
    color: #c3a634;
}

.hp-coin-polkadot {
    background: #fce4ec;
    color: #e6007a;
}

.hp-coin-chainlink {
    background: #e3f2fd;
    color: #2a5ada;
}

.hp-coin-tron {
    background: #fce4ec;
    color: #ff060a;
}

.hp-coin-litecoin {
    background: #f3e5f5;
    color: #838383;
}

.hp-coin-toncoin {
    background: #e3f2fd;
    color: #0088cc;
}

.hp-coin-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.hp-coin-info strong {
    font-size: 0.84rem;
    font-weight: 600;
}

.hp-coin-info small {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hp-td-price,
.hp-td-cap,
.hp-td-vol {
    text-align: right;
    padding: var(--space-3);
    font-variant-numeric: tabular-nums;
    font-family: var(--font-mono), monospace;
    font-size: 0.82rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.hp-td-change {
    text-align: right;
    padding: var(--space-3);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.hp-change-up {
    color: #16c784;
}

.hp-change-down {
    color: #ea3943;
}

.hp-rates-loading {
    text-align: center;
    padding: var(--space-8) !important;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ── Right: News Sidebar ── */
.hp-news-sidebar {
    padding-left: var(--space-6);
}

.hp-news-card {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast);
}

.hp-news-card:hover {
    background: var(--bg-secondary);
    text-decoration: none;
}

.hp-news-card:last-child {
    border-bottom: none;
}

.hp-news-thumb {
    width: 88px;
    height: 62px;
    flex-shrink: 0;
    overflow: hidden;
}

.hp-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.hp-news-card:hover .hp-news-thumb img {
    opacity: 0.85;
}

.hp-news-body {
    flex: 1;
    min-width: 0;
}

.hp-news-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-news-excerpt {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-news-time {
    font-size: 0.65rem;
    color: var(--text-tertiary);
}

/* ── Event Calendar ── */
.hp-events {
    padding: var(--space-6) 0 var(--space-8);
}

.hp-events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hp-events-nav {
    display: flex;
    gap: var(--space-2);
}

.hp-events-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.hp-events-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.hp-events-track {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: var(--space-2) 0;
}

.hp-events-track::-webkit-scrollbar {
    display: none;
}

.hp-event-card {
    display: flex;
    gap: var(--space-3);
    min-width: 260px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: var(--space-4);
    border: 1px solid var(--border-primary);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

.hp-event-card:hover {
    border-color: var(--border-heavy);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hp-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 42px;
}

.hp-event-day {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.hp-event-label {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hp-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.hp-event-body {
    flex: 1;
    min-width: 0;
}

.hp-event-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-event-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Homepage Responsive ── */
@media (max-width: 900px) {
    .hp-layout {
        grid-template-columns: 1fr;
    }

    .hp-rates {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-primary);
        padding-bottom: var(--space-6);
    }

    .hp-news-sidebar {
        padding-left: 0;
        padding-top: var(--space-6);
    }

    .hp-td-cap,
    .hp-th-cap {
        display: none;
    }
}

@media (max-width: 600px) {
    .hp-breaking-label {
        font-size: 0.58rem;
        padding: 0 10px;
    }

    .hp-td-vol,
    .hp-th-vol {
        display: none;
    }

    .hp-rates-table {
        font-size: 0.8rem;
    }

    .hp-coin-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .hp-coin-info strong {
        font-size: 0.78rem;
    }

    .hp-event-card {
        min-width: 230px;
    }
}