/* ================================================================
   NEWS-HOME.CSS – Irrawaddy Style Premium Design System
   Bangladesh News Portal – Full Homepage Stylesheet
   ================================================================ */

/* ─── Bengali Web Font ─────────────────────────────────────────── */
@font-face {
    font-family: "SolaimanLipi";
    src: url("../assets/frontend/assests/fonts/solaiman-lipi.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
    --primary:        #D92128;
    --primary-dark:   #b01820;
    --primary-light:  #fef2f2;
    --ink:            #111111;
    --ink-soft:       #222222;
    --muted:          #666666;
    --muted-light:    #999999;
    --line:           #e8e8e8;
    --line-light:     #f0f0f0;
    --bg-white:       #ffffff;
    --bg-soft:        #f7f7f7;
    --bg-dark:        #0f1113;
    --bg-dark-2:      #1a1c1f;
    --bg-dark-3:      #242628;
    --accent-warm:    #ff6b35;
    --accent-blue:    #1a73e8;
    --font-bengali:   'SolaimanLipi', 'Noto Sans Bengali', 'Hind Siliguri', Arial, sans-serif;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);
    --radius-sm:      0px;
    --radius-md:      0px;
    --transition:     all 0.25s ease;
}

/* ─── Base Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    background: #f4f4f4;
    color: var(--ink);
    font-family: var(--font-bengali);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; }

/* ─── Global Section Wrapper ─────────────────────────────────────── */
.nh-section {
    padding: 20px 0;
    background: var(--bg-white);
}
.nh-section + .nh-section {
    border-top: 1px solid var(--line-light);
}
.nh-section--gray { background: var(--bg-soft); }
.nh-section--dark { background: var(--bg-dark); color: #fff; }

/* ─── Section Header ─────────────────────────────────────────────── */
.nh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 2.5px solid var(--ink);
    padding-bottom: 0;
}
.nh-section-head__title {
    display: inline-flex;
    align-items: center;
    background: var(--ink);
    color: #fff;
    font-family: var(--font-bengali);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    padding: 9px 16px;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    bottom: -2.5px;
}
.nh-section-head__title--red { background: var(--primary); }
.nh-section-head__link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nh-section-head__link:hover { color: var(--primary-dark); }

/* Light variant for dark sections */
.nh-section-head--light { border-bottom-color: rgba(255,255,255,0.15); }
.nh-section-head--light .nh-section-head__title { background: #fff; color: #111; }
.nh-section-head--light .nh-section-head__link { color: #aaa; }

/* ─── Breaking News Ticker ───────────────────────────────────────── */
.breaking-ticker {
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 42px;
    position: relative;
    z-index: 10;
}
.breaking-ticker__label {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    text-transform: uppercase;
    z-index: 2;
}
.breaking-ticker__label .pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-blink 1.2s ease-in-out infinite;
}
@keyframes pulse-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}
.breaking-ticker__track {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.breaking-ticker__wrap {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-run 45s linear infinite;
    will-change: transform;
}
.breaking-ticker__track:hover .breaking-ticker__wrap { animation-play-state: paused; }
.breaking-ticker__inner {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.breaking-ticker__item {
    font-size: 14px;
    font-weight: 600;
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,0.10);
    color: #d8d8d8;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    height: 42px;
}
.breaking-ticker__item:hover { color: #fff; }
.breaking-ticker__item::before {
    content: '▸';
    color: var(--primary);
    font-size: 11px;
    margin-right: 10px;
}
@keyframes ticker-run {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── Lead News Section ──────────────────────────────────────────── */
.lead-news-section { padding: 10px 0; background: #fff; }

.lead-news-wrapper > .col-lg-8 > style + .mb-3.pb-2.border-bottom.border-danger {
    display: none;
}

.lead-news-image,
.main-lead-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: clamp(250px, 28vw, 300px);
    max-height: 300px;
    background: var(--bg-soft);
    overflow: hidden;
}

.lead-news-image a,
.main-lead-media a,
.lead-secondary-image a,
.lead-news-image img,
.main-lead-media img,
.bottom-lead-card .bottom-lead-img,
.lead-secondary-image img,
.secondary-lead-thumb img {
    height: 100%;
}

.lead-news-image img,
.main-lead-media img,
.bottom-lead-card .bottom-lead-img,
.lead-secondary-image img,
.secondary-lead-thumb img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.bottom-lead-card .position-relative {
    aspect-ratio: 16 / 9;
    max-height: 150px;
    background: var(--bg-soft);
}

.secondary-lead-thumb {
    width: 140px;
    flex: 0 0 140px;
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    overflow: hidden;
}

.lead-news-content {
    padding-top: 12px;
}

.lead-news-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.lead-news-summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.lead-secondary-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 0;
    border-bottom: 1px solid #ececec;
    background: transparent;
}

.lead-bottom-col:last-child .lead-secondary-card {
    border-bottom: 0;
}

.lead-secondary-image {
    width: 110px;
    flex: 0 0 110px;
    aspect-ratio: 16 / 9;
    max-height: 75px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--bg-soft);
}

.lead-secondary-content {
    min-width: 0;
    flex: 1;
}

.lead-secondary-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.main-lead-title,
.bottom-lead-card h4,
.small-news-card h5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-lead-title { -webkit-line-clamp: 3; }
.bottom-lead-card h4,
.small-news-card h5 { -webkit-line-clamp: 2; }
.bottom-lead-card .lead-secondary-title { -webkit-line-clamp: 3; }

/* Featured Big Card */
.lead-card-featured {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.lead-card-featured .lc-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}
.lead-card-featured .lc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.25,0.8,0.25,1);
}
.lead-card-featured:hover .lc-thumb img { transform: scale(1.04); }

