/* ============================================================
   VOB NEWS — Advanced Bengali News Portal
   ============================================================ */

:root {
    --red: #c0392b;
    --red-dark: #96281b;
    --red-light: #e74c3c;
    --dark: #1a1a2e;
    --dark2: #2c3e50;
    --gold: #f39c12;
    --text: #111827;
    --text-2: #374151;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --border-light: #f9fafb;
    --bg: #f0f2f5;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
    --shadow: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
    --r: 8px;
    --r-sm: 4px;
    --t: all .22s cubic-bezier(.4,0,.2,1);
    --serif: 'Noto Serif Bengali', serif;
    --sans: 'Noto Sans Bengali', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body { overflow-x: hidden; }
body { font-family: var(--serif); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; text-align: justify; }
p, .card-excerpt, .grid-card-excerpt, .article-content, .list-card-title, .card-title-lg, .grid-card-title, .hero-side-title, .hero-strip-title, .ranked-title, .poll-question { text-align: justify; }
a { text-decoration: none; color: inherit; transition: var(--t); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ============================================================
   TOP AD BAR
============================================================ */
.top-ad-bar { background: #fff; padding: 6px 0; border-bottom: 1px solid var(--border); text-align: center; }
.top-ad-img { max-height: 80px; margin: 0 auto; }

/* ============================================================
   HEADER — Logo + Date + Quick Links
============================================================ */
.site-header { background: #fff; border-bottom: 1px solid var(--border); }

.header-main { padding: 14px 0; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ---- Logo ---- */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo-img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }

.logo-badge {
    width: 64px; height: 64px;
    background: #111;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.logo-badge-sm { width: 38px; height: 38px; }
.logo-badge-text {
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -1px;
    line-height: 1;
}
.logo-badge-sm .logo-badge-text { font-size: 15px; }
.logo-news-word {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 50px;
    font-weight: 900;
    color: #111;
    letter-spacing: -2px;
    line-height: 1;
}

/* ---- Header Right (date + quick links) ---- */
.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.header-date-block {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    justify-content: flex-end;
}
.header-date-block span { white-space: nowrap; }
.hdr-sep { color: var(--border); font-size: 14px; }
#hdrTime { font-weight: 700; color: var(--dark2); }
#hdrDay { font-weight: 600; color: var(--dark2); }

.header-quick-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.hql-item {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    color: #444;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    transition: var(--t);
    background: none;
    white-space: nowrap;
}
.hql-item i { font-size: 12px; color: var(--red); }
.hql-item:hover {
    background: #fff5f5;
    border-color: #fecaca;
    color: var(--red);
}
.hql-search { cursor: pointer; }

/* ---- Search Overlay ---- */
.search-overlay {
    background: var(--dark2); padding: 12px 0;
    display: none; animation: slideDown .2s ease;
    border-top: 1px solid rgba(255,255,255,.1);
}
.search-overlay.open { display: block; }
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.search-form-bar { display: flex; gap: 8px; max-width: 640px; }
.search-bar-input {
    flex: 1; padding: 11px 18px;
    border: none; border-radius: var(--r);
    font-size: 15px; font-family: var(--serif); outline: none;
    background: rgba(255,255,255,.95);
}
.search-bar-btn {
    background: var(--red); color: #fff;
    padding: 11px 22px; border-radius: var(--r);
    font-size: 14px; font-family: var(--serif);
    display: flex; align-items: center; gap: 6px;
    transition: var(--t);
}
.search-bar-btn:hover { background: var(--red-dark); }
.search-bar-close {
    background: rgba(255,255,255,.15); color: #fff;
    padding: 11px 16px; border-radius: var(--r);
    font-size: 16px; transition: var(--t);
}
.search-bar-close:hover { background: rgba(255,255,255,.25); }

/* ============================================================
   BREAKING NEWS TICKER
============================================================ */
.news-ticker-wrap {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 40%, #047857 70%, #059669 100%);
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* left-side glow line */
.news-ticker-wrap::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), var(--red));
}

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

/* Label */
.ticker-label { flex-shrink: 0; display: flex; align-items: center; padding: 0 14px 0 10px; }
.ticker-badge {
    display: flex; align-items: center; gap: 8px;
    background: var(--red);
    color: #fff;
    padding: 7px 16px;
    font-size: 14px; font-weight: 800;
    font-family: var(--serif);
    border-radius: 30px;
    position: relative; z-index: 1;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    animation: tickerGlow 2s ease-in-out infinite;
}
@keyframes tickerGlow {
    0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    50%  { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.ticker-badge-icon {
    font-size: 14px;
    opacity: .9;
    animation: satelliteSpin 3s ease-in-out infinite;
}
@keyframes satelliteSpin {
    0%, 100% { transform: rotate(0deg); }
    25%       { transform: rotate(-15deg); }
    75%       { transform: rotate(15deg); }
}
.ticker-badge-word {
    font-size: 15px; font-weight: 900; letter-spacing: .3px;
}
.ticker-live-pill {
    background: rgba(255,255,255,.22);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    font-family: Arial, sans-serif;
    letter-spacing: 1.5px;
    padding: 2px 6px;
    border-radius: 3px;
    position: relative;
    animation: livePulse 2s ease-in-out infinite;
}
.ticker-live-pill::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    background: #fff;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
    animation: tickerDotBlink 1s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .7; }
}
@keyframes tickerDotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .3; transform: scale(.6); }
}

/* Scrolling content */
.ticker-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 12px;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 35s linear infinite;
    will-change: transform;
}
.ticker-track.paused { animation-play-state: paused; }
.ticker-track:hover  { animation-play-state: paused; }

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px 0 0;
    color: rgba(255,255,255,.92);
    font-size: 15.5px;
    font-family: var(--serif);
    font-weight: 500;
    flex-shrink: 0;
    cursor: default;
}
.ticker-item a { color: inherit; transition: color .2s; }
.ticker-item a:hover { color: var(--gold); text-decoration: none; }

/* Thumbnail inside ticker */
.ticker-thumb {
    width: 46px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
}
.ticker-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.ticker-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    flex-shrink: 0;
    margin-right: 12px;
    color: var(--red-light);
    font-size: 5px;
    position: relative;
}
.ticker-sep::before {
    content: '';
    display: block;
    width: 5px; height: 5px;
    background: var(--red-light);
    border-radius: 50%;
    animation: tickerDotBlink 2s ease-in-out infinite;
}

/* Controls */
.ticker-controls {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    padding: 0 10px;
    border-left: 1px solid rgba(255,255,255,.1);
}
.ticker-btn {
    width: 30px; height: 30px; border-radius: 6px;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--t);
}
.ticker-btn:hover { background: var(--red); color: #fff; }

/* ============================================================
   MAIN NAVIGATION — White bar with red underline
============================================================ */
.main-nav {
    background: #fff;
    border-bottom: 3px solid var(--red);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.nav-inner {
    display: flex;
    align-items: stretch;
    min-height: 50px;
}

.nav-hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    padding: 0 14px;
    flex-shrink: 0;
}
.nav-hamburger span { width: 20px; height: 2px; background: #333; border-radius: 2px; transition: var(--t); }

.nav-home-btn {
    padding: 0 15px;
    display: flex; align-items: center;
    font-size: 17px;
    color: #fff;
    background: var(--red);
    transition: var(--t);
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,.2);
}
.nav-home-btn:hover, .nav-home-btn.active { background: var(--red-dark); color: #fff; }

.nav-links-wrap {
    display: flex;
    align-items: stretch;
    flex: 1;
    overflow: visible;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.nav-cat-link {
    display: flex; align-items: center;
    padding: 0 13px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--serif);
    color: #222;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    white-space: nowrap;
    transition: color .18s, border-color .18s;
    background: none;
}
.nav-cat-link:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-cat-link.active { color: var(--red); border-bottom-color: var(--red); }

/* আরও mega button */
.nav-mega-wrap { display: flex; align-items: stretch; }
.nav-mega-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 0 14px;
    font-size: 15px; font-weight: 700;
    font-family: var(--serif);
    color: var(--red);
    border-bottom: 3px solid var(--red);
    margin-bottom: -3px;
    cursor: pointer;
    transition: var(--t);
}
.nav-mega-btn:hover { background: #fff5f5; }
.nav-mega-btn.open { background: #fff5f5; }
.nav-mega-arrow { font-size: 10px; transition: transform .22s; }
.nav-mega-btn.open .nav-mega-arrow { transform: rotate(180deg); }

/* ---- MEGA MENU DROPDOWN ---- */
.mega-dropdown {
    background: #fff;
    border-top: 2px solid var(--red);
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
    display: none;
    position: absolute;
    left: 0; right: 0;
    z-index: 999;
    animation: megaSlide .18s ease;
}
.mega-dropdown.open { display: block; }
@keyframes megaSlide { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.mega-inner { padding: 16px 0 22px; }

.mega-top-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.mega-title {
    font-size: 15px; font-weight: 800; color: var(--dark2);
    font-family: var(--serif);
    display: flex; align-items: center; gap: 9px;
}
.mega-title-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--red), #ff6b6b);
    color: #fff;
    border-radius: 7px;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(200,30,30,.3);
}
.mega-close-btn {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-family: var(--sans); font-weight: 600;
    color: var(--text-muted); padding: 6px 12px;
    border: 1px solid var(--border); border-radius: 20px;
    transition: var(--t);
}
.mega-close-btn:hover { border-color: var(--red); color: var(--red); }

.mega-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.mega-cat-item {
    display: block;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--serif);
    color: #222;
    border-left: 3px solid transparent;
    border-radius: var(--r-sm);
    background: var(--border-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--t);
}
.mega-cat-item:hover {
    background: #fff5f5;
    border-left-color: var(--cat-color, var(--red));
    color: var(--cat-color, var(--red));
    transform: translateX(3px);
}

/* ---- Mega menu media section ---- */
.mega-media-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 18px;
}
.mega-media-label {
    font-size: 13px;
    font-weight: 800;
    font-family: var(--sans);
    color: var(--text-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.mega-media-label i { color: var(--red); }
.mega-media-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.mega-media-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px 9px 9px;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--serif);
    color: var(--text);
    background: #fff;
    transition: var(--t);
    white-space: nowrap;
}
.mega-media-item:hover {
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateY(-2px);
    color: var(--dark2);
}
.mega-media-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
    transition: var(--t);
}
.mega-media-item:hover .mega-media-icon { transform: scale(1.1); }

