/* ================================================================
   UBC NEWS — PREMIUM GLASS LIQUID  v4.0
   Direction: Deep Navy + Crimson Liquid Mesh
   Floating glass capsule header · luminous logo · frosted footer
   ================================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
    /* Core palette */
    --bg:            #060f28;
    --bg-alt:        #0b1738;
    --bg-card:       #0a1431;
    --crimson:       #da3f4f;
    --crimson-light: #ff6678;
    --crimson-dim:   rgba(218, 63, 79, 0.28);
    --crimson-glow:  rgba(255, 102, 120, 0.62);
    --navy-glow:     rgba(59, 116, 255, 0.35);

    /* Glass surfaces — ordered light → strong */
    --glass-xs:      rgba(255, 255, 255, 0.03);
    --glass:         rgba(255, 255, 255, 0.07);
    --glass-md:      rgba(255, 255, 255, 0.10);
    --glass-hover:   rgba(255, 255, 255, 0.14);
    --glass-strong:  rgba(255, 255, 255, 0.18);
    --glass-border:  rgba(198, 220, 255, 0.18);
    --glass-border-bright: rgba(233, 240, 255, 0.34);
    --glass-inset:   inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --card-shadow:   0 18px 52px rgba(0, 0, 0, 0.44), 0 4px 12px rgba(0, 0, 0, 0.28);
    --card-glow:     0 0 0 1px rgba(255, 102, 120, 0.14);
    --card-inner:    inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -18px 38px rgba(8,18,54,0.35);

    /* Text */
    --text:   #eef3ff;
    --text-2: rgba(238, 243, 255, 0.74);
    --text-3: rgba(218, 228, 250, 0.46);

    /* Legacy aliases ⟶ keeps JS colour references working */
    --black:     #060f28;
    --dark:      #121f44;
    --white:     #eef3ff;
    --red:       #da3f4f;
    --orange:    #e65100;
    --blue:      #1565c0;
    --green:     #2e7d32;
    --purple:    #4f46e5;
    --teal:      #00695c;
    --gray-900:  rgba(238,243,255,0.90);
    --gray-700:  rgba(218,228,250,0.70);
    --gray-500:  rgba(218,228,250,0.46);
    --gray-300:  rgba(218,228,250,0.24);
    --gray-100:  rgba(255,255,255,0.06);
    --accent:    var(--crimson);

    /* Geometry */
    --radius:    16px;
    --radius-sm: 10px;
    --radius-lg: 26px;
    --max-width: 1200px;

    /* Layout heights — used for fixed-header offset calc */
    --header-top:    14px;   /* gap between viewport top and capsule */
    --header-height: 78px;
    --nav-height:    0px;
    --nav-gap:       0px;    /* nav is flush against header — no gap */

    /* Computed safe top padding for .main */
    --content-offset: calc(var(--header-top) + var(--header-height) + 24px);
}


/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a    { text-decoration: none; color: inherit; }
img  { max-width: 100%; display: block; }


/* ── BASE ───────────────────────────────────────────────────────── */
body {
    font-family: 'Sora', 'Noto Sans Devanagari', 'Noto Sans Oriya', sans-serif;
    background: var(--bg);
    /* Deep navy canvas with crimson ambient wash */
    background-image:
        radial-gradient(130% 110% at 14% -10%, rgba(30, 80, 220, 0.26) 0%, rgba(30, 80, 220, 0) 62%),
        radial-gradient(95% 110% at 100% 100%, rgba(227, 71, 86, 0.24) 0%, rgba(227, 71, 86, 0) 62%),
        linear-gradient(160deg, #06102a 0%, #0a1637 52%, #140f2b 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}


/* ================================================================
   LIQUID ANIMATED BACKGROUND
   Three radial-gradient blobs drift slowly over the dark canvas.
   z-index: -1  so they sit behind every element.
   ================================================================ */
.liquid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(145deg, #07122e 0%, #0a1940 44%, #181332 100%);
}
.liquid-bg::before,
.liquid-bg::after {
    content: '';
    position: absolute;
    inset: -35%;
    pointer-events: none;
    mix-blend-mode: screen;
}
.liquid-bg::before {
    background:
        radial-gradient(42% 58% at 20% 35%, rgba(228, 73, 88, 0.28), rgba(228, 73, 88, 0) 70%),
        radial-gradient(54% 64% at 74% 66%, rgba(63, 119, 255, 0.20), rgba(63, 119, 255, 0) 72%),
        radial-gradient(56% 56% at 50% 42%, rgba(255, 116, 142, 0.16), rgba(255, 116, 142, 0) 74%);
    animation: meshShiftA 26s ease-in-out infinite alternate;
}
.liquid-bg::after {
    background:
        conic-gradient(from 80deg at 35% 35%, rgba(226, 61, 80, 0.18), rgba(33, 71, 182, 0.14), rgba(226, 61, 80, 0.22));
    filter: blur(58px);
    opacity: 0.6;
    animation: meshShiftB 34s linear infinite;
}
.liquid-bg .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(74px);
    will-change: transform;
}

/* Blob 1 — crimson flare */
.liquid-bg .blob-1 {
    width: 84vmax; height: 84vmax;
    background: radial-gradient(circle at center,
        rgba(232,62,82,0.72) 0%,
        rgba(200,42,72,0.42) 35%,
        transparent 65%);
    top: -34%; left: -24%;
    animation: blobDrift1 24s ease-in-out infinite alternate;
}
/* Blob 2 — navy pulse */
.liquid-bg .blob-2 {
    width: 72vmax; height: 72vmax;
    background: radial-gradient(circle at center,
        rgba(38,82,230,0.62) 0%,
        rgba(30,64,188,0.34) 42%,
        transparent 65%);
    bottom: -24%; right: -22%;
    animation: blobDrift2 30s ease-in-out infinite alternate;
}
/* Blob 3 — soft crimson mist */
.liquid-bg .blob-3 {
    width: 58vmax; height: 58vmax;
    background: radial-gradient(circle at center,
        rgba(244,93,111,0.50) 0%,
        rgba(208,57,87,0.28) 44%,
        transparent 70%);
    top: 26%; left: 30%;
    animation: blobDrift3 38s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
    0%,100% { transform: translate(0,   0)     scale(1);    }
    33%      { transform: translate(14vw, 12vh) scale(1.14); }
    66%      { transform: translate(-7vw, 20vh) scale(0.90); }
}
@keyframes blobDrift2 {
    0%,100% { transform: translate( 0,    0)    scale(1);    }
    40%      { transform: translate(-12vw,-14vh) scale(1.16); }
    70%      { transform: translate(  8vw, -7vh) scale(0.88); }
}
@keyframes blobDrift3 {
    0%,100% { transform: translate(0,   0)    scale(1);    }
    30%      { transform: translate(-9vw, 7vh)  scale(1.10); }
    60%      { transform: translate( 7vw,-12vh) scale(0.93); }
}
@keyframes meshShiftA {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(4vw, -3vh, 0) scale(1.04); }
    100% { transform: translate3d(-5vw, 4vh, 0) scale(0.98); }
}
@keyframes meshShiftB {
    0%   { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0);    }
}


/* ================================================================
   ██   ██ ███████  █████  ██████  ███████ ██████
   ██   ██ ██      ██   ██ ██   ██ ██      ██   ██
   ███████ █████   ███████ ██   ██ █████   ██████
   ██   ██ ██      ██   ██ ██   ██ ██      ██   ██
   ██   ██ ███████ ██   ██ ██████  ███████ ██   ██

   FLOATING GLASS CAPSULE — position:fixed, pill shape.
   Appears to levitate above the page content.
   ================================================================ */
.header {
    position: fixed;
    top: var(--header-top);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: calc(var(--max-width) + 48px);
    z-index: 200;

    /* Premium floating glass capsule */
    background:
        linear-gradient(120deg, rgba(232, 71, 88, 0.22) 0%, rgba(17, 43, 106, 0.52) 28%, rgba(11, 28, 68, 0.64) 100%);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    border-radius: 24px;
    border: 1px solid rgba(214, 226, 255, 0.26);
    box-shadow:
        0 18px 52px rgba(6, 10, 24, 0.58),
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -1px 0 rgba(7,15,40,0.42);
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.62), transparent);
}
.header::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(70% 100% at 50% -30%, rgba(255,255,255,0.16), transparent 70%);
    mix-blend-mode: screen;
}

.header-inner {
    max-width: 100%;
    padding: 0 16px;
    height: var(--header-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    position: relative;
}


/* ── Sponsor section — hidden from header, shown in footer instead ── */
.header-left {
    display: none;
}
.sponsor-label {
    font-size: 8px;
    font-weight: 600;
    color: rgba(255,255,255,0.32);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.10);
    padding-right: 10px;
}
.sponsor-reel {
    position: relative;
    width: 130px; height: 34px;
    flex-shrink: 0;
}
.sponsor-logo {
    position: absolute;
    top: 0; left: 0;
    width: 130px; height: 34px;
    object-fit: contain; object-position: center;
    background: transparent;
    border-radius: var(--radius-sm);
    padding: 0;
    box-sizing: border-box;
    opacity: 0;
    animation: sponsorFade 12s ease-in-out infinite;
}
.sponsor-logo:nth-child(1) { animation-delay:  0s; }
.sponsor-logo:nth-child(2) { animation-delay:  4s; }
.sponsor-logo:nth-child(3) { animation-delay:  8s; }
@keyframes sponsorFade {
    0%   { opacity: 0; }
    6%   { opacity: 1; }
    28%  { opacity: 1; }
    34%  { opacity: 0; }
    100% { opacity: 0; }
}


