/* ==========================================================================
   DAINIK BHARAT VANI - Professional Hindi Digital Newspaper Design System
   Inspired by editorial Indian newspaper layouts (ReviewNews Indian style)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #cc0000;          /* Aaj Tak Signature Crimson Red */
    --primary-dark: #990000;     /* Deep Red / Active State */
    --primary-light: #e60000;    /* Vibrant Red */
    --brand-black: #111827;      /* Aaj Tak Jet Charcoal */
    --accent-red: #cc0000;       /* Aaj Tak Red */
    --accent-red-dark: #990000;
    --accent-gold: #ffd200;      /* Aaj Tak Signature Star Gold / Yellow */
    --surface: #ffffff;
    --bg-page: #f8fafc;          /* Modern Clean White/Newsprint */
    --text-main: #111827;        /* Crisp High-Contrast Charcoal */
    --text-muted: #64748b;       /* Subtitle & Date Gray */
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;
    --max-width: 1260px;
    --font-hindi: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
    background-color: #0a101d; /* Matches dark site footer at very bottom of document */
}

body {
    font-family: var(--font-hindi);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

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

/* Container */
.portal-container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Progressive Width Scaling for Laptops & High-Resolution Screens (1280px, 1366x768, 1920x1080 Full HD & Large Monitors) */
@media (min-width: 1280px) {
    :root {
        --max-width: 1320px;
    }
}

@media (min-width: 1400px) {
    :root {
        --max-width: 1360px;
    }
    .portal-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1600px) {
    :root {
        --max-width: 1480px;
    }
}

@media (min-width: 1800px) {
    :root {
        --max-width: 1600px;
    }
    .portal-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .content-sidebar-layout {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 1.5rem;
    }
    .hero-editorial-grid {
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-utility-bar {
    background: #18181b;
    color: #ffffff;
    font-size: 0.8125rem;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    gap: 0.75rem;
}

.top-bar-left-group {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.top-bar-date {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    font-size: 0.75rem;
    color: #e2e8f0;
}

/* Weather & City Dropdown Switcher */
.top-bar-weather-wrap {
    position: relative;
}

.weather-toggle-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fef08a;
    font-size: 0.75rem;
    font-family: inherit;
    border-radius: 20px;
    padding: 2px 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.weather-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

.weather-toggle-btn .weather-condition {
    color: #ffffff;
    opacity: 0.85;
}

.city-caret {
    font-size: 8px;
    opacity: 0.7;
    margin-left: 2px;
}

.weather-popup-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    z-index: 1100;
    padding: 0.5rem;
    display: none;
}

.weather-popup-menu.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.weather-popup-header {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px 6px 8px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.weather-cities-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weather-city-btn {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #1e293b;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.weather-city-btn:hover {
    background: #f8fafc;
    color: #c9182b;
}

.weather-city-btn.active {
    background: #fef2f2;
    color: #c9182b;
    font-weight: 700;
}

/* Top Bar Right Group */
.top-bar-right-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* WhatsApp Channel Pill in Topbar */
.top-wa-pill {
    background: #25d366;
    color: #ffffff;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
    line-height: 1.3;
}

.top-wa-pill:hover {
    background: #1eb954;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.45);
}

/* Reader Accessibility Font Size Resizer */
.top-font-resizer {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 1px 3px;
    gap: 2px;
}

.font-size-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.15s;
    font-family: inherit;
}

.font-size-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.font-size-btn.active {
    background: #ffd200;
    color: #111827;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-social-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-right: 0.2rem;
    white-space: nowrap;
}

.social-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    flex-shrink: 0;
}

.social-icon-circle svg {
    display: block;
    transition: transform 0.2s ease;
}

.social-icon-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-icon-circle:hover svg {
    transform: scale(1.12);
}

.social-icon-circle.social-fb:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.social-icon-circle.social-tw:hover {
    background-color: #000000;
    border-color: #333333;
    color: #ffffff;
}

.social-icon-circle.social-yt:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #ffffff;
}

.social-icon-circle.social-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: #ffffff;
}

.social-icon-circle.social-tg:hover {
    background-color: #229ed9;
    border-color: #229ed9;
    color: #ffffff;
}