/* ============================================================
   MOBILE DRAWER
============================================================ */
.mobile-drawer {
    position: fixed; top: 0; left: -100%;
    width: 88%; max-width: 380px; height: 100vh;
    z-index: 9999; transition: left .3s ease;
}
.mobile-drawer.open { left: 0; }
.mobile-drawer-inner {
    background: #fff; height: 100%; overflow-y: auto;
    display: flex; flex-direction: column;
    box-shadow: 5px 0 40px rgba(0,0,0,.25);
}
.mobile-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
    background: #111;
    flex-shrink: 0;
}
.mobile-drawer-logo { display: flex; align-items: center; gap: 8px; }
.mobile-drawer-close { color: rgba(255,255,255,.7); font-size: 18px; }
.mobile-search-bar {
    padding: 12px 14px; border-bottom: 1px solid var(--border);
    background: var(--border-light); flex-shrink: 0;
}
.mobile-search-bar form { display: flex; gap: 7px; }
.mobile-search-bar input {
    flex: 1; padding: 9px 12px; border: 1px solid var(--border);
    border-radius: var(--r); font-family: var(--serif); font-size: 14px; outline: none;
}
.mobile-search-bar input:focus { border-color: var(--red); }
.mobile-search-bar button { background: var(--red); color: #fff; padding: 9px 14px; border-radius: var(--r); }
.mobile-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 8px; flex: 1; }
.mobile-cat-item {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 10px; border-radius: var(--r);
    background: var(--border-light); border: 1px solid var(--border);
    font-size: 13.5px; font-weight: 700; transition: var(--t);
}
.mobile-cat-item:hover { background: var(--red); color: #fff; border-color: var(--red); }
.mobile-cat-icon {
    width: 30px; height: 30px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.mobile-drawer-social {
    display: flex; gap: 8px; padding: 14px 16px;
    border-top: 1px solid var(--border); flex-shrink: 0;
}
.social-btn {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; transition: var(--t);
}
.social-btn:hover { transform: translateY(-2px) scale(1.1); }
.social-btn.fb { background: #1877f2; }
.social-btn.yt { background: #f00; }
.social-btn.tw { background: #000; }
.social-btn.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366); }
.social-btn.wa { background: #25d366; }
.social-btn.tg { background: #0088cc; }
.drawer-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: -1; display: none; backdrop-filter: blur(2px);
}
.mobile-drawer.open .drawer-backdrop { display: block; }

/* Scroll progress bar */
.scroll-progress-bar {
    height: 3px; background: linear-gradient(to right, var(--red), var(--gold));
    width: 0%; position: sticky; top: 0; z-index: 998; transition: width .1s linear;
}

/* ============================================================
   LAYOUT
============================================================ */
.main-content { padding: 20px 0 48px; }
.home-layout { display: block; }

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--border); position: relative;
}
.section-header::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 80px; height: 2px; background: var(--red);
}
.section-title-wrap { display: flex; align-items: center; gap: 10px; }
.section-icon { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.section-title { font-size: 19px; font-weight: 800; color: var(--dark2); padding-left: 12px; border-left: 4px solid; line-height: 1.2; }
.section-more {
    font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 5px;
    font-family: var(--sans); white-space: nowrap; padding: 5px 12px;
    border-radius: 20px; border: 1px solid currentColor; transition: var(--t);
}
.section-more:hover { background: var(--red); color: #fff !important; border-color: var(--red); }
.my-section { margin: 28px 0; }

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section { margin-bottom: 24px; }

/* ---- MASTER 5-COLUMN GRID (slider | cards | scoreboard) ---- */
.hero-master-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}
/* Default layout (no active scoreboard) */
.hma-slider     { grid-column: 1 / 3; grid-row: 1; }
.hma-cards      { grid-column: 3 / 5; grid-row: 1; }
.hma-strips     { grid-column: 1 / 4; grid-row: 2; align-self: start; }
.hma-media      { grid-column: 4;     grid-row: 2; align-self: start; }
.hma-scoreboard { display: none; }

/* Scoreboard active — col 4 row 1 = scoreboard, col 4 row 2 = stories widget as usual */
.has-scoreboard .hma-cards      { grid-column: 3 / 4; }
.has-scoreboard .hma-strips     { grid-column: 1 / 4; }
.has-scoreboard .hma-scoreboard { grid-column: 4; grid-row: 1; display: flex; flex-direction: column; }

/* ---- SLIDER ---- */
.hero-slider {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* ---- SLIDE: 75% image + 25% excerpt ---- */
.hero-slide {
    display: none; flex-direction: column; flex: 1;
    border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}
.hero-slide.active { display: flex; }
.hero-slide.fade-in { animation: slideFadeIn .45s ease forwards; }
@keyframes slideFadeIn { from { opacity:0; transform:scale(1.015); } to { opacity:1; transform:scale(1); } }

/* 75% — image with smooth zoom */
.hero-slide-img {
    flex: 3;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    text-decoration: none;
}

/* Background span — scales on hover for GPU-smooth zoom */
.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 1.1s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.hero-slide:hover .hero-slide-bg { transform: scale(1.07); }

/* Dark gradient over image */
.hero-slide-img::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}

/* Content above gradient */
.hero-slide-body {
    position: relative; z-index: 2;
    padding: 32px 22px 20px;
}
.hero-slide-body .cat-badge { display: inline-block; margin-bottom: 12px; }
.hero-slide-title {
    font-size: 36px; font-weight: 700; line-height: 1.45;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7);
    margin-bottom: 12px; text-align: left; word-spacing: normal; letter-spacing: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .4s ease;
}
.hero-slide:hover .hero-slide-title { color: #fde68a; }
.hero-meta { display: flex; gap: 14px; color: rgba(255,255,255,.88); font-size: 13px; font-family: var(--sans); flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: center; gap: 5px; }

/* White excerpt strip — fits content, no extra whitespace */
.hero-slide-footer {
    flex: none;
    background: #fff;
    padding: 12px 22px 14px;
    border-top: 3px solid var(--red);
    text-decoration: none;
    transition: background .4s ease;
}
.hero-slide-footer:hover { background: #fef9f9; }
.hero-slide-footer p {
    font-size: 16px; color: var(--text-2); line-height: 1.72;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .4s ease;
}
.hero-slide-footer:hover p { color: var(--red); }

.slider-arrow {
    position: absolute; top: 38%; transform: translateY(-50%);
    width: 36px; height: 36px; background: rgba(0,0,0,.45); color: #fff;
    border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; z-index: 10;
    transition: background .3s ease, transform .3s ease; opacity: 0;
}
.hero-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--red); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 10;
}
.slider-dot {
    width: 7px; height: 7px; background: rgba(255,255,255,.5);
    border: none; border-radius: 50%; cursor: pointer; padding: 0; transition: all .3s;
}
.slider-dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ---- RIGHT SIDE 2 stacked cards ---- */
.hero-side-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}
.hero-side-card {
    background: #fff; border-radius: var(--r); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--t);
    display: flex; flex-direction: column; min-height: 0;
}
.hero-side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-side-img { width: 100%; height: 160px; overflow: hidden; flex-shrink: 0; }
.hero-side-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--t); }
.hero-side-card:hover .hero-side-img img { transform: scale(1.05); }
.hero-side-content { padding: 10px 12px 12px; flex: 1; }
.hero-side-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.5; color: var(--text); text-align: left; word-spacing: normal; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hero-side-card:hover .hero-side-title { color: var(--red); }

/* ---- STRIP GRID: 3 cols × rows ---- */
.hero-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.hero-strip-card {
    display: flex; gap: 9px; background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); padding: 9px;
}
.hero-strip-card:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.hero-strip-img { width: 80px; height: 58px; flex-shrink: 0; overflow: hidden; border-radius: var(--r-sm); }
.hero-strip-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--t); }
.hero-strip-card:hover .hero-strip-img img { transform: scale(1.08); }
.hero-strip-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.hero-strip-title { font-size: 16px; font-weight: 700; font-family: var(--sans); line-height: 1.5; color: var(--text); text-align: left; word-spacing: normal; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hero-strip-card:hover .hero-strip-title { color: var(--red); }

/* ---- VIDEO / PHOTO STORY WIDGET ---- */
.media-story-widget {
    background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.msw-tabs {
    display: flex; border-bottom: 2px solid var(--border); flex-shrink: 0;
}
.msw-tab {
    flex: 1; padding: 11px 6px; font-size: 13px; font-weight: 700;
    font-family: var(--sans); color: var(--text-muted);
    border: none; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--t);
}
.msw-tab i { font-size: 14px; }
.msw-tab.active { color: var(--red); border-bottom-color: var(--red); }
.msw-tab:not(.active):hover { color: var(--dark2); }

.msw-panel { display: none; flex: 1; }
.msw-panel.active { display: flex; flex-direction: column; }

.msw-carousel-wrap {
    position: relative; overflow: hidden; flex: 1;
}
.msw-track {
    display: flex; height: 100%;
    transition: transform .4s cubic-bezier(.25,.8,.25,1);
}
.msw-slide {
    min-width: 82%; flex-shrink: 0;
    display: flex; flex-direction: column;
    margin-right: 8px;
}
.msw-slide:last-child { margin-right: 0; }
.msw-thumb {
    position: relative; width: 100%;
    flex: 1; overflow: hidden; min-height: 140px;
}
.msw-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--t); }
.msw-slide:hover .msw-thumb img { transform: scale(1.04); }
.msw-badge {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,.65); color: #fff;
    font-size: 11px; font-family: var(--sans);
    padding: 2px 8px; border-radius: 3px;
    display: flex; align-items: center; gap: 4px;
}
.msw-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--red);
    transition: var(--t);
}
.msw-slide:hover .msw-play-btn { transform: translate(-50%,-50%) scale(1.1); background: #fff; }
.msw-titlebar {
    background: linear-gradient(135deg, #7b0000, #c0392b);
    color: #fff; padding: 10px 12px;
    font-size: 13px; font-weight: 700; font-family: var(--serif);
    line-height: 1.5; flex-shrink: 0;
    display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.msw-arrow {
    position: absolute; top: calc(50% - 20px); transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(0,0,0,.55); color: #fff;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; z-index: 5; transition: background .2s;
    opacity: 0;
}
.msw-carousel-wrap:hover .msw-arrow { opacity: 1; }
.msw-arrow:hover { background: var(--red); }
.msw-prev { left: 6px; }
.msw-next { right: 6px; }

/* ============================================================
   STORIES WIDGET
============================================================ */
.hma-media { display: flex; flex-direction: column; }
.stories-widget {
    background: #fff; border-radius: var(--r);
    box-shadow: var(--shadow-sm); overflow: hidden;
    display: flex; flex-direction: column;
    flex: 1;
}

/* Tabs */
.sw-tabs {
    display: flex; align-items: center;
    padding: 8px 10px 0; gap: 6px;
    border-bottom: 2px solid var(--border);
    flex-shrink: 0;
}
.sw-tab {
    flex: 1; padding: 7px 6px 9px; font-size: 12px; font-weight: 700;
    font-family: var(--sans); color: var(--text-muted);
    border: none; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: var(--t); white-space: nowrap;
}
.sw-tab i { font-size: 12px; }
.sw-tab.active { color: var(--red); border-bottom-color: var(--red); }
.sw-tab:not(.active):hover { color: var(--dark2); }

/* Slider */
.sw-slider-wrap {
    position: relative;
    flex: 1; min-height: 0;
    overflow: hidden;
}
.sw-track {
    display: flex; gap: 10px;
    overflow-x: auto; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 10px 10px 8px;
    scroll-snap-type: x mandatory;
    height: 100%;
    align-items: flex-start;
}
.sw-track::-webkit-scrollbar { display: none; }

.sw-empty { text-align:center; color:var(--text-muted); font-size:13px; padding:30px 8px; line-height:2; }

/* One story fills most of the width — next peeks from the right */
.sw-item {
    min-width: calc(85% - 4px); flex-shrink: 0;
    height: 100%;
    display: flex; flex-direction: column; gap: 0;
    cursor: pointer; transition: opacity .2s;
    scroll-snap-align: start;
}
.sw-item:hover { opacity: .92; }
.sw-item.sw-hidden { display: none; }

/* Gradient ring border (Instagram style) */
.sw-thumb-ring {
    width: 100%; height: 100%;
    border-radius: 14px; padding: 2.5px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.sw-thumb-ring.ring-video {
    background: linear-gradient(135deg, #4776e6, #8e54e9);
}

/* Inner image container */
.sw-thumb {
    width: 100%; height: 100%;
    border-radius: 12px; overflow: hidden;
    border: 2px solid #fff; position: relative; background: #111;
}
.sw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Centered play button for video */
.sw-type-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.88);
    color: var(--dark); font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    padding-left: 3px;
}

/* Title overlay at bottom */
.sw-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
    padding: 28px 10px 10px;
    border-radius: 0 0 10px 10px;
}
.sw-overlay-title {
    color: #fff; font-size: 11.5px; font-weight: 700;
    font-family: var(--sans); line-height: 1.4; text-align: left;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category badge inside overlay */
.sw-overlay-cat {
    display: inline-block; font-size: 9.5px; font-weight: 800;
    font-family: var(--sans); color: #fff;
    background: var(--red); border-radius: 3px;
    padding: 1px 6px; margin-bottom: 4px;
    letter-spacing: .3px;
}

/* Label below ring — hidden in new design */
.sw-label { display: none; }

/* Arrow buttons */
.sw-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.95); border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    color: var(--dark2); font-size: 11px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 5; transition: var(--t); opacity: 0;
}
.sw-slider-wrap:hover .sw-arrow { opacity: 1; }
.sw-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); }
.sw-prev { left: 4px; }
.sw-next { right: 4px; }
.sw-arrow:disabled { opacity: .3 !important; cursor: default; }

/* ============================================================
   STORY VIEWER (Instagram/Facebook style)
============================================================ */
.story-viewer {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.sv-backdrop {
    position: absolute; inset: 0; background: rgba(0,0,0,.92);
    cursor: pointer;
}
.sv-wrap {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 16px;
}
.sv-container {
    position: relative;
    width: min(340px, calc(100vh * 0.5625));
    aspect-ratio: 9 / 16;
    border-radius: 14px; overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.sv-media { position: absolute; inset: 0; }
.sv-media img, .sv-media video {
    width: 100%; height: 100%; object-fit: cover;
}

/* Progress bar */
.sv-progress-bar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 10;
    display: flex; gap: 4px; padding: 10px 10px 0;
}
.sv-pb-seg {
    flex: 1; height: 3px; background: rgba(255,255,255,.35);
    border-radius: 2px; overflow: hidden;
}
.sv-pb-fill {
    height: 100%; background: #fff; border-radius: 2px; width: 0%;
}
.sv-pb-fill.active { animation: svFill linear forwards; }
.sv-pb-fill.done   { width: 100%; }
@keyframes svFill { from { width: 0%; } to { width: 100%; } }

/* Header */
.sv-header {
    position: absolute; top: 18px; left: 0; right: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 12px;
}
.sv-brand { display: flex; align-items: center; gap: 8px; }
.sv-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--red); border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 900; color: #fff; font-family: Arial, sans-serif;
}
.sv-brand-name { font-size: 12px; font-weight: 800; color: #fff; font-family: var(--sans); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.sv-story-title { font-size: 11px; color: rgba(255,255,255,.8); font-family: var(--sans); }
.sv-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(0,0,0,.4); border: none; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer; transition: background .2s;
}
.sv-close:hover { background: var(--red); }