/* ── GIF Logo — LEFT aligned, normal flex flow ───────────────── */
.logo-center {
    position: relative;     /* keeps halo aligned to the logo */
    transform: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
    text-decoration: none;
    isolation: isolate;
    padding: 0;
    border-radius: 999px;
}
.logo-box {
    border-radius: 999px;
    padding: 3px;
    background:
        linear-gradient(155deg, rgba(255,255,255,0.28), rgba(255,255,255,0.11)),
        linear-gradient(135deg, rgba(26, 39, 88, 0.85), rgba(14, 24, 58, 0.95));
    border: 1px solid rgba(234,242,255,0.42);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.26),
        0 12px 28px rgba(7, 14, 38, 0.46),
        0 0 18px rgba(255, 102, 123, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.logo-glass-halo {
    display: none;
}
.logo-center img {
    width: auto;
    height: 42px;
    max-height: none;
    display: block;
    object-fit: cover;
    border-radius: 999px;
    mix-blend-mode: normal;
    filter:
        saturate(1.25)
        contrast(1.12)
        brightness(1.06)
        drop-shadow(0 0 14px rgba(255, 109, 131, 0.55))
        drop-shadow(0 0 24px rgba(78, 124, 255, 0.36));
    transition: filter 0.3s, transform 0.3s;
}
.logo-center img:hover {
    transform: translateY(-1px) scale(1.015);
    filter:
        saturate(1.55)
        contrast(1.24)
        brightness(1.12)
        drop-shadow(0 0 16px rgba(255, 112, 133, 0.64))
        drop-shadow(0 0 30px rgba(89, 137, 255, 0.46));
}


/* ── Right controls ──────────────────────────────────────────── */
.header-right {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    justify-self: end;
}
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.07));
    border: 1px solid rgba(225,236,255,0.28);
    border-radius: var(--radius-sm);
    padding: 5px 26px 5px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    outline: none;
    backdrop-filter: blur(8px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ccc'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px;
    min-width: 90px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lang-select:hover {
    background-color: var(--glass-hover);
    border-color: var(--glass-border-bright);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 16px rgba(66, 116, 236, 0.2);
}
.lang-select option {
    background: #1a1a2e;
    color: var(--text);
}
.date-display {
    font-size: 10px;
    color: rgba(255,255,255,0.48);
    text-align: right;
    line-height: 1.4;
    white-space: nowrap;
}

/* Icon buttons (search / dark-mode toggle) */
.hdr-icon-btn {
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.07));
    border: 1px solid rgba(225,236,255,0.28);
    border-radius: var(--radius-sm);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.80);
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(8px);
}
.hdr-icon-btn:hover {
    transform: translateY(-1px);
    background: var(--glass-hover);
    border-color: rgba(255, 117, 137, 0.46);
    box-shadow: 0 0 14px var(--crimson-dim), 0 0 20px rgba(62, 109, 231, 0.2);
}


/* ================================================================
   NAV BAR — Single row inside header
   ================================================================ */
.nav {
    min-width: 0;
}

.nav::after {
    display: none;
}
.nav-inner {
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
    padding: 0 12px;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 11.8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: var(--text-2);
    position: relative;
    transition: color 0.2s;
    cursor: pointer;
    border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--text); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 7px; left: 12px; right: 12px;
    height: 2px;
    background: var(--crimson);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    box-shadow: 0 0 8px var(--crimson-glow);
}
.nav-link.active {
    color: var(--crimson-light);
}
.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}


/* ================================================================
   MAIN CONTENT AREA
   ================================================================ */
.main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--content-offset) 20px 28px;
    min-height: 60vh;
    animation: fadeInUp 0.4s ease both;
}


/* ================================================================
   HERO GRID
   ================================================================ */
.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 44px;
}

/* Home layout: top hero first, then 2/3 + 1/3 content */
.home-top {
    margin-bottom: 12px;
}
.home-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: start;
}
.home-main-sections { min-width: 0; }
.home-main-sections .article-grid {
    grid-template-columns: repeat(3, 1fr);
}
.home-right-rail {
    position: sticky;
    top: calc(var(--header-top) + var(--header-height) + 10px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.home-right-rail .poll-widget {
    margin-bottom: 0;
}

.sidebar-widget {
    background:
        linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05) 58%),
        linear-gradient(130deg, rgba(232,73,92,0.14), rgba(30,72,178,0.16));
    border: 1px solid rgba(220,232,255,0.24);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--card-inner), var(--card-shadow);
}
.sidebar-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.sidebar-widget-head h3 {
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.sidebar-widget-head a {
    font-size: 11px;
    color: var(--crimson-light);
}
.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-news-item:hover {
    background: rgba(255,255,255,0.07);
}
.sidebar-news-item h4 {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text);
}
.sidebar-news-item {
    cursor: pointer;
    border-radius: 10px;
    padding: 8px;
    transition: background 0.2s;
}
.sidebar-news-item .meta {
    margin-top: 4px;
    font-size: 10px;
    color: var(--text-3);
}
.sidebar-news-item.has-thumb {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 0;
    background: transparent;
}
.sidebar-news-item.has-thumb + .sidebar-news-item.has-thumb {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 12px;
}
.sidebar-news-thumb {
    width: 100px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(220,232,255,0.20);
    background: rgba(255,255,255,0.06);
}
.sidebar-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    background: linear-gradient(135deg, rgba(35,56,120,0.65), rgba(92,47,120,0.48));
}
.sidebar-news-body {
    min-width: 0;
}
.sidebar-news-body h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-snapshot-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-snapshot-item {
    cursor: pointer;
    border-radius: 10px;
    padding: 8px;
    transition: background 0.2s;
}
.sidebar-snapshot-item:hover {
    background: rgba(255,255,255,0.07);
}
.sidebar-snapshot-item h4 {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text);
}
.sidebar-snapshot-item .meta {
    margin-top: 4px;
    font-size: 10px;
    color: var(--text-3);
}
.hero-main {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05) 55%);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    min-height: 380px;
    border: 1px solid rgba(220,232,255,0.26);
    box-shadow: var(--card-inner), var(--card-shadow), inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
}
.hero-main:hover {
    box-shadow:
        var(--card-inner),
        0 24px 64px rgba(0,0,0,0.60),
        0 0 0 1px rgba(255, 103, 124, 0.30),
        0 0 40px rgba(255, 103, 124, 0.16),
        0 0 32px rgba(63, 118, 255, 0.12);
    transform: translateY(-4px);
}
.hero-main-img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
}
.hero-main-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(5,12,33,0.95));
    padding: 50px 24px 24px;
    color: white;
}
.hero-main-overlay .badge {
    display: inline-block;
    background: var(--crimson);
    color: white;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 10px var(--crimson-dim);
}
.hero-main-overlay h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hero-side-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(220,232,255,0.24);
    box-shadow: var(--card-inner), var(--card-shadow);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: background 0.2s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    flex: 1;
    display: flex;
    flex-direction: row;
    min-height: 90px;
}
.hero-side-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 102, 123, 0.36);
    transform: translateX(3px);
    box-shadow: var(--card-inner),
                0 12px 36px rgba(0,0,0,0.55),
                0 0 18px rgba(255, 102, 123, 0.16);
}
.hero-side-thumb {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #0a1431;
}
.hero-side-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s;
}
.hero-side-card:hover .hero-side-thumb img { transform: scale(1.05); }
.hero-side-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0b1535, #15265d);
    display: flex; align-items: center; justify-content: center;
    min-height: 90px;
}
.hero-side-body {
    flex: 1;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.hero-side-card .badge {
    display: inline-block;
    background: var(--crimson);
    color: white;
    padding: 2px 7px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    border-radius: 4px;
    width: fit-content;
}
.hero-side-card h3 {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-side-card .meta {
    font-size: 10px;
    color: var(--text-3);
    margin-top: 5px;
}


/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 102, 123, 0.34);
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 64px; height: 2px;
    background: linear-gradient(90deg, var(--crimson-light), var(--crimson));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--crimson-glow);
}
.section-header h2 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 12px rgba(30, 73, 178, 0.24);
}
.section-header h2::before {
    content: '';
    display: inline-block;
    width: 4px; height: 20px;
    background: linear-gradient(180deg, var(--crimson-light), var(--crimson));
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--crimson-dim);
}
.section-header a {
    font-size: 12px;
    font-weight: 600;
    color: var(--crimson-light);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.section-header a:hover { opacity: 1; }


/* ================================================================
   SECTION LANDING PAGES
   ================================================================ */
.landing-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.landing-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    gap: 28px;
    align-items: center;
    padding: 30px 32px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(220,232,255,0.24);
    box-shadow: var(--card-inner), var(--card-shadow);
    background:
        radial-gradient(circle at top left, rgba(255, 108, 128, 0.16), transparent 40%),
        radial-gradient(circle at bottom right, rgba(70, 122, 255, 0.16), transparent 42%),
        linear-gradient(140deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05) 56%);
}
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.07), transparent 44%, rgba(255,255,255,0.03));
    pointer-events: none;
}
.landing-copy {
    position: relative;
    z-index: 1;
}
.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}
.landing-copy h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
    max-width: 12ch;
}
.landing-copy p {
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-2);
}
.landing-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.landing-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 600;
}
.landing-cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 118, 138, 0.42);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(233, 72, 93, 0.86), rgba(180, 31, 56, 0.88));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(187, 35, 59, 0.26);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.landing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(187, 35, 59, 0.32);
    filter: saturate(1.08);
}
.landing-preview {
    position: relative;
    z-index: 1;
    width: min(300px, 100%);
}
.landing-preview .short-card {
    width: 100%;
    transform: none;
}
.landing-preview .short-thumb {
    width: 100%;
    height: 520px;
}

.section-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.85fr);
    gap: 20px;
    align-items: start;
}
.section-feature-main {
    position: relative;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(220,232,255,0.24);
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    box-shadow: var(--card-inner), var(--card-shadow);
}
.section-feature-media,
.section-feature-media img,
.section-feature-placeholder {
    width: 100%;
    height: 100%;
}
.section-feature-media img {
    object-fit: cover;
    transition: transform 0.45s ease;
}
.section-feature-main:hover .section-feature-media img {
    transform: scale(1.04);
}
.section-feature-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(18, 35, 82, 0.88), rgba(75, 33, 72, 0.74));
    color: rgba(255,255,255,0.54);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 4px;
}
.section-feature-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 60px 26px 24px;
    background: linear-gradient(180deg, rgba(2, 7, 20, 0.02), rgba(2, 7, 20, 0.92) 54%);
}
.section-feature-overlay .badge {
    display: inline-block;
    margin-bottom: 12px;
}
.section-feature-overlay h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    margin-bottom: 12px;
    color: #fff;
}
.section-feature-overlay p {
    max-width: 60ch;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.82);
    margin-bottom: 12px;
}
.section-feature-overlay .meta {
    color: rgba(255,255,255,0.62);
    font-size: 12px;
}

.mini-story-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mini-story-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    cursor: pointer;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05)),
        linear-gradient(120deg, rgba(255, 104, 124, 0.08), rgba(57, 115, 255, 0.08));
    border: 1px solid rgba(220,232,255,0.20);
    box-shadow: var(--card-inner), 0 10px 28px rgba(0,0,0,0.28);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.mini-story-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 118, 138, 0.30);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
        linear-gradient(120deg, rgba(255, 104, 124, 0.10), rgba(57, 115, 255, 0.10));
}
.mini-story-thumb {
    width: 110px;
    height: 82px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.mini-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-story-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20,36,87,0.92), rgba(85,38,93,0.74));
    color: rgba(255,255,255,0.54);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}
.mini-story-body {
    min-width: 0;
}
.mini-story-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--crimson-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.mini-story-body h3 {
    font-size: 14px;
    line-height: 1.45;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mini-story-body .meta {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-3);
}