/* Mobile Responsive Optimization for Top Utility Bar */
.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991px) {
    .top-utility-bar {
        padding: 5px 0 6px !important;
    }
    .top-bar-inner {
        flex-direction: column !important;
        gap: 5px !important;
        padding: 0 !important;
    }
    .top-bar-left-group {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    .top-bar-right-group {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding-top: 4px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        flex-wrap: nowrap !important;
    }
    .top-bar-date {
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex-shrink: 1 !important;
        color: #e2e8f0 !important;
    }
    .top-bar-date svg {
        flex-shrink: 0 !important;
    }
    .top-bar-social-label {
        display: none !important;
    }
    .edition-toggle-btn {
        padding: 2px 8px !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .weather-toggle-btn {
        padding: 2px 8px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .edition-popup-menu {
        right: 0 !important;
        left: auto !important;
        min-width: 210px !important;
    }
}

@media (max-width: 576px) {
    .weather-condition {
        display: none !important;
    }
    .edition-prefix {
        display: none !important;
    }
    .clock-sec-str {
        display: none !important;
    }
    .clock-year-str {
        display: none !important;
    }
    .social-icon-circle {
        width: 23px !important;
        height: 23px !important;
    }
    .top-wa-pill {
        padding: 2px 7px !important;
        font-size: 0.65rem !important;
    }
}

@media (max-width: 400px) {
    .social-ig, .social-tg {
        display: none !important;
    }
    .top-bar-actions {
        gap: 4px !important;
    }
}


/* ==========================================================================
   MAIN BRAND HEADER & AD
   ========================================================================== */
.site-header {
    background-color: var(--surface);
    border-bottom: 1px solid #f1f5f9;
    padding: 0.45rem 0;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo-wrap {
    flex-shrink: 0;
}

.brand-logo-img {
    height: auto;
    max-height: 95px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Enhanced Editorial Brand Logo Lockup */
.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.brand-link:hover {
    opacity: 0.96;
}

.brand-logo-frame {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-link:hover .brand-logo-frame {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px) scale(1.02);
}

.brand-logo-frame img,
.brand-logo-frame .brand-logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.brand-main-title {
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-family: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.brand-word-anudipti {
    color: var(--primary);
    font-weight: 900;
}

.brand-word-bharat {
    color: #0f172a;
    font-weight: 900;
    margin-left: 0.35rem;
}

.brand-news-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-size: 0.58em;
    font-weight: 800;
    padding: 0.18rem 0.6rem;
    border-radius: 5px;
    margin-left: 0.45rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb, 204, 0, 0), 0.32);
    line-height: 1.15;
    vertical-align: middle;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.brand-sub-en {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ea580c;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 3px;
    line-height: 1.2;
}

.brand-motto-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.2;
}

.brand-domain-chip {
    color: #0284c7;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-motto-sep {
    color: #cbd5e1;
    font-size: 0.65rem;
}

.brand-motto-words {
    color: #475569;
    font-weight: 600;
}

@media (max-width: 768px) {
    .brand-logo-img {
        width: auto !important;
        max-width: 250px !important;
        max-height: 68px !important;
    }
    .brand-logo-frame {
        width: 52px;
        height: 52px;
        border-radius: 9px;
        padding: 2px;
    }
    .brand-main-title {
        font-size: 1.55rem;
    }
    .brand-news-pill {
        font-size: 0.58em;
        padding: 0.12rem 0.45rem;
        margin-left: 0.3rem;
    }
    .brand-sub-en {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }
    .brand-motto-bar {
        font-size: 0.62rem;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .brand-logo-img {
        width: auto !important;
        max-width: 190px !important;
        max-height: 52px !important;
    }
    .brand-logo-frame {
        width: 44px;
        height: 44px;
    }
    .brand-main-title {
        font-size: 1.28rem;
    }
    .brand-news-pill {
        font-size: 0.55em;
        padding: 0.1rem 0.35rem;
    }
    .brand-sub-en {
        font-size: 0.56rem;
    }
    .brand-motto-words {
        display: none;
    }
    .brand-motto-sep {
        display: none;
    }
}

/* Professional News Portal Header Leaderboard Ad (IAB Standard 728x90 / Enhanced 740x95) */
.header-ad-banner {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

.header-ad-banner .ad-slot-wrapper,
.header-ad-banner .ad-slot-header_banner {
    width: 100%;
    max-width: 728px;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ad-slot-badge-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 3px;
    width: 100%;
}

.ad-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    padding: 1px 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    cursor: default;
    transition: all 0.2s ease;
}

.ad-badge-pill:hover {
    color: #475569;
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.ad-badge-info {
    font-size: 10px;
    color: #cbd5e1;
    font-weight: 800;
}

.header-ad-banner .ad-slot-wrapper a {
    display: block !important;
    width: 100%;
    max-width: 728px;
    text-align: right !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    line-height: 0;
    text-decoration: none;
}

.ad-banner-frame {
    width: 100%;
    max-width: 728px;
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.header-ad-banner .ad-slot-wrapper img {
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-ad-banner .ad-slot-wrapper a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 59, 96, 0.18);
}

/* ==========================================================================
   PRIMARY NAVIGATION (PIXEL-PERFECT VERTICAL ALIGNMENT & FULL RESPONSIVE)
   ========================================================================== */
.main-nav-bar {
    background-color: var(--primary);
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
    border-bottom: 2.5px solid #ffd200;
    height: 50px;
    box-sizing: border-box;
}

.main-nav-bar .portal-container {
    height: 100%;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-width: 0;
    gap: 0.4rem;
}

.nav-menu-list {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible !important;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-link-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

/* Standard navigation text link - centered with equal top and bottom borders */
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.78rem;
    font-size: 0.90625rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    vertical-align: middle;
}

.nav-link:not(.nav-election-link):hover,
.nav-link:not(.nav-election-link).active {
    background-color: var(--primary-dark);
    border-bottom-color: var(--accent-gold);
    color: #ffffff;
}

/* Home Icon Link */
.nav-home-link {
    padding: 0 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    box-sizing: border-box;
}

.nav-home-link svg {
    display: block;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-home-link:hover svg,
.nav-home-link.active svg {
    transform: scale(1.15);
    color: var(--accent-gold);
}

/* Special High-Priority Item: Election 2026 Hub */
.nav-election-item {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0.35rem;
    flex-shrink: 0;
}

.nav-election-item .nav-election-link {
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 9999px !important;
    padding: 0 11px !important;
    color: #ffffff !important;
    font-size: 0.84375rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    margin: auto 0 !important;
}

.nav-election-item .nav-election-link:hover,
.nav-election-item .nav-election-link.active {
    background: #ffffff !important;
    color: var(--primary, #b91c1c) !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-1px);
}

.election-flag-icon {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transform: translateY(-0.5px);
}

.election-link-text {
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
}

.election-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    line-height: 1;
    animation: livePillGlow 1.8s infinite;
}

.nav-election-item .nav-election-link:hover .election-live-badge,
.nav-election-item .nav-election-link.active .election-live-badge {
    background: var(--primary, #b91c1c) !important;
    color: #ffffff !important;
}

/* Actions Section (Right) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-left: 0.5rem;
    flex-shrink: 0;
    height: 100%;
}

.nav-search-btn {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: all 0.2s ease;
    align-self: center;
    padding: 0;
}

.nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--accent-gold);
    transform: scale(1.06);
}

.nav-search-btn svg {
    display: block;
    width: 17px;
    height: 17px;
}

/* Photos Action Pill in Navbar */
.nav-photo-pill {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    height: 32px;
    padding: 0 0.8rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap !important;
    flex-shrink: 0;
    text-decoration: none;
    border: 1.2px solid rgba(255, 255, 255, 0.55);
    box-sizing: border-box;
    line-height: 1;
    align-self: center;
    transition: all 0.2s ease;
}

.nav-photo-pill:hover {
    background: #ffffff;
    color: var(--primary, #cc0000) !important;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.nav-photo-pill .photo-icon {
    font-size: 0.88rem;
    line-height: 1;
}

/* Live TV Button in Navbar */
.live-tv-btn {
    background: #ffffff;
    color: var(--primary);
    height: 32px;
    padding: 0 0.95rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap !important;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    line-height: 1;
    letter-spacing: 0.02em;
    align-self: center;
    transition: all 0.2s ease;
}

.live-tv-btn:hover {
    background: #ffd200;
    color: #111827 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 210, 0, 0.45);
}

.live-tv-btn:active {
    transform: translateY(0);
}

.live-tv-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: liveTvPulse 1.2s infinite;
}

@keyframes liveTvPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.9); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(204, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

/* E-Paper Button */
.epaper-btn {
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    height: 32px;
    padding: 0 0.95rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: nowrap !important;
    flex-shrink: 0;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
    line-height: 1;
    letter-spacing: 0.02em;
    align-self: center;
    transition: all 0.2s ease;
}

.epaper-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #ffd200;
    border-color: #ffd200;
    transform: translateY(-1px);
}

.epaper-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   NAVIGATION MULTIMEDIA DROPDOWN MENU
   ========================================================================== */
.nav-dropdown-wrap {
    position: relative;
    height: 100%;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-caret {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrap:hover .dropdown-caret,
.nav-dropdown-wrap.open .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1.5px solid #e2e8f0;
    padding: 0.45rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 99999 !important;
    margin-top: 0;
    pointer-events: auto;
}

#navStatesDropdown .nav-dropdown-panel {
    left: 0 !important;
    right: auto !important;
}

.nav-dropdown-wrap:hover .nav-dropdown-panel,
.nav-dropdown-wrap.open .nav-dropdown-panel,
.nav-dropdown-panel.show {
    display: flex !important;
    animation: navDropDownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrap:hover .dropdown-caret,
.nav-dropdown-wrap.open .dropdown-caret {
    transform: rotate(180deg);
}

@keyframes navDropDownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-dropdown-link:hover {
    background: #eff6ff;
    color: var(--primary, #cc0000);
    transform: translateX(3px);
}

.nav-dropdown-link.active {
    background: #f1f5f9;
    color: var(--primary, #cc0000);
    font-weight: 700;
}

.nav-dropdown-link .dropdown-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.dropdown-link-body {
    display: flex;
    flex-direction: column;
}

.dropdown-link-body strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.dropdown-link-body small {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.2;
}

.nav-dropdown-link:hover .dropdown-link-body strong {
    color: var(--primary, #cc0000);
}

.epaper-btn svg {
    flex-shrink: 0;
    display: block;
    transition: transform 0.2s ease;
}

.epaper-btn:hover svg {
    transform: scale(1.1);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    padding: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   BREAKING NEWS TICKER
   ========================================================================== */
.breaking-ticker-wrap {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #fee2e2;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ticker-inner {
    display: flex;
    align-items: stretch;
    height: 38px;
}

.ticker-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
    padding-right: 1.4rem;
    box-shadow: 2px 0 6px rgba(185, 28, 28, 0.2);
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
    animation: ticker-pulse 1.5s infinite;
}

@keyframes ticker-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
        transform: scale(1.15);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(0.95);
    }
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.ticker-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    gap: 2.5rem;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
}

.ticker-item:hover {
    color: var(--accent-red);
}

.ticker-bullet {
    color: var(--accent-red);
    font-size: 1.1rem;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   EDITORIAL SECTION HEADERS (Red/Gold Accent bar like screenshot)
   ========================================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: 0.4rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.45rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
}

.section-view-all {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.section-view-all:hover {
    color: var(--accent-red);
}

/* ==========================================================================
   HOMEPAGE HERO: 3-COLUMN EDITORIAL HIERARCHY (Matching Screenshot)
   ========================================================================== */
.hero-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.75fr) minmax(0, 1.15fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    padding: 0.9rem;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    width: 100%;
    box-sizing: border-box;
}

/* Left: Editor's choice 2 stacked cards */
.hero-editor-picks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    width: 100%;
}

.hero-main-story {
    min-width: 0;
    width: 100%;
}

.hero-trending-wrapper {
    min-width: 0;
    width: 100%;
}

.editor-pick-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.editor-pick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.editor-pick-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #cbd5e1;
}

.editor-pick-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.editor-pick-card:hover .editor-pick-img {
    transform: scale(1.05);
}

.card-category-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: var(--accent-red);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    text-transform: uppercase;
}

.editor-pick-body {
    padding: 0.85rem;
}

.editor-pick-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editor-pick-title:hover {
    color: var(--accent-red);
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Center: Major Lead Story */
.hero-lead-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.lead-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #cbd5e1;
}

.lead-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-lead-card:hover .lead-img {
    transform: scale(1.03);
}

.lead-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    padding: 1.25rem;
    color: #ffffff;
}

.lead-headline {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.35;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.lead-headline:hover {
    color: #fcd34d;
}

.lead-meta {
    font-size: 0.8125rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Right: Numbered Trending News List */
.hero-trending-list {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.trending-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.4rem;
    border-radius: 6px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.trending-item-row:hover {
    background-color: #f8fafc;
}

.trending-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0.4rem;
}

.trending-thumb-wrap {
    position: relative;
    width: 82px;
    height: 66px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.trending-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-item-row:hover .trending-thumb {
    transform: scale(1.05);
}

.trending-number-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #e11d48 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    border-top-right-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.trending-details {
    flex-grow: 1;
    min-width: 0;
}

.trending-category-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    display: block;
    line-height: 1.2;
}

.trending-headline {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.35rem;
    word-break: break-word;
}

.trending-headline:hover {
    color: var(--accent-red);
}

/* ==========================================================================
   4-COLUMN FEATURED NEWS GRID (Matching Screenshot)
   ========================================================================== */
.featured-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.grid-news-card {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.grid-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.grid-card-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.grid-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.grid-news-card:hover .grid-card-img {
    transform: scale(1.04);
}

.grid-card-body {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.grid-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-card-title:hover {
    color: var(--accent-red);
}

/* ==========================================================================
   3-COLUMN CATEGORY HIGHLIGHTS (Jharkhand, Bihar, Odisha style in screenshot)
   ========================================================================== */
.three-category-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.category-column-box {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 6px;
    padding: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.category-column-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.column-item-row {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.column-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.column-item-thumb {
    width: 82px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 3px;
    object-fit: cover;
}

.column-item-text {
    flex-grow: 1;
}

.column-item-title {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.column-item-title:hover {
    color: var(--accent-red);
}

/* ==========================================================================
   MAIN CONTENT (70%) + STICKY SIDEBAR (30%)
   ========================================================================== */
.content-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    box-sizing: border-box;
}

.main-content-stream {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.sticky-sidebar-inner {
    position: sticky;
    top: 60px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 0.95rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.4rem;
    margin-bottom: 0.85rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 44px;
    height: 2px;
    background-color: var(--accent-red);
}

/* Social media follower counters (6-box grid matching screenshot) */
.social-follower-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.social-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.35rem;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.social-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    opacity: 0.96;
}

.social-box svg {
    transition: transform 0.2s ease;
}

.social-box:hover svg {
    transform: scale(1.12);
}

.social-box.facebook { background-color: #1877f2; }
.social-box.linkedin { background-color: #0a66c2; }
.social-box.youtube  { background-color: #ff0000; }
.social-box.twitter  { background-color: #0f1419; }
.social-box.instagram{ background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-box.telegram { background-color: #229ed9; }

/* District Selector Widget */
.district-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.district-scroll-wrap {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.district-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.district-pill {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s;
}

.district-pill:hover, .district-pill.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Newsletter Widget */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-size: 0.875rem;
    font-family: inherit;
}

.newsletter-btn {
    background-color: var(--accent-red);
    color: #ffffff;
    border: none;
    padding: 0.65rem;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-btn:hover {
    background-color: var(--accent-red-dark);
}

/* ==========================================================================
   PHOTO & VIDEO SECTIONS
   ========================================================================== */
.photo-strip-section {
    background-color: #0f172a;
    color: #ffffff;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
}

.photo-strip-section .section-title {
    color: #ffffff;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.photo-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.5);
}

.photo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.85rem;
}

.photo-caption {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}

/* ==========================================================================
   ARTICLE SINGLE PAGE
   ========================================================================== */
.article-container {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
@media (max-width: 768px) {
    .article-container {
        padding: 1.25rem 1rem;
    }
}

/* Breadcrumbs */
.article-breadcrumb {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    line-height: 1.4;
}
.bc-home-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--primary);
    font-weight: 700;
}
.bc-sep {
    color: #94a3b8;
    font-size: 0.9rem;
}
.bc-current {
    color: #0f172a;
    font-weight: 700;
}

/* Badges Row */
.article-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}
.article-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
}
.article-badge.category-badge {
    background: var(--primary);
}
.article-badge.district-badge {
    background: #111827;
}
.article-badge.breaking-badge {
    background: #dc2626;
    animation: pulseGlow 1.5s infinite;
}
.article-badge.exclusive-badge {
    background: #d97706;
}

/* Headline & Subtitle */
.article-headline {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
@media (max-width: 768px) {
    .article-headline {
        font-size: 1.65rem;
        line-height: 1.35;
    }
}

.article-subtitle {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.35rem;
    border-left: 4px solid var(--accent-red);
    padding-left: 1rem;
    font-weight: 500;
    background: #f8fafc;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    border-radius: 0 6px 6px 0;
}

/* Byline & Metadata Bar */
.article-byline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.85rem 0;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-wrap {
    position: relative;
    width: 46px;
    height: 46px;
}
.author-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
.author-verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
}

.author-meta-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.author-name {
    font-weight: 800;
    font-size: 0.9375rem;
    color: #0f172a;
}
.author-role-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary);
    background: #fef2f2;
    padding: 1px 7px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}

.publish-time {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.meta-dot {
    color: #cbd5e1;
}

/* Action Toolbar */
.article-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.article-utility-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
    transition: all 0.2s ease;
}
.article-utility-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s ease;
}
.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.facebook { background-color: #1877f2; }
.share-btn.twitter  { background-color: #0f1419; }
.share-btn.copy-link {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}
.share-btn.copy-link:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* In-Article Font Scaler */
.article-font-scaler {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 1px 3px;
    background: #ffffff;
    gap: 1px;
}
.font-scale-btn {
    background: none;
    border: none;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.font-scale-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}
.font-scale-btn.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(204, 0, 0, 0.3);
}

/* Featured Media */
.article-featured-media {
    margin: 1.5rem 0 2rem 0;
}
.featured-img-frame {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.article-featured-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.featured-img-frame:hover .article-featured-img {
    transform: scale(1.02);
}
.media-caption {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.6rem;
    text-align: center;
    font-weight: 500;
}

/* Key Highlights Box */
.article-highlights-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #fcd34d;
    border-left: 5px solid #d97706;
    border-radius: 8px;
    padding: 1.15rem 1.4rem;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
}
.article-highlights-box h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.article-highlights-box ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
}
.article-highlights-box li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #78350f;
    position: relative;
    padding-left: 1.35rem;
}
.article-highlights-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #d97706;
    font-weight: 900;
}

/* Quick Facts / Stat Box */
.news-fact-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.news-fact-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.85rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}
.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1.5rem;
}
.fact-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.4rem;
    font-size: 0.875rem;
}
.fact-item .f-lbl {
    color: #64748b;
    font-weight: 500;
}
.fact-item .f-val {
    color: #0f172a;
    font-weight: 700;
}

/* Article Body Content */
.article-body-content {
    font-size: 1.15rem;
    line-height: 1.88;
    color: #1e293b;
    font-family: inherit;
    transition: font-size 0.2s ease;
}
.article-body-content p {
    margin-bottom: 1.5rem;
}
.article-body-content p strong:first-child {
    color: #0f172a;
    font-size: 1.18rem;
    letter-spacing: 0.01em;
}

.article-body-content h2,
.article-body-content h3 {
    margin-top: 2.25rem;
    margin-bottom: 0.95rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.35;
    position: relative;
    padding-left: 0.85rem;
    border-left: 4px solid var(--primary);
}
.article-body-content h3 {
    font-size: 1.35rem;
}

.article-body-content blockquote {
    border-left: 4px solid #d97706;
    background: #fdfbf7;
    padding: 1.25rem 1.6rem;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 0 10px rgba(217, 119, 6, 0.03);
}
.article-body-content blockquote cite {
    display: block;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.6rem;
}

.article-body-content ol,
.article-body-content ul {
    margin: 1.25rem 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.article-body-content li {
    line-height: 1.7;
}

/* Reader Reactions Box */
.article-reactions-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.35rem 1.5rem;
    margin: 2.5rem 0 1.75rem 0;
    text-align: center;
}
.reactions-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.85rem;
}
.reactions-grid {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.reaction-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.reaction-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.12);
}
.reaction-btn.reacted {
    background: #fef2f2;
    border-color: var(--primary);
    color: var(--primary);
}
.reaction-count {
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 10px;
    color: #475569;
}

/* Bottom Share Callout Banner */
.article-share-banner {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    border-left: 5px solid var(--primary);
    color: #ffffff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.share-banner-text h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 3px;
    color: #ffffff;
}
.share-banner-text p {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin: 0;
}
.share-banner-btns {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.s-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.s-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.s-btn.wa { background: #25d366; }
.s-btn.fb { background: #1877f2; }
.s-btn.tw { background: #000000; border: 1px solid rgba(255,255,255,0.2); }
.s-btn.tg { background: #229ed9; }

/* Author Profile Card */
.article-author-card {
    display: flex;
    gap: 1.15rem;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.35rem 1.5rem;
    margin: 2rem 0;
}
.author-card-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}
.author-card-info {
    flex: 1;
}
.author-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
.author-card-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
}
.author-card-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary);
    background: #fef2f2;
    padding: 1px 7px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
}
.author-card-bio {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Next & Previous Article Navigator */
.article-nav-prev-next {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2.25rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
@media (max-width: 600px) {
    .article-nav-prev-next {
        grid-template-columns: 1fr;
    }
}
.art-nav-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.2s;
}
.art-nav-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.08);
}
.art-nav-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.art-nav-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.article-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}
.tag-pill {
    background-color: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.15s;
    text-decoration: none;
}
.tag-pill:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ==========================================================================
   FOOTER (Matching Dark Multi-Column in Screenshot)
   ========================================================================== */
.site-footer {
    background-color: #0a101d;
    color: #94a3b8;
    padding: 3rem 0 1.5rem 0;
    border-top: 4px solid var(--accent-red);
    margin-top: auto;
    width: 100%;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-red);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.875rem;
}

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

