/* ============================================================
   বাংলা কণ্ঠ ২৪ — Modern Bengali Newspaper Design System
   ============================================================ */

:root {
  --red: #c8102e;
  --red-dark: #9c0b23;
  --ink: #17120f;
  --ink-soft: #433c38;
  --muted: #7d716b;
  --line: #e7e0d8;
  --paper: #ffffff;
  --bg: #f7f4ee;
  --bg-alt: #efe9df;
  --serif: 'Noto Serif Bengali', 'Hind Siliguri', serif;
  --sans: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --shadow-sm: 0 1px 3px rgba(23, 18, 15, .07);
  --shadow-md: 0 6px 24px -8px rgba(23, 18, 15, .18);
  --shadow-lg: 0 18px 50px -12px rgba(23, 18, 15, .32);
  --radius: 14px;
  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==================== TOP BAR ==================== */
.topbar { background: var(--ink); color: #d9cfc7; font-size: 13.5px; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 40px; gap: 16px; flex-wrap: wrap;
}
.topbar__date { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar__sep { color: #584e48; }
.topbar__bng { color: #f3b321; font-weight: 600; }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__link { color: #d9cfc7; transition: color .2s; }
.topbar__link:hover { color: #fff; }
.topbar__wx { color: #9fb8c9; }

/* ==================== MASTHEAD ==================== */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.masthead::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--ink) 25% 50%, var(--red) 50% 75%, var(--ink) 75% 100%);
}
.masthead__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding-block: 22px;
}
.masthead__brand {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center;
}
.masthead__logo-text {
  font-family: var(--serif); font-weight: 900; font-size: 64px; line-height: 1.05;
  letter-spacing: -0.5px; color: var(--ink); white-space: nowrap;
}
.masthead__logo-accent { color: var(--red); }
.masthead__logo-24 {
  font-family: var(--serif); font-weight: 800; font-size: 26px; color: #fff;
  background: var(--red); padding: 0 12px; border-radius: 6px; margin-top: 2px;
  letter-spacing: 2px;
}
.masthead__tagline {
  font-size: 14px; color: var(--muted); letter-spacing: 2.5px; margin-top: 6px;
}
.masthead__side { display: flex; flex-direction: column; gap: 12px; }
.masthead__side--right { align-items: flex-end; }
.masthead__badge {
  display: inline-flex; align-items: baseline; gap: 6px;
  border: 1.5px solid var(--ink); border-radius: 8px; padding: 4px 12px; width: fit-content;
}
.masthead__badge-no { font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--red); }
.masthead__badge-year { font-size: 13px; color: var(--ink-soft); }
.masthead__since { font-size: 12px; color: var(--muted); line-height: 1.5; }
.masthead__socials { display: flex; gap: 8px; }
.social {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink-soft); font-size: 15px; font-weight: 700;
  transition: all .2s;
}
.social:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.masthead__search {
  display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px;
  overflow: hidden; background: #fff;
}
.masthead__search input {
  border: none; outline: none; padding: 8px 16px; width: 190px; font-size: 14px;
}
.masthead__search button { padding: 8px 14px; font-size: 14px; }

/* ==================== NAV ==================== */
.mainnav {
  background: var(--paper); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.mainnav.is-scrolled { box-shadow: var(--shadow-md); }
.mainnav__inner { display: flex; align-items: center; gap: 20px; }
.mainnav__burger { display: none; font-size: 22px; }
.mainnav__list {
  display: flex; align-items: stretch; gap: 2px; overflow: visible;
  scrollbar-width: none; flex: 1;
}
.mainnav__list::-webkit-scrollbar { display: none; }
.mainnav__list a {
  display: block; padding: 15px 15px; font-weight: 600; font-size: 16.5px;
  color: var(--ink-soft); position: relative; white-space: nowrap;
  transition: color .2s;
}
.mainnav__list a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px;
  background: var(--red); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.mainnav__list a:hover { color: var(--red); }
.mainnav__list a:hover::after,
.mainnav__list a.is-active::after { transform: scaleX(1); }
.mainnav__list a.is-active { color: var(--red); }

/* ---------- সাব-ক্যাটাগরি ড্রপডাউন ---------- */
.mainnav__item { position: relative; }
.mainnav__item.has-sub > a { padding-right: 24px; }
.mainnav__item.has-sub > a::before {
  content: '▾'; position: absolute; top: 5px; right: 8px; font-size: 9px;
  color: #b7ada4; transition: transform .2s; transform-origin: center;
}
.mainnav__item.has-sub:hover > a::before,
.mainnav__item.has-sub.sub-open > a::before { transform: rotate(180deg); }
.mainnav__caret { display: none; }
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg);
  padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 120;
}
.mainnav__item.has-sub:hover .subnav,
.mainnav__item.has-sub.sub-open .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
}
.subnav a::after { display: none !important; }
.subnav a:hover { color: var(--red); background: rgba(200, 16, 46, .05); }
.subnav a.is-active { color: var(--red); background: rgba(200, 16, 46, .07); }
.subnav__dot { width: 9px; height: 9px; border-radius: 3px; flex: none; }