/* ================================================================
   ARTICLE CARDS — 3-D floating glass tiles with inner glow
   ================================================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}
.article-card {
    cursor: pointer;
    background:
        linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05) 54%);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(220,232,255,0.24);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
                border-color 0.25s,
                box-shadow 0.25s;
    box-shadow: var(--card-inner),
                var(--card-shadow),
                inset 0 0 0 1px rgba(255,255,255,0.04);
    /* Subtle top-edge highlight that makes it look 3D */
    background-image: linear-gradient(
        180deg,
        rgba(255,255,255,0.06) 0%,
        transparent 50%
    );
}
.article-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 102, 123, 0.30);
    box-shadow: var(--card-inner),
                0 20px 56px rgba(0,0,0,0.60),
                0 0 0 1px rgba(255, 102, 123, 0.20),
                0 0 30px rgba(255, 102, 123, 0.14),
                0 0 30px rgba(64, 120, 255, 0.12),
                inset 0 0 0 1px rgba(255,255,255,0.07);
}
.article-card-img {
    width: 100%;
    height: 180px;
    background: var(--glass-xs);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.article-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-img .placeholder-icon {
    font-size: 40px;
    opacity: 0.22;
}
.article-card-body { padding: 14px 16px 16px; }
.article-card .badge {
    display: inline-block;
    background: var(--crimson);
    color: white;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    margin-bottom: 7px;
    box-shadow: 0 2px 8px var(--crimson-dim);
}
.article-card h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 7px;
    color: var(--text);
}
.article-card .summary {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .meta {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 9px;
}


/* ================================================================
   SHORTS / QUICK-NEWS — 9:16 cards with glossy reflection + slide-up
   ================================================================ */
.shorts-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--crimson-dim) transparent;
}
.shorts-grid::-webkit-scrollbar { height: 4px; }
.shorts-grid::-webkit-scrollbar-track { background: transparent; }
.shorts-grid::-webkit-scrollbar-thumb {
    background: var(--crimson-dim);
    border-radius: 4px;
}
.shorts-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
}
.shorts-grid-page .short-card {
    flex: unset;
    width: 100%;
}
.shorts-grid-page .short-thumb {
    width: 100%;
    height: 340px;
}

.short-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    cursor: pointer;
    position: relative;
    transition: transform 0.28s cubic-bezier(0.34,1.2,0.64,1);
}
.short-card:hover { transform: scale(1.03) translateY(-3px); }

.short-thumb {
    width: 200px;
    height: 355px;      /* 9:16 aspect ratio */
    background: #0d0d1a;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.short-card:hover .short-thumb {
    border-color: rgba(211,47,47,0.38);
    box-shadow: 0 16px 48px rgba(0,0,0,0.65),
                0 0 20px rgba(211,47,47,0.14);
}

/* Thumbnail image */
.short-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.70;
    transition: opacity 0.3s, transform 0.45s;
}
.short-card:hover .short-thumb img {
    opacity: 0.88;
    transform: scale(1.05);
}

/* ── Glossy reflection pseudo-element ─────────────────────────
   A soft diagonal highlight over the top portion of the card,
   like light catching a glossy surface. Pointer-events: none
   ensures it doesn't interfere with clicks.                    */
.short-thumb::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(
        160deg,
        rgba(255,255,255,0.14) 0%,
        rgba(255,255,255,0.06) 35%,
        rgba(255,255,255,0.01) 60%,
        transparent 100%
    );
    border-radius: var(--radius) var(--radius) 0 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.3s;
}
.short-card:hover .short-thumb::after {
    opacity: 0.6; /* Dim the gloss slightly on hover for depth */
}

/* Play icon */
.short-thumb .play-icon {
    position: absolute;
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.22s, box-shadow 0.22s;
    box-shadow: 0 4px 18px rgba(0,0,0,0.40);
    z-index: 4;
}
.short-card:hover .play-icon {
    transform: scale(1.14);
    box-shadow: 0 0 0 8px var(--crimson-dim),
                0 6px 20px rgba(0,0,0,0.45);
}
.short-thumb .play-icon svg {
    width: 22px; height: 22px;
    margin-left: 3px;
    fill: var(--crimson);
}

/* ── Headline — slides up into view on hover ──────────────────
   Default: shifted down 10px and slightly transparent.
   On hover: slides to natural position, fully opaque.         */
.short-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 52px 12px 14px;
    background: linear-gradient(transparent, rgba(4,4,18,0.92));
    color: white;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 2;
    /* Slide-up animation */
    transform: translateY(10px);
    opacity: 0.75;
    transition: transform 0.38s cubic-bezier(0.25,0.8,0.25,1),
                opacity   0.38s ease;
}
.short-card:hover .short-title {
    transform: translateY(0);
    opacity: 1;
}


/* Shorts Playback Modal */
.shorts-modal {
    display: none;
    position: fixed;
    inset: 0;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(233, 72, 93, 0.24), transparent 34%),
        radial-gradient(circle at bottom right, rgba(57, 115, 255, 0.22), transparent 34%),
        rgba(3, 7, 20, 0.92);
    backdrop-filter: blur(18px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.shorts-modal.active { display: flex; }
.shorts-modal-shell {
    position: relative;
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 28%),
        linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
        linear-gradient(125deg, rgba(231,71,89,0.14), rgba(31,71,176,0.18));
    border: 1px solid rgba(222,232,255,0.24);
    box-shadow:
        0 26px 80px rgba(0,0,0,0.48),
        inset 0 1px 0 rgba(255,255,255,0.14);
}
.shorts-modal-copy {
    max-width: 420px;
}
.shorts-modal-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.74);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.shorts-modal-copy h3 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    margin-bottom: 12px;
    color: #fff;
}
.shorts-modal-copy p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-2);
}
.shorts-player-frame {
    width: min(360px, 100%);
    padding: 14px;
    border-radius: 34px;
    background:
        linear-gradient(155deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)),
        linear-gradient(145deg, rgba(11, 20, 47, 0.92), rgba(9, 16, 39, 0.98));
    border: 1px solid rgba(222,232,255,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        0 18px 46px rgba(0,0,0,0.42);
}
.shorts-modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    background: var(--glass-md);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}
.shorts-modal-close:hover { background: var(--crimson); }
.shorts-modal iframe {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    border: none;
    border-radius: 24px;
    box-shadow: 0 0 80px rgba(0,0,0,0.65);
}


/* ================================================================
   ARTICLE DETAIL PAGE
   ================================================================ */
.story-page {
    max-width: 1180px;
    margin: 0 auto;
}
.story-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.72fr);
    gap: 24px;
    align-items: start;
}
.story-main,
.story-rail {
    min-width: 0;
}
.story-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.story-head,
.story-body,
.story-panel,
.story-media-card {
    background:
        linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05) 56%),
        linear-gradient(125deg, rgba(232,73,92,0.10), rgba(30,72,178,0.11));
    border: 1px solid rgba(220,232,255,0.24);
    box-shadow: var(--card-inner), var(--card-shadow);
    border-radius: 26px;
}
.story-head {
    padding: 28px 30px 30px;
}
.article-detail .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 22px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    padding: 7px 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(8px);
}
.article-detail .back-btn:hover {
    color: var(--text);
    border-color: var(--crimson-dim);
}
.story-kicker-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.article-detail .badge {
    display: inline-block;
    background: var(--crimson);
    color: white;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    box-shadow: 0 2px 10px var(--crimson-dim);
}
.story-alert-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.84);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}
.story-head h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 18px;
    color: var(--text);
}
.story-standfirst {
    max-width: 52ch;
    font-size: 18px;
    line-height: 1.72;
    color: rgba(238,243,255,0.80);
    margin-bottom: 22px;
}
.story-meta-strip {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.story-meta-label {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.story-author-block strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    line-height: 1.45;
}
.story-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.story-facts span,
.story-chip,
.story-rail-stats span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 600;
}
.story-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.story-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(220,232,255,0.20);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.story-tool-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 118, 138, 0.34);
    background: rgba(255,255,255,0.10);
}
.story-media-card {
    padding: 14px;
}
.article-detail .featured-img {
    width: 100%;
    border-radius: 18px;
    display: block;
}
.story-body {
    padding: 28px 30px;
}
.story-body .content {
    font-size: 18px;
    line-height: 1.92;
    color: rgba(238,243,255,0.84);
}
.story-body .content p,
.story-body .content ul,
.story-body .content ol,
.story-body .content blockquote,
.story-body .content table {
    margin-bottom: 22px;
}
.story-body .content h2,
.story-body .content h3,
.story-body .content h4 {
    margin: 34px 0 14px;
    line-height: 1.25;
    color: var(--text);
}
.story-body .content h2 {
    font-size: 30px;
}
.story-body .content h3 {
    font-size: 24px;
}
.story-body .content h4 {
    font-size: 20px;
}
.story-body .content ul,
.story-body .content ol {
    padding-left: 24px;
}
.story-body .content li + li {
    margin-top: 10px;
}
.story-body .content blockquote {
    padding: 18px 20px;
    border-left: 4px solid var(--crimson-light);
    background: rgba(255,255,255,0.05);
    border-radius: 0 18px 18px 0;
    color: rgba(255,255,255,0.86);
}
.story-body .content a {
    color: #ff8d98;
    text-decoration: underline;
    text-decoration-color: rgba(255, 141, 152, 0.42);
    text-underline-offset: 3px;
}
.story-body .content img,
.story-body .content iframe,
.story-body .content video {
    max-width: 100%;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(220,232,255,0.14);
    box-shadow: 0 14px 36px rgba(0,0,0,0.32);
    margin: 26px 0;
}
.story-body .content table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
}
.story-body .content th,
.story-body .content td {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: left;
}
.story-body .content th {
    background: rgba(255,255,255,0.08);
    color: var(--text);
}
.story-rail {
    position: sticky;
    top: calc(var(--header-top) + var(--header-height) + 14px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.story-panel {
    padding: 20px;
}
.story-panel-kicker {
    margin-bottom: 14px;
    color: var(--crimson-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.story-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-2);
}
.story-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.story-rail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Load More button */
.load-more-btn {
    display: inline-block;
    padding: 12px 36px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-1);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    backdrop-filter: blur(8px);
}
.load-more-btn:hover:not(:disabled) {
    background: var(--glass-hover);
    transform: translateY(-1px);
}
.load-more-btn:disabled { opacity: 0.5; cursor: default; }

/* Category article count */
.section-header { display: flex; align-items: center; gap: 12px; }
.cat-count { font-size: 13px; color: var(--text-3); font-weight: 400; }

/* 16:9 YouTube embed */
.yt-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; overflow: hidden;
    border-radius: 18px;
    background: #000;
    border: 1px solid rgba(220,232,255,0.18);
    box-shadow: 0 18px 36px rgba(0,0,0,0.34);
}
.yt-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* Article image gallery */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 12px;
}
.article-gallery img {
    width: 100%; height: 180px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    border: 1px solid rgba(220,232,255,0.18);
    transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
}
.article-gallery img:hover {
    opacity: 0.88;
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(255, 118, 138, 0.30);
}