.footer-links-inline {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    padding: 0;
    margin: 0;
    font-size: 0.8125rem;
}

.footer-links-inline li {
    display: inline-flex;
    align-items: center;
}

.footer-links-inline a {
    color: #cbd5e1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.footer-links-inline a:hover {
    color: #f97316;
}

.footer-calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.footer-calendar-table th {
    padding: 0.35rem;
    color: #cbd5e1;
    border-bottom: 1px solid #1e293b;
}

.footer-calendar-table td {
    padding: 0.35rem;
    border: 1px solid #1e293b;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

/* ==========================================================================
   OFF-CANVAS MOBILE MENU & SEARCH MODAL
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0,0,0,0.25);
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 1.5rem;
}

.mobile-drawer.open {
    left: 0;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.drawer-backdrop.active {
    display: block;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (320px to 1440px)
   ========================================================================== */
/* Responsive Navigation for 1366x768 and Standard Laptop Resolutions (<= 1400px) */
@media (max-width: 1400px) {
    .main-nav-bar .portal-container {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
    .nav-inner {
        gap: 0.25rem;
    }
    .nav-link {
        padding: 0 0.44rem;
        font-size: 0.835rem;
    }
    .nav-home-link {
        padding: 0 0.52rem;
    }
    .nav-home-link svg {
        width: 16px;
        height: 16px;
    }
    .nav-election-item {
        padding: 0 0.12rem;
    }
    .nav-election-item .nav-election-link {
        height: 29px !important;
        padding: 0 7px !important;
        font-size: 0.76rem !important;
        gap: 4px !important;
    }
    .election-live-badge {
        font-size: 0.56rem !important;
        padding: 2px 4px !important;
    }
    .nav-photo-pill {
        display: none !important;
    }
    .live-tv-btn {
        height: 29px;
        padding: 0 0.65rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    .epaper-btn {
        height: 29px;
        padding: 0 0.65rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    .nav-actions {
        gap: 0.3rem;
        padding-left: 0.2rem;
    }
    .nav-search-btn {
        width: 30px;
        height: 30px;
    }
}

/* Responsive Navigation for Smaller Laptops & Tablets (1024px to 1180px) */
@media (max-width: 1180px) and (min-width: 769px) {
    .nav-link {
        padding: 0 0.28rem;
        font-size: 0.78rem;
    }
    .nav-election-item .nav-election-link {
        height: 27px !important;
        padding: 0 5px !important;
        font-size: 0.70rem !important;
    }
    .live-tv-btn {
        height: 27px;
        padding: 0 0.50rem;
        font-size: 0.70rem;
    }
    .epaper-btn {
        height: 27px;
        padding: 0 0.50rem;
        font-size: 0.70rem;
    }
}

@media (max-width: 1024px) {
    .hero-editorial-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem;
    }
    .hero-main-story {
        order: 1 !important;
    }
    .hero-editor-picks {
        order: 2 !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .hero-trending-wrapper {
        order: 3 !important;
    }
    .featured-4col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-category-columns-grid {
        grid-template-columns: 1fr;
    }
    .content-sidebar-layout {
        grid-template-columns: 1fr;
    }
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Global Portal Container */
    .portal-container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Header & Branding */
    .header-grid {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .header-ad-banner {
        justify-content: center;
        width: 100%;
    }
    .header-ad-banner .ad-slot-wrapper,
    .header-ad-banner .ad-slot-header_banner {
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }
    .header-ad-banner .ad-slot-wrapper .ad-slot-label,
    .header-ad-banner .ad-slot-wrapper > div:first-child {
        text-align: center !important;
    }
    .header-ad-banner .ad-slot-wrapper a {
        margin: 0 auto !important;
        text-align: center !important;
    }
    .header-ad-banner .ad-slot-wrapper img {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        border-radius: 6px;
    }
    .main-nav-bar {
        height: 48px;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .nav-menu-list {
        display: none;
    }
    .nav-actions {
        gap: 0.35rem;
        padding-left: 0;
    }
    .live-tv-btn {
        height: 30px;
        padding: 0 0.65rem;
        font-size: 0.75rem;
    }
    .epaper-btn {
        height: 30px;
        padding: 0 0.65rem;
        font-size: 0.75rem;
    }
    .nav-search-btn {
        width: 30px;
        height: 30px;
    }
    .nav-search-btn svg {
        width: 15px;
        height: 15px;
    }

    /* Content & Sidebar Layout */
    .content-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    .main-content-stream,
    .sidebar-container,
    .article-container {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .sticky-sidebar-inner {
        position: static !important;
        top: auto !important;
    }

    /* Hero Sub-leads & Editor Picks on Mobile */
    .hero-editor-picks {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.85rem !important;
    }
    .hero-subleads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }

    /* Breaking Ticker on Mobile */
    .breaking-ticker-wrap {
        margin-top: 0.35rem;
        margin-bottom: 0.35rem;
    }
    .ticker-inner {
        height: 34px !important;
    }
    .ticker-badge {
        padding: 0 0.65rem 0 0.65rem !important;
        font-size: 0.72rem !important;
        clip-path: none !important;
        border-radius: 4px 0 0 4px !important;
    }
    .ticker-controls {
        display: none !important; /* Hide arrows on mobile to maximize marquee space */
    }
    .ticker-content {
        padding: 0 0.5rem !important;
    }
    .ticker-item {
        font-size: 0.82rem !important;
    }

    /* Trending Ribbon / Hashtags on Mobile */
    .trending-ribbon-bar {
        padding: 0.2rem 0 !important;
    }
    .trending-ribbon-inner {
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 2px;
    }
    .trending-ribbon-inner::-webkit-scrollbar {
        display: none;
    }
    .trending-tag-pill {
        font-size: 0.72rem !important;
        padding: 2px 7px !important;
    }

    /* Grids & Cards */
    .featured-4col-grid {
        grid-template-columns: 1fr;
    }
    .photo-grid {
        grid-template-columns: 1fr;
    }

    /* Homepage Latest Feed Items on Mobile */
    .home-latest-news-card,
    .main-content-stream article[style*="display: flex"] {
        gap: 0.75rem !important;
        padding-bottom: 1rem !important;
    }
    .home-latest-news-thumb,
    .main-content-stream article[style*="display: flex"] > a:first-child {
        width: 115px !important;
        height: 80px !important;
        flex-shrink: 0 !important;
    }
    .main-content-stream article[style*="display: flex"] h3 {
        font-size: 0.92rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.25rem !important;
    }
    .main-content-stream article[style*="display: flex"] p {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.3rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .main-content-stream article[style*="display: flex"] .card-meta {
        font-size: 0.7rem !important;
    }

    /* Dual Split Boxes (State & Politics, National & Business, Sports & Tech) */
    .dual-category-split,
    .main-content-stream div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Global Ad Containment on Mobile */
    .ad-slot-wrapper,
    .ad-container,
    .header-ad-banner,
    .below-header-ad-wrap,
    .footer-ad-wrap,
    .between-cards-ad-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .ad-slot-wrapper img,
    .ad-container img,
    .header-ad-banner img,
    .below-header-ad-wrap img,
    .footer-ad-wrap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .ad-slot-wrapper iframe,
    .ad-container iframe {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Single Article Detail Page Typography & Layout */
    .article-headline {
        font-size: 1.45rem !important;
        line-height: 1.38 !important;
        margin-bottom: 0.75rem !important;
    }
    .article-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        padding: 0.65rem 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    .article-byline-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
        padding: 0.75rem 0 !important;
    }
    .author-info-wrap {
        width: 100%;
    }
    .article-actions-bar {
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0.35rem !important;
    }
    .article-actions-bar::-webkit-scrollbar {
        display: none;
    }
    .article-utility-btn,
    .share-btn {
        padding: 4px 9px !important;
        font-size: 0.72rem !important;
        flex-shrink: 0 !important;
    }
    .audio-reader-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0.75rem !important;
        gap: 0.6rem !important;
    }
    .audio-reader-left {
        width: 100% !important;
    }
    .audio-reader-right {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.4rem !important;
    }
    .takeaways-card {
        padding: 0.85rem 1rem !important;
        margin: 1rem 0 !important;
    }
    .takeaways-title {
        font-size: 0.92rem !important;
    }
    .takeaways-item {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }
    .article-body-content {
        font-size: 1.05rem !important;
        line-height: 1.8 !important;
    }
    .article-body-content p {
        margin-bottom: 1.25rem !important;
    }
    .article-body-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px !important;
    }
    .article-body-content table {
        width: 100% !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .article-body-content iframe,
    .article-body-content embed,
    .article-body-content video {
        max-width: 100% !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
    }
    .article-body-content blockquote {
        padding: 0.85rem 1rem !important;
        margin: 1.25rem 0 !important;
        font-size: 0.98rem !important;
    }
    .article-body-content pre,
    .article-body-content code {
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: pre-wrap !important;
        word-break: break-word !important;
    }
    .article-reactions-box {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
    }
    .reactions-grid {
        gap: 0.5rem !important;
    }
    .reaction-btn {
        padding: 5px 10px !important;
        font-size: 0.78rem !important;
    }
    .article-share-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
        padding: 1rem 1.15rem !important;
    }
    .share-banner-btns {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .article-author-card {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
        gap: 0.85rem !important;
    }
    .author-card-avatar {
        width: 50px !important;
        height: 50px !important;
    }
    .article-nav-prev-next {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .comment-form-wrap {
        padding: 1rem !important;
    }
    .comment-form-wrap > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Category, District, State Archive Grids */
    .archive-news-grid,
    .main-content-stream div[style*="minmax(300px, 1fr)"],
    .main-content-stream div[style*="minmax(280px, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Multimedia Hubs on Mobile */
    .photo-grid,
    div[style*="minmax(280px, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    .cartoon-card-body {
        padding: 0.75rem !important;
    }
    .cartoon-img {
        max-width: 100% !important;
        height: auto !important;
    }
    .cartoon-punchline {
        font-size: 0.88rem !important;
    }

    /* Search Results on Mobile */
    .search-result-card,
    .main-content-stream article[style*="border-radius: 4px; padding: 1.25rem"] {
        padding: 0.85rem !important;
        gap: 0.75rem !important;
    }
    .search-result-card img,
    .main-content-stream article[style*="border-radius: 4px; padding: 1.25rem"] > a:first-child {
        width: 105px !important;
        height: 75px !important;
        flex-shrink: 0 !important;
    }

    /* Footer on Mobile */
    .footer-columns-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .footer-bottom-bar {
        flex-direction: column !important;
        gap: 0.75rem !important;
        text-align: center !important;
        padding-bottom: 1.5rem !important;
    }
    .footer-links-inline {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    /* Mobile Navigation Drawer & Search Modal Depth */
    .mobile-drawer {
        width: min(300px, 86vw) !important;
        z-index: 999995 !important;
    }
    .drawer-backdrop {
        z-index: 999990 !important;
    }
    #searchModal {
        z-index: 999999 !important;
    }
}

@media (max-width: 480px) {
    /* Extreme Compact Screen Optimization (320px - 480px) */
    .portal-container {
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
    }
    .brand-main-title {
        font-size: 1.22rem !important;
    }
    .brand-logo-frame {
        width: 40px !important;
        height: 40px !important;
    }
    .article-headline {
        font-size: 1.3rem !important;
        line-height: 1.36 !important;
    }
    .article-body-content {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }
    .lead-headline {
        font-size: 1.15rem !important;
        line-height: 1.35 !important;
    }
    .lead-overlay-content {
        padding: 0.85rem !important;
    }
    .hero-editorial-grid {
        padding: 0.65rem !important;
    }
    .hero-subleads-grid {
        grid-template-columns: 1fr !important; /* Stack subleads cleanly on narrow phones */
    }
    .main-content-stream article[style*="display: flex"] > a:first-child {
        width: 95px !important;
        height: 70px !important;
    }
    .social-follower-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
    }
    .social-box {
        padding: 0.5rem 0.2rem !important;
        font-size: 0.68rem !important;
    }
    .rashifal-signs-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3px !important;
    }
    .r-sign-btn {
        padding: 5px 2px !important;
        font-size: 0.7rem !important;
    }
    /* Web stories 2-column grid on small mobile */
    div[style*="repeat(auto-fill, minmax(210px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    /* Web story fullscreen mobile player */
    .story-player-viewport,
    .story-player-dialog {
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        border: none !important;
    }
}

@media (max-width: 360px) {
    /* Ultra-small mobile (iPhone SE 1st gen, small Android phones 320px-360px) */
    .portal-container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .brand-main-title {
        font-size: 1.1rem !important;
    }
    .nav-actions .live-tv-btn span:not(.live-tv-pulse-dot),
    .nav-actions .epaper-btn span {
        display: none !important;
    }
    .live-tv-btn, .epaper-btn {
        padding: 0 0.45rem !important;
    }
}

@media (max-width: 1240px) and (min-width: 769px) {
    .nav-link {
        padding: 0 0.72rem;
        font-size: 0.875rem;
    }
    .live-tv-btn, .epaper-btn {
        padding: 0 0.75rem;
        font-size: 0.78rem;
    }
}

/* Mobile Quick Category Swipe Bar (<= 768px) */
.mobile-category-bar {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 8px;
}
.mobile-category-bar::-webkit-scrollbar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-category-bar {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}
.mobile-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.mobile-cat-pill:hover,
.mobile-cat-pill.active {
    background: var(--primary, #cc0000);
    color: #ffffff;
    border-color: var(--primary, #cc0000);
}
.mobile-cat-pill.pill-election {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
    font-weight: 800;
}
.mobile-cat-pill.pill-election.active,
.mobile-cat-pill.pill-election:hover {
    background: #dc2626;
    color: #ffffff;
}
.mobile-cat-pill.pill-election .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dc2626;
    display: inline-block;
    animation: livePillGlow 1.8s infinite;
}
.mobile-cat-pill.pill-election.active .live-dot,
.mobile-cat-pill.pill-election:hover .live-dot {
    background: #ffffff;
}

/* ==========================================================================
   HOMEPAGE POLISH & COMPREHENSIVE ENHANCEMENTS
   ========================================================================== */

/* Top bar weather & edition */
.top-bar-left-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.top-bar-weather {
    font-size: 0.75rem;
    color: #fef08a;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.top-bar-weather .weather-condition {
    color: #ffffff;
    opacity: 0.85;
}
.edition-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Trending Topics / Hashtags Bar */
.trending-topics-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    padding: 0.45rem 0;
}
.trending-topics-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.trending-topics-inner::-webkit-scrollbar {
    display: none;
}
.trending-topics-label {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.trending-topics-tags {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.topic-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.topic-tag:hover {
    background: #fee2e2;
    color: var(--accent-red);
}

/* Live pulsing dot */
.live-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: livePulse 1.4s infinite;
}
@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Ticker controls */
.ticker-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.ticker-nav-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    font-size: 0.875rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.ticker-nav-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* Hero Lead Highlights & Reading Time */
.reading-time-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}
.live-pill {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 3px;
    animation: livePulseText 1.5s infinite;
}
@keyframes livePulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
.lead-subtitle-preview {
    font-size: 0.875rem;
    color: #e2e8f0;
    line-height: 1.45;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth Image Hover Zoom */
.editor-pick-img-wrap, .lead-img-wrap, .grid-card-img-wrap, .column-item-thumb-wrap {
    overflow: hidden;
}
.editor-pick-img-wrap img, .lead-img-wrap img, .grid-card-img-wrap img, .column-item-thumb-wrap img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.editor-pick-card:hover .editor-pick-img-wrap img,
.hero-lead-card:hover .lead-img-wrap img,
.grid-news-card:hover .grid-card-img-wrap img,
.column-item-row:hover .column-item-thumb-wrap img {
    transform: scale(1.05);
}

/* Category Accent Badges */
.badge-politics, .box-cat-politics .cat-indicator.red { background-color: #c9182b; }
.badge-bihar, .box-cat-bihar .cat-indicator.navy { background-color: var(--primary); }
.badge-national, .box-cat-national .cat-indicator.gold { background-color: #d97706; }
.badge-sports { background-color: #16a34a; }
.badge-business { background-color: #2563eb; }
.badge-tech { background-color: #7c3aed; }
.badge-entertainment { background-color: #db2777; }

.cat-indicator {
    width: 4px;
    height: 16px;
    display: inline-block;
    margin-right: 6px;
    border-radius: 2px;
    vertical-align: middle;
}

/* WhatsApp 1-Click Share */
.card-meta-with-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
}
.card-wa-share-btn {
    width: 28px;
    height: 28px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, background 0.2s;
    text-decoration: none;
    flex-shrink: 0;
}
.card-wa-share-btn:hover {
    transform: scale(1.15);
    background: #1ebc59;
}
.grid-card-reading-time {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* e-Paper Sidebar Card */
.epaper-sidebar-card {
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    border-left: 4px solid var(--primary);
    color: #ffffff;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.epaper-card-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fcd34d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}
.epaper-card-flex {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}
.epaper-preview-thumb {
    position: relative;
    width: 75px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.epaper-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.epaper-edition-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(201, 24, 43, 0.9);
    font-size: 0.55rem;
    text-align: center;
    padding: 1px;
    font-weight: 700;
}
.epaper-card-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
.epaper-date {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-bottom: 0.6rem;
}
.epaper-read-now-btn {
    display: inline-block;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}
.epaper-read-now-btn:hover {
    background: #fbbf24;
}

/* Cartoon of the Day (आज का कार्टून) Widget */
.cartoon-widget-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 3px solid #8b5cf6;
    border-radius: 6px;
    padding: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.cartoon-widget-box .widget-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}
.cartoon-badge-edition {
    font-size: 0.6875rem;
    background: #f5f3ff;
    color: #7c3aed;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid #ddd6fe;
}
.cartoon-image-frame {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}
.cartoon-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cartoon-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.cartoon-img-link:hover .cartoon-img {
    transform: scale(1.02);
}
.cartoon-zoom-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.cartoon-img-link:hover .cartoon-zoom-hint {
    opacity: 1;
    background: rgba(124, 58, 237, 0.9);
}
.cartoon-punchline {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}
.cartoon-subcaption {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 0.65rem;
}
.cartoon-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.75rem;
}
.cartoon-artist-credit {
    font-weight: 700;
    color: #64748b;
    font-style: italic;
}
.cartoon-whatsapp-share {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}
.cartoon-whatsapp-share:hover {
    background: #1eb954;
    color: #ffffff;
}

/* Reader Opinion Poll Widget */
.poll-widget-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.1rem;
}
.poll-badge-live {
    font-size: 0.6875rem;
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 800;
}
.poll-question {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin-bottom: 0.85rem;
}
.poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.poll-option-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}
.poll-option-label:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}
.poll-option-label input[type="radio"] {
    accent-color: var(--primary);
}
.poll-results-box {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.poll-result-bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.poll-res-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
}
.poll-track {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}
.poll-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease-in-out;
}
.yes-bar { background: #16a34a; }
.no-bar { background: #dc2626; }
.maybe-bar { background: #d97706; }
.poll-total-votes {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-weight: 600;
    text-align: center;
}

/* Most Read Today list */
.most-read-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.most-read-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #e2e8f0;
}
.most-read-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.most-read-rank {
    font-size: 1.25rem;
    font-weight: 900;
    color: #94a3b8;
    line-height: 1;
    min-width: 25px;
}
.most-read-row:nth-child(1) .most-read-rank { color: #dc2626; }
.most-read-row:nth-child(2) .most-read-rank { color: #d97706; }
.most-read-row:nth-child(3) .most-read-rank { color: #2563eb; }
.most-read-info {
    flex-grow: 1;
}
.most-read-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}
.most-read-title a:hover {
    color: var(--accent-red);
}

/* Legacy Mobile Bottom Bar & Wrapper Neutralization */
.mobile-bottom-bar,
.mobile-responsive-ad-wrapper {
    display: none !important;
}

/* Footer Advertisement Above Footer Container */
.footer-ad-wrap {
    max-width: 100%;
    overflow: hidden;
    padding: 0 0.75rem;
    margin: 1.5rem auto 1.75rem auto;
    text-align: center;
}
.footer-ad-wrap img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Advertisement Slot Styling */
.ad-slot-wrapper {
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
}
.ad-slot-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.ad-slot-below_header {
    max-width: 970px;
}
.ad-slot-between_cards {
    max-width: 728px;
}
.ad-slot-article_middle {
    max-width: 600px;
}
.ad-slot-article_bottom {
    max-width: 728px;
}
.ad-slot-sidebar {
    max-width: 300px;
}
.ad-slot-footer {
    max-width: 970px;
}
.ad-slot-mobile_responsive {
    max-width: 320px;
}

/* ==========================================================================
   PORTAL UPGRADES: Audio News Reader, Gemini AI, Mobile Bottom Bar
   ========================================================================== */



/* 2. Topbar Action Buttons */
.topbar-action-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.8rem;
    border-radius: 20px;
    padding: 2px 9px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}
.topbar-action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
.bookmark-count-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 9999px;
    padding: 1px 5px;
    line-height: 1;
}

/* 3. Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: linear-gradient(90deg, #c9182b, #ea580c, #f59e0b, #10b981);
    z-index: 999999;
    transition: width 0.08s ease-out;
    box-shadow: 0 0 10px rgba(201, 24, 43, 0.6);
}

/* 4. Audio News Reader Bar ("खबर सुनें") */
.audio-reader-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
    border: 1.5px solid #86efac;
    border-radius: 8px;
    padding: 0.75rem 1.15rem;
    margin: 1.25rem 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.08);
}
.audio-reader-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
}
.audio-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35);
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.audio-play-btn:hover {
    background: #15803d;
    transform: scale(1.05);
}
.audio-info {
    display: flex;
    flex-direction: column;
}
.audio-label {
    font-size: 0.875rem;
    font-weight: 800;
    color: #166534;
}
.audio-status {
    font-size: 0.75rem;
    color: #15803d;
    font-weight: 600;
}
.audio-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    margin-left: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.2s;
}
.audio-waves.playing {
    opacity: 1;
}
.audio-waves span {
    width: 3px;
    height: 6px;
    background: #16a34a;
    border-radius: 3px;
}
.audio-waves.playing span:nth-child(1) { animation: wave 0.8s ease-in-out infinite; }
.audio-waves.playing span:nth-child(2) { animation: wave 0.6s ease-in-out infinite 0.1s; }
.audio-waves.playing span:nth-child(3) { animation: wave 1.0s ease-in-out infinite 0.2s; }
.audio-waves.playing span:nth-child(4) { animation: wave 0.7s ease-in-out infinite 0.15s; }
.audio-waves.playing span:nth-child(5) { animation: wave 0.9s ease-in-out infinite 0.25s; }

@keyframes wave {
    0%, 100% { height: 6px; }
    50% { height: 20px; }
}

.audio-reader-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gemini-trigger-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}
.gemini-trigger-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(124, 58, 237, 0.4);
}
.audio-speed-select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}
.audio-stop-btn {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* 5. Google Gemini AI 30-Second Summary Card */
.gemini-summary-card {
    background: #fdf4ff;
    border: 1.5px solid #d8b4fe;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.08);
    position: relative;
    animation: fadeInDown 0.3s ease;
}
.gemini-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}
.gemini-badge {
    background: linear-gradient(135deg, #9333ea, #6366f1);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gemini-loading-spinner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #7e22ce;
    font-weight: 600;
    padding: 0.5rem 0;
}
.spinner-ring {
    width: 18px;
    height: 18px;
    border: 2.5px solid #e9d5ff;
    border-top-color: #9333ea;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.gemini-summary-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #3b0764;
    white-space: pre-line;
    font-weight: 500;
}

/* 6. Floating Google Gemini AI Assistant Widget */
.gemini-floating-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99990;
}
.gemini-float-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.gemini-float-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
}
.gemini-sparkle-icon {
    font-size: 1.15rem;
    animation: sparkleSpin 3s ease-in-out infinite;
}
@keyframes sparkleSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.2); }
}

