:root{
  --blue:#1B4D91;
  --blue-dark:#123A70;
  --red:#D2001F;
  --ink:#1B1B1B;
  --ink-soft:#6B6B6B;
  --line:#E4E4E4;
  --bg:#FFFFFF;
  --bg-soft:#F4F5F7;
  --serif:'Noto Serif Bengali', serif;
  --sans:'Noto Sans Bengali', sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{ font-family:var(--sans); color:var(--ink); background:var(--bg); }
a{ color:inherit; text-decoration:none; }
img{ display:block; width:100%; height:100%; object-fit:cover; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 16px; }

/* ---------- thin top utility row ---------- */
.top-row {
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--bg-soft);
}
.top-row .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 38px;
  gap: 16px;
}
.top-row .icons {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-shrink: 0;
}
.top-row .icons a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.top-row .icons a:hover {
  color: var(--red);
  transform: scale(1.15);
}
#bn-time {
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
}

/* ---------- logo row ---------- */
.logo-row{ border-bottom:1px solid var(--line); padding:14px 0; }
.logo-row .wrap{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; }
.logo-row .search{
  display:flex; align-items:center; gap:8px; border:1px solid rgba(0, 0, 0, 0.18); border-radius:20px;
  padding:7px 14px; font-size:13px; color:var(--ink-soft); max-width:220px;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.logo-row .search:hover {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.logo-row .search i {
  color: rgba(0, 0, 0, 0.4);
  font-size: 13px;
}
.brand{ text-align:center; }
.brand h1{
  font-family:var(--serif); font-weight:800; font-size:38px; color:var(--red); line-height:1;
  position:relative; display:inline-block;
}
.brand h1::after{
  content:""; position:absolute; left:6%; right:6%; bottom:-6px; height:3px;
  background:var(--red); border-radius:3px;
  clip-path:polygon(0 40%,100% 0,100% 60%,0 100%);
}
.logo-row .right-actions{ display:flex; justify-content:flex-end; gap:10px; align-items:center; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
  font-size: 20px;
}
.btn-outline{ border:1px solid var(--line); border-radius:4px; padding:6px 14px; font-size:12.5px; font-weight:600; }
.btn-outline:hover{ border-color:var(--red); color:var(--red); }
.lang-toggle{ font-size:12.5px; font-weight:700; color:var(--ink-soft); }

/* ---------- blue category nav ---------- */
nav.cat-nav{ background:var(--blue); }
nav.cat-nav .wrap{ display:flex; justify-content:center; overflow-x:auto; }
nav.cat-nav a{
  color:#fff; font-size:14px; font-weight:600; padding:11px 15px; white-space:nowrap;
  border-right:1px solid rgba(255,255,255,.12);
}
nav.cat-nav a:hover{ background:var(--blue-dark); }
nav.cat-nav a.active{ background:var(--red); }

main{ padding-top:20px; }

/* ---------- hero ---------- */
.hero{ display:grid; grid-template-columns:2.1fr 1fr; gap:24px; }
.glance-tag{
  display:inline-flex; align-items:center; gap:6px; background:var(--red); color:#fff;
  font-size:12px; font-weight:700; padding:4px 10px; border-radius:2px; margin-bottom:12px;
}
.glance-tag::before{ content:"◆"; font-size:8px; }

.badge-num{
  position:absolute; top:8px; left:8px; background:var(--red); color:#fff;
  width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:13px; font-family:var(--serif);
}
figure.thumb{ position:relative; border-radius:2px; overflow:hidden; aspect-ratio:16/10; }

.hero-main figure{ aspect-ratio:16/9; margin-bottom:12px; }
.hero-main h2{ font-family:var(--serif); font-weight:800; font-size:26px; line-height:1.35; margin-bottom:8px; }
.hero-main p{ font-size:14.5px; color:var(--ink-soft); line-height:1.65; }

.hero-sub-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:18px; }
.hero-sub-grid h4{ font-family:var(--serif); font-weight:700; font-size:14.5px; line-height:1.4; margin-top:8px; }

.side-list {

  margin-top: 40px;
}
.side-list h3.head{
  font-family:var(--serif); font-weight:700; font-size:16px; color:var(--red);
  border-bottom:2px solid var(--red); padding-bottom:8px; margin-bottom:4px; display:inline-block;
}
.side-item{ display:flex; gap:10px; padding:11px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.side-item .dot{
  width:20px; height:20px; border-radius:50%; background:var(--red); color:#fff; font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px; font-family:var(--serif);
}
.side-item h5{ font-size:13.5px; font-weight:600; line-height:1.45; }
.side-item .t{ font-size:11px; color:var(--ink-soft); margin-top:3px; }

/* ---------- ad band ---------- */
.ad-band{
  margin-top:26px; border-radius:4px; overflow:hidden;
  background:linear-gradient(120deg,#0B6E4F,#149463 55%,#1FAE79);
  padding:18px 26px; display:flex; align-items:center; justify-content:space-between; color:#fff;
}
.ad-band .l{ font-family:var(--serif); font-weight:700; font-size:20px; }
.ad-band .s{ font-size:12px; opacity:.85; margin-top:4px; }
.ad-band .cta{ background:#fff; color:#0B6E4F; font-weight:700; font-size:13px; padding:8px 18px; border-radius:20px; }

/* ---------- section header ---------- */
.sec-head{ display:flex; align-items:center; justify-content:space-between; margin:36px 0 16px; }
.sec-head h3{
  font-family:var(--serif); font-weight:700; font-size:19px; color:var(--ink);
  border-left:4px solid var(--red); padding-left:10px;
}
.sec-head .more{ font-size:12.5px; color:var(--blue); font-weight:600; }

.sec-head-ribbon {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 36px 0 16px;
  border-bottom: 2px solid #1B4D91;
  position: relative;
}
.sec-head-ribbon .left-side {
  display: flex;
  align-items: flex-end;
  padding-bottom: 0px;
}
.sec-head-ribbon h3 {
  background-color: #1B4D91;
  color: white;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  padding: 6px 15px;
  margin: 0;
  position: relative;
  line-height: 1.4;
  z-index: 2;
}
.sec-head-ribbon h3 a { color: white; text-decoration: none; }
.sec-head-ribbon h3::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 18.5px solid transparent;
  border-left: 20px solid #1B4D91;
  border-bottom: 18.5px solid transparent;
}
.sec-head-ribbon .sub-cats {
  display: flex;
  align-items: stretch;
  gap: 5px;
  margin-left: 30px;
}
.sec-head-ribbon .sub-cats .ajax-tab-btn {
  font-size: 14.5px;
  color: #444;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 16px;
  background-color: #f1f4f8;
  border: 1px solid #c9d2e0;
  border-radius: 6px 6px 0 0;
  margin-bottom: 0px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}
.sec-head-ribbon .sub-cats .ajax-tab-btn:hover,
.sec-head-ribbon .sub-cats .ajax-tab-btn.active {
  background-color: #1B4D91;
  color: white;
  border-color: #1B4D91;
}
.sec-head-ribbon .sub-cats .all-btn {
  background-color: #1B4D91;
  color: white;
  padding: 6px 16px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px 6px 0 0;
  border: 1px solid #1B4D91;
  margin-bottom: 0px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}
.sec-head-ribbon .sub-cats .all-btn:hover { background-color: #123666; border-color: #123666; color: white; }
.sec-head-ribbon .more {
  font-size: 14px;
  color: #1B4D91;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding-bottom: 5px;
}

/* ---------- video row ---------- */
.video-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.video-card figure{ aspect-ratio:16/10; position:relative; border-radius:2px; overflow:hidden; }
.play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.play::after{
  content:"▶"; width:40px; height:40px; border-radius:50%; background:rgba(210,0,31,.9); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:14px; padding-left:3px;
}
.video-card h5{ font-size:13.5px; font-weight:600; margin-top:8px; line-height:1.4; }

/* ---------- Category Sections Layout ---------- */
.category-section-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.cat-row-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cat-card-style-1 {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.cat-row-1 .cat-card-style-1:first-child::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.cat-card-style-1 .card-content {
  flex: 1;
}
.cat-card-style-1 .card-content h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.cat-card-style-1 .card-content h4 a {
  color: var(--ink);
  text-decoration: none;
}
.cat-card-style-1 .card-content h4 a:hover {
  color: var(--red);
}
.cat-card-style-1 .card-content p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 8px;
}
.cat-card-style-1 .card-content .time {
  font-size: 11px;
  color: var(--ink-soft);
}
.cat-card-style-1 .card-img {
  width: 100px;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.cat-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 20px;
}
.cat-card-style-2 {
  display: flex;
  flex-direction: column;
  position: relative;
}
.cat-row-2 .cat-card-style-2:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.cat-card-style-2 .card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  margin-bottom: 10px;
}
.cat-card-style-2 .card-content h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.cat-card-style-2 .card-content h4 a {
  color: var(--ink);
  text-decoration: none;
}
.cat-card-style-2 .card-content h4 a:hover {
  color: var(--red);
}
.cat-card-style-2 .card-content .time {
  font-size: 11px;
  color: var(--ink-soft);
}

.cat-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}
.cat-card-style-3 {
  display: flex;
  flex-direction: column;
  position: relative;
}
.cat-row-3 .cat-card-style-3:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.cat-card-style-3 h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.cat-card-style-3 h4 a {
  color: var(--ink);
  text-decoration: none;
}
.cat-card-style-3 h4 a:hover {
  color: var(--red);
}
.cat-card-style-3 .time {
  font-size: 11px;
  color: var(--ink-soft);
}

/* ---------- Sports Section Layout ---------- */
.sports-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sports-title .blue-dot {
  width: 10px;
  height: 10px;
  background-color: #0066cc;
  border-radius: 50%;
  display: inline-block;
}
.sports-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.sports-main {
  display: flex;
  flex-direction: column;
}
.sports-hero-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.sports-hero-img {
  aspect-ratio: 16/9;
  position: relative;
  margin: 0;
  width: 100%;
}
.sports-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0) 100%);
  padding: 24px 20px 16px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sports-hero-overlay h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #fff;
}
.sports-hero-overlay h4 a {
  color: #fff;
  text-decoration: none;
}
.sports-hero-overlay h4 a:hover {
  text-decoration: underline;
}
.sports-hero-overlay .time {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
}