/* Lightbox */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(18px);
    z-index: 9999; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute; top: 16px; right: 20px;
    color: white; font-size: 36px; cursor: pointer;
    line-height: 1; background: none; border: none;
    opacity: 0.7; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* Category tags */
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tag {
    background: rgba(255,255,255,0.08);
    color: var(--text-2);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cat-tag:hover {
    border-color: rgba(255, 118, 138, 0.30);
    color: var(--text);
    background: rgba(255,255,255,0.11);
}


/* ================================================================
   POLL WIDGET — Premium glass card with liquid-filling shimmer bars
   ================================================================ */
.poll-widget {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06) 52%),
        linear-gradient(130deg, rgba(232,73,92,0.18), rgba(28,64,161,0.20));
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    border: 1px solid rgba(222, 232, 255, 0.28);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 44px;
    color: white;
    box-shadow: var(--card-inner),
                0 16px 44px rgba(0,0,0,0.46),
                0 0 0 1px rgba(255,103,124,0.10);
    position: relative;
    overflow: hidden;
}
/* Crimson top accent bar */
.poll-widget::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg,
        transparent 5%, var(--crimson) 40%, var(--crimson-light) 60%, var(--crimson) 80%, transparent 95%);
    opacity: 0.80;
}
/* Very subtle radial glow in the background */
.poll-widget::after {
    content: '';
    position: absolute;
    top: -40%; left: -20%;
    width: 140%; height: 140%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,103,124,0.10) 0%, transparent 64%);
    pointer-events: none;
}
.poll-widget h3 {
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--crimson-light);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
    position: relative; z-index: 1;
}
.poll-question {
    font-size: 16px; font-weight: 700;
    margin-bottom: 18px; line-height: 1.4;
    position: relative; z-index: 1;
}
.poll-options {
    display: flex; flex-direction: column; gap: 10px;
    position: relative; z-index: 1;
}
.poll-option-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(222,232,255,0.22);
    border-radius: var(--radius-sm);
    padding: 11px 16px; color: white;
    font-size: 14px; font-weight: 500;
    cursor: pointer; text-align: left;
    transition: background 0.22s, border-color 0.22s, box-shadow 0.22s;
    position: relative; overflow: hidden;
    font-family: inherit;
}
.poll-option-btn:hover {
    border-color: rgba(255,103,124,0.54);
    background: rgba(255,103,124,0.10);
    box-shadow: 0 0 16px var(--crimson-dim), 0 0 16px rgba(63,116,255,0.16);
}

/* ── Liquid-filling progress bar ──────────────────────────────
   The bar fills to the vote percentage and shimmers like liquid.  */
.poll-result-bar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255,94,116,0.40) 0%,
        rgba(255,124,144,0.64) 48%,
        rgba(255,94,116,0.40) 100%);
    background-size: 200% 100%;
    border-radius: 6px;
    transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    animation: liquidShimmer 3s ease-in-out infinite;
}
@keyframes liquidShimmer {
    0%   { background-position:  200% center; }
    50%  { background-position:    0% center; }
    100% { background-position: -200% center; }
}

.poll-result-label {
    position: relative; z-index: 1;
    display: flex; justify-content: space-between; align-items: center;
}
.poll-result-pct {
    font-size: 13px; font-weight: 700;
    color: #ffafbb;
    text-shadow: 0 0 10px rgba(255,175,187,0.45);
}
.poll-footer {
    margin-top: 14px; font-size: 12px;
    color: rgba(255,255,255,0.34);
    position: relative; z-index: 1;
}
.poll-voted-msg {
    font-size: 13px; color: #86efac;
    margin-top: 10px; font-style: italic;
    position: relative; z-index: 1;
}


/* ================================================================
   COMMUNITY WIDGETS — Right rail glass cards after poll
   ================================================================ */
.community-widget {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05) 52%),
        linear-gradient(135deg, rgba(229,78,97,0.16), rgba(32,73,178,0.18));
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    border: 1px solid rgba(222,232,255,0.24);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 24px;
    box-shadow:
        var(--card-inner),
        0 14px 34px rgba(0,0,0,0.38),
        0 0 0 1px rgba(255,103,124,0.08);
    position: relative;
    overflow: hidden;
}
.community-widget::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 8%, rgba(255,103,124,0.82) 45%, rgba(255,160,175,0.92) 58%, transparent 92%);
}
.community-widget::after {
    content: '';
    position: absolute;
    inset: auto -10% -45% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(70,120,255,0.20), transparent 72%);
    pointer-events: none;
}
.community-widget-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--crimson-light);
}
.community-widget h3 {
    position: relative;
    z-index: 1;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 10px;
}
.community-widget p {
    position: relative;
    z-index: 1;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(238,245,255,0.78);
    margin-bottom: 16px;
}
.community-widget-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 4px;
}
.community-orb {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 32% 30%, rgba(255,255,255,0.34), transparent 48%),
        linear-gradient(145deg, rgba(40, 214, 108, 0.95), rgba(13, 128, 75, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 12px 24px rgba(15, 150, 87, 0.28),
        0 0 26px rgba(32, 191, 103, 0.18);
}
.community-orb svg {
    width: 32px;
    height: 32px;
    fill: white;
}
.community-tag-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 16px;
}
.community-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(222,232,255,0.18);
    color: rgba(255,255,255,0.84);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.community-widget-meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.community-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(222,232,255,0.20);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
}
.community-number {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.community-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}
.community-input,
.community-textarea {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(222,232,255,0.18);
    border-radius: 16px;
    padding: 12px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.community-input::placeholder,
.community-textarea::placeholder {
    color: rgba(235,243,255,0.48);
}
.community-input:focus,
.community-textarea:focus {
    border-color: rgba(255,125,144,0.54);
    background: rgba(255,255,255,0.10);
    box-shadow: 0 0 0 1px rgba(255,125,144,0.16), 0 0 18px rgba(255,103,124,0.16);
}
.community-textarea {
    min-height: 110px;
    resize: vertical;
}
.community-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.community-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}
.community-cta:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}
.community-cta-whatsapp {
    color: white;
    background: linear-gradient(135deg, rgba(28,180,94,0.98), rgba(19,142,75,0.94));
    box-shadow: 0 10px 24px rgba(24, 176, 94, 0.28);
}
.community-cta-whatsapp:hover {
    border-color: rgba(164,255,205,0.38);
    box-shadow: 0 14px 28px rgba(24, 176, 94, 0.32), 0 0 24px rgba(24,176,94,0.24);
}
.community-cta-mail {
    color: white;
    background: linear-gradient(135deg, rgba(255,102,123,0.98), rgba(225,67,86,0.94));
    box-shadow: 0 10px 24px rgba(225, 67, 86, 0.30);
}
.community-cta-mail:hover {
    border-color: rgba(255,204,212,0.34);
    box-shadow: 0 14px 28px rgba(225, 67, 86, 0.34), 0 0 24px rgba(225,67,86,0.24);
}
.community-feedback {
    min-height: 18px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(238,245,255,0.56);
}
.community-feedback.success {
    color: #8ef0ba;
}
.community-feedback.error {
    color: #ffb2bf;
}


/* ================================================================
   ADSENSE SLOTS
   ================================================================ */
.ad-slot {
    background: var(--glass-xs);
    border: 1px dashed rgba(255,255,255,0.09);
    border-radius: var(--radius-sm);
    text-align: center; padding: 8px; margin-bottom: 32px;
    min-height: 90px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: var(--text-3); font-size: 11px;
}
.ad-slot.hidden { display: none; }


/* ================================================================
   FLOATING SOCIAL CAPSULE
   Vertical glass pill — icons glow with brand colours on hover.
   ================================================================ */
.social-float {
    position: fixed;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06) 54%),
        linear-gradient(140deg, rgba(232,73,92,0.18), rgba(31,72,180,0.24));
    backdrop-filter: blur(20px) saturate(155%);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    border-radius: 999px;
    border: 1px solid rgba(222,232,255,0.28);
    box-shadow:
        0 12px 38px rgba(0,0,0,0.48),
        inset 0 1px 0 rgba(255,255,255,0.16),
        inset 0 -1px 0 rgba(10,18,46,0.30);
}
/* Crimson top accent */
.social-float::before {
    content: '';
    position: absolute;
    top: 0; left: 25%; right: 25%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--crimson), transparent);
    border-radius: 2px;
    opacity: 0.60;
}
.social-float::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.16), transparent 65%);
    opacity: 0.55;
}

.social-float a {
    display: flex;
    align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.22s ease,
                box-shadow 0.22s ease,
                background 0.22s ease;
    position: relative;
    background: rgba(255,255,255,0.03);
    flex-shrink: 0;
    border: 1px solid rgba(222,232,255,0.14);
}
.social-float a::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle, var(--social-color) 0%, transparent 72%);
    filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: -1;
}
.social-float a svg {
    width: 19px; height: 19px;
    fill: rgba(255,255,255,0.72);
    transition: fill 0.2s, transform 0.2s;
    flex-shrink: 0;
    animation: socialIconBeat 2.8s ease-in-out infinite;
}
.social-float a:hover {
    transform: translateX(-2px) scale(1.16);
    background: rgba(255,255,255,0.08);
}
.social-float a:hover svg {
    fill: white;
    transform: scale(1.08);
}

/* Per-brand CSS glow variables */
.sf-fb { --social-color: rgba( 24, 119, 242, 0.80); }
.sf-tw { --social-color: rgba(200, 200, 220, 0.55); }
.sf-yt { --social-color: rgba(255,   0,   0, 0.80); }
.sf-ig { --social-color: rgba(225,  48, 108, 0.80); }
.sf-wa { --social-color: rgba( 37, 211, 102, 0.80); }

/* Pulse-glow on hover using per-brand colour */
@keyframes socialGlowPulse {
    0%   { box-shadow: 0 0  6px 0px var(--social-color), 0 0 18px 2px rgba(0,0,0,0.20); }
    50%  { box-shadow: 0 0 26px 8px var(--social-color), 0 0 40px 14px var(--social-color); }
    100% { box-shadow: 0 0  6px 0px var(--social-color), 0 0 18px 2px rgba(0,0,0,0.20); }
}
@keyframes socialIconBeat {
    0%, 100% { transform: scale(1); }
    45%      { transform: scale(1.035); }
    55%      { transform: scale(0.985); }
}
.social-float a:hover {
    animation: socialGlowPulse 1.5s ease-in-out infinite;
    background: var(--social-color);
    border-color: rgba(255,255,255,0.48);
}
.social-float a:hover::before {
    opacity: 0.95;
    transform: scale(1.06);
}
.social-float a:nth-child(2) svg { animation-delay: 0.25s; }
.social-float a:nth-child(3) svg { animation-delay: 0.5s; }
.social-float a:nth-child(4) svg { animation-delay: 0.75s; }
.social-float a:nth-child(5) svg { animation-delay: 1s; }

/* Mobile: compact vertical pill on the right */
@media (max-width: 600px) {
    .social-float {
        top: auto; bottom: 92px;
        right: 10px; left: auto;
        transform: none;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 999px;
        padding: 8px 4px;
    }
    .social-float a { width: 34px; max-width: none; height: 34px; }
}


/* ================================================================
   POWERED-BY SPONSOR — Fixed bottom-left badge
   Mirrors the social float (bottom-right) to balance the layout.
   The #sponsorSection div is hidden inside the header but we
   create a separate visual slot here via CSS.
   ================================================================ */