/* 7. Gemini AI Chat Assistant Modal */
.gemini-assistant-modal {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 120px);
    z-index: 99995;
    animation: slideUpFade 0.25s ease-out;
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.gemini-modal-dialog {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.gemini-modal-header {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #ffffff;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gemini-header-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.gemini-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.gemini-title {
    font-size: 0.875rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff !important;
}
.gemini-status {
    font-size: 0.6875rem;
    opacity: 0.85;
}
.gemini-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gemini-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: #f8fafc;
}
.gemini-msg {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
}
.gemini-msg-ai {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 2px;
}
.gemini-msg-user {
    align-self: flex-end;
    background: #7c3aed;
    color: #ffffff;
    border-bottom-right-radius: 2px;
}
.gemini-prompt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}
.gemini-chip {
    background: #ede9fe;
    border: 1px solid #ddd6fe;
    color: #6d28d9;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.15s;
}
.gemini-chip:hover {
    background: #7c3aed;
    color: #ffffff;
}
.gemini-modal-footer {
    padding: 0.65rem 0.75rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}
.gemini-input-form {
    display: flex;
    gap: 0.4rem;
}
.gemini-input-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-family: inherit;
    outline: none;
}
.gemini-input-form button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #7c3aed;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 8. Saved Articles (Bookmarks) Drawer */
.saved-articles-modal {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: flex;
    justify-content: flex-end;
}
.saved-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}
.saved-modal-content {
    position: relative;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    z-index: 10;
    box-shadow: -10px 0 25px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    animation: slideLeft 0.25s ease-out;
}
@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.saved-modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.saved-close-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: #475569;
}
.saved-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.saved-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
}