.mainnav__live {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px;
  color: var(--red); border: 1.5px solid var(--red); border-radius: 999px;
  padding: 6px 16px; white-space: nowrap; transition: all .2s;
}
.mainnav__live:hover { background: var(--red); color: #fff; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  animation: pulse 1.4s infinite;
}
.mainnav__live:hover .live-dot { background: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .5); }
  70% { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

/* ==================== TICKER ==================== */
/* স্পিড কন্ট্রোল: public/js ইনলাইন স্ক্রিপ্টে PX_PER_SEC (নিচের 46s শুধু ফলব্যাক) */
.ticker { background: var(--ink); color: #fff; }
.ticker__inner { display: flex; align-items: center; gap: 0; min-height: 46px; }
.ticker__label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); font-weight: 700; font-size: 14px; letter-spacing: 1px;
  padding: 6px 18px; border-radius: 0 10px 10px 0; margin-left: -24px;
  position: relative; z-index: 2; white-space: nowrap;
}
.ticker__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s infinite;
}
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker__track {
  display: flex; align-items: center; gap: 48px; white-space: nowrap;
  animation: ticker 46s linear infinite; padding-left: 24px;
}
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* ডুপ্লিকেট কপির ঠিক শেষে = সিমলেস লুপ */
}
.ticker__item { font-size: 15px; color: #e6ddd6; transition: color .2s; display: inline-flex; gap: 10px; align-items: center; }
.ticker__item:hover { color: #fff; }
.ticker__cat {
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--c, var(--red)); padding: 1px 10px; border-radius: 4px;
}

/* ==================== LAYOUT ==================== */
.site-main { padding-block: 32px 56px; }
.layout-main {
  display: grid; grid-template-columns: 1fr 340px; gap: 36px;
  align-items: start; margin-top: 40px;
}
.layout-main--article { margin-top: 28px; }
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }

/* ==================== HERO ==================== */
.hero {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  align-items: stretch;
}
.hero__lead {
  grid-row: span 2; display: flex; flex-direction: column; position: relative;
  border-radius: var(--radius); overflow: hidden; min-height: 560px;
  box-shadow: var(--shadow-md); background: var(--ink);
}
.hero__lead-media { flex: 1; position: relative; overflow: hidden; }
.hero__lead-media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.hero__lead:hover .hero__lead-media img { transform: scale(1.045); }
.hero__lead-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,18,15,0) 26%, rgba(23,18,15,.35) 52%, rgba(23,18,15,.88) 88%);
}
.hero__lead-body { position: relative; margin-top: auto; padding: 26px 28px 28px; color: #fff; }
.hero__lead-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hero__time { font-size: 13.5px; color: #d8cfc9; }
.hero__title {
  font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.32; margin-bottom: 12px; text-wrap: balance;
}
.hero__lead:hover .hero__title { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hero__excerpt { font-size: 15.5px; color: #e5dcd6; line-height: 1.7; margin-bottom: 10px; }
.hero__byline { font-size: 13px; color: #b9aca4; }

.hero__side { display: flex; flex-direction: column; gap: 24px; grid-row: span 1; }
.hero__card {
  flex: 1; display: flex; flex-direction: column; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.hero__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hero__card-media { position: relative; padding-top: 56%; overflow: hidden; }
.hero__card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.hero__card:hover .hero__card-media img { transform: scale(1.06); }
.hero__card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.hero__card-title {
  font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.45;
}
.hero__card:hover .hero__card-title { color: var(--red); }
.hero__card-meta { font-size: 12.5px; color: var(--muted); }

.hero__briefs {
  grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hero__brief {
  display: flex; gap: 14px; align-items: flex-start; background: var(--paper);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s; height: 100%;
}
.hero__brief:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hero__brief-thumb {
  width: 88px; height: 72px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
}
.hero__brief-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__brief-title {
  font-family: var(--serif); font-weight: 700; font-size: 15.5px; line-height: 1.45;
  margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__brief:hover .hero__brief-title { color: var(--red); }
.hero__brief-meta { font-size: 12.5px; color: var(--muted); }
.hero__brief-ad { display: flex; }

/* ==================== CHIPS & AD ==================== */
.chip {
  display: inline-flex; align-items: center; font-size: 13px; font-weight: 700;
  color: #fff; background: var(--c, var(--red)); border-radius: 6px;
  padding: 3px 12px; width: fit-content; letter-spacing: .3px;
}
.chip--sm { font-size: 12px; padding: 2px 10px; border-radius: 5px; }
.chip--xs { font-size: 11px; padding: 1px 8px; border-radius: 4px; }

.ad-box {
  border: 1.5px dashed #cfc5ba; border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, #faf7f2 0 14px, #f3eee6 14px 28px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 240px; text-align: center; padding: 20px; width: 100%;
}
.ad-box span {
  font-size: 11px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase;
  border: 1px solid #d8cfc5; padding: 2px 10px; border-radius: 99px; background: #fff;
}
.ad-box p { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink-soft); }
.ad-box a { color: var(--red); font-weight: 600; font-size: 14px; }
.ad-box--wide { min-height: 0; flex: 1; }

/* ==================== SECTION HEADS ==================== */
.newsblock { margin-bottom: 44px; }
.newsblock__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.newsblock__title {
  font-family: var(--serif); font-weight: 800; font-size: 26px; color: var(--ink);
  position: relative; padding-left: 14px;
}
.newsblock__title::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px;
  background: var(--c, var(--red)); border-radius: 3px;
}
.newsblock__title--red { --c: var(--red); }
.newsblock__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.newsblock__more { font-weight: 700; font-size: 14.5px; color: var(--red); white-space: nowrap; }
.newsblock__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==================== GRID + CARDS ==================== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  display: flex;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__link { display: flex; flex-direction: column; flex: 1; }
.card__media { position: relative; padding-top: 62%; overflow: hidden; }
.card__media--16x9 { padding-top: 56.25%; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title {
  font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.45;
}
.card:hover .card__title { color: var(--red); }
.card__title--sm { font-size: 16.5px; }
.card__excerpt { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta {
  display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: auto;
  padding-top: 8px; border-top: 1px solid var(--line);
}

/* ==================== CATEGORY ROWS ==================== */
.catrow { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.featurecard {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.featurecard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.featurecard__media { position: relative; padding-top: 58%; overflow: hidden; }
.featurecard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.featurecard:hover .featurecard__media img { transform: scale(1.06); }
.featurecard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.featurecard__title { font-family: var(--serif); font-weight: 800; font-size: 23px; line-height: 1.4; }
.featurecard:hover .featurecard__title { color: var(--red); }
.featurecard__excerpt { font-size: 15px; color: var(--ink-soft); }

.catrow__list { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border-radius: var(--radius); padding: 10px 18px; box-shadow: var(--shadow-sm); }
.lineitem { display: flex; gap: 14px; padding: 14px 6px; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.lineitem:last-child { border-bottom: none; }
.lineitem__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--red));
  margin-top: 10px; flex-shrink: 0;
}
.lineitem__title { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.5; margin-bottom: 2px; }
.lineitem:hover .lineitem__title { color: var(--red); }
.lineitem__meta { font-size: 12.5px; color: var(--muted); }

/* ==================== SIDEBAR PANELS ==================== */
.panel {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel__head { padding: 16px 20px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: center; }
.panel__head h3 { font-family: var(--serif); font-weight: 800; font-size: 19px; }
.panel--popular .panel__head { background: var(--ink); border-bottom-color: var(--red); }
.panel--popular .panel__head h3 { color: #fff; }
.panel--popular .panel__head h3::before { content: '🔥 '; }

.popular { padding: 8px 20px 14px; }
.popular__item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.popular li:last-child .popular__item { border-bottom: none; }
.popular__no {
  font-family: var(--serif); font-weight: 900; font-size: 30px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.6px var(--red); flex-shrink: 0; width: 34px;
  transition: all .2s;
}
.popular__item:hover .popular__no { color: var(--red); -webkit-text-stroke: 1.6px var(--red); }
.popular__title { font-family: var(--serif); font-weight: 700; font-size: 15.5px; line-height: 1.5; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.popular__item:hover .popular__title { color: var(--red); }
.popular__meta { font-size: 12px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }

.weather { padding: 18px 20px; display: flex; align-items: center; gap: 18px; }
.weather__now { display: flex; align-items: center; gap: 10px; }
.weather__icon { font-size: 38px; }
.weather__temp { font-family: var(--serif); font-weight: 800; font-size: 40px; color: var(--red); }
.weather__meta p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

.newsletter { padding: 18px 20px 22px; }
.newsletter p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.newsletter input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; outline: none; transition: border-color .2s; margin-bottom: 10px;
}
.newsletter input:focus { border-color: var(--red); }
.newsletter button {
  width: 100%; background: var(--red); color: #fff; font-weight: 700; font-size: 15px;
  padding: 11px; border-radius: 10px; transition: background .2s;
}
.newsletter button:hover { background: var(--red-dark); }

.tagcloud { padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13.5px; font-weight: 600; padding: 5px 14px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-soft); transition: all .2s;
  border: 1px solid transparent;
}
.tag:hover { background: var(--c, var(--red)); color: #fff; }

/* ==================== CATEGORY PAGE ==================== */
.cat-hero {
  background: linear-gradient(135deg, var(--cat, var(--red)) 0%, var(--ink) 160%);
  color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden;
}
.cat-hero::after {
  content: attr(data-word);
  position: absolute; right: -10px; bottom: -34px;
  font-family: var(--serif); font-weight: 900; font-size: 170px; line-height: 1;
  color: rgba(255,255,255,.07); pointer-events: none; white-space: nowrap;
}
.breadcrumb { font-size: 13.5px; color: #cfc4bd; margin-bottom: 14px; display: flex; gap: 8px; }
.breadcrumb a { color: #fff; opacity: .8; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.cat-hero .breadcrumb { color: rgba(255,255,255,.75); }
.cat-hero__title { font-family: var(--serif); font-weight: 900; font-size: 52px; line-height: 1.15; }
.cat-hero__desc { margin-top: 10px; font-size: 15.5px; color: #e2d9d3; max-width: 640px; }
.sub-hero-arrow { margin: 0 6px; opacity: .7; }

/* ---------- ক্যাটাগরি পেজের সাব-ক্যাটাগরি চিপ ---------- */
.subchips {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.subchips__label {
  font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .75);
  letter-spacing: .3px; margin-right: 2px;
}
.subchip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 7px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: all .2s; backdrop-filter: blur(4px);
}
.subchip__dot { width: 8px; height: 8px; border-radius: 3px; background: var(--c, #fff); }
.subchip:hover {
  background: var(--c, rgba(255, 255, 255, .2));
  border-color: var(--c, #fff); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.catfeature {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 28px;
}
.catfeature__link { display: grid; grid-template-columns: 1.2fr 1fr; }
.catfeature__media { position: relative; min-height: 320px; overflow: hidden; }
.catfeature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.catfeature:hover .catfeature__media img { transform: scale(1.05); }
.catfeature__body { padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.catfeature__title { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; }
.catfeature:hover .catfeature__title { color: var(--red); }
.catfeature__excerpt { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }

.pagination { margin-top: 30px; display: flex; justify-content: center; }
.pagination nav { display: inline-flex; align-items: center; gap: 8px; }
.pagination a, .pagination span {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 10px; background: var(--paper); color: var(--ink-soft);
  font-weight: 600; font-size: 15px; box-shadow: var(--shadow-sm); transition: all .2s;
}
.pagination a:hover { background: var(--ink); color: #fff; }
.pagination .current span, .pagination span[aria-current] {
  background: var(--red); color: #fff;
}
.empty { background: var(--paper); border-radius: var(--radius); padding: 60px; text-align: center; color: var(--muted); }

/* ==================== ARTICLE ==================== */
.article { background: transparent; }
.article__head { background: var(--paper); border-radius: var(--radius); padding: 32px 36px 26px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--cat, var(--red)); }
.article .breadcrumb { margin-bottom: 20px; color: var(--muted); }
.article .breadcrumb a { color: var(--ink-soft); }
.article__title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.3; letter-spacing: -.3px; margin: 14px 0 16px; text-wrap: balance;
}
.article__lead { font-size: 18.5px; line-height: 1.8; color: var(--ink-soft); border-left: 4px solid var(--cat, var(--red)); padding-left: 18px; }
.article__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.article__author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #f3b321;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 20px;
}
.article__author-name { font-weight: 700; font-size: 15.5px; }
.article__author-role { font-size: 12.5px; color: var(--muted); }
.article__stamp p { font-size: 13px; color: var(--ink-soft); }
.article__share { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.share {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--ink-soft); font-weight: 700; font-size: 14px;
  transition: all .2s;
}
.share.fb:hover { background: #1877f2; color: #fff; }
.share.tw:hover { background: #111; color: #fff; }
.share.wa:hover { background: #25d366; color: #fff; }
.share.cp:hover { background: var(--red); color: #fff; }

.article__media { margin: 24px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.article__media img { width: 100%; max-height: 560px; object-fit: cover; }
.article__media figcaption {
  background: var(--ink); color: #cfc4bd; font-size: 13px; padding: 10px 18px;
}

.article__body {
  background: var(--paper); border-radius: var(--radius); padding: 36px 42px;
  box-shadow: var(--shadow-sm); font-size: 17.5px; line-height: 2.02;
}
.article__body p { margin-bottom: 22px; text-align: justify; }
.article__body p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 900; font-size: 64px; float: left;
  line-height: .9; padding: 6px 12px 0 0; color: var(--red);
}
.article__body p::marker { color: var(--red); }

.article__tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted); }
.article__viewcount {
  margin-top: 22px; background: var(--bg-alt); border-radius: 12px; padding: 14px 20px;
  display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft);
}

.related { margin-top: 44px; }

/* ==================== FOOTER ==================== */
.footer { background: var(--ink); color: #b9aca4; margin-top: 20px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 52px 24px 40px;
}
.footer__logo { font-family: var(--serif); font-weight: 900; font-size: 34px; color: #fff; margin-bottom: 14px; }
.footer__logo span { color: var(--red); }
.footer__about { font-size: 14.5px; line-height: 1.85; }
.footer__col h4 {
  color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 700;
  margin-bottom: 18px; padding-bottom: 10px; position: relative;
}
.footer__col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--red); border-radius: 2px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14.5px; color: #b9aca4; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__contact li { font-size: 14px; line-height: 1.7; }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; font-weight: 700; transition: all .2s;
}
.footer__socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer__bottom {
  border-top: 1px solid #2c2622; padding: 20px 24px 26px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .layout-main { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__briefs { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .catrow { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .masthead__inner { grid-template-columns: 1fr; text-align: center; }
  .masthead__side, .masthead__side--right { align-items: center; }
  .masthead__logo-text { font-size: 46px; }
  .mainnav__burger { display: block; }
  .mainnav__list { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; box-shadow: var(--shadow-md); padding: 8px 0; display: none; }
  .mainnav.is-open .mainnav__list { display: flex; }
  .mainnav__inner { position: relative; }

  /* মোবাইলে সাব-ক্যাটাগরি — ক্যারেট বোতামে খুলে যায় */
  .mainnav__item { display: flex; align-items: center; width: 100%; }
  .mainnav__item > a { flex: 1; }
  .mainnav__item.has-sub > a::before { display: none; }
  .mainnav__caret {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin-right: 6px; font-size: 12px;
    color: var(--ink-soft); background: rgba(0, 0, 0, .04); border: none;
    border-radius: 10px; cursor: pointer;
  }
  .mainnav__item.sub-open .mainnav__caret { transform: rotate(180deg); background: rgba(200, 16, 46, .1); color: var(--red); }
  .subnav {
    position: static; display: none; width: 100%;
    background: rgba(0, 0, 0, .03); border: none; border-radius: 0;
    box-shadow: none; padding: 2px 0; opacity: 1; visibility: visible; transform: none;
    flex-basis: 100%; order: 9;
  }
  .mainnav__item.sub-open .subnav { display: block; }
  .subnav a { padding: 11px 22px 11px 34px; border-radius: 0; font-size: 15px; }
  .hero { grid-template-columns: 1fr; }
  .hero__lead { min-height: 420px; grid-row: auto; }
  .hero__briefs { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .catfeature__link { grid-template-columns: 1fr; }
  .catfeature__media { min-height: 220px; }
  .article__head, .article__body { padding: 22px 20px; }
  .article__body p:first-of-type::first-letter { font-size: 46px; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: center; }
  .topbar__links { display: none; }
  .cat-hero__title { font-size: 36px; }
}

@media print {
  .topbar, .mainnav, .ticker, .sidebar, .footer, .ad-box, .related { display: none; }
}

/* ==================== ভিডিও সংবাদ (ইউটিউব থাম্বনেইল) ==================== */

.newsblock__title--video {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b91c1c;
}
.newsblock__title--video svg { width: 26px; height: 26px; }

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

.videocard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.videocard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #b91c1c33;
}

.videocard__link { display: block; }

.videocard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0d0d;
}
.videocard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.videocard:hover .videocard__media img { transform: scale(1.05); }

.videocard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}

.videocard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #b91c1c;
  background: #fff;
  border-radius: 10px;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  transition: transform .25s ease, background .25s ease, color .25s ease;
  z-index: 2;
}
.videocard:hover .videocard__play {
  transform: translate(-50%, -50%) scale(1.12);
  background: #b91c1c;
  color: #fff;
}

.videocard__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(185, 28, 28, .92);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 3px 10px;
  border-radius: 999px;
}

.videocard__body { padding: 14px 16px 16px; }
.videocard__title {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin: 8px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.videocard__meta { font-size: 12.5px; color: var(--ink-soft); }

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

/* ==================== আর্টিকেলে ইউটিউব এমবেড (facade) ==================== */

.videoembed {
  margin: 22px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0d0d0d;
}

.videoembed__facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
}
.videoembed__facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.videoembed__facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .5) 100%);
  transition: background .25s ease;
}
.videoembed__facade:hover::after {
  background: linear-gradient(180deg, rgba(185, 28, 28, .08) 40%, rgba(185, 28, 28, .4) 100%);
}

.videoembed__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #b91c1c;
  background: #fff;
  border-radius: 14px;
  padding-left: 5px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5);
  z-index: 2;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.videoembed__facade:hover .videoembed__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #b91c1c;
  color: #fff;
}

.videoembed__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.videoembed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ==================== নিউজলেটার মেসেজ ==================== */

.newsletter__msg, .spopup__msg {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.5;
}
.newsletter__msg.is-ok, .spopup__msg.is-ok { color: #0f7a4d; }
.newsletter__msg.is-err, .spopup__msg.is-err { color: #b91c1c; }

/* ==================== এক্সিট-ইন্টেন্ট সাবস্ক্রিপশন পপআপ ==================== */

.spopup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.spopup.is-visible { display: block; }

.spopup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 9, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: spopupFade .3s ease;
}

.spopup__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px));
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: spopupPop .38s cubic-bezier(.2, .9, .3, 1.2);
}

.spopup__head {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 20px 26px;
}
.spopup__logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}
.spopup__logo span { color: #ffd9df; }
.spopup__logo::after {
  content: '২৪';
  display: inline-block;
  background: #fff;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  padding: 1px 9px;
  border-radius: 6px;
  margin-left: 8px;
}

.spopup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.spopup__close:hover { background: rgba(255, 255, 255, .32); transform: rotate(90deg); }

.spopup__body { padding: 26px 26px 24px; text-align: center; }

.spopup__badge {
  display: inline-block;
  background: #b91c1c14;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.spopup__title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.25;
}

.spopup__text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.spopup__form { display: flex; gap: 10px; }
.spopup__form input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease;
}
.spopup__form input:focus { border-color: var(--red); }
.spopup__form button {
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
}
.spopup__form button:hover { background: var(--red-dark); transform: translateY(-1px); }
.spopup__form button:disabled { opacity: .7; cursor: wait; transform: none; }

.spopup__note {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

@keyframes spopupFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spopupPop {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 520px) {
  .spopup__form { flex-direction: column; }
  .spopup__title { font-size: 25px; }
  .spopup__body { padding: 22px 20px 20px; }
}

/* প্রিন্টে পপআপ বন্ধ */
@media print { .spopup { display: none !important; } }

/* ============================================================
   প্রধান নিউজ স্লাইডার (ব্রেকিং-এর নিচে) + ৩-কলাম ফিচার স্ট্রিপ
   ============================================================ */

.topslider { margin-top: 22px; }
.topslider__wrap {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #100d0b;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 8.4;
  min-height: 320px;
}

.slider__viewport { position: relative; width: 100%; height: 100%; }

.slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s;
  z-index: 1;
}
.slider__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.slider__media { position: absolute; inset: 0; }
.slider__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1);
}
.slider__slide.is-active .slider__media img { animation: sliderKen 7s ease-out forwards; }
@keyframes sliderKen {
  from { transform: scale(1.001); }
  to { transform: scale(1.07); }
}

