/* ============================================================
       DESIGN TOKENS
    ============================================================ */
:root {
    --red: #C8001A;
    --red-dark: #9A0014;
    --red-light: #FF1A35;
    --red-bg: #FFF3F5;
    /* ── Dark newspaper palette derived from background.png ── */
    --ink: #F5F5F5;
    --ink-2: #D4D4D4;
    --ink-3: #ABABAB;
    --ink-4: #727272;
    --surface: #1C1C1C;
    --surface-2: #262626;
    --surface-3: #313131;
    --border: #383838;
    --border-2: #4E4E4E;
    --white: #202020;
    --red-bg: rgba(200, 0, 26, .14);
    --en-color: #6BA4E8;
    --en-bg: rgba(18, 81, 163, .22);
    --hi-color: #E8A050;
    --hi-bg: rgba(153, 77, 0, .22);
    --bn-color: #50C87A;
    --bn-bg: rgba(21, 92, 50, .22);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4), 0 1px 2px rgba(0, 0, 0, .28);
    --shadow: 0 2px 8px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .32);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .36);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .65), 0 4px 12px rgba(0, 0, 0, .44);
    --max-w: 1400px;
    --nav-h: 54px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
       THEMES & EDGE STYLES
    ============================================================ */

/* ── Dark theme (default) ── */
:root {
    --panel-bg: rgba(10, 10, 10, 0.92);
    --breaking-featured-bg: #1a1a1a;
    --featured-placeholder-bg: linear-gradient(135deg, #0D1117 0%, #161B22 40%, #1C2541 100%);
    --edition-card-bg: linear-gradient(160deg, rgba(30, 30, 30, .97) 0%, rgba(16, 16, 16, .99) 100%);
    --mobile-nav-bg: #181818;
}

/* ── Light theme overrides ── */
body.theme-light {
    --surface: #ffffff;
    --surface-2: #f4f4f4;
    --surface-3: #e8e8e8;
    --border: #d5d5d5;
    --border-2: #c0c0c0;
    --ink: #111111;
    --ink-2: #2c2c2c;
    --ink-3: #ABABAB;
    --ink-4: #888888;
    --white: #ffffff;
    --red-bg: rgba(200, 0, 26, .10);
    --en-bg: rgba(14, 63, 138, .12);
    --hi-bg: rgba(200, 0, 26, .10);
    --bn-bg: rgba(13, 92, 44, .12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .10), 0 1px 2px rgba(0, 0, 0, .08);
    --shadow: 0 2px 8px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .15), 0 4px 12px rgba(0, 0, 0, .10);
    --panel-bg: rgba(255, 255, 255, 0.97);
    --breaking-featured-bg: #ffffff;
    --featured-placeholder-bg: linear-gradient(135deg, #e8eaed 0%, #f1f3f5 40%, #dde1e7 100%);
    --edition-card-bg: linear-gradient(160deg, rgba(245, 245, 245, .99) 0%, rgba(255, 255, 255, 1) 100%);
    --mobile-nav-bg: #ffffff;
    color: var(--ink);
}

/* ── Light mode: topbar ── */
body.theme-light .topbar {
    background: #0A0A0A;
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .06);
}

body.theme-light .topbar-brand {
    color: #fff;
}

body.theme-light .topbar-date {
    color: rgba(255, 255, 255, .65);
}

body.theme-light .topbar-lang a {
    color: rgba(255, 255, 255, .65);
    border-color: rgba(255, 255, 255, .18);
}

body.theme-light .topbar-lang a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
}

/* ── Light mode: ticker ── */
/* ticker stays red in both modes — only text colour confirmed white */

/* ── Light mode: nav ── */
body.theme-light .nav-menu li a {
    color: var(--ink-2);
}

body.theme-light .nav-menu li a:hover {
    color: var(--red);
}

body.theme-light .nav-menu.open {
    background: var(--mobile-nav-bg);
}

body.theme-light .nav-menu.open li a {
    color: var(--ink-2);
}

body.theme-light .nav-menu.open li a:hover {
    background: var(--surface-2);
}

body.theme-light .nav-hamburger {
    color: var(--ink-2);
}

body.theme-light .nav-search input {
    background: var(--surface-2);
    color: var(--ink);
    border-color: var(--border);
}

/* ── Light mode: site section background ── */
body.theme-light .site-section {
    background: transparent;
}

body.theme-light .site-section+.site-section {
    border-top-color: var(--border);
}

/* ── Light mode: section headers ── */
body.theme-light .section-title {
    color: var(--ink);
}

body.theme-light .section-header span {
    color: var(--ink-3);
}