/* Tap areas */
.sv-tap { position: absolute; top: 0; bottom: 0; width: 40%; z-index: 5; cursor: pointer; }
.sv-tap-prev { left: 0; }
.sv-tap-next { right: 0; }

/* Footer */
.sv-footer {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
    padding: 40px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
}
.sv-footer a {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
    color: #fff; padding: 7px 14px; border-radius: 20px;
    font-size: 12px; font-family: var(--sans); font-weight: 600;
    backdrop-filter: blur(4px); transition: background .2s;
}
.sv-footer a:hover { background: rgba(255,255,255,.25); }

/* Side nav arrows — absolutely placed on each side of sv-container */
.sv-wrap { position: relative; z-index: 1; }
.sv-side-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.55);
    color: #fff; font-size: 17px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; backdrop-filter: blur(6px);
    box-shadow: 0 3px 14px rgba(0,0,0,.45);
    z-index: 20;
}
.sv-side-prev { left: -62px; }
.sv-side-next { right: -62px; }
.sv-side-btn:hover { background: rgba(255,255,255,.32); transform: translateY(-50%) scale(1.08); }

/* View count top-right */
.sv-view-count {
    display: flex; align-items: center; gap: 5px;
    background: rgba(0,0,0,.45); border-radius: 20px;
    padding: 4px 10px; font-size: 12px; font-weight: 700;
    color: #fff; font-family: var(--sans);
    backdrop-filter: blur(4px);
}
.sv-view-count i { font-size: 11px; opacity: .85; }

/* Footer title — slides up from bottom */
.sv-footer-title {
    color: #fff; font-size: 18px; font-weight: 800;
    font-family: var(--sans); line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0,0,0,.9);
    margin-bottom: 10px;
    animation: svTitleUp .7s cubic-bezier(.22,1,.36,1) both;
}
@keyframes svTitleUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BADGES
============================================================ */
.cat-badge { display: inline-block; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; font-family: var(--sans); }
.cat-badge-sm { font-size: 11px; font-weight: 700; font-family: var(--sans); }
.trending-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--red); color: #fff; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 800; font-family: var(--sans);
    display: flex; align-items: center; gap: 4px; animation: pulse 2s infinite;
}
.post-time { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-muted); font-family: var(--sans); }

/* ============================================================
   CATEGORY GRIDS
============================================================ */
.cat-grid-a { display: grid; grid-template-columns: 1fr 310px; gap: 16px; }
.cat-main-card { border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--t); }
.cat-main-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-main-card a { display: block; }

/* Cover: background-image fills container, flex pushes content to bottom */
.cmc-cover {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.cmc-cover:after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 40%, transparent 75%);
    pointer-events: none;
}
.cat-main-card:hover .cmc-cover { background-size: 105%; }

/* Content sits at bottom, above gradient pseudo-element */
.cmc-body {
    position: relative; z-index: 1;
    padding: 20px 20px 20px;
}
.cmc-cat {
    display: inline-block; font-size: 11px; font-weight: 800;
    font-family: var(--sans); color: #fff;
    border-radius: 4px; padding: 3px 10px; margin-bottom: 10px;
}
.cmc-title {
    font-size: 36px; font-weight: 800; line-height: 1.45;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.8);
    margin-bottom: 12px; transition: color .2s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-main-card:hover .cmc-title { color: #fde68a; }
.cmc-meta {
    display: flex; gap: 14px; font-size: 13px;
    color: rgba(255,255,255,.88); font-family: var(--sans); flex-wrap: wrap;
}
.cmc-meta span { display: flex; align-items: center; gap: 5px; }

/* Excerpt below image */
.cmc-excerpt { background: #fff; padding: 14px 18px 16px; }
.cmc-excerpt p { font-size: 16px; color: var(--text-2); line-height: 1.8; }

.card-body { padding: 14px 16px 16px; }
.card-title-lg { font-size: 17px; font-weight: 800; line-height: 1.5; margin-bottom: 8px; transition: var(--t); }
.cat-main-card:hover .card-title-lg { color: var(--red); }
.card-excerpt { font-size: 16px; color: var(--text-2); line-height: 1.8; }
.card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); font-family: var(--sans); flex-wrap: wrap; }
.card-meta span { display: flex; align-items: center; gap: 4px; }

.cat-list { display: flex; flex-direction: column; gap: 10px; }
.list-card { display: flex; gap: 10px; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.list-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.list-card-img { width: 105px; height: 75px; flex-shrink: 0; overflow: hidden; }
.list-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.list-card:hover .list-card-img img { transform: scale(1.07); }
.list-card-body { padding: 8px 10px 8px 0; display: flex; flex-direction: column; justify-content: space-between; }
.list-card-title { font-size: 13.5px; font-weight: 700; line-height: 1.5; transition: var(--t); }
.list-card:hover .list-card-title { color: var(--red); }

.cat-grid-b { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.grid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.grid-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.grid-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.grid-card:hover .grid-card-img img { transform: scale(1.06); }
.grid-card-body { padding: 12px 12px 14px; }
.grid-card-title { font-size: 14px; font-weight: 700; line-height: 1.6; margin-bottom: 6px; transition: var(--t); }
.grid-card:hover .grid-card-title { color: var(--red); }
.grid-card-excerpt { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }

/* Category 4-column grid */
.cat-grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cgc-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); display: flex; flex-direction: column; }
.cgc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cgc-img { aspect-ratio: 16/10; overflow: hidden; }
.cgc-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.cgc-card:hover .cgc-img img { transform: scale(1.06); }
.cgc-body { padding: 12px 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cgc-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.6; color: var(--text-1); text-align: left; word-spacing: normal; transition: var(--t); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cgc-card:hover .cgc-title { color: var(--red); }
.cgc-time { font-size: 12px; color: var(--text-muted); margin-top: auto; }

/* ===== রাজনীতি Layout ===== */
.pol-layout { display: grid; grid-template-columns: 380px 1fr; gap: 16px; align-items: stretch; }
.pol-hero { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.pol-hero:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pol-hero-cover { height: 180px; background-size: cover; background-position: center; flex: none; }
.pol-hero-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.pol-hero-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.6; color: var(--text-1); text-align: left; word-spacing: normal; transition: var(--t); }
.pol-hero:hover .pol-hero-title { color: var(--red); }
.pol-hero-excerpt { font-size: 16px; font-weight: 500; font-family: var(--sans); color: var(--text-2); line-height: 1.8; text-align: left; word-spacing: normal; overflow: hidden; flex: 1; }
.pol-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 12px; align-items: stretch; }
.pol-grid .cgc-card { height: 100%; }
.pol-grid .cgc-title { -webkit-line-clamp: 4; }

/* ===== Horizontal Card (shared: বাণিজ্য sub, রাজনীতি grid) ===== */
.biz-h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.biz-h-card { display: flex; gap: 10px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); transition: var(--t); padding: 10px; align-items: flex-start; }
.biz-h-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.biz-h-img { width: 88px; height: 68px; flex: none; border-radius: 6px; overflow: hidden; }
.biz-h-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.biz-h-card:hover .biz-h-img img { transform: scale(1.06); }
.biz-h-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 68px; }
.biz-h-title { font-size: 16px; font-weight: 700; font-family: var(--sans); line-height: 1.55; color: var(--text-1); text-align: left; word-spacing: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: var(--t); }
.biz-h-card:hover .biz-h-title { color: var(--red); }

/* ===== বাণিজ্য Layout ===== */
.biz-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: stretch; }
.biz-main { display: flex; flex-direction: column; }
.biz-sidebar { display: flex; flex-direction: column; gap: 16px; height: 100%; }

/* Top: big left + 2 stacked right */
.biz-top {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 12px;
    margin-bottom: 0;
}