/* 9. Daily Rashifal Widget */
.rashifal-widget-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
}
.rashifal-signs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 0.75rem;
}
.r-sign-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 4px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
}
.r-sign-btn:hover {
    background: #ede9fe;
    border-color: #a78bfa;
    color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(124, 58, 237, 0.12);
}
.r-sign-btn:active {
    transform: scale(0.96);
}
.r-sign-btn.active {
    background: #7c3aed;
    color: #ffffff;
    border-color: #6d28d9;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.35);
}
.rashifal-result-box {
    background: #f5f3ff;
    border: 1.5px dashed #c4b5fd;
    border-radius: 7px;
    padding: 0.85rem 1rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.r-res-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}
.r-res-text {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #3b0764;
    margin-bottom: 0.5rem;
}
.r-res-meta {
    font-size: 0.75rem;
    color: #6b21a8;
    display: flex;
    gap: 0.5rem;
    font-weight: 600;
    border-top: 1px solid rgba(196, 181, 253, 0.4);
    padding-top: 0.35rem;
}

/* 10. Live Search Autocomplete Dropdown */
.live-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
}
.live-search-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s;
    align-items: center;
}
.live-search-item:hover {
    background: #f8fafc;
}
.live-search-thumb {
    width: 60px;
    height: 42px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.live-search-meta {
    flex: 1;
}
.live-search-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 2px;
}
.live-search-sub {
    font-size: 0.6875rem;
    color: #64748b;
}