/* ── Light mode: breaking module ── */
body.theme-light .breaking-module {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

body.theme-light .breaking-tabs {
    background: var(--surface-2);
    border-bottom-color: var(--border);
}

body.theme-light .breaking-tab {
    color: var(--ink-3);
}

body.theme-light .breaking-tab.active {
    color: var(--red);
    background: rgba(200, 0, 26, .06);
}

body.theme-light .breaking-tab:hover:not(.active) {
    color: var(--ink-2);
    background: rgba(0, 0, 0, .04);
}

body.theme-light .breaking-featured {
    background: var(--breaking-featured-bg);
}

body.theme-light .breaking-featured-img-placeholder {
    background: linear-gradient(135deg, #e0e4e8 0%, #edf0f3 50%, #d8dde4 100%);
    color: var(--ink-4);
}

body.theme-light .breaking-featured-headline {
    color: var(--ink);
}

body.theme-light .breaking-featured-headline a {
    color: var(--ink);
}

body.theme-light .breaking-featured-headline a:hover {
    color: var(--red);
}

body.theme-light .breaking-featured-excerpt {
    color: var(--ink-3);
}

body.theme-light .breaking-featured-body {
    background: var(--breaking-featured-bg);
}

body.theme-light .breaking-featured-meta {
    color: var(--ink-3);
}

body.theme-light .breaking-featured-footer {
    color: var(--ink-3);
}

body.theme-light .breaking-footer {
    background: var(--surface-2);
    border-top-color: var(--border);
    color: var(--ink-4);
}

body.theme-light .breaking-story {
    border-bottom-color: var(--border);
}

body.theme-light .breaking-story:hover {
    background: var(--surface-2);
}

body.theme-light .breaking-story-headline {
    color: var(--ink);
}

body.theme-light .breaking-story-time {
    color: var(--ink-3);
}

/* ── Light mode: badges ── */
body.theme-light .time-badge {
    color: var(--ink-3);
}

body.theme-light .cat-badge {
    color: var(--red);
}

body.theme-light .lang-badge.en {
    background: var(--en-bg);
    color: #0E3F8A;
}

body.theme-light .lang-badge.hi {
    background: var(--hi-bg);
    color: #9A0014;
}

body.theme-light .lang-badge.bn {
    background: var(--bn-bg);
    color: #0D5C2C;
}

/* ── Light mode: edition cards ── */
body.theme-light .edition-card {
    background: var(--edition-card-bg);
    border-color: var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .10), 0 8px 32px rgba(0, 0, 0, .06);
}

body.theme-light .edition-card:hover {
    border-color: var(--border-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14), 0 28px 56px rgba(0, 0, 0, .10);
}

body.theme-light .edition-card-body {
    background: transparent;
}

body.theme-light .edition-name {
    color: var(--ink);
}

body.theme-light .edition-native {
    color: var(--ink-4);
}

body.theme-light .edition-headline {
    color: var(--ink-2);
}

body.theme-light .edition-lang-icon.en {
    background: linear-gradient(135deg, rgba(14, 63, 138, .15), rgba(74, 144, 226, .08));
    color: #0E3F8A;
}

body.theme-light .edition-lang-icon.hi {
    background: linear-gradient(135deg, rgba(200, 0, 26, .12), rgba(255, 107, 43, .06));
    color: #C8001A;
}

body.theme-light .edition-lang-icon.bn {
    background: linear-gradient(135deg, rgba(13, 92, 44, .15), rgba(46, 189, 106, .08));
    color: #0D5C2C;
}

body.theme-light .breaking-tab a {
    color: var(--ink-2);
}

/* ── Light mode: story cards ── */
body.theme-light .story-card {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

body.theme-light .story-card:hover {
    box-shadow: var(--shadow-md);
}

body.theme-light .story-card-title {
    color: var(--ink);
}

body.theme-light .story-card-title a {
    color: var(--ink);
}

body.theme-light .story-card-title a:hover {
    color: var(--red);
}

body.theme-light .story-card-excerpt {
    color: var(--ink-3);
}

body.theme-light .story-card-meta {
    color: var(--ink-4);
}

body.theme-light .story-card-img-placeholder {
    background: var(--surface-2);
    color: var(--ink-4);
}

/* ── Light mode: reader / most-read / trending panels ── */
body.theme-light .reader-panel {
    background: var(--surface);
    border-color: var(--border);
}

body.theme-light .most-read-item {
    border-bottom-color: var(--border);
}

body.theme-light .most-read-item:hover {
    background: var(--surface-2);
}

body.theme-light .most-read-title {
    color: var(--ink);
}

body.theme-light .most-read-title a {
    color: var(--ink);
}

body.theme-light .most-read-title a:hover {
    color: var(--red);
}

body.theme-light .most-read-num {
    color: var(--red-light);
}

body.theme-light .most-read-num.top3 {
    color: var(--red);
}

body.theme-light .most-read-img {
    border-color: var(--border);
}

body.theme-light .trending-item {
    border-bottom-color: var(--border);
}

body.theme-light .trending-item:hover {
    background: var(--surface-2);
}

body.theme-light .trending-title {
    color: var(--ink);
}

body.theme-light .trending-title a {
    color: var(--ink);
}

body.theme-light .trending-title a:hover {
    color: var(--red);
}

body.theme-light .trending-rank {
    color: var(--ink);
}

body.theme-light .trending-views {
    color: var(--ink-3);
}

/* ── Light mode: about strip ── */
body.theme-light .about-strip {
    border-top-color: var(--border);
}

body.theme-light .about-panel {
    background: var(--panel-bg);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

body.theme-light .about-strip p {
    color: var(--ink-2);
}

body.theme-light .about-note {
    color: var(--ink-3);
}

body.theme-light .about-note a {
    color: var(--ink);
}

body.theme-light .about-links a {
    background: var(--surface);
    border-color: var(--border);
    color: var(--ink-2);
}

body.theme-light .about-links a:hover {
    background: var(--surface-2);
    color: var(--ink);
    border-color: rgba(200, 0, 26, .4);
}

/* ── Light mode: footer ── */
body.theme-light .footer-panel {
    background: var(--panel-bg);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

body.theme-light .site-footer {
    color: var(--ink-3);
}

body.theme-light .footer-brand p {
    color: var(--ink-3);
}

body.theme-light .footer-col {
    background: var(--surface);
    border-color: var(--border);
}

body.theme-light .footer-col h3 {
    color: var(--ink);
    border-bottom-color: var(--border);
}

body.theme-light .footer-col ul li a {
    color: var(--ink-3);
}

body.theme-light .footer-col ul li a:hover {
    color: var(--red);
}

body.theme-light .footer-bottom {
    color: var(--ink-4);
    border-top-color: var(--border);
}

body.theme-light .footer-social a {
    background: var(--surface);
    border-color: var(--border);
    color: var(--ink-3);
}

body.theme-light .footer-social a:hover {
    color: var(--red);
    background: var(--red-bg);
    border-color: rgba(200, 0, 26, .4);
}

/* ── Light mode: skeleton ── */
body.theme-light .skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #ebebeb 50%, #e0e0e0 75%);
    background-size: 200% 100%;
}

/* ── Light mode: empty state ── */
body.theme-light .empty-state {
    background: var(--surface-2);
    color: var(--ink-3);
}

.topbar-left {
    display: flex;
    align-items: center;
    display:flex;
    gap:16px;
    align-items:center
}

.topbar-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Theme toggle button in topbar */
#theme-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color var(--transition);
}

#theme-toggle-btn:hover {
    background: transparent;
}

body.theme-light #theme-toggle-btn {
    color: rgba(255, 255, 255, .85);
}