.sponsor-fixed-badge {
    position: fixed;
    left: 18px;
    bottom: 28px;
    z-index: 150;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06)),
        linear-gradient(130deg, rgba(231,71,89,0.16), rgba(31,71,176,0.20));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(222,232,255,0.22);
    border-radius: 999px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.32),
                inset 0 1px 0 rgba(255,255,255,0.07);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.sponsor-fixed-badge.footer-overlap {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
}
.sponsor-fixed-badge .sponsor-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.48);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    white-space: nowrap;
    display: block;
}
.sponsor-fixed-badge .sponsor-reel {
    position: relative;
    width: 124px; height: 34px;
    flex-shrink: 0;
}
.sponsor-fixed-badge .sponsor-logo {
    position: absolute;
    top: 0; left: 0;
    width: 124px; height: 34px;
    object-fit: contain;
    background: transparent;
    border-radius: 5px;
    padding: 0;
    box-sizing: border-box;
    opacity: 0;
    animation: sponsorFade 12s ease-in-out infinite;
}
@media (max-width: 600px) {
    .sponsor-fixed-badge { display: none; } /* hidden on mobile to save space */
}


/* ================================================================
   SEARCH OVERLAY — Glass dialog
   ================================================================ */
.search-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(12px);
    z-index: 2000; align-items: flex-start; justify-content: center;
    padding: 80px 20px 20px;
}
.search-overlay.open { display: flex; }
.search-box {
    background: rgba(12, 12, 26, 0.92);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--radius-lg);
    width: 100%; max-width: 640px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.60), var(--glass-inset);
    overflow: hidden;
}
.search-input-row {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.search-input-row input {
    flex: 1; border: none; outline: none;
    font-size: 16px; background: transparent;
    color: var(--text); font-family: inherit;
}
.search-input-row input::placeholder { color: var(--text-3); }
.search-close-btn {
    background: var(--glass-md);
    border: 1px solid var(--glass-border);
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--text-2);
    transition: background 0.2s;
}
.search-close-btn:hover { background: var(--crimson); color: white; }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-result-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; transition: background 0.15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--glass-hover); }
.search-result-thumb {
    width: 64px; height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover; flex-shrink: 0;
    background: var(--glass-md);
}
.search-result-body h4 {
    font-size: 14px; font-weight: 600;
    line-height: 1.4; color: var(--text);
}
.search-result-body .meta { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.search-empty { text-align: center; padding: 32px 20px; color: var(--text-3); font-size: 14px; }


/* ================================================================
   FOOTER — Frosted glass that REVEALS the liquid mesh behind it
   More transparent background + strong blur lets the animated
   background show through, creating a living frosted-glass effect.
   ================================================================ */
.footer {
    /* Frosted glass that melts into the liquid mesh */
    background:
        linear-gradient(165deg, rgba(7,14,35,0.78), rgba(7,14,35,0.62) 60%),
        linear-gradient(120deg, rgba(181,52,68,0.30), rgba(24,57,146,0.28));
    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);
    border-top: 1px solid rgba(222,232,255,0.20);
    color: var(--text-2);
    padding: 36px 20px 16px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}
/* Inner top glow to reinforce the frosted look */
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg,
        transparent 5%, rgba(232,73,92,0.30) 30%,
        rgba(255,255,255,0.08) 50%,
        rgba(232,73,92,0.30) 70%, transparent 95%);
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 28px; align-items: start;
    position: relative; z-index: 1;
}
.footer h4 {
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.88);
    display: flex; align-items: center; gap: 6px;
}
.footer h4::before {
    content: '';
    display: inline-block;
    width: 14px; height: 2px;
    background: var(--crimson);
    border-radius: 2px;
    box-shadow: 0 0 6px var(--crimson-glow);
}
.footer p {
    font-size: 12px;
    color: rgba(236, 244, 255, 0.76);
    line-height: 1.65;
}
.footer-links a {
    display: block;
    font-size: 12px;
    color: rgba(236, 244, 255, 0.74);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--crimson-light); }
.social-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.social-icon {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--text-2);
    text-decoration: none; font-size: 14px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(6px);
}
.social-icon:hover {
    background: var(--crimson);
    border-color: var(--crimson);
    color: white;
    transform: scale(1.10);
}
.contact-line {
    display: flex; align-items: center; gap: 6px;
    color: rgba(236, 244, 255, 0.72); font-size: 12px; padding: 4px 0;
}
.contact-line a { color: rgba(236, 244, 255, 0.76); transition: color 0.2s; }
.contact-line a:hover { color: var(--crimson-light); }
.footer-bottom {
    max-width: var(--max-width);
    margin: 18px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 11px;
    color: rgba(240,240,240,0.58);
    position: relative; z-index: 1;
}


/* ================================================================
   LOADING & EMPTY STATES
   ================================================================ */
.loading {
    text-align: center; padding: 60px;
    color: var(--text-3); font-size: 14px;
}
.loading::after {
    content: '';
    display: block;
    width: 28px; height: 28px;
    border: 2.5px solid rgba(255,255,255,0.10);
    border-top-color: var(--crimson);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
    margin: 10px auto 0;
}
.empty-state {
    text-align: center; padding: 60px 20px;
    color: var(--text-3);
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.22; }


/* ================================================================
   DARK MODE TOGGLE
   (The site is already dark; toggling creates an even deeper variant)
   ================================================================ */
#darkModeIcon { transition: stroke 0.2s; }
body.dark-mode #darkModeIcon { stroke: #ffd700; }

/* Deeper-dark tweaks */
body.dark-mode .article-card    { background: linear-gradient(150deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03) 54%); }
body.dark-mode .hero-side-card  { background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); }
body.dark-mode .nav             { background: transparent; }
body.dark-mode .poll-widget     { background: linear-gradient(130deg, rgba(228,72,92,0.14), rgba(25,61,152,0.16)); }
body.dark-mode .search-box      { background: rgba(7, 14, 36, 0.97); }
body.dark-mode .footer          { background: linear-gradient(130deg, rgba(227,72,90,0.12), rgba(25,61,152,0.15)); }


/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

/* ── Tablet (≤1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .home-content-layout { grid-template-columns: 1fr; }
    .home-right-rail {
        position: static;
        top: auto;
    }
    .home-main-sections .article-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-hero,
    .section-feature-grid,
    .story-shell,
    .shorts-modal-shell {
        grid-template-columns: 1fr;
    }
    .landing-preview,
    .shorts-player-frame {
        margin: 0 auto;
    }
    .story-rail {
        position: static;
        top: auto;
    }
}

/* ── Large phones / small tablets (≤768px) ───────────────────── */
@media (max-width: 768px) {
    :root {
        --header-top:    10px;
        --header-height: 68px;
        --nav-height:    0px;
    }
    .header { width: calc(100% - 16px); border-radius: 16px; }
    .header-inner { padding: 0 12px; }
    .nav-link { padding: 0 10px; font-size: 11px; height: 40px; }
    .date-display  { display: none; }
    .sponsor-label { display: none; }
    .sponsor-reel  { width: 100px; height: 28px; }
    .sponsor-logo  { width: 100px; height: 28px; padding: 0; }
    .hero-grid     { grid-template-columns: 1fr; }
    .hero-main     { min-height: 260px; }
    .home-main-sections .article-grid  { grid-template-columns: 1fr; }
    .article-grid  { grid-template-columns: 1fr; }
    .footer-inner  { grid-template-columns: 1fr 1fr; gap: 20px; }
    .landing-hero,
    .story-head,
    .story-body,
    .story-panel,
    .shorts-modal-shell { padding: 22px; }
    .landing-copy h1,
    .story-head h1,
    .shorts-modal-copy h3 { max-width: none; }
    .landing-preview .short-thumb { height: 460px; }
    .story-meta-strip { grid-template-columns: 1fr; }
    .shorts-modal { padding: 18px; }
    .shorts-modal-copy { max-width: none; }
    .shorts-grid-page { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
    .section-feature-main { min-height: 360px; }
    .short-card  { flex: 0 0 164px; }
    .short-thumb { width: 164px; height: 292px; }
}

/* ── Mobile (≤600px) ──────────────────────────────────────────── */
@media (max-width: 600px) {
    :root {
        --header-top:    8px;
        --header-height: 64px;
        --nav-height:    0px;
        --nav-gap:       6px;
    }
    .header          { width: calc(100% - 12px); border-radius: 14px; }
    .header-inner    { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
    .logo-center     { min-width: 86px; }
    .logo-box        {
        width: 86px;
        height: 42px;
        padding: 0;
        border-radius: 999px;
    }
    .logo-center img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1.02);
    }
    .header-left     { display: none; }
    .hdr-icon-btn    { width: 31px; height: 31px; }
    .lang-select     { font-size: 11px; padding: 4px 22px 4px 8px; min-width: 76px; }
    .footer-inner    { grid-template-columns: 1fr; }
    .hero-main       { min-height: 220px; }
    .hero-main-overlay h2 { font-size: 17px; }
    .landing-hero,
    .story-head,
    .story-body,
    .story-panel,
    .shorts-modal-shell { padding: 18px; border-radius: 20px; }
    .landing-copy h1,
    .story-head h1,
    .shorts-modal-copy h3 { font-size: 28px; }
    .landing-copy p,
    .story-standfirst,
    .story-body .content,
    .shorts-modal-copy p { font-size: 15px; }
    .landing-stats,
    .story-facts,
    .story-chip-row,
    .story-tools,
    .story-rail-stats { gap: 8px; }
    .section-feature-main { min-height: 300px; }
    .mini-story-card { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
    .mini-story-thumb { width: 88px; height: 70px; }
    .sidebar-news-item.has-thumb { grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
    .sidebar-news-thumb { width: 88px; height: 52px; }
    .shorts-modal { padding: 12px; }
    .shorts-player-frame { width: min(300px, 100%); padding: 10px; border-radius: 24px; }
    .shorts-grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shorts-grid-page .short-thumb { height: 280px; }
    .short-card  { flex: 0 0 148px; }
    .short-thumb { width: 148px; height: 263px; }
}


/* ================================================================
   NEWSROOM POLISH
   Keeps the original dark premium look, but pushes it closer to a
   modern news product instead of a generic glossy app.
   ================================================================ */
body {
    font-family: 'Noto Sans Devanagari', 'Noto Sans Oriya', 'Sora', sans-serif;
    background-image:
        radial-gradient(90% 80% at 14% -8%, rgba(218, 63, 79, 0.16) 0%, rgba(218, 63, 79, 0) 54%),
        radial-gradient(72% 70% at 100% 100%, rgba(47, 93, 228, 0.15) 0%, rgba(47, 93, 228, 0) 54%),
        linear-gradient(180deg, #061128 0%, #0a1634 52%, #071223 100%);
}

.liquid-bg {
    opacity: 0.48;
}

.header {
    max-width: calc(var(--max-width) + 28px);
    border-radius: 18px;
    background: rgba(8, 16, 39, 0.86);
    border: 1px solid rgba(232, 239, 255, 0.14);
    box-shadow: 0 14px 34px rgba(3, 8, 20, 0.34);
}
.header::before,
.header::after {
    display: none;
}
.header-inner {
    padding: 0 18px;
}
.logo-box {
    padding: 2px;
    border-color: rgba(255,255,255,0.14);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        0 10px 20px rgba(7, 14, 38, 0.24);
}
.logo-center img {
    height: 46px;
    filter: saturate(1.08) contrast(1.05);
}
.nav-inner {
    gap: 4px;
}
.nav-link {
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
}
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(226, 69, 88, 0.92), rgba(171, 23, 39, 0.94));
}
.nav-link:hover {
    background: rgba(255,255,255,0.06);
}
.nav-link:hover::after,
.nav-link.active::after {
    display: none;
}

.hdr-icon-btn,
.lang-select {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}
.hdr-icon-btn:hover,
.lang-select:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255, 118, 138, 0.30);
    box-shadow: none;
}