.sports-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}
.sports-grid-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.sports-bottom-grid .sports-grid-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.sports-grid-card .card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  margin-bottom: 10px;
}
.sports-grid-card .card-content h5 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.sports-grid-card .card-content h5 a {
  color: var(--ink);
  text-decoration: none;
}
.sports-grid-card .card-content h5 a:hover {
  color: var(--red);
}
.sports-grid-card .card-content .time {
  font-size: 11px;
  color: var(--ink-soft);
}

.sports-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sports-ad {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8f9fa;
  min-height: 100px;
}
.mock-sports-ad {
  padding: 12px;
  text-align: center;
}
.mock-sports-ad .ad-tag {
  font-size: 9px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.sports-side-list {
  display: flex;
  flex-direction: column;
}
.sports-side-card {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.sports-side-list .sports-side-card:first-child {
  padding-top: 0;
}
.sports-side-list .sports-side-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sports-side-card .card-content {
  flex: 1;
}
.sports-side-card .card-content h6 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 6px;
}
.sports-side-card .card-content h6 a {
  color: var(--ink);
  text-decoration: none;
}
.sports-side-card .card-content h6 a:hover {
  color: var(--red);
}
.sports-side-card .card-content .time {
  font-size: 11px;
  color: var(--ink-soft);
}
.sports-side-card .card-img {
  width: 90px;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

/* ---------- dark multimedia section ---------- */
.dark-sec{ background:#141414; color:#fff; margin-top:44px; padding:30px 0; }
.dark-sec .sec-head h3{ color:#fff; border-left-color:var(--red); }
.dark-sec .sec-head .more{ color:#9fc4ff; }
.dark-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:18px; }
.dark-grid figure{ aspect-ratio:16/10; border-radius:2px; overflow:hidden; margin-bottom:10px; position:relative; }
.dark-grid h4{ font-family:var(--serif); font-weight:700; font-size:16px; line-height:1.4; }
.dark-grid .big h4{ font-size:20px; }
.dark-grid p.t{ font-size:11.5px; color:#aaa; margin-top:6px; }

/* art placeholders */
.art{ position:relative; background-size:cover; }
.art1{ background:linear-gradient(135deg,#8f2233,#c46b3f 60%,#e2b465);}
.art2{ background:linear-gradient(135deg,#0B4A7A,#1c7fb8 55%,#8fd0e8);}
.art3{ background:linear-gradient(135deg,#2b3a67,#4d6fae 60%,#a9c6e8);}
.art4{ background:linear-gradient(135deg,#5b3a29,#a6733f 60%,#e7c07a);}
.art5{ background:linear-gradient(135deg,#7a1f3d,#b4933e 65%,#f1dca6);}
.art6{ background:linear-gradient(135deg,#233d2e,#5f8f6a 55%,#c9dfc0);}
.art7{ background:linear-gradient(135deg,#4a2d5c,#8a5aa3 55%,#dcbfe6);}
.art8{ background:linear-gradient(135deg,#1d2b3a,#39566f 55%,#9db9c9);}
.art9{ background:linear-gradient(135deg,#6e2020,#b45c3e 60%,#e8a25f);}
.art10{ background:linear-gradient(135deg,#0e3d2f,#1c6b52 55%,#6fbf9c);}
.art::after{ content:""; position:absolute; inset:0; background-image:repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 6px); }

/* ---------- footer ---------- */
footer{ background:var(--blue-dark); color:#cfe0f5; margin-top:0; padding:38px 0 20px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:26px; }
footer h5{ color:#fff; font-family:var(--serif); font-size:14.5px; margin-bottom:12px; text-align: left; }
footer ul{ list-style:none; display:flex; flex-direction:column; gap:7px; font-size:13px; text-align: left; align-items: flex-start; padding: 0; }
footer ul a:hover{ color:#fff; }
footer .brand2 h1{ font-family:var(--serif); color:#fff; font-size:24px; font-weight:800; }
footer .brand2 p{ font-size:12.5px; opacity:.8; margin-top:8px; max-width:280px; line-height:1.6; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.15); margin-top:26px; padding-top:16px; font-size:11.5px; opacity:.75; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

@media (max-width:900px){
  .hero{ grid-template-columns:1fr; }
  .video-row{ grid-template-columns:repeat(2,1fr); }
  .mix-grid, .dark-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .hero-sub-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; }
  .logo-row .wrap{ grid-template-columns:1fr; text-align:center; }
  .logo-row .search, .right-actions{ display:none; }
}

/* ---------- latest news (feature flags) section ---------- */
.latest-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 10px;
}
.latest-lead-card {
  display: flex;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.latest-lead-card .lead-img-container {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.latest-lead-card .lead-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  width: 100%;
}
.latest-lead-card .image-caption {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.latest-lead-card .lead-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.latest-lead-card .lead-content h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.latest-lead-card .lead-content h2 a:hover {
  color: var(--red);
}
.latest-lead-card .lead-content p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}
.latest-lead-card .lead-content .time {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: auto;
}

.latest-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.latest-card-style-2 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.latest-card-style-2 .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.latest-card-style-2 .card-content h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.latest-card-style-2 .card-content h4 a:hover {
  color: var(--red);
}
.latest-card-style-2 .card-content p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 8px;
}
.latest-card-style-2 .card-content .time {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: auto;
}
.latest-card-style-2 .card-img {
  width: 100px;
  aspect-ratio: 16/10;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.latest-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.latest-card-style-3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.latest-card-style-3 .card-img {
  aspect-ratio: 16/10;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.latest-card-style-3 .card-content {
  display: flex;
  flex-direction: column;
}
.latest-card-style-3 .card-content h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.latest-card-style-3 .card-content h4 a:hover {
  color: var(--red);
}
.latest-card-style-3 .card-content .time {
  font-size: 11px;
  color: var(--ink-soft);
}

.latest-row-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 20px;
  padding-bottom: 10px;
}
.latest-card-style-4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.latest-card-style-4 .card-img {
  aspect-ratio: 16/10;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.latest-card-style-4 .card-content {
  display: flex;
  flex-direction: column;
}
.latest-card-style-4 .card-content h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.latest-card-style-4 h4 a:hover {
  color: var(--red);
}
.latest-card-style-4 p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 8px;
}
.latest-card-style-4 .time {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: auto;
}

/* Layout 1: Big Left, List Right */
.layout-1-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  padding-bottom: 24px;
}
.layout-1-main .card-img {
  aspect-ratio: 16 / 9;
  position: relative;
  margin-bottom: 15px;
}
.layout-1-main .card-content h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.layout-1-main .card-content p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  line-height: 1.6;
}
.layout-1-main .card-content .time {
  font-size: 13px;
  color: #777;
}
.layout-1-sidebar {
  display: flex;
  flex-direction: column;
}
.layout-1-list-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.layout-1-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.layout-1-list-item .card-img {
  aspect-ratio: 16 / 10;
  position: relative;
}
.layout-1-list-item .card-content h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}
.layout-1-list-item .card-content p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Layout 2: 2 Left, 1 Big Center, 2 Right */
.layout-2-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 20px;
  padding-bottom: 24px;
}
.layout-2-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.layout-2-grid-item {
  display: flex;
  flex-direction: column;
}
.layout-2-grid-item .card-img {
  aspect-ratio: 16 / 10;
  position: relative;
  margin-bottom: 10px;
}
.layout-2-grid-item h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.35;
}
.layout-2-center {
  position: relative;
  display: flex;
  flex-direction: column;
}
.layout-2-center .card-img {
  height: 100%;
  position: relative;
  min-height: 300px;
}
.layout-2-center .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-2-center .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  color: white;
}
.layout-2-center .card-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
}
.layout-2-center .card-content h3 a {
  color: white;
  text-decoration: none;
}
.layout-2-center .card-content h3 a:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .latest-card-style-2:first-child {
    position: relative;
  }
  .latest-card-style-2:first-child::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }

  .latest-card-style-3:not(:last-child) {
    position: relative;
  }
  .latest-card-style-3:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }

  .latest-card-style-4:not(:last-child) {
    position: relative;
  }
  .latest-card-style-4:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }
}

@media (max-width: 900px) {
  .latest-lead-card {
    flex-direction: column;
  }
  .latest-row-2, .latest-row-3, .latest-row-4 {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .latest-card-style-2, .latest-card-style-3, .latest-card-style-4 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .latest-card-style-2::after, .latest-card-style-3::after, .latest-card-style-4::after {
    display: none;
  }
  .latest-row-4 .latest-card-style-4:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Responsive Category Sections Layout */
  .cat-row-1 {
    grid-template-columns: 1fr;
    row-gap: 24px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .cat-row-1 .cat-card-style-1:first-child::after {
    display: none;
  }
  .cat-row-1 .cat-card-style-1 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .cat-row-2 {
    grid-template-columns: 1fr;
    row-gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .cat-row-2 .cat-card-style-2:not(:last-child)::after {
    display: none;
  }
  .cat-row-2 .cat-card-style-2 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .cat-row-2 .cat-card-style-2:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .cat-row-3 {
    grid-template-columns: 1fr;
    row-gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .cat-row-3 .cat-card-style-3:not(:last-child)::after {
    display: none;
  }
  .cat-row-3 .cat-card-style-3 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .cat-row-3 .cat-card-style-3:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Sports Section Responsive Layout */
  .sports-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sports-bottom-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .sports-bottom-grid .sports-grid-card:not(:last-child)::after {
    display: none;
  }
  .sports-bottom-grid .sports-grid-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .sports-bottom-grid .sports-grid-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .sports-side-list .sports-side-card:first-child {
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  /* Responsive Dynamic Layouts */
  .layout-1-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .layout-1-list-item {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }
  .layout-2-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .layout-2-center .card-img {
    min-height: 250px;
  }
}

.play-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: rgba(210, 0, 31, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 8px;
  z-index: 2;
}
.play-indicator::after {
  content: "▶";
  margin-left: 1px;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* ---- Tablet (≤ 992px) ---- */
@media (max-width: 992px) {

  /* Hero */
  .hero { grid-template-columns: 1fr; gap: 0; }
  .side-list { margin-top: 24px; border-top: 2px solid var(--red); padding-top: 16px; }

  /* Logo row: hide desktop search, keep brand centred */
  .logo-row .wrap { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .logo-row .search { display: none; }
  .logo-row .right-actions { display: none; }

  /* Video row */
  .video-row { grid-template-columns: repeat(2, 1fr); }

  /* Category grids */
  .cat-row-1 { grid-template-columns: 1fr; gap: 16px; }
  .cat-row-1 .cat-card-style-1:first-child::after { display: none; }
  .cat-row-2 { grid-template-columns: 1fr 1fr; }
  .cat-row-3 { grid-template-columns: 1fr 1fr; }

  /* Latest layout */
  .latest-row-3 { grid-template-columns: 1fr 1fr !important; }

  /* Footer grid */
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 30px; }
  .foot-grid .brand2 { grid-column: 1 / -1; }

  /* Dark gallery */
  .dark-grid { grid-template-columns: 1fr 1fr !important; }
  .dark-grid .big { grid-column: 1 / -1; }

  /* Mix grid */
  .mix-grid { grid-template-columns: 1fr 1fr !important; }

  /* Sports layouts */
  .sports-main-grid { grid-template-columns: 1fr !important; }
  .sports-bottom-grid { grid-template-columns: 1fr 1fr !important; }

  /* Sec-head-ribbon subcats scroll */
  .sec-head-ribbon { flex-wrap: wrap; gap: 8px; }
  .sec-head-ribbon .sub-cats { flex-wrap: wrap; margin-left: 0; margin-top: 8px; }
}

/* ---- Mobile landscape / small tablet (≤ 768px) ---- */
@media (max-width: 768px) {

  /* Top row: hide date, keep icons compact */
  #bn-time { display: none; }
  .top-row .wrap { justify-content: flex-end; height: 36px; gap: 12px; }
  .top-row .icons { gap: 12px; }

  /* Logo row */
  .logo-row { padding: 10px 0; }
  .logo-row .wrap { grid-template-columns: 1fr; }
  .brand h1 { font-size: 28px; }

  /* Category nav: scroll horizontally, add hamburger feel */
  nav.cat-nav .wrap {
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    scrollbar-width: none;
  }
  nav.cat-nav .wrap::-webkit-scrollbar { display: none; }
  nav.cat-nav a { font-size: 13px; padding: 9px 12px; }

  /* Hero */
  .hero-main h2 { font-size: 20px; }
  .hero-sub-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Latest layout rows */
  .latest-row-2 { grid-template-columns: 1fr !important; }
  .latest-row-3 { grid-template-columns: 1fr !important; }
  .latest-card-style-2 { flex-direction: column !important; }
  .latest-card-style-2 .card-img { width: 100% !important; aspect-ratio: 16/9; }

  /* Ad band */
  .ad-band { flex-direction: column; gap: 12px; text-align: center; padding: 14px 18px; }
  .ad-band .l { font-size: 17px; }

  /* Sec head */
  .sec-head { margin: 24px 0 12px; }
  .sec-head h3 { font-size: 16px; }

  /* Section ribbon */
  .sec-head-ribbon { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sec-head-ribbon .left-side { flex-direction: column; align-items: flex-start; }
  .sec-head-ribbon .sub-cats { margin-left: 0; flex-wrap: wrap; }
  .sec-head-ribbon .more { align-self: flex-end; }

  /* Video row */
  .video-row { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Category grids */
  .cat-row-1 { grid-template-columns: 1fr; }
  .cat-row-2 { grid-template-columns: 1fr; }
  .cat-row-2 .cat-card-style-2:not(:last-child)::after { display: none; }
  .cat-row-3 { grid-template-columns: 1fr 1fr; }
  .cat-row-3 .cat-card-style-3:not(:last-child)::after { display: none; }

  /* Dark gallery */
  .dark-grid { grid-template-columns: 1fr !important; }
  .dark-grid .big { grid-column: auto; }

  /* Mix grid */
  .mix-grid { grid-template-columns: 1fr !important; }
  .mix-col { display: none; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 20px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Sports */
  .sports-main-grid { grid-template-columns: 1fr !important; }
  .sports-bottom-grid { grid-template-columns: 1fr !important; }

  /* Layout grids */
  .layout-1-grid { grid-template-columns: 1fr !important; }
  .layout-2-grid { grid-template-columns: 1fr !important; }
  .layout-3-grid { grid-template-columns: 1fr !important; }

  /* News details */
  .article-content { font-size: 16px !important; }
}

/* ---- Mobile portrait (≤ 576px) ---- */
@media (max-width: 576px) {

  /* Global */
  .wrap { padding: 0 12px; }

  /* Top row */
  .top-row .icons .dropdown { display: none; } /* hide lang on tiny screens */
  #bn-time { display: none; }

  /* Logo */
  .brand h1 { font-size: 24px; }
  .logo-row { padding: 8px 0; }

  /* Nav */
  nav.cat-nav a { font-size: 12px; padding: 8px 10px; }

  /* Hero */
  .hero { gap: 0; }
  .hero-main h2 { font-size: 18px; }
  .hero-main p { font-size: 13.5px; }
  .hero-sub-grid { grid-template-columns: 1fr; }

  /* Latest layout */
  .latest-layout { gap: 0; }
  .latest-lead-card { flex-direction: column !important; }
  .latest-lead-card .lead-img-container { width: 100% !important; min-height: 200px; }

  /* Side list */
  .side-list h3.head { font-size: 14px; }
  .side-item h5 { font-size: 13px; }

  /* Video row */
  .video-row { grid-template-columns: 1fr; }
  .video-card h5 { font-size: 13px; }

  /* Ad band */
  .ad-band { border-radius: 0; margin-left: -12px; margin-right: -12px; }

  /* Section ribbon */
  .sec-head-ribbon h3 { font-size: 15px; padding: 5px 10px; }
  .sec-head-ribbon h3::after { display: none; }
  .sec-head-ribbon .sub-cats .ajax-tab-btn { font-size: 12px; padding: 5px 10px; }

  /* Category grids */
  .cat-row-2 { grid-template-columns: 1fr; }
  .cat-row-3 { grid-template-columns: 1fr; }
  .cat-card-style-1 { flex-direction: row; }
  .cat-card-style-1 .card-img { width: 90px !important; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr !important; }
  .brand2 h1 { font-size: 22px; }
  footer ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .foot-bottom { font-size: 11px; }

  /* Dark section */
  .dark-grid { gap: 14px; }

  /* Mix grid */
  .mix-lead { margin-bottom: 16px; }

  /* News details page - collapse sidebar below article */
  .col-lg-8, .col-lg-4 { width: 100% !important; }

  /* Sports */
  .sports-side-list { display: none; }

  /* Sec-head */
  .sec-head h3 { font-size: 15px; }
  .sec-head .more { font-size: 11px; }

  /* General grids fix */
  [class*="layout-"] { grid-template-columns: 1fr !important; }
}

/* ---- Mobile menu (hamburger) - only below 768px ---- */
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .logo-row .wrap { grid-template-columns: 1fr auto !important; justify-items: start !important; }
  .logo-row .wrap .search { display: none; }
  .logo-row .wrap .brand { grid-column: 1; justify-self: center !important; }
  .logo-row .wrap .right-actions { display: none; }

  /* Nav hidden by default on mobile, toggled by JS */
  nav.cat-nav { display: none; }
  nav.cat-nav.mobile-open {
    display: block;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  nav.cat-nav.mobile-open .wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  nav.cat-nav.mobile-open a {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 12px 16px;
    font-size: 15px;
  }
}

/* Ensure hamburger hidden and nav always visible on tablet+ */
@media (min-width: 769px) {
  .mobile-menu-btn { display: none !important; }
  nav.cat-nav { display: block !important; }
}

/* Sticky header */
.logo-row { position: sticky; top: 0; z-index: 100; background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,0.05); }

/* ---------- Print Styles ---------- */
@media print {
  body { background: white !important; color: black !important; }
  .top-row,
  .logo-row .search,
  .logo-row .right-actions,
  nav.cat-nav,
  .breadcrumb,
  .col-lg-4,
  .d-flex.align-items-center.justify-content-end.p-2.mb-4,
  .mt-5.border-top.pt-4,
  .foot-grid,
  .custom-toast,
  #readingProgress,
  iframe,
  .mobile-menu-btn {
    display: none !important;
  }
  .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  footer {
    padding: 10px 0 !important;
    background: transparent !important;
    color: black !important;
  }
  .foot-bottom {
    border-top: 1px solid #000 !important;
    color: black !important;
  }
  main {
    padding: 0 !important;
  }
  .glass-card {
    box-shadow: none !important;
    border: none !important;
  }
  .logo-row {
    position: static !important;
    box-shadow: none !important;
  }
  a {
    text-decoration: none !important;
  }
}