body.theme-light #theme-toggle-btn:hover {
    background: transparent;
}

#theme-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

#theme-toggle-btn span {
    display: inline-block;
    color: inherit;
    font-size: 14px;
    white-space: nowrap;
}

*,
*::before,
*::after {
    border-radius: 0 !important;
}

/* ============================================================
       RESET + BASE
    ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 8px);
    background: url('background.png') center/cover fixed;
    background-color: #1A1A1A;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: transparent;
    line-height: 1.72;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: var(--font-display); */
    font-family: 'Poppins', sans-serif;
}

button,
input,
select,
textarea {
    font-family: 'Playfair Display', serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Focus visible — keyboard accessibility */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ============================================================
       LAYOUT HELPERS
    ============================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================================
       TOPBAR
    ============================================================ */
.topbar {
    background: #0A0A0A;
    color: #fff;
    font-size: 11.5px;
    padding: 10px;
    position: relative;
    z-index: 200;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    max-width: none;
    margin-left: 0;
    padding-left: 0;
}

.topbar-brand {
    font-weight: 700;
    color: #fff;
    letter-spacing: .08em;
    font-size: 11px;
    white-space: nowrap;
}

.topbar-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .01em;
}

.topbar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-light);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(.8)
    }
}

.topbar-social {
    display: flex;
    gap: 14px;
}

.topbar-social a {
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    transition: color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
}

.topbar-social a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.topbar-lang {
    display: flex;
    gap: 6px;
    padding: auto;
}

.topbar-lang a {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .65);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 2px 9px;
    border-radius: 3px;
    transition: all var(--transition);
}

.topbar-lang a:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

/* ============================================================
       MASTHEAD
    ============================================================ */

.masthead-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 20px 20px;
    position: relative;
}

.masthead-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(80px, 16vw, 160px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 0, 26, .38) 30%, rgba(200, 0, 26, .38) 70%, transparent);
}

.masthead-logo {
    display: block;
    line-height: 0;
    text-decoration: none;
    transition: transform var(--transition);
}

.masthead-logo:hover {
    transform: translateY(-2px) scale(1.015);
}

.masthead-logo img {
    width: clamp(180px, 26vw, 300px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(1.1) contrast(1.08) drop-shadow(0 1px 3px rgba(0, 0, 0, .75)) drop-shadow(0 5px 16px rgba(0, 0, 0, .4));
    transition: filter var(--transition);
}

.masthead-logo:hover img {
    filter: brightness(1.18) contrast(1.1) drop-shadow(0 1px 3px rgba(0, 0, 0, .75)) drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}

/* Slim masthead */
.masthead-logo img {
    max-height: 110px;
    width: auto
}

nav.site-nav {
    padding-top: 10px
}

/* Tagline */
.ri-tagline {
    text-align: center;
    color: #cfcfcf;
    font-size: 14px;
    letter-spacing: .04em;
    padding: 6px 16px 12px
}

.ri-tagline a {
    color: #ff4d4d;
    font-weight: 600;
    text-decoration: none;
    margin-left: 6px
}

.ri-tagline a:hover {
    text-decoration: underline
}

/* Category nav + search */
.ri-navbar {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 2px solid #c5121c;
    padding: 10px 16px;
    flex-wrap: wrap
}

.ri-navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .05em;
    text-transform: uppercase
}