.slider__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 13, 11, .04) 0%,
    rgba(16, 13, 11, .28) 52%,
    rgba(16, 13, 11, .82) 100%);
}

.slider__body {
  position: relative;
  padding: 26px 30px 30px;
  color: #fff;
  max-width: 92%;
}

.slider__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }

.slider__breaking {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red);
  color: #fff;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .3px;
  padding: 3px 10px;
  border-radius: 5px;
  animation: none;
}
.slider__breaking .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: sliderPulse 1.2s infinite;
}
@keyframes sliderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.75); }
}

.slider__video-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 12.5px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px;
}

.slider__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.35;
  text-wrap: balance;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.slider__title:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.slider__excerpt {
  color: rgba(255, 255, 255, .88);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 10px;
}

.slider__byline {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}
.slider__time {
  padding-left: 7px;
  border-left: 1px solid rgba(255, 255, 255, .35);
  margin-left: 2px;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(16, 13, 11, .45);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 5;
  transition: background .2s, transform .2s;
}
.slider__nav svg { width: 22px; height: 22px; }
.slider__nav:hover { background: var(--red); border-color: var(--red); }
.slider__nav--prev { left: 16px; }
.slider__nav--next { right: 16px; }

.slider__dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider__dot {
  width: 26px; height: 5px;
  border-radius: 99px;
  border: none;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s;
}
.slider__dot:hover { background: rgba(255, 255, 255, .65); }
.slider__dot.is-active { background: var(--red); width: 40px; }