.lead-card-featured .lc-body { padding: 18px 0 0; flex: 1; }
.lc-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--muted);
}
.lc-cat {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.lc-date { display: flex; align-items: center; gap: 4px; }
.lc-shoulder {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 8px;
    font-style: italic;
}
.lead-card-featured h1 {
    font-family: var(--font-bengali);
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lead-card-featured h1 a:hover { color: var(--primary); }
.lead-card-featured .lc-excerpt {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Secondary Small Cards */
.lead-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 100%; }

.lead-card-small {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}
.lead-card-small .ls-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}
.lead-card-small .ls-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.lead-card-small:hover .ls-thumb img { transform: scale(1.05); }
.lead-card-small .ls-body { padding: 10px 0 0; flex: 1; }
.lead-card-small .lc-cat { font-size: 10px; }
.lead-card-small h2 {
    font-family: var(--font-bengali);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.38;
    margin: 8px 0 6px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lead-card-small h2 a:hover { color: var(--primary); }
.lead-card-small .ls-date {
    font-size: 11.5px;
    color: var(--muted-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Lead section vertical divider */
.lead-divider {
    border-right: 1px solid var(--line);
    padding-right: 24px;
    margin-right: 4px;
}

/* Lead News Count Badge */
.lead-news-count-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* ─── Lead Strip Row (Items 6 → N) ──────────────────────── */
.lead-strip-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 2px solid var(--ink);
    margin-top: 4px;
}

.lead-strip-card {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    padding: 14px 14px 16px;
    position: relative;
    transition: background 0.2s ease;
}
.lead-strip-card:last-child { border-right: 0; }
.lead-strip-card:hover { background: var(--bg-soft); }

/* Strip number badge */
.lead-strip-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.2s;
}
.lead-strip-card:hover::before { background: var(--primary); }

.lsc-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 2px;
    margin-bottom: 10px;
}
.lsc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lead-strip-card:hover .lsc-thumb img { transform: scale(1.06); }

.lsc-body { flex: 1; }
.lsc-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}
.lead-strip-card h3 {
    font-family: var(--font-bengali);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    margin: 0 0 8px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.lead-strip-card:hover h3 { color: var(--primary); }
.lsc-time {
    font-size: 11px;
    color: var(--muted-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Responsive Strip */
@media (max-width: 1199px) {
    .lead-strip-row { grid-template-columns: repeat(4, 1fr); }
    .lead-news-title { font-size: 22px; }
}
@media (max-width: 991px) {
    .lead-strip-row { grid-template-columns: repeat(3, 1fr); }
    .lead-divider { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
    .lead-small-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .lead-news-image,
    .main-lead-media {
        height: clamp(220px, 42vw, 260px);
        max-height: 260px;
    }
    .lead-news-title { font-size: 20px; }
    .secondary-lead-thumb { width: 124px; flex-basis: 124px; }
    .news-card-v2 .nc-thumb,
    .trending-card .tr-thumb,
    .cat-sidebar-item .csi-thumb {
        width: 124px;
        flex-basis: 124px;
    }
}
@media (max-width: 767px) {
    .lead-strip-row { grid-template-columns: repeat(2, 1fr); }
    .lead-news-image,
    .main-lead-media {
        height: clamp(200px, 50vw, 240px);
        aspect-ratio: 16 / 9;
        max-height: 240px;
    }
    .news-card-v2 .nc-thumb,
    .trending-card .tr-thumb,
    .cat-sidebar-item .csi-thumb,
    .secondary-lead-thumb {
        width: 116px;
        flex-basis: 116px;
    }
}
@media (max-width: 575px) {
    .lead-small-grid { grid-template-columns: 1fr 1fr; }
    .lead-news-image,
    .main-lead-media {
        height: clamp(160px, 48vw, 190px);
        max-height: 190px;
        border-radius: 6px;
    }
    .lead-news-title {
        font-size: 17px;
        line-height: 1.35;
    }
    .lead-news-content { padding-top: 10px; }
    .lead-news-summary {
        font-size: 13.5px;
        line-height: 1.55;
    }
    .lead-secondary-card {
        gap: 9px;
        padding: 9px 0;
    }
    .lead-secondary-image {
        width: 92px;
        flex-basis: 92px;
        max-height: 58px;
    }
    .lead-secondary-title {
        font-size: 14px;
        line-height: 1.35;
    }
    .lead-card-featured h1 { font-size: 22px; }
    .lead-strip-row { grid-template-columns: 1fr 1fr; }
    .lead-strip-card { padding: 10px; }
    .lead-strip-card h3 { font-size: 13px; }
    .secondary-lead-thumb { width: 108px; flex-basis: 108px; }
    .cat-sidebar-item { align-items: flex-start; gap: 12px; padding-left: 0; padding-right: 0; }
    .cat-sidebar-item:hover { padding-left: 0; }
    .cat-sidebar-item .csi-thumb,
    .news-card-v2 .nc-thumb,
    .trending-card .tr-thumb {
        width: 108px;
        flex-basis: 108px;
    }
    .news-card-v2,
    .trending-card {
        gap: 10px;
        padding: 10px 0;
    }
    .news-card-v2 h3,
    .trending-card h3,
    .cat-sidebar-item h4 {
        font-size: 15px;
        line-height: 1.35;
    }
}


/* ─── Latest News Grid ───────────────────────────────────────────── */
.latest-news-section { padding: 28px 0; background: var(--bg-soft); }

.news-card-v2 {
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    transition: var(--transition);
}
.news-card-v2:hover {
    border-bottom-color: var(--primary);
}
.news-card-v2 .nc-thumb {
    display: block;
    overflow: hidden;
    width: 128px;
    flex: 0 0 128px;
    aspect-ratio: 16 / 9;
    position: relative;
    background: var(--bg-soft);
}
.news-card-v2 .nc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.165,0.84,0.44,1);
}
.news-card-v2:hover .nc-thumb img { transform: scale(1.07); }

.nc-thumb-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-card-v2 .nc-body {
    padding: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.nc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.nc-cat-pill {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.nc-date {
    color: var(--muted-light);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-card-v2 h3 {
    font-family: var(--font-bengali);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.news-card-v2:hover h3 { color: var(--primary); }
.compact-news-card .nc-excerpt,
.compact-news-card .nc-read-more,
.compact-news-card .read-more-link-premium,
.compact-news-card p {
    display: none;
}
.news-card-v2 .nc-excerpt {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nc-read-more {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap 0.2s ease;
}
.nc-read-more:hover { gap: 9px; color: var(--primary-dark); }

/* Load More Button */
.btn-load-more {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink);
    font-family: var(--font-bengali);
    font-size: 15px;
    font-weight: 700;
    padding: 12px 44px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-load-more:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ─── Main Content + Sidebar Layout ─────────────────────────────── */
.main-content-section { padding: 32px 0 0; background: #fff; }

/* ─── Trending Section ───────────────────────────────────────────── */
.trending-section { margin-bottom: 32px; }

.trending-card {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}
.trending-card:hover {
    border-bottom-color: var(--primary);
}
.trending-card .tr-thumb {
    display: block;
    overflow: hidden;
    width: 140px;
    flex: 0 0 140px;
    aspect-ratio: 16 / 9;
}
.trending-card .tr-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.trending-card:hover .tr-thumb img { transform: scale(1.06); }
.trending-card .tr-body {
    padding: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.trending-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.trending-card:hover h3 { color: var(--primary); }
.tr-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted-light);
    margin-top: auto;
}
.tr-flame {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 7px;
    border-radius: 2px;
}

/* ─── Most Read Sidebar ───────────────────────────────────────────── */
.most-read-widget {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 0;
    overflow: hidden;
}
.most-read-widget .mw-header {
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.most-read-list { padding: 0 16px; }

.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-light);
    transition: var(--transition);
}
.most-read-item:last-child { border-bottom: 0; }
.most-read-item:hover { padding-left: 4px; }

.mr-rank {
    font-size: 30px;
    font-weight: 900;
    color: var(--line);
    line-height: 1;
    flex-shrink: 0;
    min-width: 36px;
    transition: color 0.3s;
    font-family: 'Georgia', serif;
}
.most-read-item:hover .mr-rank { color: var(--primary); }

.mr-content { flex: 1; min-width: 0; }
.mr-content h4 {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.most-read-item:hover .mr-content h4 { color: var(--primary); }
.mr-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    color: var(--muted-light);
}
.mr-views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
}

/* Sticky Sidebar */
.sticky-sidebar { position: sticky; top: 80px; }
@media (max-width: 991px) { .sticky-sidebar { position: static; } }

/* ─── Lead News Columns (static list, no slider) – 4 items per column, order preserved ─ */
.lead-news-columns {
    column-count: 3;
    column-gap: 18px;
}

.lead-col-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-light);
}

.lead-col-thumb {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
}

.lead-col-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-col-card:hover .lead-col-thumb img {
    transform: scale(1.06);
}

.lead-col-body {
    flex: 1;
    min-width: 0;
}

.lead-col-title {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0 0 6px;
}

.lead-col-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lead-col-body .meta-info {
    font-size: 0.68rem;
}

@media (max-width: 767.98px) {
    .lead-news-columns {
        column-count: 2;
    }
}

@media (max-width: 575.98px) {
    .lead-news-columns {
        column-count: 1;
    }

    .lead-col-thumb {
        flex-basis: 84px;
        width: 84px;
    }

    .lead-col-title {
        font-size: 0.76rem;
    }

    .lead-col-body .meta-info {
        font-size: 0.64rem;
    }
}

/* ─── Video Section – directly below Lead News, compact inline grid ──── */
.lead-video-block {
    padding-top: 4px;
}

.lead-video-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.lead-video-heading h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

.lead-video-heading a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.lead-video-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.lead-video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lead-video-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 16 / 9;
    background: #000;
}

.lead-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-video-card:hover .lead-video-thumb img {
    transform: scale(1.08);
}

.lead-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.lead-video-play i {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lead-video-card:hover .lead-video-play { background: rgba(0, 0, 0, 0.35); }
.lead-video-card:hover .lead-video-play i { background: var(--primary); color: #fff; transform: scale(1.08); }

.lead-video-body {
    padding-top: 8px;
}

.lead-video-body h4 {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lead-video-card:hover .lead-video-body h4 a { color: var(--primary); }

.lead-video-body time {
    font-size: 10.5px;
    color: var(--muted-light);
}

@media (max-width: 991.98px) {
    .lead-video-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .lead-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .lead-video-body h4 {
        font-size: 12px;
    }
}

/* Sidebar Ad Widget */
.sidebar-ad-widget {
    margin-top: 24px;
    text-align: center;
}

/* ─── Opinion / Editorial Section ────────────────────────────────── */
.opinion-section {
    margin: 40px 0 0;
    padding-top: 30px;
    border-top: 1px solid var(--line-light);
}

.opinion-card-v2 {
    background: #fff;
    border: 1px solid var(--line-light);
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.opinion-card-v2:hover {
    border-left-color: var(--primary);
}
.opinion-card-v2::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.12;
    position: absolute;
    top: 8px;
    right: 14px;
    line-height: 1;
    pointer-events: none;
}
.opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.opinion-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    flex-shrink: 0;
}
.opinion-author-info { flex: 1; min-width: 0; }
.opinion-author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.opinion-author-date {
    font-size: 11.5px;
    color: var(--muted-light);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.opinion-card-v2 h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    color: var(--ink);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.opinion-card-v2:hover h3 { color: var(--primary); }

/* ─── Visual Section (Video + Gallery) ──────────────────────────── */
.visual-section {
    background: var(--bg-dark);
    color: #fff;
    padding: 44px 0 48px;
}

.visual-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
}
.visual-card:last-child { margin-bottom: 0; }

.vc-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: var(--radius-sm);
}
.vc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.visual-card:hover .vc-thumb img { transform: scale(1.08); }

/* Glass Play Button */
.vc-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(217, 33, 40, 0.4);
}
.visual-card:hover .vc-play-btn {
    background: var(--primary);
    border-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 0 10px rgba(217, 33, 40, 0);
}

/* Gallery Photo Count Badge */
.vc-photo-badge {
    position: absolute;
    bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    transition: all 0.25s ease;
}
.visual-card:hover .vc-photo-badge {
    background: var(--primary);
    border-color: var(--primary);
}

/* Gradient overlay on visual cards */
.vc-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    z-index: 2;
}

.vc-body { padding: 12px 0 0; }
.vc-body h3 {
    font-family: var(--font-bengali);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.visual-card:hover .vc-body h3 { color: #fff; }

/* News Summary Sidebar (Dark) */
.news-summary-sidebar {
    background: var(--bg-dark-2);
    border-radius: var(--radius-sm);
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 80px;
}
.nss-header {
    background: rgba(255,255,255,0.06);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nss-list {
    max-height: 480px;
    overflow-y: auto;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.nss-list::-webkit-scrollbar { width: 3px; }
.nss-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }

.nss-item {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: all 0.25s ease;
}
.nss-item:last-child { border-bottom: 0; }
.nss-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}
.nss-item:hover::before { transform: scaleY(1); }
.nss-item:hover { padding-left: 22px; background: rgba(255,255,255,0.03); }
.nss-item h4 {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 5px;
    color: rgba(255,255,255,0.75);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.nss-item:hover h4 { color: #fff; }
.nss-item time {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nss-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.btn-nss-more {
    display: block;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.65);
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.btn-nss-more:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

@media (max-width: 991px) { .news-summary-sidebar { position: static; } }

/* ─── Advertisement Sections ─────────────────────────────────────── */
.ad-section {
    padding: 12px 0;
    text-align: center;
    background: var(--bg-soft);
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}
.ad-label {
    font-size: 10px;
    color: var(--muted-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* ─── Premium Footer ─────────────────────────────────────────────── */
.news-footer {
    background: #0a0a0a;
    color: #b0b0b0;
    padding: 56px 0 0;
}
.footer-top {
    padding-bottom: 48px;
    border-bottom: 1px solid #1e1e1e;
}
.footer-logo-area .fl-logo {
    max-height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 18px;
}
.footer-about {
    font-size: 14px;
    line-height: 1.75;
    color: #888;
    max-width: 320px;
}
.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.footer-social-btn {
    width: 36px; height: 36px;
    border: 1px solid #2a2a2a;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.footer-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-widget h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1e1e1e;
    position: relative;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 36px; height: 2px;
    background: var(--primary);
}

.footer-cat-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-cat-list li a {
    color: #888;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-cat-list li a::before {
    content: '›';
    color: var(--primary);
    font-size: 16px;
    line-height: 1;
}
.footer-cat-list li a:hover { color: #fff; padding-left: 4px; }

.footer-recent-list { display: flex; flex-direction: column; gap: 14px; }
.footer-recent-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid #1a1a1a;
}
.footer-recent-item:last-child { border-bottom: 0; padding-bottom: 0; }
.footer-recent-item .fri-thumb {
    flex-shrink: 0;
    width: 60px; height: 44px;
    overflow: hidden;
}
.footer-recent-item .fri-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(20%);
}
.footer-recent-item:hover .fri-thumb img { transform: scale(1.08); filter: none; }
.footer-recent-item h5 {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.footer-recent-item:hover h5 { color: #e0e0e0; }
.footer-recent-item time {
    font-size: 11px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 3px;
}

.footer-contact-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #888;
    line-height: 1.5;
}
.footer-contact-list li i {
    color: var(--primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #050505;
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copyright {
    font-size: 13px;
    color: #555;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    font-size: 12px;
    color: #555;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #ccc; }

@media (max-width: 767px) {
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .footer-about { max-width: 100%; }
}

/* ─── Shared Utilities ───────────────────────────────────────────── */
.empty-placeholder {
    background: var(--bg-soft);
    border: 1px dashed var(--line);
    text-align: center;
    padding: 40px;
    color: var(--muted-light);
    font-size: 14px;
}

/* line-clamp utility */
.lc-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ─── Responsive Tweaks ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .nh-section { padding: 14px 0; }
    .lead-news-section { padding: 10px 0; }
    .visual-section { padding: 20px 0; }
    .news-footer { padding: 36px 0 0; }
    .nh-section-head__title { font-size: 15px; padding: 8px 12px; }
    .most-read-widget .mw-header { font-size: 14px; }
    .cat-section-header h2 { font-size: 18px; }
    .breaking-ticker { height: 38px; }
    .breaking-ticker__label { padding: 0 12px; font-size: 12px; }
    .breaking-ticker__item { font-size: 13px; padding: 0 20px; }
    .lead-card-featured h1 { font-size: 20px; }
}

@media (max-width: 575px) {
    .lead-small-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { padding-bottom: 30px; }
    .opinion-section .row { row-gap: 16px !important; }
}

@media (max-width: 480px) {
    .lead-small-grid { grid-template-columns: 1fr; gap: 16px; }
    .lead-strip-row { grid-template-columns: 1fr; }
    .lead-strip-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .lead-strip-card:last-child { border-bottom: 0; }
}

/* ─── Existing CSS Compatibility Overrides ───────────────────────── */
/* Keep these to ensure old classes still render if used anywhere */
.news-home-section { padding: 20px 0; }
.news-home-section a { color: inherit; text-decoration: none; }
.news-home-section a:hover { color: var(--primary); }

.section-heading {
    align-items: center;
    border-bottom: 2px solid var(--ink);
    display: flex;
    margin-bottom: 18px;
}
.section-heading span {
    background: var(--ink);
    color: #ffffff;
    display: inline-flex;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 14px;
}
.section-heading-light { border-color: rgba(255,255,255,0.2); }
.section-heading-light span { background: #fff; color: #111; }

/* ─── Scroll to Top Button ───────────────────────────────────────── */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px; right: 24px;
    width: 42px; height: 42px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.scroll-to-top-btn:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-to-top-btn.show { display: flex; }

/* ─── Ticker Hover Pause Helper ─────────────────────────────────── */
.breaking-ticker__track { overflow: hidden; flex: 1; display: flex; align-items: center; }

/* ─── Premium Wide Container Overrides (Irrawaddy Spacious Width) ─── */
/* Homepage compact news layout overrides */
.secondary-lead-thumb,
.news-card-v2 .nc-thumb,
.trending-card .tr-thumb,
.cat-sidebar-item .csi-thumb {
    width: 140px;
    flex: 0 0 140px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-card-v2 {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.news-card-v2 .nc-body {
    min-width: 0;
    padding: 0;
}

.news-card-v2 .nc-excerpt,
.news-card-v2 .nc-read-more,
.compact-news-card .read-more-link-premium,
.compact-news-card p {
    display: none;
}

.news-card-v2 h3,
.cat-sidebar-item h4 {
    -webkit-line-clamp: 3;
}

.trending-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.ad-section:empty,
.sidebar-ad-widget:empty,
.ad-container:empty {
    display: none;
}

@media (max-width: 991px) {
    .secondary-lead-thumb,
    .news-card-v2 .nc-thumb,
    .trending-card .tr-thumb,
    .cat-sidebar-item .csi-thumb {
        width: 124px;
        flex-basis: 124px;
    }
}

@media (max-width: 767px) {
    .secondary-lead-thumb,
    .news-card-v2 .nc-thumb,
    .trending-card .tr-thumb,
    .cat-sidebar-item .csi-thumb {
        width: 116px;
        flex-basis: 116px;
    }
}

@media (max-width: 575px) {
    .secondary-lead-thumb,
    .news-card-v2 .nc-thumb,
    .trending-card .tr-thumb,
    .cat-sidebar-item .csi-thumb {
        width: 108px;
        flex-basis: 108px;
    }

    .news-card-v2,
    .trending-card,
    .cat-sidebar-item {
        gap: 10px;
    }

    .news-card-v2 h3,
    .trending-card h3,
    .cat-sidebar-item h4 {
        font-size: 15px;
        line-height: 1.35;
    }
}

@media (min-width: 1200px) {
    .lead-news-section .container,
    .latest-news-section .container,
    .main-content-section .container,
    .visual-section .container,
    .news-footer .container,
    .ad-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 3% !important;
        padding-right: 3% !important;
    }
}

@media (min-width: 1400px) {
    .lead-news-section .container,
    .latest-news-section .container,
    .main-content-section .container,
    .visual-section .container,
    .news-footer .container,
    .ad-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
}

@media (min-width: 1800px) {
    .lead-news-section .container,
    .latest-news-section .container,
    .main-content-section .container,
    .visual-section .container,
    .news-footer .container,
    .ad-section .container {
        max-width: 1820px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
}

/* Category and opinion compact editorial redesign */
:root {
    --primary-color: var(--primary);
}

.category-sections-wrapper.nh-section {
    margin-top: 18px;
    margin-bottom: 24px;
    padding-top: 0 !important;
    padding-bottom: 0;
    background: #fff;
}

/* Edge-to-edge full width container: fluid at every viewport size instead of
   jumping between Bootstrap's fixed container breakpoints. */
.category-sections-fullwidth {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: clamp(12px, 2.5vw, 48px);
    padding-right: clamp(12px, 2.5vw, 48px);
}

.category-section-block {
    margin-bottom: 20px;
    padding: 12px 0 0;
}

.category-section-block:last-child {
    margin-bottom: 0;
}

/* Category sections rendered after the Video section (dynamic category
   loop) are stacked with near-zero vertical gap between them. */
.category-sections-fullwidth .category-section-block {
    margin-bottom: 0;
    padding-top: 0;
}

.category-sections-fullwidth .category-section-block:last-child {
    margin-bottom: 0;
}

.category-section-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ededed;
}

.category-section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 70px;
    height: 2px;
    background: var(--primary-color);
}

.category-section-heading h2 {
    margin: 0;
    font-family: var(--font-bengali);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--ink);
}

.category-section-heading h2::after {
    display: none;
}

.category-section-heading a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Premium heading treatment for homepage category-wise sections only
   (scoped to .cat-section-header so the shared opinion heading is untouched). */
.cat-section-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.cat-section-header::after {
    display: none;
}

.cat-section-header h2 {
    position: relative;
    padding-left: 16px;
    font-size: 23px;
    letter-spacing: 0.2px;
}

.cat-section-header h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 5px;
    border-radius: 3px;
    background: var(--primary-color);
}

.cat-section-header a {
    background: var(--bg-soft);
    padding: 7px 16px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-section-header a:hover {
    background: var(--primary);
    color: #fff;
}

/* Unified news grid: one large featured card (2 columns x 2 rows) with the
   remaining articles flowing naturally around it — six equal columns on
   desktop. Card anatomy (thumbnail on top, meta/title below) intentionally
   mirrors the .vm-card style used in the Home Page Video section above. */
.cat-news-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 22px 20px;
}

.cat-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cat-news-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
}

.cat-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.cat-news-card:hover .cat-news-thumb img {
    transform: scale(1.06);
}

.cat-news-body {
    padding-top: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--muted-light);
}

.cat-news-meta time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cat-news-meta .cat-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(217, 33, 40, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cfa-hanger {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.cfa-shoulder {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.cat-news-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    color: var(--ink);
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-news-card:hover .cat-news-title a {
    color: var(--primary);
}

.cat-news-title--sm {
    font-size: 14px;
}

.cat-news-body > time {
    margin-top: auto;
    font-size: 11.5px;
    color: var(--muted-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-news-reporter {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

/* Rank chip: overlaid on the thumbnail's top-left corner */
.csi-rank {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    line-height: 1;
}

.csi-kicker {
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

/* Featured card: spans 2 columns x 2 rows so it reads as the anchor story */
.cat-news-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.cat-news-card--featured .cat-news-thumb {
    aspect-ratio: 16 / 11;
}

.cat-news-card--featured .cat-news-body {
    padding-top: 14px;
}

.cat-news-card--featured .cat-news-title {
    font-size: 20px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    margin-bottom: 10px;
}

.cat-news-summary {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .cat-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .cat-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .cat-news-card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .cat-news-card--featured .cat-news-thumb {
        aspect-ratio: 16 / 9;
    }

    .cat-news-card--featured .cat-news-title {
        font-size: 18px;
    }
}

.opinion-section.nh-section {
    margin: 0;
    padding: 0 0 24px;
    border-top: 0;
    background: #fff;
}

.opinion-section-heading h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.opinion-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    align-items: start;
}

.opinion-featured-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    background: #f8f8f8;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.opinion-author-image,
.opinion-list-avatar {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    background: #eeeeee;
}

.opinion-author-image {
    width: 92px;
    height: 92px;
}

.opinion-author-image img,
.opinion-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.opinion-kicker {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.opinion-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.opinion-author-name {
    display: inline-block;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opinion-list-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #e9e9e9;
}

.opinion-list-item:first-child {
    padding-top: 0;
}

.opinion-list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.opinion-list-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.opinion-list-content {
    min-width: 0;
}

.opinion-list-title {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.42;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.opinion-list-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .opinion-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .category-section-block {
        padding-top: 14px;
        border-radius: 8px;
    }

    .category-sections-fullwidth .category-section-block {
        padding-top: 0;
    }

    .category-section-heading h2 {
        font-size: 19px;
    }

    .opinion-featured-card {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .opinion-author-image {
        width: 68px;
        height: 68px;
    }

    .opinion-title {
        font-size: 17px;
    }
}

/* Left column dynamic news */
.left-news-section {
    margin-top: 0;
}

.trending-section + .left-news-section {
    margin-top: 30px;
}

.left-news-heading h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.left-featured-news {
    margin-bottom: 22px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 18px;
}

.left-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8;
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-soft);
}

.left-featured-image img,
.left-news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.left-featured-news:hover .left-featured-image img,
.left-news-card:hover .left-news-image img {
    transform: scale(1.025);
}

.left-featured-content {
    padding-top: 13px;
}

.left-news-category {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.left-featured-content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.38;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.left-featured-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.left-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.left-news-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebebeb;
}

.left-news-image {
    display: block;
    width: 130px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg-soft);
}

.left-news-content {
    min-width: 0;
}

.left-news-content h3 {
    margin: 4px 0 7px;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 650;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.left-news-content h3 a,
.left-featured-content h3 a {
    color: inherit;
    text-decoration: none;
}

.left-news-content time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #888;
}

.news-empty-state {
    background: var(--bg-soft);
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    padding: 28px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .left-news-grid {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .left-featured-image {
        max-height: 190px;
    }

    .left-featured-content h3 {
        font-size: 19px;
    }

    .left-news-card {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
    }

    .left-news-image {
        width: 105px;
    }

    .left-news-content h3 {
        font-size: 15px;
        line-height: 1.38;
    }
}

/* ================================================================
   HOME TABS WIDGET – Most Read / Latest (replaces static split sidebar)
   ================================================================ */
.home-tabs-widget {
    background: var(--bg-white);
    border: 1px solid var(--line);
    overflow: hidden;
}

.home-tabs-nav {
    display: flex;
    background: var(--ink);
}

.home-tab-btn {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-bengali);
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 14px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.home-tab-btn i {
    font-size: 13px;
}

.home-tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.home-tab-btn.active {
    color: #fff;
    background: var(--primary);
}

.home-tabs-panels {
    position: relative;
}

.home-tab-panel {
    display: none;
    padding: 4px 0;
    animation: homeTabFade 0.25s ease;
}

.home-tab-panel.active {
    display: block;
}

@keyframes homeTabFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-tab-panel .most-read-list { padding: 0 16px; }

.home-tab-panel .news-card-sidebar--no-thumb {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-light);
}

.home-tab-panel .news-card-sidebar--no-thumb:last-child {
    border-bottom: 0;
}

@media (max-width: 480px) {
    .home-tab-btn {
        font-size: 13px;
        padding: 10px 8px;
    }
}