.ri-navbar a:hover {
    color: #ff4d4d
}

.ri-search {
    display: flex
}

.ri-search input {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    padding: 6px 12px;
    border-radius: 18px 0 0 18px;
    font-size: 13px;
    width: 180px
}

.ri-search button {
    background: #c5121c;
    color: #fff;
    border: 0;
    border-radius: 0 18px 18px 0;
    padding: 6px 14px;
    cursor: pointer
}

@media(max-width:700px) {
    .ri-navbar {
        overflow-x: auto;
        justify-content: flex-start
    }

    .ri-search input {
        width: 120px
    }
}

/* No scroll-blanking (slider transforms untouched) */
section.site-section,
footer.site-footer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important
}

/* Quiet view counts */
.time-badge,
.trending-views {
    background: transparent;
    color: #9a9a9a;
    border: 0;
    padding-left: 0
}

/* Dual-language badge */
.ri-langs {
    display: inline-block;
    background: #1f3a5f;
    color: #cfe3ff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: .05em
}

/* Visible empty state (replaces invisible "No news found" h2) */
.ri-empty {
    padding: 60px 24px;
    text-align: center;
    color: #bbb;
    font-size: 15px
}

.ri-empty a {
    color: #ff4d4d;
    font-weight: 600
}

.nav-logo-text {
    display: none;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--red);
    white-space: nowrap;
}

/* .nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
} */


.nav-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 14px;
    flex-shrink: 0;
}

.nav-search-wrap {
    position: relative;
}

.nav-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-4);
    font-size: 13px;
    pointer-events: none;
}

.nav-search input {
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px 6px 32px;
    font-size: 13px;
    width: 155px;
    background: var(--surface-2);
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition);
    color: var(--ink);
}

.nav-search input:focus {
    border-color: var(--red);
    background: var(--surface-3);
    width: 195px;
    box-shadow: 0 0 0 3px rgba(200, 0, 26, .22);
}

.nav-search input::placeholder {
    color: var(--ink-4);
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--ink-2);
    font-size: 20px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-hamburger:hover {
    color: var(--red);
    background: var(--surface-2);
}

/* ============================================================
       STICKY NAV
    ============================================================ */
/* .masthead-logo img {
      width: auto;
      height: auto;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      background-color: rgba(255, 255, 255, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .masthead-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      width: auto;
      height: auto;
      border-radius: 50%;
      overflow: hidden;
    } */

.nav-logo-text {
    display: none;
    font-size: 22px;
    font-weight: 900;
    color: var(--red);
    white-space: nowrap;
}

.nav-menu {
    display: none;
    list-style: none;
}

.nav-menu li a {
    display: block;
    padding: 0 12px;
    line-height: var(--nav-h);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2.5px;
    letter-spacing: .01em;
    transition: color var(--transition), border-color var(--transition);
}

.nav-menu li a:hover {
    color: var(--red);
}

.nav-menu li a.active {
    color: var(--red);
    border-bottom-color: var(--red);
    font-weight: 600;
}

.nav-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 14px;
    flex-shrink: 0;
}

.nav-search-wrap {
    position: relative;
}

.nav-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-4);
    font-size: 13px;
    pointer-events: none;
}

.nav-search input {
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 8px 14px 8px 36px;
    font-size: 14px;
    width: 340px;
    /* Increased from 155px */
    background: var(--surface-2);
    outline: none;
    transition: all var(--transition);
    color: var(--ink);
}

.nav-search input:focus {
    border-color: var(--red);
    background: var(--surface-3);
    width: 400px;
    /* Increased from 195px */
    box-shadow: 0 0 0 3px rgba(200, 0, 26, .22);
}

.nav-search input::placeholder {
    color: var(--ink-4);
}

/* ============================================================
       BREAKING NEWS TICKER
    ============================================================ */
.breaking-inner {
    width: 100%;
}

.breaking-featured {
    display: flex;
    gap: 20px;
    background: var(--breaking-featured-bg, var(--white));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    align-items: stretch;
}

.breaking-featured-img-wrap {
    flex: 0 0 40%;
    min-height: 280px;
}

.breaking-featured-img-placeholder,
.breaking-featured-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink-4);
}

.breaking-featured-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.breaking-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.lang-badge,
.cat-badge,
.time-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--surface-2);
    color: var(--ink-3);
}

.lang-badge.en {
    background: #e63946;
    color: #fff;
}

.breaking-featured-headline {
    margin: 0 0 12px;
    line-height: 1.3;
    font-size: 1.8rem;
}

.breaking-featured-headline a {
    color: var(--ink);
    text-decoration: none;
}

.breaking-featured-headline a:hover {
    color: #e63946;
}

