/* ================================================================
   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: 30px 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: 22px;
    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: 28px 0 20px; background: #fff; }

/* 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); }
}
@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; }
}
@media (max-width: 767px) {
    .lead-strip-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .lead-small-grid { grid-template-columns: 1fr 1fr; }
    .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; }
}


/* ─── Latest News Grid ───────────────────────────────────────────── */
.latest-news-section { padding: 30px 0; background: var(--bg-soft); }

.news-card-v2 {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    transition: var(--transition);
}
.news-card-v2:hover {
    border-bottom-color: var(--primary);
}
.news-card-v2 .nc-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}
.news-card-v2 .nc-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    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: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-card-v2 .nc-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    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: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 10px;
    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); }
.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: 40px; }

.trending-card {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.trending-card:hover {
    border-bottom-color: var(--primary);
}
.trending-card .tr-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.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: 14px 16px;
    flex: 1;
    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;
}

/* ─── Category Sections ──────────────────────────────────────────── */
.cat-section-block {
    padding: 28px 0;
    border-bottom: 1px solid var(--line-light);
}
.cat-section-block:last-child { border-bottom: 0; }

.cat-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
}
.cat-section-header h2 {
    font-family: var(--font-bengali);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--ink-soft);
    position: relative;
}
.cat-section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--primary);
}
.cat-section-header a {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.cat-section-header a:hover { color: var(--primary-dark); }

/* Featured article in category */
.cat-featured-article {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.cat-featured-article .cfa-thumb {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 16/9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
}
.cat-featured-article .cfa-thumb::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.cat-featured-article:hover .cfa-thumb::after {
    opacity: 1;
}
.cat-featured-article .cfa-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-featured-article:hover .cfa-thumb img {
    transform: scale(1.04);
}
.cat-featured-article .cfa-body {
    padding: 16px 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cat-featured-article h3 {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--ink);
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-featured-article:hover h3 {
    color: var(--primary);
}
.cat-featured-article .cfa-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cfa-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--muted-light);
}
.cfa-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-meta time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar list items in category */
.cat-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-sidebar-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-light);
    border-left: 3px solid transparent;
    background: transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-sidebar-item:last-child {
    border-bottom: 0;
}
.cat-sidebar-item:hover {
    background: var(--bg-soft);
    border-left-color: var(--primary);
    padding-left: 18px;
}

.cat-sidebar-item .csi-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 64px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cat-sidebar-item .csi-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-sidebar-item:hover .csi-thumb img {
    transform: scale(1.06);
}
.cat-sidebar-item .csi-content {
    flex: 1;
    min-width: 0;
}
.cat-sidebar-item h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    margin: 0 0 6px;
    color: var(--ink);
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-sidebar-item:hover h4 {
    color: var(--primary);
}
.cat-sidebar-item time {
    font-size: 11.5px;
    color: var(--muted-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Vertical divider between featured and list */
.cat-divider-right {
    border-right: 1px solid var(--line-light);
    padding-right: 32px;
}
@media (max-width: 991px) {
    .cat-divider-right {
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid var(--line-light);
        padding-bottom: 24px;
        margin-bottom: 12px;
    }
}

/* ─── 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; } }

/* 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: 20px 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: 8px;
}

/* ─── 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: 20px 0; }
    .lead-news-section { padding: 18px 0; }
    .visual-section { padding: 28px 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) ─── */
@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;
    }
}