/* 11. Mobile Sticky Bottom Bar */
.mobile-bottom-nav {
    display: none;
}
@media (max-width: 768px) {
    body {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .site-footer {
        /* Extra padding inside dark footer so footer-bottom-bar stays clear of sticky bottom nav with zero white space */
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
        margin-bottom: 0 !important;
    }
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0 !important;
        left: 0;
        right: 0;
        min-height: 56px;
        height: calc(56px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.08) !important;
        z-index: 99980;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        margin: 0 !important;
    }
    .mob-nav-item {
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748b;
        text-decoration: none;
        font-family: inherit;
        font-size: 0.6875rem;
        font-weight: 700;
        padding: 5px 8px;
        min-height: 48px;
        cursor: pointer;
        flex: 1;
        transition: color 0.15s, transform 0.1s;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .mob-nav-item:active {
        transform: scale(0.94);
    }
    .mob-nav-item.active,
    .mob-nav-item:hover {
        color: var(--primary, #cc0000) !important;
        font-weight: 800;
    }
    .mob-nav-icon {
        font-size: 1.2rem;
        margin-bottom: 2px;
        line-height: 1;
    }
    .gemini-floating-widget {
        bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
    }
    .gemini-assistant-modal {
        bottom: calc(125px + env(safe-area-inset-bottom, 0px)) !important;
        right: 10px !important;
        width: calc(100vw - 20px) !important;
    }
}

/* 12. Mobile Quick District Modal */
.mob-district-modal {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: flex;
    align-items: flex-end;
}
.mob-district-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}
.mob-district-content {
    position: relative;
    width: 100%;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    animation: slideUpBottom 0.25s ease-out;
}
@keyframes slideUpBottom {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.mob-district-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
.mob-district-close {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}
.mob-district-list {
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0.5rem 0;
}
.mob-dist-pill {
    padding: 6px 10px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cbd5e1;
}

/* Navigation & components are standardized */

/* ==========================================================================
   UI/UX ENHANCEMENTS: ITEMS 2, 3, 4, 5, 6, 7, 8, 10
   ========================================================================== */

/* -------------------------------------------------------------
   Item 2: Back to Top Button with SVG Circular Progress Ring
   ------------------------------------------------------------- */
.back-to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 80px; /* Positioned cleanly above floating Gemini AI widget */
    z-index: 99985;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    padding: 0;
}
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.btt-progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
.btt-progress-bg {
    stroke: #e2e8f0;
}
.btt-progress-circle {
    stroke: var(--primary, #cc0000);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s ease-out;
}
.btt-arrow {
    font-size: 14px;
    font-weight: 900;
    color: var(--primary, #cc0000);
    z-index: 2;
    line-height: 1;
}
@media (max-width: 768px) {
    .back-to-top-btn {
        right: 14px;
        bottom: 122px; /* Sits cleanly above Gemini floating widget (bottom: 66px) & mobile nav */
        width: 42px;
        height: 42px;
        z-index: 99985;
    }
    .back-to-top-btn svg {
        width: 42px;
        height: 42px;
        viewBox: 0 0 46 46;
    }
}

/* -------------------------------------------------------------
   Item 3: Trending Topics / Hashtags Ribbon
   ------------------------------------------------------------- */
.trending-ribbon-bar {
    background: #fff8f8;
    border-bottom: 1px solid #fee2e2;
    padding: 0.25rem 0;
    font-size: 0.78125rem;
    margin-bottom: 0.5rem;
}
.trending-ribbon-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.trending-ribbon-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    color: #991b1b;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8125rem;
}
.trending-fire-icon {
    font-size: 0.95rem;
    display: inline-block;
    animation: flamePulse 1.6s infinite alternate ease-in-out;
}
@keyframes flamePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2) rotate(4deg); }
}
.trending-ribbon-scroll {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 0.5rem;
}
.trending-ribbon-scroll::-webkit-scrollbar {
    display: none;
}
.trending-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.65rem;
    background: #ffffff;
    border: 1px solid #fecaca;
    border-radius: 999px;
    color: #b91c1c;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.78125rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.trending-tag-pill:hover {
    background: var(--primary, #cc0000);
    color: #ffffff;
    border-color: var(--primary, #cc0000);
    transform: translateY(-1.5px);
    box-shadow: 0 3px 8px rgba(185, 28, 28, 0.22);
}
.trending-tag-pill.is-hot {
    background: #fef2f2;
    border-color: #fca5a5;
    font-weight: 700;
}
.hot-indicator {
    font-size: 0.75rem;
    color: #e11d48;
}

/* -------------------------------------------------------------
   Item 4: Sepia / Newspaper Reading Mode (Warm Paper Protection)
   ------------------------------------------------------------- */
body.sepia-reading-mode {
    background-color: #fbf0d9 !important;
    color: #292524 !important;
}
body.sepia-reading-mode .main-body-container {
    background-color: #fbf0d9 !important;
}
body.sepia-reading-mode .article-main-column,
body.sepia-reading-mode .article-detail-layout,
body.sepia-reading-mode .article-container {
    background-color: #f7ebd0 !important;
    border-color: #e8d7b5 !important;
}
body.sepia-reading-mode .article-title,
body.sepia-reading-mode .article-lead,
body.sepia-reading-mode .article-body-text,
body.sepia-reading-mode .article-body-text p {
    color: #292524 !important;
}
body.sepia-reading-mode .article-actions-bar,
body.sepia-reading-mode .audio-reader-box,
body.sepia-reading-mode .reactions-bar-container,
body.sepia-reading-mode .article-tags-wrap,
body.sepia-reading-mode .article-author-card {
    background-color: #f4e4c3 !important;
    border-color: #dfcd9f !important;
}
body.sepia-reading-mode .author-name,
body.sepia-reading-mode .author-meta-details,
body.sepia-reading-mode .author-card-info p {
    color: #44403c !important;
}
.sepia-toggle-btn.active {
    background: #78350f !important;
    color: #fef3c7 !important;
    border-color: #78350f !important;
    font-weight: 700;
}

/* -------------------------------------------------------------
   Item 5: Modern Card Micro-Interactions & Hover Elevation
   ------------------------------------------------------------- */
.card-frame,
.hero-side-card,
.three-col-article,
.featured-article-card,
.main-content-stream article {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.card-frame:hover,
.hero-side-card:hover,
.three-col-article:hover,
.featured-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.09), 0 3px 8px -2px rgba(0, 0, 0, 0.05);
}
.card-frame img,
.hero-lead-media img,
.hero-side-card img,
.featured-card-media img,
.three-col-article img,
.main-content-stream article img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.card-frame:hover img,
.hero-lead-media:hover img,
.hero-side-card:hover img,
.featured-card-media:hover img,
.three-col-article:hover img {
    transform: scale(1.035);
}