/* ---- পাশের "এই মুহূর্তের সেরা" ---- */
.topslider__side {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.topslider__side-head {
  padding: 14px 20px 12px;
  border-bottom: 2px solid var(--red);
  background: linear-gradient(180deg, #fff, #fdfbf7);
}
.topslider__side-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.tside {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  flex: 1;
}
.tside:last-child { border-bottom: none; }
.tside:hover { background: #fbf7f0; }

.tside__no {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 26px;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--red);
  line-height: 1;
  padding-top: 3px;
  flex-shrink: 0;
}
.tside__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 6px;
}
.tside:hover .tside__title { color: var(--red); }
.tside__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }

/* ---- ৩-কলাম বিশেষ সংবাদ স্ট্রিপ ---- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.fstrip__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.fstrip__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fstrip__media { aspect-ratio: 16 / 9; overflow: hidden; }
.fstrip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.fstrip__item:hover .fstrip__media img { transform: scale(1.06); }
.fstrip__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; }
.fstrip__title {
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}
.fstrip__item:hover .fstrip__title { color: var(--red); }
.fstrip__meta { font-size: 12.5px; color: var(--muted); }

/* ---- বিলবোর্ড বিজ্ঞাপন ---- */
.ad-box--billboard, .ad-box--footer {
  min-height: 116px;
  margin-top: 18px;
  margin-bottom: 6px;
}
.ad-box--footer { margin-bottom: 18px; }