.main {
    max-width: 1260px;
}

.hero-grid,
.home-content-layout,
.section-feature-grid {
    gap: 22px;
}
.hero-main,
.hero-side-card,
.section-feature-main,
.landing-hero,
.sidebar-widget,
.poll-widget,
.community-widget,
.article-card,
.story-head,
.story-body,
.story-panel,
.story-media-card,
.shorts-modal-shell,
.search-box {
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.hero-main {
    min-height: 460px;
    border-radius: 22px;
}
.hero-main-overlay {
    padding: 86px 28px 24px;
    background: linear-gradient(180deg, rgba(4, 8, 20, 0.02), rgba(4, 8, 20, 0.94) 60%);
}
.hero-main-overlay h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.08;
    max-width: min(760px, 72%);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-side-card {
    min-height: 108px;
    border-radius: 18px;
}
.hero-side-body {
    padding: 14px 16px;
}
.hero-side-card h3 {
    font-size: 15px;
    line-height: 1.42;
}

.section-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.section-header::after {
    width: 74px;
    height: 3px;
    background: linear-gradient(90deg, #ff7b8a, var(--crimson));
    box-shadow: none;
}
.section-header h2 {
    font-size: 17px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.landing-hero {
    padding: 28px 30px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(233, 72, 93, 0.10), transparent 34%),
        linear-gradient(150deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05) 58%);
}
.landing-copy h1 {
    max-width: 14ch;
}
.landing-copy p,
.story-panel p,
.article-card .summary {
    color: rgba(238,243,255,0.72);
}
.landing-stats span,
.story-facts span,
.story-chip,
.story-rail-stats span {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.10);
    color: rgba(238,243,255,0.78);
}

.section-feature-main {
    border-radius: 22px;
}
.section-feature-overlay {
    padding: 60px 22px 22px;
}
.section-feature-overlay h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-story-card,
.sidebar-news-item,
.sidebar-snapshot-item {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
}

.article-card {
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(10,20,48,0.94), rgba(8,16,38,0.98));
}
.article-card-img {
    height: 196px;
}
.article-card-body {
    padding: 16px 18px 18px;
}
.article-card .badge,
.hero-main-overlay .badge,
.section-feature-overlay .badge {
    border-radius: 999px;
}
.article-card h3 {
    font-size: 17px;
    line-height: 1.42;
}
.article-card .summary {
    -webkit-line-clamp: 3;
}

.short-card-featured .short-thumb {
    box-shadow: 0 20px 44px rgba(0,0,0,0.30);
}
.shorts-modal-shell {
    border-radius: 28px;
}

.story-head,
.story-body,
.story-panel {
    border-radius: 24px;
}
.story-head {
    padding: 30px;
}
.story-head h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}
.story-standfirst {
    max-width: 46ch;
}
.story-tool-btn {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
}
.story-tool-btn:hover {
    background: rgba(255,255,255,0.08);
}
.story-body {
    padding: 30px;
}
.story-body .content {
    font-size: 17px;
    line-height: 1.92;
}

.sidebar-widget {
    padding: 16px;
    border-radius: 20px;
}
.sidebar-widget-head h3 {
    font-size: 12px;
    letter-spacing: 0.8px;
}
.poll-widget,
.community-widget {
    border-radius: 22px;
}

.social-float {
    background: rgba(8, 16, 39, 0.84);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}