/* -------------------------------------------------------------
   Item 6: Smart Mobile Bottom Navigation (Auto-hide on scroll)
   ------------------------------------------------------------- */
.mobile-bottom-nav {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.mobile-bottom-nav.nav-hidden {
    transform: translateY(100%);
}

/* -------------------------------------------------------------
   Item 7: Native Share API Button
   ------------------------------------------------------------- */
.native-share-btn {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.native-share-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

/* -------------------------------------------------------------
   Item 8: Skeleton Shimmer Loading Placeholder
   ------------------------------------------------------------- */
@keyframes skeletonShimmerAnim {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmerAnim 1.6s infinite linear;
}
img[loading="lazy"]:not([src=""]) {
    transition: opacity 0.35s ease-in-out;
}

/* -------------------------------------------------------------
   Item 10: WhatsApp News Bulletin Card
   ------------------------------------------------------------- */
.whatsapp-bulletin-card {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    border-radius: 10px;
    padding: 1.15rem 1.65rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 8px 24px -4px rgba(6, 78, 59, 0.25);
    position: relative;
    overflow: hidden;
}
.whatsapp-bulletin-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, rgba(37, 211, 102, 0) 70%);
    pointer-events: none;
}
.wa-bulletin-content {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    z-index: 1;
}
.wa-bulletin-icon-wrap {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.wa-pulse-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: waPulse 2s infinite ease-out;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.wa-bulletin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wa-bulletin-title {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.2rem 0;
    color: #ffffff;
}
.wa-bulletin-desc {
    font-size: 0.825rem;
    line-height: 1.45;
    color: #d1fae5;
    margin: 0;
}
.wa-bulletin-action {
    flex-shrink: 0;
    z-index: 1;
}
.wa-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.925rem;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.wa-join-btn:hover {
    background: #1eb954;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}
.wa-join-arrow {
    transition: transform 0.2s ease;
}
.wa-join-btn:hover .wa-join-arrow {
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .whatsapp-bulletin-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.1rem;
        gap: 1rem;
    }
    .wa-bulletin-content {
        align-items: flex-start;
        gap: 0.85rem;
    }
    .wa-bulletin-title {
        font-size: 1rem;
    }
    .wa-bulletin-desc {
        font-size: 0.8rem;
    }
    .wa-bulletin-action {
        width: 100%;
    }
    .wa-join-btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
    }
}