.breaking-featured-excerpt {
    color: var(--ink-3);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.breaking-featured-excerpt {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    padding-right: 20px;
}

.breaking-featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.read-more-btn {
    background: #e63946;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.read-more-btn:hover {
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
    .breaking-featured {
        flex-direction: column;
        padding: 15px;
    }

    .breaking-featured-img-wrap {
        flex: none;
        width: 100%;
    }

    .breaking-featured-img-placeholder,
    .breaking-featured-img-wrap img {
        min-height: 220px;
    }

    .breaking-featured-headline {
        font-size: 1.4rem;
    }

    .breaking-featured-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.breaking-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.breaking-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    pointer-events: auto;
}

.breaking-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.breaking-prev {
    left: 10px;
}

.breaking-next {
    right: 10px;
}

@media (max-width: 720px) {
    .breaking-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .breaking-prev {
        left: 5px;
    }

    .breaking-next {
        right: 5px;
    }
}

.breaking-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.breaking-featured {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

/* ── TICKER ── */
.ticker {
    background: var(--red);
    display: flex;
    align-items: center;
    height: 30px;
    overflow: hidden;
}

.ticker-label {
    background: var(--red-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* .ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: scroll-ticker 28s linear infinite;
    font-size: 12px;
    color: #fff;
    line-height: 30px;
} */
.ticker-inner {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    /* use for adjust speed of scroll news in breaking section */
    animation: scroll-ticker var(--ticker-duration, 80s) linear infinite;
    font-size: 12px;
    color: #fff;
    line-height: 30px;
}

.ticker-inner>.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-right: 48px;
}

.ticker-inner>.ticker-item::before {
    content: '●';
    opacity: 0.6;
    font-size: 8px;
    vertical-align: middle;
}

.ticker-lang {
    background: rgba(255, 255, 255, .22);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding: 3px 6px;
}

.ticker-inner a {
    color: #fff;
    font-weight: 600;
}

.ticker-inner a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ticker-slug {
    color: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
}

/* pause on hover */
.ticker:hover .ticker-inner {
    animation-play-state: paused;
}

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

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

/* ============================================================
       SECTION HEADER
    ============================================================ */
/* .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--red);
    gap: 12px;
} */
/* .section-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 14px;
    gap: 12px;
}

 .wrapper-border {
    display: flex;
    width: 100%;
    gap: 4px;
    height: 4px;
}

.wrapper-border span {
    flex: 1;
    border-radius: 2px;
}

.wrapper-border span:nth-child(1) {
    background: #e53935;
}

.wrapper-border span:nth-child(2) {
    background: #fb8c00;

.wrapper-border span:nth-child(3) {
    background: #fdd835;
}

.wrapper-border span:nth-child(4) {
    background: #43a047;
}

.wrapper-border span:nth-child(5) {
    background: #1e88e5; 
}

.wrapper-border span:nth-child(6) {
    background: #8e24aa;
}

.section-title {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.section-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    font-family: var(--font-body);
    vertical-align: middle;
}

.badge-live {
    background: var(--red);
    color: white;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .7
    }
}

.badge-hot {
    background: #E55A00;
    color: white;
}

.section-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap var(--transition), opacity var(--transition);
}

.section-more:hover {
    opacity: .8;
    gap: 7px;
}

.section-more::after {
    content: '→';
} */

.section-header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.section-subtitle {
    margin: 0;
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-3);
    white-space: nowrap;
}

.wrapper-border {
    width: 100%;
    display: flex;
    gap: 4px;
    height: 4px;
}

.wrapper-border span {
    flex: 1;
    border-radius: 2px;
}

.wrapper-border span:nth-child(1) {
    background: #e53935;
}

.wrapper-border span:nth-child(2) {
    background: #fb8c00;
}

.wrapper-border span:nth-child(3) {
    background: #fdd835;
}

.wrapper-border span:nth-child(4) {
    background: #43a047;
}

.wrapper-border span:nth-child(5) {
    background: #1e88e5;
}

.wrapper-border span:nth-child(6) {
    background: #8e24aa;
}

.section-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    font-family: var(--font-body);
    vertical-align: middle;
}

.badge-live {
    background: var(--red);
    color: #fff;
    animation: badge-pulse 2s ease-in-out infinite;
}

.badge-hot {
    background: #E55A00;
    color: #fff;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .7;
    }
}

.section-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap var(--transition), opacity var(--transition);
}

.section-more:hover {
    opacity: .8;
    gap: 7px;
}

.section-more::after {
    content: "→";
}

/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        width: 100%;
        margin-left: 0;
        font-size: 11px;
    }
}

/* ============================================================
       SECTION WRAPPER
    ============================================================ */
.site-section {
    padding: 38px 0;
}

.site-section+.site-section {
    border-top: 1px solid var(--border-2);
}

/* ============================================================
       LANG BADGES
    ============================================================ */
.lang-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: .07em;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.lang-badge.en {
    background: var(--en-bg);
    color: var(--en-color);
}

.lang-badge.hi {
    background: var(--hi-bg);
    color: var(--hi-color);
}

.lang-badge.bn {
    background: var(--bn-bg);
    color: var(--bn-color);
}

.cat-badge {
    font-size: 10px;
    font-weight: 800;
    color: var(--red-light);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-family: var(--font-body);
}

.time-badge {
    font-size: 11.5px;
    color: var(--ink-3);
    font-family: var(--font-body);
}