/* Big left card */
.biz-big-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--t);
}
.biz-big-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.biz-big-img {
    width: 100%; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0;
}
.biz-big-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.biz-big-card:hover .biz-big-img img { transform: scale(1.05); }
.biz-big-body {
    padding: 14px 16px 16px;
    display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.biz-big-title {
    font-size: 20px; font-weight: 800; font-family: var(--sans);
    line-height: 1.5; color: var(--text-1);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    transition: var(--t);
}
.biz-big-card:hover .biz-big-title { color: var(--red); }
.biz-big-excerpt {
    font-size: 14px; color: var(--text-2); line-height: 1.75; font-family: var(--serif);
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* Right: 2 stacked cards */
.biz-side-stack {
    display: flex; flex-direction: column; gap: 12px;
}
.biz-side-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--t); flex: 1;
}
.biz-side-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.biz-side-img {
    width: 100%; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0;
}
.biz-side-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.biz-side-card:hover .biz-side-img img { transform: scale(1.05); }
.biz-side-title {
    padding: 10px 12px 12px;
    font-size: 15px; font-weight: 700; font-family: var(--sans);
    line-height: 1.55; color: var(--text-1);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: var(--t);
}
.biz-side-card:hover .biz-side-title { color: var(--red); }
.sidebar-ad-block { border-radius: var(--r); overflow: hidden; }
.biz-ads-placeholder { background: #f0f0f0; border-radius: var(--r); flex: 1; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.ads-placeholder-inner { text-align: center; color: #aaa; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ads-placeholder-inner i { font-size: 28px; }

/* ===== বিশ্ব Layout ===== */
.world-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.world-top { display: grid; grid-template-columns: 1fr 260px; gap: 14px; }
.world-hero { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.world-hero:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.world-hero-cover { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.world-hero-cover::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%); }
.world-hero-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; z-index: 1; }
.world-hero-title { font-size: 20px; font-weight: 700; font-family: var(--sans); color: #fff; line-height: 1.5; text-align: left; word-spacing: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.world-side-list { display: flex; flex-direction: column; gap: 10px; }
.world-side-item { display: flex; gap: 10px; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.world-side-item:hover { box-shadow: var(--shadow-lg); transform: translateX(2px); }
.wsi-img { width: 90px; flex: none; }
.wsi-img img { width: 100%; height: 100%; object-fit: cover; }
.wsi-body { padding: 8px 10px 8px 0; display: flex; flex-direction: column; gap: 5px; justify-content: center; }
.wsi-title { font-size: 16px; font-weight: 700; font-family: var(--sans); line-height: 1.5; color: var(--text-1); text-align: left; word-spacing: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: var(--t); }
.world-side-item:hover .wsi-title { color: var(--red); }
.world-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* ===== খেলাধুলা Layout ===== */
/* sports-layout: news grid + events sidebar */
.sports-layout { display: grid; grid-template-columns: 1fr 155px; gap: 14px; align-items: start; }
.sports-main { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 14px; align-items: start; }
.sports-side-col { display: flex; flex-direction: column; gap: 12px; }
/* natural-size small cards */
.sports-sm-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.sports-sm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sports-sm-img { flex-shrink: 0; aspect-ratio: 4/3; overflow: hidden; }
.sports-sm-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.sports-sm-card:hover .sports-sm-img img { transform: scale(1.06); }
.sports-sm-body { padding: 10px 12px 12px; }
.sports-sm-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.55; color: var(--text-1); text-align: left; word-spacing: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; transition: var(--t); }
.sports-sm-card:hover .sports-sm-title { color: var(--red); }
/* center big card fills full column height */
.sports-big-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); }
.sports-big-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sports-big-img { flex-shrink: 0; aspect-ratio: 4/3; overflow: hidden; }
.sports-big-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.sports-big-card:hover .sports-big-img img { transform: scale(1.06); }
.sports-big-body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.sports-big-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.55; color: var(--text-1); text-align: left; word-spacing: normal; margin-bottom: 8px; transition: var(--t); }
.sports-big-card:hover .sports-big-title { color: var(--red); }
.sports-big-excerpt { font-size: 16px; font-weight: 500; font-family: var(--sans); color: var(--text-2); line-height: 1.8; text-align: left; word-spacing: normal; margin-bottom: 8px; flex: 1; }
/* events sidebar: CSS stretch (same height as sports-main), list scrolls inside */
.sports-events { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; height: 460px; }
.events-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 13px 14px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; letter-spacing: .3px; flex-shrink: 0; }
.events-header i { color: #ffd700; }
.events-list { padding: 6px 0; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d1d5db #f9fafb; }
.events-list::-webkit-scrollbar { width: 5px; }
.events-list::-webkit-scrollbar-track { background: #f9fafb; }
.events-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.events-list::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
.event-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; transition: all .18s; border-left: 3px solid transparent; }
.event-item:hover { background: #f8f4ff; border-left-color: var(--red); }
.event-logo-dot { width: 32px; height: 32px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; color: #fff; letter-spacing: -.5px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.event-logo-img { width: 32px; height: 32px; border-radius: 8px; flex: none; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.event-name { font-size: 13px; font-weight: 600; color: var(--text-1); line-height: 1.3; }

/* ===== বিনোদন Layout — 4-column portrait grid ===== */
.ent-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ent-col-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--t);
}
.ent-col-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ent-col-img {
    width: 100%; aspect-ratio: 3/4; overflow: hidden; flex-shrink: 0;
}
.ent-col-img img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.ent-col-card:hover .ent-col-img img { transform: scale(1.05); }
.ent-col-body {
    padding: 12px 14px 14px;
    display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.ent-col-title {
    font-size: 16px; font-weight: 800; font-family: var(--sans);
    line-height: 1.55; color: var(--text-1);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: var(--t); text-align: left; word-spacing: normal;
}
.ent-col-card:hover .ent-col-title { color: var(--red); }
.ent-col-excerpt {
    font-size: 13.5px; color: var(--text-2); line-height: 1.75;
    font-family: var(--serif); flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.ent-col-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.ent-col-cta {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700; font-family: var(--sans);
    color: #fff; background: var(--red);
    padding: 5px 12px; border-radius: 20px;
    transition: var(--t); white-space: nowrap;
}
.ent-col-cta i { font-size: 10px; transition: transform .2s; }
.ent-col-card:hover .ent-col-cta { background: #b91c1c; }
.ent-col-card:hover .ent-col-cta i { transform: translateX(3px); }

/* আমার এলাকার সংবাদ Widget */
.local-search-widget { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 18px; }
.lsw-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.lsw-bar { width: 4px; height: 22px; background: var(--red); border-radius: 2px; flex: none; }
.lsw-title { font-size: 17px; font-weight: 700; color: var(--text-1); }
.lsw-field { position: relative; margin-bottom: 12px; }
.lsw-select { width: 100%; padding: 11px 38px 11px 14px; border: 1.5px solid #e0e0e0; border-radius: 8px; font-family: inherit; font-size: 15px; color: var(--text-1); background: #fff; appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .2s; }
.lsw-select:focus { outline: none; border-color: var(--red); }
.lsw-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #888; pointer-events: none; }
.lsw-btn { width: 100%; padding: 12px; background: #e8620a; color: #fff; border: none; border-radius: 8px; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s; margin-top: 4px; }
.lsw-btn:hover { background: #c4520a; }

/* ============================================================
   VIDEO SECTION
============================================================ */
/* ── Video Card (shared: homepage scroll + listing page) ── */
.vc-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t); text-decoration: none; display: block; }
.vc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vc-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vc-card:hover .vc-thumb img { transform: scale(1.05); }
.vc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); }
.vc-play i { width: 46px; height: 46px; background: rgba(255,255,255,.93); color: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; padding-left: 3px; box-shadow: 0 4px 20px rgba(0,0,0,.3); transition: var(--t); }
.vc-card:hover .vc-play i { background: var(--red); color: #fff; transform: scale(1.1); }
.vc-brand { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; font-weight: 700; font-family: var(--sans); padding: 3px 7px; border-radius: 3px; }
.vc-views { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.65); color: #fff; padding: 3px 8px; border-radius: 20px; font-size: 11px; font-family: var(--sans); display: flex; align-items: center; gap: 4px; }
.vc-body { padding: 10px 12px 12px; }
.vc-title { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--text); margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.vc-card:hover .vc-title { color: var(--red); }
.vc-time { font-size: 12px; color: var(--text-3); font-family: var(--sans); }

/* ── Homepage horizontal scroll (legacy, unused) ── */
.vs-home-scroll-wrap { display: none; }

/* ── Video Homepage Slider (vhs) ── */
.vhs-section { overflow: hidden; }
.vhs-outer { position: relative; overflow: hidden; border-radius: var(--r); }
.vhs-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: vhsScroll 40s linear infinite;
    cursor: grab;
}
.vhs-track:hover { animation-play-state: paused; }
.vhs-track:active { cursor: grabbing; }
@keyframes vhsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.vhs-card { width: 280px; flex-shrink: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow .3s, transform .3s; display: block; }
.vhs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vhs-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vhs-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vhs-card:hover .vhs-thumb img { transform: scale(1.05); }
.vhs-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.2); transition: background .3s; }
.vhs-play i { width: 50px; height: 50px; background: rgba(255,255,255,.9); color: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.35); transition: background .3s, color .3s, transform .3s; }
.vhs-card:hover .vhs-play { background: rgba(0,0,0,.35); }
.vhs-card:hover .vhs-play i { background: var(--red); color: #fff; transform: scale(1.1); }
.vhs-brand { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: 10px; font-weight: 700; font-family: var(--sans); padding: 3px 8px; border-radius: 3px; letter-spacing: .5px; }
.vhs-body { padding: 10px 12px 12px; }
.vhs-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.5; color: var(--text); margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.vhs-card:hover .vhs-title { color: var(--red); }
.vhs-time { font-size: 12px; color: var(--text-3); font-family: var(--sans); }
.vhs-btn { position: absolute; top: 38%; transform: translateY(-50%); background: rgba(255,255,255,.95); border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.2); cursor: pointer; z-index: 5; font-size: 14px; color: var(--text); transition: background .2s, color .2s; opacity: 0; }
.vhs-outer:hover .vhs-btn { opacity: 1; }
.vhs-btn:hover { background: var(--red); color: #fff; }
.vhs-prev { left: 8px; }
.vhs-next { right: 8px; }

/* ── Video listing page ── */
.vp-header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.vp-subtitle { font-size: 14px; color: var(--text-3); font-family: var(--sans); padding-left: 2px; }
.vp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vp-empty { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--text-3); font-size: 18px; }
.vp-pagination { margin-top: 28px; display: flex; justify-content: center; }

/* ── Single video page ── */
.vs-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.vs-player { aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; }
.vs-player iframe, .vs-player video { width: 100%; height: 100%; border: none; }
.vs-info { background: #fff; border-radius: var(--r); padding: 18px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.vs-title { font-size: 22px; font-weight: 800; line-height: 1.5; color: var(--text); margin-bottom: 10px; text-align: left; }
.vs-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-3); font-family: var(--sans); margin-bottom: 10px; }
.vs-desc { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.vs-sidebar { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-sm); position: sticky; top: 80px; }
.vs-related-head { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.vs-related-list { display: flex; flex-direction: column; gap: 12px; }
.vs-rel-item { display: flex; gap: 10px; text-decoration: none; }
.vs-rel-thumb { width: 100px; height: 65px; border-radius: 6px; overflow: hidden; flex-shrink: 0; position: relative; }
.vs-rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-rel-play { position: absolute; inset: 0; background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; }
.vs-rel-play i { font-size: 14px; color: #fff; }
.vs-rel-body { flex: 1; }
.vs-rel-title { font-size: 13px; font-weight: 700; line-height: 1.45; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.vs-rel-item:hover .vs-rel-title { color: var(--red); }

@media (max-width: 1024px) { .vs-wrap { grid-template-columns: 1fr; } .vs-sidebar { position: static; } .vp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .vp-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   AD BANNERS
============================================================ */
.ad-banner { text-align: center; }
.ad-img-full { max-height: 90px; margin: 0 auto; border-radius: var(--r-sm); width: 100%; object-fit: cover; }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar-col { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 60px; }
.sidebar-widget { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.widget-title-bar { background: var(--dark2); color: #fff; padding: 11px 16px; font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; font-family: var(--sans); }
.widget-header { display: flex; border-bottom: 2px solid var(--border); }
.widget-tab { flex: 1; padding: 11px; font-size: 13px; font-weight: 700; color: var(--text-muted); border-bottom: 3px solid transparent; transition: var(--t); font-family: var(--sans); }
.widget-tab.active { color: var(--red); border-bottom-color: var(--red); }
.widget-tab-content { display: none; }
.widget-tab-content.active { display: block; }
.ranked-post { display: flex; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); transition: var(--t); align-items: flex-start; }
.ranked-post:last-child { border-bottom: none; }
.ranked-post:hover { background: var(--border-light); }
.rank-num { width: 26px; height: 26px; background: var(--border-light); color: var(--text-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; font-family: var(--sans); }
.rank-num.rank-top { background: var(--red); color: #fff; }
.ranked-body { flex: 1; }
.ranked-title { font-size: 13px; font-weight: 700; line-height: 1.5; margin-bottom: 3px; }
.ranked-post:hover .ranked-title { color: var(--red); }
.ad-widget { overflow: hidden; }
.sidebar-ad-img { width: 100%; }

/* Poll widget */
.poll-body { padding: 14px; }
.poll-time { font-size: 11.5px; color: var(--text-muted); margin-bottom: 10px; font-family: var(--sans); }
.poll-question { font-size: 14px; font-weight: 700; line-height: 1.6; margin-bottom: 14px; }
.poll-option { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.poll-radio { accent-color: var(--red); width: 16px; height: 16px; cursor: pointer; }
.poll-label { font-size: 14px; cursor: pointer; }
.poll-submit-btn { width: 100%; background: var(--dark2); color: #fff; padding: 10px; border-radius: var(--r); font-size: 14px; font-weight: 700; font-family: var(--serif); margin-top: 8px; transition: var(--t); display: flex; align-items: center; justify-content: center; gap: 6px; }
.poll-submit-btn:hover { background: var(--red); }
.poll-result-item { margin-bottom: 11px; }
.poll-result-label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.poll-bar-wrap { background: var(--border-light); border-radius: 20px; height: 8px; overflow: hidden; margin-bottom: 3px; }
.poll-bar { background: var(--red); height: 100%; border-radius: 20px; transition: width .8s ease; }
.poll-percent { font-size: 12px; font-weight: 700; color: var(--red); font-family: var(--sans); }
.poll-total { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 10px; font-family: var(--sans); }
.poll-share { display: flex; gap: 8px; margin-top: 12px; }
.social-share { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }

/* Categories widget */
.cat-widget-list { padding: 8px; }
.cat-widget-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); transition: var(--t); }
.cat-widget-item:hover { background: var(--border-light); }
.cat-widget-icon { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.cat-widget-name { flex: 1; font-size: 13.5px; font-weight: 600; }
.cat-widget-count { background: var(--border-light); color: var(--text-muted); padding: 2px 8px; border-radius: 20px; font-size: 11px; font-family: var(--sans); }

/* ============================================================
   ARTICLE PAGE
============================================================ */
.article-wrap { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 18px; font-family: var(--sans); flex-wrap: wrap; }
.breadcrumb-nav a:hover { color: var(--red); }
.article-title { font-size: 26px; font-weight: 900; line-height: 1.5; color: var(--dark2); margin-bottom: 14px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.article-author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 40px; height: 40px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 700; display: block; }
.article-date { font-size: 12px; color: var(--text-muted); display: block; font-family: var(--sans); }
.article-stats { display: flex; gap: 14px; font-size: 13px; color: var(--text-muted); font-family: var(--sans); }
.article-stats span { display: flex; align-items: center; gap: 4px; }
.share-bar { display: flex; align-items: center; gap: 6px; padding: 10px 0; flex-wrap: wrap; }
.share-bar-bottom { border-top: 1px solid var(--border); margin-top: 22px; }
.share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); font-family: var(--sans); }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: #fff; font-family: var(--sans); transition: var(--t); }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.share-btn.fb { background: #1877f2; } .share-btn.wa { background: #25d366; } .share-btn.tw { background: #000; } .share-btn.tg { background: #0088cc; } .share-btn.copy { background: var(--dark2); }
.article-img-wrap { margin: 18px 0; border-radius: var(--r); overflow: hidden; }
.article-main-img { width: 100%; max-height: 480px; object-fit: cover; }
.article-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { font-weight: 800; margin: 22px 0 10px; color: var(--dark2); }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; align-items: center; }
.tag { background: var(--border-light); color: var(--text-muted); padding: 4px 12px; border-radius: 20px; font-size: 12px; border: 1px solid var(--border); transition: var(--t); }
.tag:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   CATEGORY PAGE
============================================================ */
.category-header { display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px 22px; border-radius: var(--r); border-left: 5px solid; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.cat-header-icon { font-size: 28px; }
.cat-header-title { font-size: 24px; font-weight: 900; }
.cat-header-count { margin-left: auto; font-size: 13px; color: var(--text-muted); font-family: var(--sans); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination-wrap { margin-top: 22px; }
.pagination-nav { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 14px; background: #fff; color: var(--text); border: 1px solid var(--border); transition: var(--t); font-family: var(--sans); }
.page-btn:hover, .page-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ============================================================
   SEARCH PAGE
============================================================ */
.search-header { margin-bottom: 18px; }
.search-title { font-size: 22px; font-weight: 800; }
.search-count { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-family: var(--sans); }
.search-form-page { display: flex; gap: 10px; margin-bottom: 22px; }
.search-input-page { flex: 1; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--r); font-family: var(--serif); font-size: 15px; outline: none; transition: var(--t); }
.search-input-page:focus { border-color: var(--red); }
.search-submit-page { background: var(--red); color: #fff; padding: 12px 22px; border-radius: var(--r); font-size: 14px; font-family: var(--serif); display: flex; align-items: center; gap: 8px; }
.empty-state { text-align: center; padding: 56px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); }
.empty-state i { font-size: 44px; color: var(--border); margin-bottom: 14px; display: block; }
.empty-state p { font-size: 15px; color: var(--text-muted); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    position: relative;
    color: rgba(255,255,255,.88);
    margin-top: 40px;
    background: linear-gradient(135deg, #052e16 0%, #064e3b 40%, #065f46 70%, #047857 100%);
    overflow: hidden;
}
/* Grid overlay on footer */
.site-footer::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 18px 18px;
}
.site-footer > * { position: relative; z-index: 1; }

.footer-top { padding: 48px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }

/* --- Logo --- */
.footer-logo-wrap {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}
.footer-logo-img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.ftr-logo-badge {
    width: 56px; height: 56px; border-radius: 50%;
    background: #0f172a;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.15);
}
.ftr-badge-vob {
    font-size: 18px; font-weight: 900; color: #fff;
    font-family: 'Arial Black', sans-serif; letter-spacing: -1px;
    line-height: 1;
}
.ftr-logo-news {
    font-size: 32px; font-weight: 900; color: #fff;
    font-family: 'Arial Black', sans-serif; letter-spacing: 1px;
    line-height: 1;
}

/* --- Col 1 content --- */
.ftr-editors { margin-bottom: 14px; }
.ftr-editors p { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.85); }
.ftr-editors strong { color: #fff; }
.ftr-address {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.7;
}
.ftr-address i { color: #4ade80; margin-top: 3px; flex-shrink: 0; }
.ftr-address strong { color: #fff; }

/* --- Col 2: Contact --- */
.ftr-contact-col { display: flex; flex-direction: column; gap: 0; }
.ftr-contact-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: rgba(255,255,255,.88);
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.ftr-contact-item i { color: #4ade80; font-size: 15px; width: 18px; text-align: center; }
.ftr-contact-item strong { color: #fff; margin-right: 4px; }
.ftr-dept-list { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.ftr-dept-list p { font-size: 13px; color: rgba(255,255,255,.75); }
.ftr-dept-list strong { color: rgba(255,255,255,.95); }
.ftr-dept-list a { color: #86efac; transition: var(--t); }
.ftr-dept-list a:hover { color: #fff; text-decoration: underline; }

/* --- Col 3: Social + Newsletter --- */
.ftr-heading {
    font-size: 14px; font-weight: 800; color: #fff;
    margin-bottom: 14px;
    border-bottom: 2px solid #4ade80;
    padding-bottom: 8px;
    font-family: var(--sans);
}
.ftr-social-row {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 4px;
}
.ftr-soc-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff;
    transition: transform .2s, opacity .2s;
}
.ftr-soc-icon:hover { transform: translateY(-3px); opacity: .85; }
.ftr-fb  { background: #1877f2; }
.ftr-yt  { background: #ff0000; }
.ftr-tw  { background: #111827; }
.ftr-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ftr-wa  { background: #25d366; }
.ftr-tg  { background: #0088cc; }
.ftr-li  { background: #0a66c2; }
.ftr-rss { background: #f97316; }

.ftr-newsletter { display: flex; flex-direction: column; gap: 8px; }
.ftr-nl-input {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: var(--r);
    padding: 10px 14px;
}
.ftr-nl-input i { color: #6b7280; }
.ftr-nl-input input {
    background: none; border: none; outline: none;
    font-size: 14px; font-family: var(--serif);
    color: #374151; flex: 1;
}
.ftr-nl-input input::placeholder { color: #9ca3af; }
.ftr-nl-btn {
    background: #1f2937; color: #fff;
    padding: 11px; border-radius: var(--r);
    font-size: 14px; font-weight: 700; font-family: var(--serif);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--t);
}
.ftr-nl-btn:hover { background: #111827; }

/* Middle nav */
.footer-middle { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.footer-nav a {
    font-size: 14px; color: rgba(255,255,255,.75); transition: var(--t);
    padding: 4px 16px;
    border-right: 1px solid rgba(255,255,255,.25);
    line-height: 1;
}
.footer-nav a:last-child { border-right: none; }
.footer-nav a:hover { color: #4ade80; }

/* Bottom bar */
.footer-bottom { background: rgba(0,0,0,.25); padding: 13px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-bottom a { color: #4ade80; }

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 4px 20px rgba(192,57,43,.4); z-index: 9000; opacity: 0; transform: translateY(20px); transition: var(--t); pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* AOS */
[data-aos] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
    .mega-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1100px) {
    .home-layout { grid-template-columns: 1fr; }
    .sidebar-col { position: static; }
    .hero-img-wrap { height: 250px; }
    .hero-master-grid { grid-template-columns: repeat(2, 1fr); }
    .hma-slider, .hma-cards, .hma-strips, .hma-media { grid-column: 1/3; }
    .has-scoreboard .hma-cards      { grid-column: 1/3; }
    .has-scoreboard .hma-strips     { grid-column: 1/3; }
    .has-scoreboard .hma-scoreboard { grid-column: 1/3; grid-row: auto; display: flex; }
    .cat-grid-a { grid-template-columns: 1fr; }
    .cat-list { display: grid; grid-template-columns: repeat(2, 1fr); }
    .video-scroll-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .mega-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .logo-news-word { font-size: 36px; }
    .logo-badge { width: 50px; height: 50px; }
    .logo-badge-text { font-size: 20px; }
    .header-quick-links { display: none; }
    .header-date-block { font-size: 11px; }
    .nav-links-wrap { display: none; }
    .nav-hamburger { display: flex; }
    .hero-master-grid { grid-template-columns: 1fr; }
    .hero-master-grid { grid-template-columns: 1fr; }
    .hma-slider, .hma-cards, .hma-strips, .hma-media { grid-column: 1; grid-row: auto; }
    .hma-cards { display: none; }
    .has-scoreboard .hma-scoreboard { grid-column: 1; grid-row: auto; display: none; }
    .hero-img-wrap { height: 220px; }
    .hero-strip-grid { grid-template-columns: 1fr; }
    .cat-grid-b { grid-template-columns: repeat(2, 1fr); }
    .cat-grid-4col { grid-template-columns: repeat(2, 1fr); }
    .ent-4col-grid { grid-template-columns: repeat(2, 1fr); }
    .video-scroll-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .article-title { font-size: 20px; }
    .article-wrap { padding: 18px 14px; }
    .mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .cat-grid-b { grid-template-columns: 1fr; }
    .cat-grid-4col { grid-template-columns: repeat(2, 1fr); }
    .cgc-title { font-size: 15px; }
    .pol-layout { grid-template-columns: 1fr; }
    .pol-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .biz-layout { grid-template-columns: 1fr; }
    .biz-top { grid-template-columns: 1fr; }
    .biz-h-grid { grid-template-columns: repeat(2, 1fr); }
    .world-layout { grid-template-columns: 1fr; }
    .world-top { grid-template-columns: 1fr; }
    .video-scroll-grid { grid-template-columns: 1fr; }
    .cat-list { grid-template-columns: 1fr; }
    .hero-title { font-size: 15px; }
    .logo-news-word { font-size: 28px; }
    .logo-badge { width: 42px; height: 42px; }
    .logo-badge-text { font-size: 16px; }
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ========== THREE-COLUMN WIDGET SECTION ========== */
.tcw-section { margin-bottom: 28px; }
.tcw-wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.tcw-col { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 18px; display: flex; flex-direction: column; }
.opinion-widget { padding: 18px 0; }
.opinion-widget .section-header { padding: 0 18px 12px; }
.poll-widget .pw-inner { flex: 1; display: flex; flex-direction: column; }
.poll-widget .pw-options, .poll-widget .pw-results { flex: 1; }
.mostread-widget { overflow: hidden; }

/* Opinion Widget */
.ow-list { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 0 14px 14px; }
.ow-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: #fdf8f0; text-decoration: none; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); border: 1px solid transparent; transition: border-color .25s, box-shadow .25s; flex: 1; }
.ow-item:hover { border-color: var(--red); box-shadow: 0 2px 10px rgba(231,76,60,.15); }
.ow-item-divider { border-bottom: none; }
.ow-avatar { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--red); display: flex; align-items: center; justify-content: center; border: 2px solid #e8d5b0; }
.ow-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ow-avatar span { color: #fff; font-size: 26px; font-weight: 700; font-family: var(--serif); }
.ow-item-body { flex: 1; min-width: 0; }
.ow-title { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--text); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.ow-item:hover .ow-title { color: var(--red); }
.ow-excerpt { font-size: 16px; color: var(--text-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.ow-see-all { display: block; margin: 10px 14px 4px; text-align: center; padding: 10px; border: 2px solid var(--red); border-radius: 6px; color: var(--red); font-size: 14px; font-weight: 700; font-family: var(--sans); text-decoration: none; transition: background .25s, color .25s; flex-shrink: 0; }
.ow-see-all:hover { background: var(--red); color: #fff; }

/* Poll Widget */
.pw-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pw-date { font-size: 12px; color: var(--text-3); font-family: var(--sans); }
.pw-download { background: none; border: none; cursor: pointer; color: var(--text-3); font-size: 15px; padding: 0; transition: color .2s; }
.pw-download:hover { color: var(--red); }
.pw-img-wrap { margin-bottom: 14px; border-radius: 8px; overflow: hidden; }
.pw-img { width: 100%; height: auto; display: block; }
.pw-ms { background: #0084ff; }
.pw-question { font-size: 18px; font-weight: 700; line-height: 1.7; color: var(--text); margin-bottom: 16px; text-align: left; }
.pw-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pw-option { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 9px 12px; border: 1.5px solid #e5e7eb; border-radius: 6px; transition: border-color .25s, background .25s; }
.pw-option:hover { border-color: var(--red); background: #fff5f5; }
.pw-option input { accent-color: var(--red); width: 16px; height: 16px; cursor: pointer; }
.pw-option-label { font-size: 16px; color: var(--text); }
.pw-results { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pw-result-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.pw-result-label { font-size: 13px; color: var(--text); grid-column: 1; }
.pw-result-bar-wrap { grid-column: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.pw-result-bar { height: 100%; background: var(--red); border-radius: 4px; transition: width .8s ease; }
.pw-result-pct { grid-column: 2; grid-row: 1 / 3; font-size: 13px; font-weight: 700; color: var(--red); font-family: var(--sans); white-space: nowrap; }
.pw-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; }
.pw-vote-btn { background: var(--red); color: #fff; border: none; padding: 9px 28px; border-radius: 6px; font-size: 14px; font-family: var(--serif); cursor: pointer; font-weight: 700; transition: background .3s; }
.pw-vote-btn:hover { background: #c0392b; }
.pw-total { font-size: 13px; color: var(--text-2); font-family: var(--sans); }
.pw-share { display: flex; justify-content: center; gap: 8px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.pw-share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; text-decoration: none; border: none; cursor: pointer; transition: opacity .2s; }
.pw-share-btn:hover { opacity: .85; }
.pw-fb { background: #1877f2; }
.pw-wa { background: #25d366; }
.pw-tw { background: #000; }
.pw-li { background: #0a66c2; }
.pw-copy { background: #6b7280; }

/* Most Read Widget */
.mw-tabs { display: flex; border-bottom: 2px solid #f0f0f0; margin-bottom: 12px; gap: 4px; }
.mw-tab { background: none; border: none; padding: 8px 14px; font-size: 18px; font-weight: 800; font-family: var(--serif); color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .25s, border-color .25s; }
.mw-tab.active { color: var(--red); border-bottom-color: var(--red); }
.mw-list { display: flex; flex-direction: column; flex: 1; }
.mw-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; text-decoration: none; flex: 1; }
.mw-item:last-child { border-bottom: none; }
.mw-thumb { width: 60px; height: 50px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.mw-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mw-item:hover .mw-thumb img { transform: scale(1.06); }
.mw-title { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.mw-item:hover .mw-title { color: var(--red); }
.mw-see-all { display: block; margin-top: 12px; text-align: center; padding: 10px; border: 2px solid var(--red); border-radius: 6px; color: var(--red); font-size: 14px; font-weight: 700; font-family: var(--sans); text-decoration: none; transition: background .25s, color .25s; flex-shrink: 0; }
.mw-see-all:hover { background: var(--red); color: #fff; }

@media (max-width: 1024px) { .tcw-wrap { grid-template-columns: 1fr 1fr; } .tcw-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .tcw-wrap { grid-template-columns: 1fr; } .tcw-col:last-child { grid-column: auto; } }

/* ===== লাইফ স্টাইল Slider ===== */
.ls-section .section-header { margin-bottom: 18px; }
.ls-slider-wrap { position: relative; display: flex; align-items: center; gap: 0; }
.ls-overflow { overflow: hidden; flex: 1; }
.ls-track { display: flex; gap: 16px; transition: transform .65s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.ls-card { flex: 0 0 calc(25% - 12px); text-decoration: none; color: inherit; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.07); transition: transform .28s, box-shadow .28s; }
.ls-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.ls-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.ls-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ls-card:hover .ls-img img { transform: scale(1.06); }
.ls-body { padding: 14px 14px 16px; }
.ls-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.6; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; margin-bottom: 8px; }
.ls-card:hover .ls-title { color: #e91e63; }
.ls-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: none; background: #fff; color: #333; box-shadow: 0 2px 10px rgba(0,0,0,.15); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background .25s, color .25s, opacity .25s; }
.ls-arrow:hover { background: #e91e63; color: #fff; }
.ls-arrow:disabled { opacity: .35; cursor: default; }
.ls-prev { left: -19px; }
.ls-next { right: -19px; }
.ls-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.ls-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; border: none; cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.ls-dot.active { background: #e91e63; transform: scale(1.3); }

/* ===== বিজ্ঞান / শিক্ষা / প্রযুক্তি — 3-column tri section ===== */
.tri-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.tri-col { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.tri-col-header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 2px solid #eee; }
.tri-col-icon { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.tri-col-title { font-size: 17px; font-weight: 800; flex: 1; margin: 0; font-family: var(--serif); }
.tri-col-more { font-size: 12px; font-weight: 700; text-decoration: none; font-family: var(--sans); white-space: nowrap; transition: opacity .2s; }
.tri-col-more:hover { opacity: .75; }
/* Hero card */
.tri-hero { display: block; text-decoration: none; color: inherit; transition: background .2s; }
.tri-hero:hover { background: #fafafa; }
.tri-hero-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.tri-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tri-hero:hover .tri-hero-img img { transform: scale(1.05); }
.tri-hero-body { padding: 12px 14px 10px; }
.tri-hero-title { font-size: 20px; font-weight: 700; font-family: var(--sans); line-height: 1.55; color: var(--text); margin: 0 0 6px; text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tri-hero:hover .tri-hero-title { color: var(--red); }
.tri-hero-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 0 0 8px; font-family: var(--sans); }
/* Horizontal list */
.tri-list { display: flex; flex-direction: column; padding: 4px 0; flex: 1; }
.tri-list-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid #f3f3f3; text-decoration: none; color: inherit; transition: background .2s; }
.tri-list-item:hover { background: #fafafa; }
.tri-list-img { width: 72px; height: 54px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.tri-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tri-list-item:hover .tri-list-img img { transform: scale(1.07); }
.tri-list-body { flex: 1; min-width: 0; }
.tri-list-title { font-size: 16px; font-weight: 700; font-family: var(--sans); line-height: 1.5; color: var(--text); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.tri-list-item:hover .tri-list-title { color: var(--red); }

/* ===== Sidebar Widgets (ই-পেপার + Facebook) ===== */
.widget-box { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.07); margin-top: 16px; }
.widget-header { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.widget-bar { width: 4px; height: 20px; border-radius: 2px; background: var(--red); flex-shrink: 0; }
.widget-title { font-size: 15px; font-weight: 800; margin: 0; font-family: var(--serif); color: var(--text); }
/* ই-পেপার */
.enewspaper-link { display: block; position: relative; text-decoration: none; }
.enewspaper-img { width: 100%; display: block; }
.enewspaper-view { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.55); color: #fff; text-align: center; padding: 8px; font-size: 13px; font-weight: 700; font-family: var(--sans); opacity: 0; transition: opacity .25s; }
.enewspaper-link:hover .enewspaper-view { opacity: 1; }
/* Facebook */
.fb-page-wrap { padding: 8px; overflow: hidden; }
.fb-page-wrap iframe { border-radius: 6px; }

/* ===== আর্কাইভ ক্যালেন্ডার Widget ===== */
.archive-cal-widget { overflow: hidden; }
.acw-header { background: linear-gradient(135deg, #e8620a, #f0892a); color: #fff; text-align: center; padding: 11px 14px; font-size: 16px; font-weight: 800; font-family: var(--serif); letter-spacing: .5px; }
.acw-body { padding: 12px; }
.acw-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.acw-mode-btn { background: #fff; border: 1.5px solid #e0e0e0; border-radius: 6px; padding: 7px 4px; font-size: 12px; font-weight: 700; font-family: var(--serif); color: var(--text-2); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.acw-mode-btn.active, .acw-mode-btn:hover { border-color: #e8620a; color: #e8620a; background: #fff7f2; }
.acw-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.acw-sel-wrap { position: relative; }
.acw-select { width: 100%; padding: 7px 10px; border: 1.5px solid #e0e0e0; border-radius: 6px; font-size: 13px; font-family: var(--serif); color: var(--text); background: #fff; appearance: none; cursor: pointer; }
.acw-select:focus { outline: none; border-color: #e8620a; }
.acw-table { width: 100%; border-collapse: collapse; }
.acw-table th { font-size: 12px; font-weight: 700; color: var(--text-2); text-align: center; padding: 5px 2px 8px; font-family: var(--sans); }
.acw-table th.acw-fri { color: #e8620a; }
.acw-table td { text-align: center; padding: 3px 1px; }
.acw-table td a, .acw-table td span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-family: var(--sans); color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.acw-table td a:hover { background: #f5e6da; color: #e8620a; }
.acw-table td.acw-today a { background: #e8620a; color: #fff; font-weight: 700; }
.acw-table td.acw-fri-col a, .acw-table td.acw-fri-col span { color: #e8620a; }

/* ===== Inter-section Ad Banner ===== */
.inter-section-ad { margin: 4px 0; text-align: center; }
.inter-section-ad a { display: block; }
.isa-img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* ===== ক্যানভাস Section ===== */
.canvas-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: stretch; }

/* Slider */
.cnv-slider { position: relative; border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 4/3; }
.cnv-track { position: relative; width: 100%; height: 100%; }
.cnv-slide { position: absolute; inset: 0; display: block; text-decoration: none; opacity: 0; z-index: 1; pointer-events: none; }
.cnv-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.cnv-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cnv-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 50px 20px 18px; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%); transform: translateY(48px); opacity: 0; transition: transform .65s cubic-bezier(.25,.46,.45,.94), opacity .55s ease; }
.cnv-caption.show { transform: translateY(0); opacity: 1; }
.cnv-title { font-size: 30px; font-weight: 800; color: #fff; line-height: 1.4; margin: 0 0 6px; text-align: left; font-family: var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cnv-meta { font-size: 13px; color: rgba(255,255,255,.75); font-family: var(--sans); }

/* Arrows */
.cnv-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); color: #fff; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .25s, transform .2s; }
.cnv-arrow:hover { background: rgba(255,255,255,.38); transform: translateY(-50%) scale(1.1); }
.cnv-prev { left: 12px; }
.cnv-next { right: 12px; }

/* Dots */
.cnv-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 10; }
.cnv-dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .3s, width .3s, border-radius .3s; }
.cnv-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* FX Badge */
.cnv-fx-badge { position: absolute; top: 12px; left: 12px; z-index: 10; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); color: rgba(255,255,255,.8); font-size: 10px; font-family: var(--sans); padding: 3px 8px; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .4s; }
.cnv-fx-badge.show { opacity: 1; }

/* 3×4 Gallery */
.cnv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cnv-gal-item { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4/3; display: block; text-decoration: none; }
.cnv-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.25,.46,.45,.94); display: block; }
.cnv-gal-item:hover img { transform: scale(1.1); }
.cnv-gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%); opacity: 0; transition: opacity .35s; display: flex; align-items: flex-end; padding: 8px; }
.cnv-gal-item:hover .cnv-gal-overlay { opacity: 1; }
.cnv-gal-title { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.4; font-family: var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== HERO SCOREBOARD WIDGET — Modern Design ===== */
@keyframes sb-blink { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes sb-pulse-dot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.6} }

.hero-scoreboard { background: #fff; border-radius: var(--r); box-shadow: 0 4px 20px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }

/* Header */
.sb-head { display: flex; align-items: center; gap: 10px; padding: 13px 15px; color: #fff; position: relative; overflow: hidden; }
.sb-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%); pointer-events: none; }
.sb-icon { font-size: 22px; line-height: 1; position: relative; z-index: 1; flex-shrink: 0; }
.sb-title { flex: 1; font-size: 18px; font-weight: 800; letter-spacing: .2px; white-space: normal; line-height: 1.3; font-family: var(--sans); position: relative; z-index: 1; text-align: left; }
.sb-badge { padding: 4px 12px; border-radius: 20px; font-size: 15px; font-weight: 900; background: rgba(255,255,255,.22); letter-spacing: .8px; font-family: var(--sans); animation: sb-blink 1.4s infinite; position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.3); flex-shrink: 0; }

/* Body */
.sb-body { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #e2e8f0 transparent; }
.sb-footer { padding: 9px 14px; font-size: 18px; color: #94a3b8; border-top: 1px solid #f1f5f9; text-align: right; font-family: var(--sans); background: #fafafa; }

/* Football match card */
.sb-match { padding: 14px 14px; border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.sb-match:last-child { border-bottom: none; }
.sb-match:hover { background: #f8fafc; }
.sb-match-label { font-size: 14px; font-weight: 700; color: #1e293b; letter-spacing: .3px; font-family: var(--sans); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.sb-match-label::before { content: ''; display: inline-block; width: 14px; height: 1.5px; background: #cbd5e1; }

/* Match row — flag + name / score / name + flag */
.sb-match-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.sb-team { display: flex; align-items: center; gap: 6px; }
.sb-team-home { flex-direction: row; }
.sb-team-away { flex-direction: row-reverse; }
/* Real flag image */
.sb-flag-img { width: 36px; height: 24px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.25); flex-shrink: 0; display: block; }
/* Emoji fallback */
.sb-flag { font-size: 26px; line-height: 1; flex-shrink: 0; }
.sb-team-name { font-size: 16px; font-weight: 700; color: #1e293b; line-height: 1.3; font-family: var(--serif); word-break: keep-all; }

/* Score block */
.sb-score-block { display: flex; align-items: center; gap: 5px; background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 100%); border-radius: 9px; padding: 7px 12px; box-shadow: 0 3px 10px rgba(15,23,42,.3), inset 0 1px 0 rgba(255,255,255,.08); }
.sb-score { font-size: 24px; font-weight: 900; color: #f8fafc; font-family: 'Courier New', monospace; letter-spacing: -1px; line-height: 1; }
.sb-score-div { font-size: 14px; color: #475569; font-weight: 700; }

/* Match meta */
.sb-match-meta { display: flex; gap: 8px; margin-top: 8px; align-items: center; flex-wrap: wrap; }
.sb-time { font-size: 13px; color: #64748b; font-family: monospace; font-weight: 600; background: #f1f5f9; padding: 2px 7px; border-radius: 4px; }
.sb-venue { font-size: 12px; color: #94a3b8; font-family: var(--sans); }

/* Status badges */
.sb-status { font-size: 15px; font-weight: 800; padding: 4px 12px; border-radius: 20px; font-family: var(--sans); display: inline-flex; align-items: center; gap: 5px; letter-spacing: .3px; }
.sb-s-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: sb-pulse-dot .9s infinite; display: inline-block; }
.sb-s-live     { background: linear-gradient(135deg, #b91c1c, #ef4444); color: #fff; animation: sb-blink 1.1s infinite; }
.sb-s-choloman { background: linear-gradient(135deg, #c2410c, #f97316); color: #fff; }
.sb-s-ht       { background: linear-gradient(135deg, #a16207, #eab308); color: #fff; }
.sb-s-ft       { background: #f1f5f9; color: #94a3b8; }
.sb-s-upcoming { background: linear-gradient(135deg, #1d4ed8, #60a5fa); color: #fff; }
.sb-s-cancelled{ background: #f1f5f9; color: #94a3b8; }
.sb-s-postponed{ background: linear-gradient(135deg, #b45309, #f59e0b); color: #fff; }

/* Cricket match */
.sb-cricket-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.sb-cricket-team { display: flex; flex-direction: column; gap: 2px; }
.sb-cricket-team-r { align-items: flex-end; }
.sb-cricket-score { font-size: 15px; font-weight: 900; color: #1e293b; font-family: 'Courier New', monospace; letter-spacing: -.5px; }
.sb-cricket-overs { font-size: 9px; color: #94a3b8; font-family: var(--sans); }
.sb-vs-badge { background: #f1f5f9; color: #64748b; font-size: 9px; font-weight: 800; padding: 4px 7px; border-radius: 6px; font-family: var(--sans); }
.sb-note { font-size: 11px; color: #dc2626; font-weight: 600; margin-top: 6px; padding: 5px 9px; background: #fef2f2; border-radius: 6px; border-left: 3px solid #fca5a5; }

/* Election */
.sb-el-total { font-size: 10px; color: #64748b; padding: 6px 14px 3px; font-family: var(--sans); font-weight: 600; }
.sb-party-row { display: grid; grid-template-columns: 12px 1fr 56px 34px 40px; align-items: center; gap: 6px; padding: 6px 12px; }
.sb-party-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.sb-party-name { font-size: 11.5px; font-weight: 700; color: #1e293b; }
.sb-party-bar-wrap { height: 5px; background: #f1f5f9; border-radius: 3px; overflow: hidden; }
.sb-party-bar { height: 100%; border-radius: 3px; transition: width .6s cubic-bezier(.4,0,.2,1); }
.sb-party-seats { font-size: 12px; font-weight: 900; color: #1e293b; text-align: right; font-family: 'Courier New', monospace; }
.sb-party-pct { font-size: 9px; color: #94a3b8; font-family: var(--sans); }

/* Custom widget */
.sb-custom-row { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-bottom: 1px solid #f1f5f9; }
.sb-custom-label { flex: 1; font-size: 12px; color: #64748b; }
.sb-custom-value { font-size: 13px; font-weight: 700; color: #1e293b; font-family: 'Courier New', monospace; }
.sb-custom-change { font-size: 10px; font-weight: 700; font-family: monospace; padding: 2px 6px; border-radius: 5px; }
.sb-up { background: #dcfce7; color: #166534; }
.sb-down { background: #fee2e2; color: #991b1b; }

/* Upcoming matches */
.sb-upcoming-sep { font-size: 14px; font-weight: 800; color: #1d4ed8; letter-spacing: .3px; padding: 8px 14px 6px; background: linear-gradient(90deg, #eff6ff, #f0f9ff); border-top: 1px solid #bfdbfe; display: flex; align-items: center; gap: 6px; }
.sb-upcoming-match { padding: 10px 14px; border-bottom: 1px solid #f1f5f9; background: linear-gradient(135deg, #f8faff 0%, #fff 100%); }
.sb-upcoming-match.sb-starting { background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%); }
.sb-upcoming-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 5px; }
.sb-up-team { font-size: 11.5px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 5px; font-family: var(--serif); }
.sb-up-away { justify-content: flex-end; }
.sb-up-vs { font-size: 8px; background: #e2e8f0; color: #64748b; padding: 3px 7px; border-radius: 5px; font-family: var(--sans); font-weight: 800; text-align: center; letter-spacing: .5px; }
.sb-countdown { display: flex; align-items: center; gap: 5px; }
.sb-cd-timer { font-size: 13px; font-weight: 900; color: #1d4ed8; font-family: 'Courier New', monospace; letter-spacing: .5px; }

/* Goal scorers */
.sb-scorers { font-size: 13px; color: #64748b; margin-top: 6px; font-family: var(--sans); line-height: 1.6; }
.sb-scorers strong { color: #1e293b; }

/* FT separator */
.sb-ft-sep { font-size: 14px; font-weight: 800; color: #94a3b8; letter-spacing: .3px; padding: 8px 14px 6px; background: #f8fafc; border-top: 1px solid #e2e8f0; display: flex; align-items: center; gap: 6px; }

/* ===== BANGLADESH DIVISION MAP ===== */
.bd-map-wrap { margin: 0 0 14px; padding: 4px 0; }
.bd-map { width: 100%; display: block; }
.bd-div { stroke: #fff; stroke-width: 1.5; cursor: pointer; transition: filter .18s, stroke-width .18s; }
.bd-div:hover { filter: brightness(.84); stroke-width: 2; }
.bd-div.bd-active { stroke: #1d4ed8; stroke-width: 2.5; filter: brightness(.78); }
.bd-lbl { font-size: 7.5px; fill: #374151; font-weight: 600; pointer-events: none; }

/* ===================================================================
   CATEGORY PAGE
   =================================================================== */

/* ---- Hero wrapper: left big card + right 2×2 grid, equal height ---- */
.cat-hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
    min-height: 520px;
}
.cat-hero-left {
    display: flex;
}
.cat-hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

/* ---- Big card (Left hero: single card spanning full height) ---- */
.cat-big-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--t); text-decoration: none;
    width: 100%; height: 100%;
}
.cat-big-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-big-img { aspect-ratio: 16/10; flex-shrink: 0; overflow: hidden; position: relative; }
.cat-big-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.cat-big-card:hover .cat-big-img img { transform: scale(1.05); }
.cat-big-body { padding: 16px 18px 18px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.cat-big-title {
    font-size: 22px; font-weight: 700; font-family: var(--sans);
    line-height: 1.5; color: var(--text); transition: var(--t);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-big-card:hover .cat-big-title { color: var(--red); }
.cat-big-excerpt {
    font-size: 15px; color: var(--text-2); line-height: 1.8;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- Small card (Right hero: thumb + title only) ---- */
.cat-sm-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--r);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--t); text-decoration: none;
    height: 100%;
}
.cat-sm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-sm-img { aspect-ratio: 16/10; flex-shrink: 0; overflow: hidden; position: relative; }
.cat-sm-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.cat-sm-card:hover .cat-sm-img img { transform: scale(1.05); }
.cat-sm-body { padding: 10px 12px 12px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.cat-sm-title {
    font-size: 16px; font-weight: 700; font-family: var(--sans);
    line-height: 1.5; color: var(--text); transition: var(--t);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-sm-card:hover .cat-sm-title { color: var(--red); }

/* ---- Banner ad between hero and main ---- */
.cat-banner-ad {
    margin-bottom: 24px; border-radius: var(--r);
    overflow: hidden; background: #f0f0f0;
    display: flex; align-items: center; justify-content: center; min-height: 90px;
}
.cat-banner-ad img { max-width: 100%; height: auto; display: block; width: 100%; }
.cat-banner-placeholder { color: #aaa; font-size: 13px; height: 90px; }

/* ---- Main content + sidebar ---- */
.cat-content-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
.cat-main-col { display: flex; flex-direction: column; }

/* ---- List section header ---- */
.cat-list-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.cat-list-bar { width: 4px; height: 22px; border-radius: 2px; flex-shrink: 0; }
.cat-list-title { font-size: 18px; font-weight: 800; color: var(--dark2); margin: 0; font-family: var(--sans); }

/* ---- Horizontal post list ---- */
.cat-hpost-list { display: flex; flex-direction: column; gap: 14px; }
.cat-hpost {
    display: flex; gap: 16px;
    padding: 14px; border: 1px solid #e5e7eb;
    border-radius: var(--r); background: #fff;
    box-shadow: var(--shadow-sm);
    text-decoration: none; transition: var(--t);
}
.cat-hpost:hover { box-shadow: var(--shadow); border-color: #d1d5db; transform: translateY(-1px); }
.cat-hpost-img {
    width: 190px; height: 125px; flex-shrink: 0;
    border-radius: var(--r-sm); overflow: hidden;
}
.cat-hpost-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cat-hpost:hover .cat-hpost-img img { transform: scale(1.05); }
.cat-hpost-body {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; gap: 8px; min-width: 0;
}
.cat-hpost-title {
    font-size: 20px; font-weight: 700; font-family: var(--sans);
    line-height: 1.5; color: var(--text); transition: var(--t);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-hpost:hover .cat-hpost-title { color: var(--red); }
.cat-hpost-excerpt {
    font-size: 14px; color: var(--text-2); line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- More button ---- */
.cat-more-wrap { display: flex; justify-content: center; padding: 28px 0 8px; }
.cat-more-btn {
    background: var(--red); color: #fff; border: none;
    padding: 13px 40px; border-radius: var(--r);
    font-family: var(--sans); font-size: 16px; font-weight: 700;
    cursor: pointer; transition: var(--t);
    display: inline-flex; align-items: center; gap: 8px;
}
.cat-more-btn:hover:not(:disabled) { background: #c0392b; transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-more-btn:disabled { opacity: .65; cursor: not-allowed; }

/* ---- Sidebar ---- */
.cat-sidebar { display: flex; flex-direction: column; gap: 20px; }
.cat-sq-ad {
    background: #f0f0f0; border-radius: var(--r);
    overflow: hidden; aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
}
.cat-sq-ad a { display: block; width: 100%; height: 100%; }
.cat-sq-ad img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-sq-placeholder { color: #aaa; font-size: 13px; }

/* ============================================================
   POST DETAIL PAGE
============================================================ */

/* 2-column page layout */
.post-page-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
    padding: 24px 0 48px;
}
.post-main-col { display: flex; flex-direction: column; gap: 20px; }

/* Article card */
.post-article {
    background: #fff;
    border-radius: var(--r);
    box-shadow: var(--shadow-sm);
    padding: 28px 32px;
}

/* Badges row */
.post-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.post-trending-tag {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--red); color: #fff;
    padding: 3px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 800; font-family: var(--sans);
    animation: pulse 2s infinite;
}

/* Big headline */
.post-headline {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.55;
    color: var(--dark2);
    margin-bottom: 18px;
    font-family: var(--sans);
}

/* Meta bar */
.post-meta-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.post-author-info { display: flex; align-items: flex-start; gap: 12px; }
.post-avatar {
    width: 46px; height: 46px; flex-shrink: 0;
    background: var(--red); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 900; font-family: var(--sans);
}
.post-author-text { display: flex; flex-direction: column; gap: 3px; }
.post-author-name { font-size: 15px; font-weight: 800; color: var(--dark2); font-family: var(--sans); }
.post-pub-time {
    font-size: 12.5px; color: var(--text-muted);
    font-family: var(--sans); display: flex; align-items: center; gap: 5px;
}
.post-upd-time {
    font-size: 12px; color: #d97706;
    font-family: var(--sans); display: flex; align-items: center; gap: 5px;
}
.post-stats-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-muted);
    font-family: var(--sans); flex-wrap: wrap;
}
.post-stat { display: flex; align-items: center; gap: 5px; }
.post-stat i { color: var(--red); }
.post-stat-dot { color: var(--border); }

/* Share bar */
.post-share-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 0; flex-wrap: wrap;
}
.post-share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); font-family: var(--sans); }
.post-share-bottom {
    border-top: 1px solid var(--border);
    margin-top: 22px; padding-top: 16px;
}

/* Hero image */
.post-img-wrap {
    margin: 18px 0;
    border-radius: var(--r);
    overflow: hidden;
    background: #f0f0f0;
}
.post-hero-img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.post-img-caption {
    font-size: 13px; color: var(--text-muted);
    font-style: italic; font-family: var(--sans);
    padding: 8px 14px; margin: 0;
    background: #f9f9f9; border-top: 1px solid var(--border);
    line-height: 1.6;
}

/* Article body */
.post-body {
    font-size: 18px;
    line-height: 2.1;
    color: var(--text);
    font-family: var(--sans);
}
.post-body p { margin-bottom: 20px; }
.post-body h2, .post-body h3 {
    font-weight: 800; margin: 28px 0 12px;
    color: var(--dark2); font-family: var(--sans);
}
.post-body h2 { font-size: 22px; }
.post-body h3 { font-size: 19px; }
.post-body img { max-width: 100%; border-radius: var(--r-sm); margin: 12px 0; }
.post-body blockquote {
    border-right: 4px solid var(--red);
    background: #fef9f9; padding: 14px 18px;
    margin: 20px 0; border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-style: italic; color: var(--text-2);
}

/* Tags */
.post-tags {
    display: flex; flex-wrap: wrap; gap: 7px;
    align-items: center; margin-top: 22px;
    padding-top: 18px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--text-muted);
}

/* Author card */
.post-author-card {
    display: flex; align-items: center; gap: 16px;
    background: #f9f9f9; border: 1px solid var(--border);
    border-radius: var(--r); padding: 18px 20px;
    margin-top: 24px;
}
.pac-avatar {
    width: 56px; height: 56px; flex-shrink: 0;
    background: var(--red); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900; font-family: var(--sans);
}
.pac-body { display: flex; flex-direction: column; gap: 4px; }
.pac-label { font-size: 12px; color: var(--text-muted); font-family: var(--sans); }
.pac-name { font-size: 18px; font-weight: 800; color: var(--dark2); font-family: var(--sans); }
.pac-more {
    font-size: 13px; font-weight: 700; color: var(--red);
    font-family: var(--sans); display: inline-flex; align-items: center; gap: 5px;
    transition: var(--t);
}
.pac-more:hover { gap: 8px; }

/* Related posts */
.post-related {
    background: #fff; border-radius: var(--r);
    box-shadow: var(--shadow-sm); padding: 20px 22px;
}
.post-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Sidebar */
.post-sidebar {
    display: flex; flex-direction: column; gap: 20px;
}

/* Most Read items */
.most-read-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 14px; border-bottom: 1px solid #f5f5f5;
    text-decoration: none; transition: var(--t);
}
.most-read-item:last-child { border-bottom: none; }
.most-read-item:hover { background: #fafafa; }
.mr-rank {
    width: 24px; height: 24px; flex-shrink: 0;
    background: var(--border-light); color: var(--text-muted);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; font-family: var(--sans);
}
.mr-rank.rank-top { background: var(--red); color: #fff; }
.mr-thumb {
    width: 64px; height: 48px; flex-shrink: 0;
    border-radius: 6px; overflow: hidden;
}
.mr-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.most-read-item:hover .mr-thumb img { transform: scale(1.06); }
.mr-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mr-title {
    font-size: 13px; font-weight: 700; line-height: 1.5;
    color: var(--text); display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: var(--sans);
}
.most-read-item:hover .mr-title { color: var(--red); }
.mr-views { font-size: 11px; color: var(--text-muted); font-family: var(--sans); display: flex; align-items: center; gap: 4px; }

/* Responsive */
@media (max-width: 1100px) {
    .post-page-wrap { grid-template-columns: 1fr; }
    .post-sidebar { position: static; }
    .post-related-grid { grid-template-columns: repeat(2, 1fr); }
    .post-headline { font-size: 26px; }
}
@media (max-width: 768px) {
    .post-article { padding: 18px 16px; }
    .post-headline { font-size: 22px; }
    .post-body { font-size: 16px; line-height: 1.9; }
    .post-related-grid { grid-template-columns: 1fr 1fr; }
    .post-meta-bar { flex-direction: column; gap: 10px; }
}

/* ============================================================
   ARTICLE SEPARATOR (next-article auto-load)
============================================================ */
.article-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
}
.sep-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}
.sep-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
}
.sep-logo:hover { box-shadow: var(--shadow); transform: scale(1.03); }
.sep-logo-word {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #111;
    letter-spacing: -1px;
}

/* Next-article loader */
.next-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--sans);
}

/* ============================================================
   SIDEBAR mw-item padding fix
============================================================ */
.sidebar-widget .mw-item { padding: 9px 14px; }

/* ============================================================
   HERO SECTION — WORLD MAP BACKGROUND + NEW LAYOUT
============================================================ */

/* Hero section — light world map + grid */
.hero-section {
    position: relative;
    background: #eefaf2;
    padding: 20px 0 28px;
    margin-top: -20px;
    margin-bottom: 24px;
    overflow: hidden;
}
/* No dots — grid only */
.hero-section::before { display: none; }
/* Fine, subtle grid */
.hero-section::after {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(22,163,74,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22,163,74,.07) 1px, transparent 1px);
    background-size: 22px 22px;
}
.hero-section > * { position: relative; z-index: 1; }

/* hero-inner constrains content to max-width */
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* New 3-column grid */
.hero-master-grid {
    display: grid;
    grid-template-columns: 230px 1fr 260px;
    grid-template-rows: auto auto;
    gap: 10px;
}
.hma-widgets    { grid-column: 1; grid-row: 1 / 3; }
.hma-slider     { grid-column: 2 / 4; grid-row: 1; }
.hma-cards      { display: none; }
.hma-scoreboard { display: none; }
.hma-rwidgets   { grid-column: 3; grid-row: 1; }
.hma-strips     { grid-column: 2; grid-row: 2; align-self: start; }
.hma-media      { grid-column: 3; grid-row: 2; align-self: start; }

.has-scoreboard .hma-slider     { grid-column: 2; }
.has-scoreboard .hma-scoreboard { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; }
.has-scoreboard .hma-strips     { grid-column: 2; }
.has-scoreboard .hma-media      { grid-column: 3; grid-row: 2; }

/* Slider: center content */
.hero-slide-body { text-align: center; align-items: center; display: flex; flex-direction: column; padding: 36px 28px 22px; }
.hero-slide-title { text-align: center; font-size: 38px; line-height: 1.42; font-weight: 800; }
.hero-meta { justify-content: center; font-size: 14px; }
.hero-slide-footer { text-align: center; }
.hero-slide-footer p { font-size: 16px; font-weight: 700; line-height: 1.85; text-align: center; }

/* CTA Button */
.hero-slide-cta {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    padding: 11px 28px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 15px; font-weight: 700; font-family: var(--sans);
    box-shadow: 0 4px 18px rgba(229,62,62,.45);
    transition: transform .2s, box-shadow .2s;
    letter-spacing: .2px;
}
.hero-slide-cta i { font-size: 13px; transition: transform .2s; }
.hero-slide-img:hover .hero-slide-cta {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,62,62,.55);
}
.hero-slide-img:hover .hero-slide-cta i { transform: translateX(4px); }

/* ============================================================
   HOME WIDGETS COLUMN
============================================================ */
.hw-stack {
    display: flex; flex-direction: column; gap: 8px;
    height: 100%; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: #c8e6c9 transparent;
}
.hw-stack::-webkit-scrollbar { width: 4px; }
.hw-stack::-webkit-scrollbar-thumb { background: #c8e6c9; border-radius: 4px; }

.hw-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
    flex-shrink: 0;
}
.hw-card-head {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff; font-family: var(--sans);
    font-size: 12px; font-weight: 700;
    padding: 7px 12px;
    display: flex; align-items: center; gap: 6px;
}
.hw-card-head i { color: #86efac; }

/* ---- Clock ---- */
.hw-clock { background: linear-gradient(145deg, #0f172a, #1e293b); position: relative; overflow: hidden; }
.hwc-glow {
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(134,239,172,.25) 0%, transparent 70%);
    pointer-events: none;
}
.hwc-time-wrap {
    display: flex; align-items: baseline; justify-content: center;
    gap: 6px; padding: 14px 12px 4px;
}
.hwc-time {
    font-family: 'Courier New', monospace;
    font-size: 26px; font-weight: 900;
    color: #86efac; letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(134,239,172,.5);
}
.hwc-ampm {
    font-size: 12px; font-weight: 800;
    color: #4ade80; font-family: var(--sans);
    background: rgba(134,239,172,.15); padding: 2px 6px; border-radius: 4px;
}
.hwc-day {
    text-align: center; font-family: var(--sans);
    font-size: 13px; font-weight: 700; color: #94a3b8;
    padding-bottom: 8px;
}
.hwc-dates { border-top: 1px solid rgba(255,255,255,.08); padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.hwc-date-row { display: flex; justify-content: space-between; align-items: center; }
.hwc-dl { font-size: 10px; color: #64748b; font-family: var(--sans); font-weight: 600; }
.hwc-dv { font-size: 11px; color: #cbd5e1; font-family: var(--sans); font-weight: 600; text-align: right; }

/* ---- Weather card — sky-blue gradient body ---- */
.hw-weather { background: linear-gradient(160deg, #0c1a3a 0%, #0e3a6e 100%); }
.hw-weather .hw-card-head { background: linear-gradient(90deg, #0284c7, #0369a1); font-size: 13px; padding: 8px 12px; }
.hw-weather .hw-card-head i { color: #bae6fd; }
.hww-loading { text-align: center; padding: 14px; color: #7dd3fc; font-size: 18px; }
.hww-main { display: flex; align-items: center; gap: 10px; padding: 10px 12px 4px; }
.hww-icon { font-size: 38px; line-height: 1; }
.hww-temp { font-size: 34px; font-weight: 900; color: #f0f9ff; font-family: var(--sans); line-height: 1; }
.hww-temp span { font-size: 14px; color: #93c5fd; font-weight: 600; }
.hww-city { font-size: 12px; color: #7dd3fc; font-family: var(--sans); font-weight: 700; margin-top: 2px; }
.hww-desc { font-size: 13px; color: #bae6fd; font-family: var(--sans); font-weight: 600; padding: 0 12px 6px; }
.hww-stats {
    display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.1);
    font-size: 11px; color: #93c5fd; font-family: var(--sans);
}
.hww-stats span { flex: 1; text-align: center; padding: 6px 2px; border-right: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; gap: 3px; }
.hww-stats span:last-child { border-right: none; }
.hww-stats i { color: #38bdf8; font-size: 11px; }
.hww-err { text-align: center; padding: 10px; color: #7dd3fc; font-size: 12px; font-family: var(--sans); }

/* ---- Prayer card — green gradient body ---- */
.hw-prayer { background: linear-gradient(160deg, #052e16 0%, #064e3b 100%); }
.hw-prayer .hw-card-head { background: linear-gradient(90deg, #059669, #047857); font-size: 13px; padding: 8px 12px; }
.hw-prayer .hw-card-head i { color: #a7f3d0; }
.hwp-body { padding: 4px 0; }
.hwp-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 12px; font-family: var(--sans);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .2s;
}
.hwp-row:last-child { border-bottom: none; }
.hwp-name { font-size: 13px; font-weight: 700; color: #d1fae5; }
.hwp-time { font-size: 13px; font-weight: 700; color: #6ee7b7; }
.hwp-next { background: rgba(52,211,153,.15); }
.hwp-next .hwp-name { color: #6ee7b7; }
.hwp-next .hwp-time { color: #34d399; font-weight: 900; font-size: 14px; }

/* ---- Currency card — amber/gold gradient body ---- */
.hw-currency { background: linear-gradient(160deg, #1c0a00 0%, #3d1c00 100%); }
.hw-currency .hw-card-head { background: linear-gradient(90deg, #d97706, #b45309); font-size: 13px; padding: 8px 12px; }
.hw-currency .hw-card-head i { color: #fde68a; }
.hwfx-body { padding: 4px 0; }
.hwfx-row {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-bottom: 1px solid rgba(255,255,255,.06);
    font-family: var(--sans);
}
.hwfx-row:last-child { border-bottom: none; }
.hwfx-sym { font-size: 15px; font-weight: 900; color: #fbbf24; width: 18px; flex-shrink: 0; text-align: center; }
.hwfx-label { font-size: 12px; color: #d97706; font-weight: 700; flex: 1; }
.hwfx-rate { font-size: 14px; font-weight: 900; color: #fef3c7; white-space: nowrap; }
.hwfx-update { text-align: center; font-size: 10px; color: #b45309; font-family: var(--sans); padding: 4px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.hwfx-update i { color: #f59e0b; }

/* Responsive */
@media (max-width: 1100px) {
    .hero-master-grid { grid-template-columns: repeat(2, 1fr); }
    .hma-widgets { display: none; }
    .hma-slider  { grid-column: 1 / 3; grid-row: 1; }
    .hma-strips  { grid-column: 1 / 3; grid-row: 2; }
    .hma-media   { grid-column: 1 / 3; grid-row: 3; }
    .has-scoreboard .hma-slider     { grid-column: 1 / 3; }
    .has-scoreboard .hma-scoreboard { grid-column: 1 / 3; grid-row: auto; display: flex; }
    .has-scoreboard .hma-strips     { grid-column: 1 / 3; }
    .has-scoreboard .hma-media      { grid-column: 1 / 3; }
}

/* ============================================================
   HERO BOTTOM SECTION (strips + stories, below hero)
============================================================ */
/* Right widget column in hero */
.hma-rwidgets {
    display: flex; flex-direction: column; gap: 8px;
}
.hma-scoreboard ~ .hma-rwidgets { display: none; }

/* has-scoreboard: hide right widgets */
.has-scoreboard .hma-rwidgets { display: none; }