.social-float a {
    border-color: rgba(255,255,255,0.08);
}
.sponsor-fixed-badge {
    background: rgba(8, 16, 39, 0.88);
    border-color: rgba(255,255,255,0.10);
    box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

.footer {
    margin-top: 8px;
    border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: none;
}

@media (max-width: 1024px) {
    .hero-main {
        min-height: 390px;
    }
    .hero-main-overlay h2,
    .section-feature-overlay h2 {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .header {
        border-radius: 16px;
    }
    .header-inner {
        padding: 0 14px;
    }
    .hero-main {
        min-height: 320px;
    }
    .hero-main-overlay {
        padding: 70px 20px 20px;
    }
    .hero-main-overlay h2 {
        font-size: 28px;
        -webkit-line-clamp: 4;
    }
    .landing-hero,
    .story-head,
    .story-body,
    .story-panel {
        padding: 22px;
    }
}

@media (max-width: 600px) {
    .header {
        border-radius: 14px;
    }
    .nav-link {
        padding: 0 12px;
    }
    .hero-main {
        min-height: 270px;
    }
    .hero-main-overlay {
        padding: 60px 16px 16px;
    }
    .hero-main-overlay h2,
    .story-head h1,
    .landing-copy h1 {
        font-size: 24px;
    }
    .article-card-body,
    .story-head,
    .story-body {
        padding: 18px;
    }
}


/* ================================================================
   DETAIL VIEW FLATTENING
   Article and video opens should feel like full views, not cards.
   ================================================================ */
.story-page {
    max-width: 1260px;
}
.story-shell {
    display: block;
}
.story-main {
    display: block;
}
.story-rail {
    display: none;
}
.story-head,
.story-body,
.story-panel,
.story-media-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.story-head {
    padding: 0 0 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}
.story-head h1 {
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.12;
    max-width: none;
    text-wrap: balance;
}
.story-standfirst {
    max-width: 920px;
    margin-bottom: 28px;
    font-family: 'Noto Serif Devanagari', 'Noto Serif Oriya', 'Noto Sans Oriya', serif;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.68;
    color: rgba(238,243,255,0.88);
    letter-spacing: 0;
}
.story-publisher-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 18px;
    margin-top: 22px;
}
.story-publisher-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    padding: 8px;
    flex-shrink: 0;
}
.story-publisher-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.story-publisher-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}
.story-publisher-kicker {
    color: rgba(238,243,255,0.78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}
.story-publisher-name {
    color: var(--text);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.story-publisher-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: rgba(238,243,255,0.66);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}
.story-publisher-meta-line span {
    white-space: nowrap;
}
.story-publisher-meta-line span + span::before {
    content: "•";
    display: inline-block;
    margin: 0 10px;
    color: rgba(238,243,255,0.34);
}
.story-publisher-actions {
    justify-self: end;
}
.story-facts span,
.story-chip,
.story-rail-stats span {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    color: var(--text-3);
}
.story-tools {
    margin-top: 16px;
}
.story-tool-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
}
.story-tool-btn:hover {
    background: rgba(255,255,255,0.05);
}
.story-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.story-share-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}
.story-share-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.story-share-btn svg {
    width: 17px;
    height: 17px;
    fill: rgba(255,255,255,0.82);
}
.story-share-btn:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.22);
}
.story-share-wa:hover { background: rgba(37, 211, 102, 0.18); }
.story-share-fb:hover { background: rgba(24, 119, 242, 0.18); }
.story-share-x:hover { background: rgba(255,255,255,0.14); }
.story-share-copy.copied {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.24);
}
.story-media-card {
    padding: 0;
    margin-bottom: 34px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.story-body {
    max-width: 1040px;
    margin: 8px auto 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
.story-body .content {
    font-family: 'Noto Serif Devanagari', 'Noto Serif Oriya', 'Noto Sans Oriya', serif;
    font-size: clamp(20px, 1.45vw, 23px);
    line-height: 1.82;
    color: rgba(238,243,255,0.90);
    letter-spacing: 0;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}
.story-body .content > * {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.story-body .content img,
.story-body .content iframe,
.story-body .content video,
.yt-embed-wrap {
    max-width: 100%;
}
.story-body .content p,
.story-body .content ul,
.story-body .content ol,
.story-body .content blockquote,
.story-body .content table {
    margin-bottom: 22px;
}
.story-body .content h2,
.story-body .content h3,
.story-body .content h4 {
    font-family: 'Sora', 'Noto Sans Devanagari', 'Noto Sans Oriya', sans-serif;
    color: var(--text);
    line-height: 1.28;
    letter-spacing: -0.02em;
    margin: 42px auto 16px;
}
.story-body .content h2 {
    font-size: clamp(30px, 2.5vw, 38px);
}
.story-body .content h3 {
    font-size: clamp(24px, 2vw, 30px);
}
.story-body .content h4 {
    font-size: clamp(20px, 1.6vw, 24px);
}
.story-body .content .story-callout-line {
    font-family: 'Sora', 'Noto Sans Devanagari', 'Noto Sans Oriya', sans-serif;
    font-size: clamp(22px, 1.9vw, 28px);
    line-height: 1.5;
    font-weight: 700;
    color: var(--text);
    margin-top: 34px;
    margin-bottom: 18px;
    padding-left: 18px;
    border-left: 3px solid rgba(255, 118, 138, 0.72);
}
.story-inline-figure,
.story-inline-ad {
    max-width: 880px;
    margin: 34px auto;
}
.story-inline-figure img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.20);
}
.story-inline-figure figcaption {
    margin-top: 10px;
    color: rgba(238,243,255,0.62);
    font-family: 'Noto Sans Devanagari', 'Noto Sans Oriya', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}
.story-inline-ad {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.story-inline-ad .ad-slot {
    margin-bottom: 0;
    min-height: 120px;
}
.story-inline-ad-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    color: rgba(238,243,255,0.56);
    font-family: 'Sora', 'Noto Sans Devanagari', 'Noto Sans Oriya', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.story-body .content blockquote {
    background: rgba(255,255,255,0.05);
    color: rgba(238,243,255,0.86);
    border-left-color: var(--crimson);
}
.story-body .content a {
    color: #ff8d98;
    text-decoration-color: rgba(255,141,152,0.30);
}
.story-body .content img,
.story-body .content iframe,
.story-body .content video,
.yt-embed-wrap {
    border: none;
    box-shadow: 0 18px 36px rgba(0,0,0,0.20);
    border-radius: 20px;
}
.story-gallery-panel {
    margin-top: 28px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.story-gallery-panel .story-panel-kicker {
    margin-bottom: 14px;
}
.story-related-block {
    max-width: 1040px;
    margin: 54px auto 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.story-related-head {
    margin-bottom: 18px;
}
.story-related-head h2 {
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.18;
    color: var(--text);
}
.story-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.story-related-grid .mini-story-card {
    height: 100%;
}

.shorts-modal {
    padding: 24px;
    background: rgba(3,7,20,0.88);
}
.shorts-modal-shell {
    width: min(420px, 100%);
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.shorts-modal-copy {
    display: none;
}
.shorts-player-frame {
    width: min(390px, 100%);
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.shorts-modal iframe {
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.42);
}
.shorts-modal-close {
    top: 8px;
    right: 8px;
    background: rgba(8,16,39,0.86);
    border-color: rgba(255,255,255,0.14);
}

@media (max-width: 768px) {
    .story-head {
        margin-bottom: 22px;
        padding-bottom: 18px;
    }
    .story-head h1 {
        max-width: none;
    }
    .story-body {
        max-width: none;
        padding: 0;
    }
    .story-body .content {
        font-size: 18px;
        line-height: 1.78;
    }
    .story-standfirst {
        max-width: none;
        font-size: 20px;
        line-height: 1.65;
    }
    .story-media-card,
    .story-gallery-panel {
        max-width: none;
    }
    .story-body .content > * {
        max-width: none;
    }
    .story-inline-figure,
    .story-inline-ad {
        max-width: none;
    }
    .story-publisher-strip {
        grid-template-columns: auto 1fr;
        align-items: flex-start;
    }
    .story-publisher-actions {
        grid-column: 1 / -1;
        justify-self: start;
        padding-left: 76px;
    }
    .story-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .story-head h1 {
        font-size: 28px;
    }
    .story-standfirst {
        font-size: 18px;
        line-height: 1.62;
    }
    .story-body .content {
        font-size: 17px;
        line-height: 1.76;
    }
    .shorts-modal {
        padding: 14px;
    }
    .shorts-modal-shell,
    .shorts-player-frame {
        width: min(320px, 100%);
    }
    .story-share-row {
        gap: 8px;
    }
    .story-share-inline {
        gap: 8px;
    }
    .story-share-btn {
        width: 38px;
        height: 38px;
    }
    .story-publisher-strip {
        gap: 12px 14px;
    }
    .story-publisher-logo {
        width: 50px;
        height: 50px;
    }
    .story-publisher-kicker {
        font-size: 11px;
    }
    .story-publisher-name {
        font-size: 14px;
    }
    .story-publisher-meta-line {
        font-size: 12px;
    }
    .story-publisher-meta-line span {
        white-space: normal;
    }
    .story-publisher-meta-line span + span::before {
        margin: 0 8px;
    }
    .story-publisher-actions {
        padding-left: 64px;
    }
    .story-body .content .story-callout-line {
        font-size: 20px;
        line-height: 1.46;
        padding-left: 14px;
    }
}

/* ================================================================
   WHITE GLASS THEME
   Default public theme: editorial light surfaces with frosted edges.
   The old darker look is still available through body.dark-mode.
   ================================================================ */
body:not(.dark-mode) {
    --bg: #f4f7fc;
    --bg-alt: #eef2f8;
    --bg-card: #ffffff;
    --glass-xs: rgba(255, 255, 255, 0.38);
    --glass: rgba(255, 255, 255, 0.58);
    --glass-md: rgba(255, 255, 255, 0.74);
    --glass-hover: rgba(255, 255, 255, 0.90);
    --glass-strong: rgba(255, 255, 255, 0.96);
    --glass-border: rgba(124, 141, 171, 0.22);
    --glass-border-bright: rgba(255, 255, 255, 0.92);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --card-shadow: 0 18px 42px rgba(17, 24, 39, 0.08), 0 6px 16px rgba(17, 24, 39, 0.05);
    --card-inner: inset 0 1px 0 rgba(255,255,255,0.92), inset 0 -16px 36px rgba(226, 232, 240, 0.34);
    --text: #172235;
    --text-1: #172235;
    --text-2: rgba(23, 34, 53, 0.74);
    --text-3: rgba(56, 70, 95, 0.52);
    --gray-900: rgba(23,34,53,0.92);
    --gray-700: rgba(23,34,53,0.72);
    --gray-500: rgba(56,70,95,0.52);
    --gray-300: rgba(124,141,171,0.18);
    --gray-100: rgba(255,255,255,0.52);
    background:
        radial-gradient(110% 90% at 0% 0%, rgba(255, 203, 211, 0.40) 0%, rgba(255, 203, 211, 0) 42%),
        radial-gradient(90% 110% at 100% 0%, rgba(188, 211, 255, 0.34) 0%, rgba(188, 211, 255, 0) 40%),
        linear-gradient(180deg, #f8fbff 0%, #f1f5fb 46%, #fbfcff 100%);
    color: var(--text);
}

body:not(.dark-mode) .liquid-bg {
    background: linear-gradient(145deg, #f7faff 0%, #eef3fa 42%, #fdfcff 100%);
}
body:not(.dark-mode) .liquid-bg::before,
body:not(.dark-mode) .liquid-bg::after {
    mix-blend-mode: normal;
}
body:not(.dark-mode) .liquid-bg::before {
    background:
        radial-gradient(42% 56% at 18% 24%, rgba(255, 177, 190, 0.34), rgba(255, 177, 190, 0) 70%),
        radial-gradient(50% 60% at 80% 30%, rgba(177, 207, 255, 0.28), rgba(177, 207, 255, 0) 72%),
        radial-gradient(48% 52% at 52% 76%, rgba(217, 227, 247, 0.34), rgba(217, 227, 247, 0) 72%);
}
body:not(.dark-mode) .liquid-bg::after {
    background:
        conic-gradient(from 70deg at 40% 34%, rgba(255, 196, 206, 0.16), rgba(194, 216, 255, 0.14), rgba(255, 196, 206, 0.18));
    opacity: 0.42;
    filter: blur(70px);
}
body:not(.dark-mode) .liquid-bg .blob-1 {
    background: radial-gradient(circle at center,
        rgba(255, 179, 192, 0.50) 0%,
        rgba(255, 179, 192, 0.24) 35%,
        transparent 65%);
}
body:not(.dark-mode) .liquid-bg .blob-2 {
    background: radial-gradient(circle at center,
        rgba(174, 205, 255, 0.46) 0%,
        rgba(174, 205, 255, 0.22) 40%,
        transparent 65%);
}
body:not(.dark-mode) .liquid-bg .blob-3 {
    background: radial-gradient(circle at center,
        rgba(241, 221, 233, 0.46) 0%,
        rgba(241, 221, 233, 0.20) 44%,
        transparent 70%);
}

body:not(.dark-mode) .header {
    background: linear-gradient(140deg, rgba(255,255,255,0.82), rgba(246,249,255,0.62));
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.92);
}
body:not(.dark-mode) .logo-box {
    background:
        linear-gradient(155deg, rgba(255,255,255,0.96), rgba(235,240,248,0.82)),
        linear-gradient(135deg, rgba(241,244,251,0.95), rgba(225,231,242,0.88));
    border-color: rgba(148,163,184,0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95),
        0 10px 22px rgba(15, 23, 42, 0.08);
}
body:not(.dark-mode) .logo-center img {
    filter:
        saturate(1.04)
        contrast(1.02)
        brightness(1.02)
        drop-shadow(0 0 10px rgba(255, 153, 166, 0.18))
        drop-shadow(0 0 18px rgba(120, 157, 236, 0.14));
}
body:not(.dark-mode) .nav-link {
    color: rgba(23, 34, 53, 0.70);
}
body:not(.dark-mode) .nav-link:hover {
    color: var(--text);
    background: rgba(23, 34, 53, 0.05);
}
body:not(.dark-mode) .nav-link.active {
    color: #fff;
}
body:not(.dark-mode) .hdr-icon-btn,
body:not(.dark-mode) .lang-select {
    background: rgba(255,255,255,0.72);
    border-color: rgba(148,163,184,0.22);
    color: var(--text);
}
body:not(.dark-mode) .hdr-icon-btn:hover,
body:not(.dark-mode) .lang-select:hover {
    background: rgba(255,255,255,0.94);
    border-color: rgba(255, 118, 138, 0.28);
}
body:not(.dark-mode) .lang-select option {
    color: #172235;
    background: #ffffff;
}
body:not(.dark-mode) .date-display {
    color: rgba(56, 70, 95, 0.56);
}
body:not(.dark-mode) .sponsor-label {
    color: rgba(56, 70, 95, 0.48);
    border-right-color: rgba(148, 163, 184, 0.16);
}

body:not(.dark-mode) .hero-side-card,
body:not(.dark-mode) .section-feature-main,
body:not(.dark-mode) .landing-hero,
body:not(.dark-mode) .sidebar-widget,
body:not(.dark-mode) .poll-widget,
body:not(.dark-mode) .community-widget,
body:not(.dark-mode) .article-card,
body:not(.dark-mode) .search-box,
body:not(.dark-mode) .sponsor-fixed-badge,
body:not(.dark-mode) .social-float {
    background:
        linear-gradient(150deg, rgba(255,255,255,0.84), rgba(248,250,255,0.66)),
        linear-gradient(135deg, rgba(255, 216, 222, 0.18), rgba(213, 228, 255, 0.16));
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.94);
}
body:not(.dark-mode) .hero-main {
    background: rgba(255,255,255,0.46);
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.75);
}
body:not(.dark-mode) .hero-main:hover {
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(255, 118, 138, 0.18);
}
body:not(.dark-mode) .hero-main-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0) 6%, rgba(15, 23, 42, 0.76) 100%);
}
body:not(.dark-mode) .hero-main-overlay h2,
body:not(.dark-mode) .section-feature-overlay h2 {
    color: #fff;
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.30);
}
body:not(.dark-mode) .hero-side-thumb,
body:not(.dark-mode) .sidebar-news-thumb,
body:not(.dark-mode) .mini-story-thumb,
body:not(.dark-mode) .short-thumb {
    background: rgba(220, 228, 241, 0.52);
    border-color: rgba(148,163,184,0.16);
}
body:not(.dark-mode) .hero-side-thumb-placeholder,
body:not(.dark-mode) .sidebar-news-placeholder,
body:not(.dark-mode) .mini-story-placeholder {
    background: linear-gradient(135deg, rgba(228,234,244,0.96), rgba(209,220,239,0.76));
    color: rgba(56, 70, 95, 0.62);
}
body:not(.dark-mode) .hero-side-card h3,
body:not(.dark-mode) .sidebar-news-item h4,
body:not(.dark-mode) .sidebar-snapshot-item h4,
body:not(.dark-mode) .article-card h3,
body:not(.dark-mode) .mini-story-body h3,
body:not(.dark-mode) .community-widget h3,
body:not(.dark-mode) .poll-question,
body:not(.dark-mode) .search-result-body h4 {
    color: var(--text);
}
body:not(.dark-mode) .hero-side-card .meta,
body:not(.dark-mode) .sidebar-news-item .meta,
body:not(.dark-mode) .sidebar-snapshot-item .meta,
body:not(.dark-mode) .article-card .meta,
body:not(.dark-mode) .mini-story-body .meta,
body:not(.dark-mode) .search-result-body .meta,
body:not(.dark-mode) .poll-footer,
body:not(.dark-mode) .community-feedback {
    color: var(--text-3);
}
body:not(.dark-mode) .landing-copy p,
body:not(.dark-mode) .article-card .summary,
body:not(.dark-mode) .story-panel p,
body:not(.dark-mode) .community-widget p {
    color: var(--text-2);
}
body:not(.dark-mode) .hero-main-overlay .meta,
body:not(.dark-mode) .section-feature-overlay .meta,
body:not(.dark-mode) .hero-main-overlay .badge,
body:not(.dark-mode) .section-feature-overlay .badge,
body:not(.dark-mode) .section-feature-overlay p {
    color: rgba(255, 255, 255, 0.88);
}
body:not(.dark-mode) .section-header,
body:not(.dark-mode) .story-related-block {
    border-bottom-color: rgba(148, 163, 184, 0.18);
    border-top-color: rgba(148, 163, 184, 0.18);
}
body:not(.dark-mode) .section-header h2 {
    color: var(--text);
    text-shadow: none;
}
body:not(.dark-mode) .section-header a {
    color: #c43c4d;
}