/* ============================================================
       BREAKING NEWS HERO MODULE
    ============================================================ */
.breaking-module {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Tab bar */
.breaking-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 0 4px;
}

.breaking-tab {
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    color: var(--ink-3);
    transition: color var(--transition), border-color var(--transition);
    font-family: var(--font-body);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.breaking-tab.active {
    color: var(--red-light);
    border-bottom-color: var(--red);
    background: rgba(200, 0, 26, .06);
}

.breaking-tab:hover:not(.active) {
    color: var(--ink-2);
    background: rgba(255, 255, 255, .04);
}

/* Main layout */
.breaking-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    min-height: 380px;
}

/* Featured story */
.breaking-featured {
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

.breaking-featured-img-wrap {
    position: relative;
    overflow: hidden;
}

.breaking-featured-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.breaking-featured:hover .breaking-featured-img {
    transform: scale(1.03);
}

.breaking-featured-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--featured-placeholder-bg, linear-gradient(135deg, #0D1117 0%, #161B22 40%, #1C2541 100%));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .25);
    font-size: 13px;
    font-family: var(--font-body);
    letter-spacing: .05em;
}

/* Gradient overlay on image for better text separation */
.breaking-featured-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, .15), transparent);
    pointer-events: none;
}

/* Image fade-in */
.breaking-featured-img.img-loaded {
    animation: fadeIn .4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.breaking-featured-body {
    padding: 22px 26px 20px;
}

.breaking-featured-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.breaking-featured-headline {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--ink);
    letter-spacing: -.025em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breaking-featured-headline a {
    transition: color var(--transition);
}

.breaking-featured-headline a:hover {
    color: var(--red-light);
}

.breaking-featured-excerpt {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breaking-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.read-more-btn {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--red);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(200, 0, 26, .4);
}

.read-more-btn:hover {
    background: var(--red-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 0, 26, .5);
}

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

.breaking-inner {
    display: block;
    min-height: auto;
}

.breaking-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.breaking-track {
    display: flex;
    align-items: stretch;
    transition: transform 2s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.breaking-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    min-width: 100%;
    padding: 0;
    border-right: 0;
    background: var(--breaking-featured-bg, var(--white));
}

.breaking-featured-img-wrap {
    min-height: 380px;
}

.breaking-featured-img,
.breaking-featured-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    aspect-ratio: auto;
    object-fit: cover;
}

.breaking-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px;
}

/* Sidebar stories */
.breaking-sidebar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.breaking-story {
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: start;
    cursor: pointer;
    flex: 1;
    transition: background var(--transition);
    min-height: 0;
}

.breaking-story:last-child {
    border-bottom: none;
}

.breaking-story:hover {
    background: var(--surface-2);
}

.breaking-story-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.breaking-story-img {
    width: 80px;
    height: 62px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--surface-2);
    display: block;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.breaking-story:hover .breaking-story-img {
    transform: scale(1.06);
}

.breaking-story-img-placeholder {
    width: 80px;
    height: 62px;
    border-radius: var(--radius);
    background: var(--surface-2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-4);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
}

.breaking-story-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.breaking-story-headline {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breaking-story-headline a {
    transition: color var(--transition);
}

.breaking-story-headline a:hover {
    color: var(--red-light);
}

.breaking-story-time {
    font-size: 11.5px;
    color: var(--ink-3);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breaking-story-time::before {
    content: '🕐';
    font-size: 10px;
}

/* Status bar */
.breaking-footer {
    padding: 9px 16px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink-4);
    font-family: var(--font-body);
}

.refresh-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.refresh-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1B7A42;
    animation: pulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

/* ============================================================
       LANG EDITION CARDS
    ============================================================ */
/* ── Edition Cards — Premium Glassmorphism Newsroom ── */
.edition-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.edition-card {
    background: var(--edition-card-bg, linear-gradient(160deg, rgba(30, 30, 30, .97) 0%, rgba(16, 16, 16, .99) 100%));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1),
        box-shadow .32s cubic-bezier(.22, 1, .36, 1),
        border-color .25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .5),
        0 8px 32px rgba(0, 0, 0, .35),
        inset 0 1px 0 rgba(255, 255, 255, .05);
    will-change: transform;
    outline: none;
}

.edition-card:hover {
    transform: translateY(-9px) scale(1.016);
    border-color: rgba(255, 255, 255, .15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .6),
        0 28px 56px rgba(0, 0, 0, .42),
        inset 0 1px 0 rgba(255, 255, 255, .1);
}

.edition-card.en-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .55), 0 28px 56px rgba(14, 63, 138, .25), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.edition-card.hi-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .55), 0 28px 56px rgba(200, 60, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.edition-card.bn-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .55), 0 28px 56px rgba(13, 92, 44, .22), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.edition-card:focus-visible {
    outline: 2.5px solid var(--red);
    outline-offset: 4px;
}

@media (hover: none) {
    .edition-card:hover {
        transform: none;
    }
}

/* Top accent stripe */
.feature-bar {
    height: 5px;
    width: 100%;
    flex-shrink: 0;
}