.ad-slot { margin-top: 18px; text-align: center; }
.ad-slot ins { max-width: 100%; }

/* ---- আবহাওয়া: ৩ দিনের পূর্বাভাস ---- */
.weather__days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.wdays__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px 14px;
}
.wdays__item + .wdays__item { border-left: 1px solid var(--line); }
.wdays__name { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.wdays__icon { font-size: 21px; }
.wdays__temp { font-size: 12.5px; font-weight: 700; color: var(--ink); }

/* ---- মোবাইল ---- */
@media (max-width: 1020px) {
  .topslider__wrap { grid-template-columns: 1fr; }
  .topslider__side { order: 2; }
  .slider { aspect-ratio: 16 / 10; min-height: 260px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topslider { margin-top: 14px; }
  .slider { aspect-ratio: 16 / 11.5; min-height: 230px; border-radius: 12px; }
  .slider__body { padding: 16px 16px 18px; }
  .slider__nav { display: none; }
  .slider__excerpt { display: none; }
  .slider__dots { right: 14px; bottom: 12px; }
  .feature-strip { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .ad-box--billboard { min-height: 100px; }
}

/* ইন-আর্টিকেল বিজ্ঞাপন */
.ad-box--inread { margin: 26px 0; min-height: 120px; }
.article__body .ad-slot { margin: 26px 0; text-align: center; }