/* ==========================================================================
   PORTAL TOAST NOTIFICATIONS & PRINT STYLES
   ========================================================================== */
.portal-toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.portal-toast {
    pointer-events: auto;
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.2);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 260px;
    max-width: 420px;
    border-left: 4px solid #16a34a;
    animation: toastSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.portal-toast.toast-error {
    border-left-color: #ef4444;
}
.portal-toast.toast-info {
    border-left-color: #0284c7;
}
.portal-toast.fade-out {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
}
@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Print-Friendly Editorial Styles */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }
    .top-utility-bar,
    .main-nav-sticky,
    .mobile-category-bar,
    .trending-bar,
    .sidebar-container,
    .sidebar-wrapper,
    .site-footer,
    .mobile-bottom-nav,
    .article-actions-bar,
    .audio-reader-box,
    .ad-container,
    .back-to-top-btn,
    .comments-section,
    .related-news-section,
    .in-article-ad,
    #searchModal,
    .whatsapp-bulletin-card {
        display: none !important;
    }
    .portal-container,
    .content-sidebar-layout,
    .main-content-stream,
    .article-detail-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    .article-title {
        font-size: 22pt !important;
        color: #000000 !important;
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }
    .article-content {
        font-size: 12pt !important;
        color: #111111 !important;
    }
    .article-content a {
        text-decoration: none !important;
        color: #000000 !important;
    }
    .article-featured-image {
        max-width: 80% !important;
        margin: 0 auto 1.5rem !important;
    }
}

/* Live Search Autocomplete Styles */
.live-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
    max-height: 380px;
    overflow-y: auto;
    z-index: 2050;
}
.live-search-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s ease;
}
.live-search-item:last-child {
    border-bottom: none;
}
.live-search-item:hover,
.live-search-item.active-search-item {
    background: #f8fafc;
}
.live-search-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #e2e8f0;
}
.live-search-meta {
    flex-grow: 1;
    min-width: 0;
}
.live-search-title {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.live-search-sub {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 500;
}

/* =============================================================
   INSHORTS STYLE 60-SECOND QUICK TAKEAWAYS
============================================================= */
.takeaways-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary, #cc0000);
    border-radius: 8px;
    padding: 1.15rem 1.25rem;
    margin: 1.25rem 0 1.75rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.takeaways-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e2e8f0;
}
.takeaways-title-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.takeaways-icon {
    font-size: 1.1rem;
    line-height: 1;
}
.takeaways-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.takeaways-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.725rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}
.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.takeaways-item {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #334155;
    font-weight: 500;
}
.takeaways-bullet {
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--primary, #cc0000);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
}

/* =============================================================
   HD PHOTO ZOOM / LIGHTBOX TRIGGER
============================================================= */
.featured-image-zoom-wrap {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    border-radius: 8px;
}
.img-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    opacity: 0.88;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}
.featured-image-zoom-wrap:hover .img-zoom-badge {
    opacity: 1;
    transform: scale(1.05);
}
.article-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    animation: fadeInLightBox 0.2s ease-out;
}
@keyframes fadeInLightBox {
    from { opacity: 0; }
    to { opacity: 1; }
}
.lightbox-dialog {
    max-width: 960px;
    width: 100%;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.15);
}
.lightbox-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 41, 59, 0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lightbox-tag {
    color: #f8fafc;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.lightbox-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-close-btn:hover {
    background: #ef4444;
}
.lightbox-body {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #020617;
    overflow: auto;
    flex: 1;
}
.lightbox-body img {
    max-height: 75vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-caption-bar {
    padding: 0.75rem 1.25rem;
    background: #1e293b;
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.4;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* =============================================================
   VISUAL WEB STORIES STRIP & 9:16 PLAYER
============================================================= */
.web-stories-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.web-stories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
}
.web-stories-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.web-stories-icon {
    font-size: 1.2rem;
    line-height: 1;
}
.web-stories-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.web-stories-badge {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.web-stories-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}
.web-stories-scroll-track {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    padding: 0.4rem 0.2rem 0.6rem 0.2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.web-stories-scroll-track::-webkit-scrollbar {
    height: 4px;
}
.web-stories-scroll-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.web-story-bubble-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 82px;
    min-width: 82px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
    user-select: none;
}
.web-story-bubble-card:hover {
    transform: translateY(-2px);
}
.story-ring-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}
.story-gradient-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #f59e0b, #ef4444, #ec4899, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.web-story-bubble-card:hover .story-gradient-ring {
    transform: scale(1.06);
}
.story-thumb-box {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #ffffff;
}
.story-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.story-play-pill {
    position: absolute;
    bottom: -2px;
    right: 2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.story-bubble-title {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 9:16 Fullscreen Web Story Player */
.web-story-player-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 15, 29, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.story-player-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    cursor: pointer;
}
.story-player-viewport,
.story-player-dialog {
    position: relative;
    width: 100%;
    max-width: 410px;
    height: 90vh;
    max-height: 750px;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 10;
}
.story-progress-segments {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 25;
    display: flex;
    gap: 5px;
}
.story-segment,
.story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}
.story-fill,
.story-progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.05s linear;
}
.story-top-controls {
    position: absolute;
    top: 22px;
    left: 14px;
    right: 14px;
    z-index: 25;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.story-brand-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.story-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.story-channel-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.story-category-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fcd34d;
    letter-spacing: 0.03em;
}
.story-top-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.story-mute-btn,
.story-close-btn {
    background: rgba(0,0,0,0.45);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.story-close-btn:hover {
    background: rgba(239, 68, 68, 0.9);
}
.story-slide-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.story-bg-img,
.story-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.story-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.65) 100%);
    z-index: 2;
}
.story-caption-block {
    position: relative;
    z-index: 15;
    padding: 1.5rem 1.25rem 4rem 1.25rem;
    color: #ffffff;
}
.story-slide-tag {
    display: inline-block;
    background: var(--primary, #cc0000);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}
.story-slide-headline {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 0.6rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.story-slide-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #e2e8f0;
    margin: 0 0 0.6rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.story-slide-meta {
    font-size: 0.725rem;
    color: #94a3b8;
    font-weight: 600;
}
.story-cta-swipe-btn {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: background 0.2s, color 0.2s;
}
.story-cta-swipe-btn:hover {
    background: var(--primary, #cc0000);
    color: #ffffff;
}
.story-cta-arrow {
    animation: bounceUp 1.2s infinite;
}
@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.story-tap-left,
.story-tap-right {
    position: absolute;
    top: 55px;
    bottom: 60px;
    width: 35%;
    z-index: 18;
    cursor: pointer;
}
.story-tap-left { left: 0; }
.story-tap-right { right: 0; }

/* District Personalization Pill Highlight */
.user-saved-district-active {
    background: #cc0000 !important;
    color: #ffffff !important;
    border-color: #cc0000 !important;
    box-shadow: 0 2px 6px rgba(204,0,0,0.25);
    font-weight: 800 !important;
}