.feature-bar.en {
    background: linear-gradient(90deg, #0E3F8A, #4A90E2);
}

.feature-bar.hi {
    background: linear-gradient(90deg, #C8001A, #FF6B2B);
}

.feature-bar.bn {
    background: linear-gradient(90deg, #0D5C2C, #2EBD6A);
}

.edition-card-body {
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.edition-lang-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    font-family: var(--font-display);
}

.edition-lang-icon.en {
    background: linear-gradient(135deg, rgba(14, 63, 138, .4), rgba(74, 144, 226, .15));
    color: #7BBCF5;
    box-shadow: 0 0 0 1px rgba(74, 144, 226, .2), 0 6px 20px rgba(14, 63, 138, .3);
}

.edition-lang-icon.hi {
    background: linear-gradient(135deg, rgba(200, 0, 26, .35), rgba(255, 107, 43, .15));
    color: #FF9A70;
    box-shadow: 0 0 0 1px rgba(255, 107, 43, .2), 0 6px 20px rgba(200, 0, 26, .25);
}

.edition-lang-icon.bn {
    background: linear-gradient(135deg, rgba(13, 92, 44, .4), rgba(46, 189, 106, .15));
    color: #5EE098;
    box-shadow: 0 0 0 1px rgba(46, 189, 106, .2), 0 6px 20px rgba(13, 92, 44, .3);
}

.edition-name {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
    margin-bottom: 3px;
    line-height: 1.1;
}

.edition-native {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: .13em;
    margin-bottom: 20px;
}

.edition-divider {
    width: 44px;
    height: 3px;
    border-radius: 3px;
    margin-bottom: 18px;
}

.edition-divider.en {
    background: linear-gradient(90deg, #0E3F8A, #4A90E2);
}

.edition-divider.hi {
    background: linear-gradient(90deg, #C8001A, #FF6B2B);
}

.edition-divider.bn {
    background: linear-gradient(90deg, #0D5C2C, #2EBD6A);
}

.edition-headline {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 68px;
}

.edition-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    align-self: flex-start;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid transparent;
}

.edition-card.en-card .edition-btn {
    background: rgba(14, 63, 138, .88);
    border-color: rgba(74, 144, 226, .28);
    box-shadow: 0 2px 12px rgba(14, 63, 138, .45);
}

.edition-card.en-card .edition-btn:hover {
    background: #0E3F8A;
    box-shadow: 0 4px 20px rgba(14, 63, 138, .6);
    transform: translateX(4px);
}

.edition-card.hi-card .edition-btn {
    background: rgba(200, 0, 26, .88);
    border-color: rgba(255, 107, 43, .28);
    box-shadow: 0 2px 12px rgba(200, 0, 26, .45);
}

.edition-card.hi-card .edition-btn:hover {
    background: var(--red-dark);
    box-shadow: 0 4px 20px rgba(200, 0, 26, .6);
    transform: translateX(4px);
}

.edition-card.bn-card .edition-btn {
    background: rgba(13, 92, 44, .88);
    border-color: rgba(46, 189, 106, .28);
    box-shadow: 0 2px 12px rgba(13, 92, 44, .45);
}

.edition-card.bn-card .edition-btn:hover {
    background: #0D5C2C;
    box-shadow: 0 4px 20px rgba(13, 92, 44, .6);
    transform: translateX(4px);
}

/* ============================================================
       SKELETON CARD ELEMENTS
    ============================================================ */

.skeleton-meta {
    height: 12px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text {
    height: 14px;
    width: 80%;
}

/* ============================================================
       STORY CARD — consistent height, clamp, hover
    ============================================================ */
.story-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.story-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

@media (hover: none) {
    .story-card:hover {
        transform: none;
    }
}

.story-card-img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.story-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    background: var(--surface-2);
}

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

.story-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-4);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
}

.story-card-body {
    padding: 17px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.story-card-title {
    font-family: var(--font-display);
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.28;
    color: var(--ink);
    letter-spacing: -.015em;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card-title a {
    transition: color var(--transition);
}

.story-card-title a:hover {
    color: var(--red-light);
}

.story-card-excerpt {
    font-size: 13.5px;
    color: var(--ink-3);
    line-height: 1.65;
    margin-top: 9px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

/* ============================================================
       MOST READ + TRENDING
    ============================================================ */
.reader-grid {
    align-items: stretch;
    gap: 18px;
}

.reader-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    min-width: 0;
}

.reader-panel .section-header {
    margin-bottom: 8px;
    padding-bottom: 12px;
}

.reader-panel .section-title {
    font-size: 20px;
}

.most-read-list {
    list-style: none;
}

.most-read-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 88px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), transform var(--transition);
    border-radius: var(--radius);
}

.most-read-item:last-child {
    border-bottom: none;
}

.most-read-item:hover {
    background: var(--surface-2);
    transform: translateX(2px);
}

.most-read-num {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 900;
    color: var(--red-light);
    line-height: 1;
    text-align: center;
}

.most-read-num.top3 {
    color: var(--red);
}

.most-read-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.most-read-title a {
    transition: color var(--transition);
}

.most-read-title a:hover {
    color: var(--red-light);
}

.most-read-img {
    display: block;
    width: 88px;
    height: 66px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--border);
    overflow: hidden;
}

.trending-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: background var(--transition), transform var(--transition);
    border-radius: var(--radius);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    background: var(--surface-2);
    transform: translateX(2px);
}

.trending-rank {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    min-width: 34px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: var(--red-bg);
    border: 1px solid rgba(200, 0, 26, .45);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.trending-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.38;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.trending-views {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 4px;
}

/* ============================================================
       ABOUT STRIP
    ============================================================ */
.about-strip {
    padding: 42px 0;
    border-top: 1px solid var(--border-2);
}

.about-panel {
    background: var(--panel-bg, rgba(10, 10, 10, .92));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 34px;
    align-items: stretch;
    padding: 24px;
}

.about-strip .section-header {
    margin-bottom: 18px;
}

.about-strip p {
    font-size: 14.5px;
    line-height: 1.78;
    color: var(--ink-2);
}

.about-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--ink-3);
}