body:not(.dark-mode) .article-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,250,255,0.78)),
        linear-gradient(140deg, rgba(255, 214, 221, 0.12), rgba(212, 226, 255, 0.12));
}
body:not(.dark-mode) .article-card:hover,
body:not(.dark-mode) .hero-side-card:hover,
body:not(.dark-mode) .mini-story-card:hover {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 118, 138, 0.18);
}
body:not(.dark-mode) .mini-story-card,
body:not(.dark-mode) .sidebar-news-item,
body:not(.dark-mode) .sidebar-snapshot-item {
    background:
        linear-gradient(150deg, rgba(255,255,255,0.84), rgba(247,250,255,0.72)),
        linear-gradient(140deg, rgba(255, 214, 221, 0.10), rgba(212, 226, 255, 0.10));
    border-color: rgba(148,163,184,0.14);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
body:not(.dark-mode) .mini-story-kicker,
body:not(.dark-mode) .community-widget-kicker,
body:not(.dark-mode) .poll-widget h3,
body:not(.dark-mode) .story-panel-kicker {
    color: #cc4556;
}

body:not(.dark-mode) .poll-widget,
body:not(.dark-mode) .community-widget {
    color: var(--text);
}
body:not(.dark-mode) .poll-option-btn {
    background: rgba(255,255,255,0.72);
    border-color: rgba(148,163,184,0.18);
    color: var(--text);
}
body:not(.dark-mode) .poll-option-btn:hover {
    background: rgba(255, 240, 243, 0.88);
    border-color: rgba(212, 86, 107, 0.28);
    box-shadow: 0 10px 24px rgba(212, 86, 107, 0.10);
}
body:not(.dark-mode) .poll-result-pct {
    color: #c43c4d;
    text-shadow: none;
}
body:not(.dark-mode) .community-input,
body:not(.dark-mode) .community-textarea,
body:not(.dark-mode) .search-input-row input {
    color: var(--text);
}
body:not(.dark-mode) .community-input::placeholder,
body:not(.dark-mode) .community-textarea::placeholder,
body:not(.dark-mode) .search-input-row input::placeholder {
    color: rgba(56, 70, 95, 0.44);
}

body:not(.dark-mode) .search-overlay {
    background: rgba(237, 242, 249, 0.72);
}
body:not(.dark-mode) .search-box {
    background: linear-gradient(150deg, rgba(255,255,255,0.94), rgba(248,250,255,0.84));
    border-color: rgba(148,163,184,0.20);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.96);
}
body:not(.dark-mode) .search-input-row {
    border-bottom-color: rgba(148,163,184,0.14);
}
body:not(.dark-mode) .search-result-item {
    border-bottom-color: rgba(148,163,184,0.10);
}
body:not(.dark-mode) .search-result-item:hover {
    background: rgba(23, 34, 53, 0.04);
}
body:not(.dark-mode) .search-close-btn {
    background: rgba(255,255,255,0.76);
    border-color: rgba(148,163,184,0.18);
    color: var(--text-2);
}

body:not(.dark-mode) .short-thumb {
    border-color: rgba(148,163,184,0.18);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}
body:not(.dark-mode) .short-thumb img {
    opacity: 0.84;
}
body:not(.dark-mode) .short-title {
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
}
body:not(.dark-mode) .short-card-featured .short-thumb {
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

body:not(.dark-mode) .social-float,
body:not(.dark-mode) .sponsor-fixed-badge {
    background:
        linear-gradient(150deg, rgba(255,255,255,0.86), rgba(247,250,255,0.74)),
        linear-gradient(140deg, rgba(255, 214, 221, 0.12), rgba(212, 226, 255, 0.14));
    border-color: rgba(148,163,184,0.18);
}
body:not(.dark-mode) .social-float a {
    background: rgba(255,255,255,0.72);
    border-color: rgba(148,163,184,0.18);
}
body:not(.dark-mode) .social-float a svg {
    fill: rgba(23, 34, 53, 0.76);
}
body:not(.dark-mode) .sponsor-fixed-badge .sponsor-label {
    color: rgba(56, 70, 95, 0.54);
}

body:not(.dark-mode) .footer {
    background:
        linear-gradient(170deg, rgba(255,255,255,0.82), rgba(246,249,255,0.70)),
        linear-gradient(135deg, rgba(255, 214, 221, 0.16), rgba(212, 226, 255, 0.14));
    border-top: 1px solid rgba(148,163,184,0.18);
    color: var(--text-2);
}
body:not(.dark-mode) .footer::before {
    background: linear-gradient(90deg,
        transparent 5%, rgba(212,86,107,0.22) 30%,
        rgba(255,255,255,0.40) 50%,
        rgba(212,86,107,0.22) 70%, transparent 95%);
}
body:not(.dark-mode) .footer h4 {
    color: var(--text);
}
body:not(.dark-mode) .footer p,
body:not(.dark-mode) .footer-links a,
body:not(.dark-mode) .contact-line,
body:not(.dark-mode) .contact-line a,
body:not(.dark-mode) .footer-bottom {
    color: var(--text-2);
}
body:not(.dark-mode) .social-icon {
    background: rgba(255,255,255,0.78);
    border-color: rgba(148,163,184,0.18);
    color: var(--text);
}

body:not(.dark-mode) .article-detail .back-btn,
body:not(.dark-mode) .cat-tag {
    background: rgba(255,255,255,0.68);
    border-color: rgba(148,163,184,0.18);
    color: var(--text-2);
}
body:not(.dark-mode) .article-detail .back-btn:hover,
body:not(.dark-mode) .cat-tag:hover {
    background: rgba(255,255,255,0.92);
    color: var(--text);
}
body:not(.dark-mode) .story-head {
    border-bottom-color: rgba(148,163,184,0.18);
}
body:not(.dark-mode) .story-standfirst {
    color: rgba(23, 34, 53, 0.74);
}
body:not(.dark-mode) .story-publisher-kicker {
    color: rgba(56, 70, 95, 0.54);
}
body:not(.dark-mode) .story-publisher-name,
body:not(.dark-mode) .story-related-head h2 {
    color: var(--text);
}
body:not(.dark-mode) .story-publisher-logo {
    background: #000;
    border-color: rgba(17, 24, 39, 0.18);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.12);
}
body:not(.dark-mode) .story-publisher-meta-line,
body:not(.dark-mode) .story-inline-figure figcaption {
    color: rgba(56, 70, 95, 0.60);
}
body:not(.dark-mode) .story-share-btn {
    background: rgba(255,255,255,0.74);
    border-color: rgba(148,163,184,0.18);
}
body:not(.dark-mode) .story-share-btn svg {
    fill: rgba(23, 34, 53, 0.76);
}
body:not(.dark-mode) .load-more-btn {
    color: var(--text);
    background: rgba(255,255,255,0.78);
    border-color: rgba(148,163,184,0.18);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.94);
}
body:not(.dark-mode) .load-more-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.96);
}
body:not(.dark-mode) .loading {
    color: rgba(56, 70, 95, 0.54);
}
body:not(.dark-mode) .loading::after {
    border-color: rgba(148,163,184,0.24);
    border-top-color: #d14b5c;
}
body:not(.dark-mode) .story-body .content {
    color: rgba(23, 34, 53, 0.88);
}
body:not(.dark-mode) .story-body .content h2,
body:not(.dark-mode) .story-body .content h3,
body:not(.dark-mode) .story-body .content h4,
body:not(.dark-mode) .story-body .content .story-callout-line {
    color: #122036;
}
body:not(.dark-mode) .story-body .content blockquote {
    background: rgba(255,255,255,0.76);
    color: rgba(23,34,53,0.78);
    border-left-color: rgba(212, 86, 107, 0.70);
}
body:not(.dark-mode) .story-body .content a {
    color: #c43c4d;
    text-decoration-color: rgba(196,60,77,0.24);
}
body:not(.dark-mode) .story-body .content img,
body:not(.dark-mode) .story-body .content iframe,
body:not(.dark-mode) .story-body .content video,
body:not(.dark-mode) .yt-embed-wrap,
body:not(.dark-mode) .story-inline-figure img {
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}
body:not(.dark-mode) .yt-embed-wrap,
body:not(.dark-mode) .article-gallery img {
    border-color: rgba(148,163,184,0.14);
}
body:not(.dark-mode) .story-inline-ad {
    background: rgba(255,255,255,0.76);
    border-color: rgba(148,163,184,0.14);
}
body:not(.dark-mode) .story-inline-ad-fallback {
    color: rgba(56, 70, 95, 0.52);
}
body:not(.dark-mode) .shorts-modal {
    background: rgba(239, 244, 251, 0.78);
    backdrop-filter: blur(18px);
}
body:not(.dark-mode) .shorts-modal-close {
    background: rgba(255,255,255,0.86);
    border-color: rgba(148,163,184,0.18);
    color: rgba(23, 34, 53, 0.76);
}
body:not(.dark-mode) .shorts-modal iframe {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}
body:not(.dark-mode) .lightbox {
    background: rgba(239, 244, 251, 0.88);
    backdrop-filter: blur(22px);
}
body:not(.dark-mode) .lightbox-close {
    color: rgba(23, 34, 53, 0.82);
}
body:not(.dark-mode) .lightbox img {
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.16);
}

@media (max-width: 768px) {
    body:not(.dark-mode) .header {
        background: rgba(255,255,255,0.88);
    }
    body:not(.dark-mode) .hero-main-overlay {
        background: linear-gradient(180deg, rgba(255,255,255,0) 10%, rgba(15, 23, 42, 0.82) 100%);
    }
}

body:not(.dark-mode) .sponsor-fixed-badge .sponsor-reel {
    background: transparent;
    box-shadow: none;
    border: 0;
}

body:not(.dark-mode) .sponsor-fixed-badge .sponsor-logo {
    filter: none;
    box-shadow: none;
}