.about-note a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(200, 0, 26, .8);
    text-underline-offset: 3px;
    transition: color var(--transition), text-decoration-color var(--transition);
}

.about-note a:hover {
    color: var(--red-light);
    text-decoration-color: var(--red-light);
}

.about-links {
    display: grid;
    gap: 10px;
    align-content: center;
}

.about-links a {
    font-size: 13px;
    color: var(--ink-2);
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.about-links a:hover {
    background: var(--surface-2);
    color: var(--ink);
    border-color: rgba(200, 0, 26, .55);
    transform: translateX(2px);
}

.about-links a i {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red-bg);
    color: var(--red-light);
    font-size: 13px;
    flex-shrink: 0;
}

/* ============================================================
       FOOTER
    ============================================================ */
.site-footer {
    color: var(--ink-3);
    padding: 0 0 24px;
}

.footer-panel {
    background: var(--panel-bg, rgba(10, 10, 10, .94));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-brand .section-header {
    margin-bottom: 14px;
}

.footer-brand p {
    max-width: 720px;
    color: var(--ink-3);
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 26px;
}

.footer-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.footer-col h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: .01em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: var(--ink-3);
    transition: color var(--transition), transform var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--red-light);
    transform: translateX(2px);
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ink-4);
    flex-wrap: wrap;
    gap: 10px;
}

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

.footer-social a {
    color: var(--ink-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.footer-social a:hover {
    color: var(--red-light);
    background: var(--red-bg);
    border-color: rgba(200, 0, 26, .55);
    transform: translateY(-2px);
}

/* ============================================================
       LOADING SKELETONS
    ============================================================ */
.skeleton {
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

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

/* ============================================================
       EMPTY STATE
    ============================================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #ccc;
    background-color: #000;
    border-radius: 8px;
}

.empty-state i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    opacity: .4;
}

.empty-state p {
    font-size: 14px;
}

/* ============================================================
       RESPONSIVE
    ============================================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .breaking-inner {
        grid-template-columns: 3fr 2fr;
    }
}

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

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

    .breaking-featured {
        display: block;
    }

    .breaking-featured-img-wrap,
    .breaking-featured-img,
    .breaking-featured-img-placeholder {
        min-height: 220px;
        height: auto;
    }

    .breaking-sidebar {
        border-top: 1px solid var(--border);
        max-height: none;
    }

    .breaking-featured-headline {
        font-size: 21px;
    }

    .grid-2,
    .grid-3,
    .edition-cards {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .about-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .topbar .container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .masthead-inner .container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .topbar-social {
        gap: 10px;
    }

    .site-section {
        padding: 28px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .reader-section .container {
        padding: 18px;
    }

    .reader-panel {
        padding: 16px;
    }
}

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

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

    .breaking-story {
        grid-template-columns: 68px 1fr;
    }

    .breaking-story-img,
    .breaking-story-img-wrap {
        width: 68px;
        height: 54px;
    }

    .edition-cards {
        gap: 14px;
    }

    .breaking-module {
        border-radius: var(--radius-lg);
    }

    .most-read-item {
        grid-template-columns: 32px minmax(0, 1fr) 76px;
        gap: 10px;
    }

    .most-read-img {
        width: 76px;
        height: 58px;
    }

    .reader-panel .section-header {
        align-items: flex-start;
    }
}

/* Mobile nav open state */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mobile-nav-bg, #181818);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 99;
    padding: 8px 0;
    max-height: 70vh;
    overflow-y: auto;
}

.nav-menu.open li a {
    line-height: 1;
    padding: 13px 20px;
    border-bottom: none;
    margin-bottom: 0;
    border-radius: 0;
    font-size: 14px;
}

.nav-menu.open li a:hover {
    background: var(--surface);
}

/* ============================================================
       UTILITIES
    ============================================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.feature-bar {
    height: 3px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.feature-bar.en {
    background: var(--en-color);
}

.feature-bar.hi {
    background: var(--hi-color);
}

.feature-bar.bn {
    background: var(--bn-color);
}

/* Print */
@media print {

    .topbar,
    /* .masthead-inner, */
    .site-nav,
    .breaking-ticker,
    .ticker .site-footer,
    .about-strip {
        display: none;
    }
}