:root {
  /* Green TV Brand Colors (derived from official logo & #044233 theme-color) */
  --brand-forest: #044233;
  --brand-forest-dark: #022b21;
  --brand-emerald: #00a859;
  --brand-emerald-light: #10b981;
  --brand-emerald-soft: rgba(0, 168, 89, 0.1);
  --brand-lime: #72e000;
  --brand-crimson: #e11d48;
  --brand-crimson-soft: rgba(225, 29, 72, 0.12);
  --brand-amber: #f59e0b;

  /* Light Theme Surface & Text Tokens */
  --bg-page: #f4f7f5;
  --bg-surface: #ffffff;
  --bg-surface-alt: #edf2ef;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --text-primary: #0f1f18;
  --text-secondary: #3b4f46;
  --text-muted: #647a70;
  --border-subtle: #dde6e1;
  --border-strong: #c3d3cb;

  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(4, 66, 51, 0.06), 0 1px 2px rgba(4, 66, 51, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(4, 66, 51, 0.08), 0 4px 10px -2px rgba(4, 66, 51, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(4, 66, 51, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Typography */
  --font-sans: 'Hind Siliguri', 'Noto Serif Bengali', system-ui, -apple-system, sans-serif;
  --font-serif: 'Noto Serif Bengali', 'Hind Siliguri', Georgia, serif;
  --container-max: 1320px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-page: #07110e;
  --bg-surface: #0e1d18;
  --bg-surface-alt: #142821;
  --bg-elevated: #162d25;
  --bg-glass: rgba(14, 29, 24, 0.9);
  --text-primary: #ecf5f0;
  --text-secondary: #b5cbc0;
  --text-muted: #7e998c;
  --border-subtle: #1e382e;
  --border-strong: #2b4f41;
  --brand-emerald-soft: rgba(16, 185, 129, 0.16);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-emerald);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

/* ==========================================
   1. TOP UTILITY BAR & BREAKING NEWS TICKER
   ========================================== */
.top-utility-bar {
  background: var(--brand-forest-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.utility-item i {
  color: var(--brand-lime);
  font-size: 0.82rem;
}

.utility-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.2);
}

.utility-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background var(--transition), transform var(--transition);
}

.utility-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.social-links-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links-mini a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}

.social-links-mini a:hover {
  background: var(--brand-emerald);
  transform: translateY(-1px);
}

/* Breaking Ticker Bar */
.breaking-ticker-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
}

.breaking-ticker-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
}

.ticker-badge {
  background: linear-gradient(135deg, var(--brand-crimson), #be123c);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.28);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: pulseDot 1.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.25); opacity: 1; }
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
  animation: tickerSlide 42s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

.ticker-item:hover {
  color: var(--brand-emerald);
}

.ticker-bullet {
  color: var(--brand-emerald);
  font-size: 0.65rem;
}

/* ==========================================
   2. MAIN BROADCAST HEADER & STICKY NAVBAR
   ========================================== */
.site-header {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.25rem;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--brand-forest);
  letter-spacing: -0.01em;
}

[data-theme="dark"] .brand-title {
  color: var(--brand-emerald-light);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Search Bar in Header */
.header-search-wrap {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.header-search-input {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.55rem 2.6rem 0.55rem 2.5rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--brand-emerald);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--brand-emerald-soft);
}

.search-icon-left {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-kbd {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-live-tv {
  background: linear-gradient(135deg, var(--brand-crimson), #be123c);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-live-tv:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.42);
}

.btn-programs {
  background: var(--brand-emerald-soft);
  color: var(--brand-forest);
  border: 1px solid rgba(0, 168, 89, 0.25);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background var(--transition), color var(--transition);
}

[data-theme="dark"] .btn-programs {
  color: var(--brand-emerald-light);
}

.btn-programs:hover {
  background: var(--brand-emerald);
  color: #fff;
}

.btn-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.btn-icon-circle:hover {
  border-color: var(--brand-emerald);
  color: var(--brand-emerald);
}

/* Category Navigation Strip */
.category-nav-wrap {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.35rem 0;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill {
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.nav-pill:hover {
  background: var(--bg-surface-alt);
  color: var(--brand-emerald);
}

.nav-pill.active {
  background: var(--brand-forest);
  color: #fff;
}

[data-theme="dark"] .nav-pill.active {
  background: var(--brand-emerald);
  color: #fff;
}

/* ==========================================
   3. HERO BENTO GRID (LEAD + SUBLEADS + LIVE TV)
   ========================================== */
.hero-section {
  padding: 1.5rem 0 1rem;
}

.hero-bento {
  display: grid;
  grid-template-columns: 3fr 5.5fr 3.5fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* Left Column: 2 Stacked Featured Cards */
.hero-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  position: relative;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
  background: var(--bg-surface-alt);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.news-card:hover .card-media img {
  transform: scale(1.04);
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  width: fit-content;
}

.cat-badge.overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(4, 66, 51, 0.9);
  color: #fff;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--text-primary);
  transition: color var(--transition);
}

.news-card:hover .card-title {
  color: var(--brand-emerald);
}

.card-excerpt {
  font-family: var(--font-serif);
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-subtle);
}

/* Center Column: Main Lead Story */
.lead-story-card {
  height: 100%;
}

.lead-story-card .card-media {
  aspect-ratio: 16 / 9.6;
}

.lead-story-card .card-body {
  padding: 1.35rem 1.5rem;
  gap: 0.75rem;
}

.lead-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lead-tag {
  background: var(--brand-crimson-soft);
  color: var(--brand-crimson);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.lead-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text-primary);
}

.lead-story-card:hover .lead-title {
  color: var(--brand-emerald);
}

.lead-excerpt {
  font-family: var(--font-serif);
  font-size: 1.03rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lead-sublist {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lead-subitem {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-secondary);
  cursor: pointer;
}

.lead-subitem i {
  color: var(--brand-emerald);
  margin-top: 0.28rem;
  font-size: 0.75rem;
}

.lead-subitem:hover {
  color: var(--brand-emerald);
}

/* Right Column: Live Broadcast Player + Quick Briefing */
.hero-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.live-broadcast-box {
  background: linear-gradient(160deg, #06281f 0%, #031712 100%);
  color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: var(--shadow-md);
}

.live-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-box-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.live-on-air-pill {
  background: var(--brand-crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-box-controls {
  display: flex;
  gap: 0.4rem;
}

.live-ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition);
}

.live-ctrl-btn:hover, .live-ctrl-btn.active {
  background: var(--brand-emerald);
  border-color: var(--brand-emerald);
}

.live-player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.live-player-facade {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(4, 66, 51, 0.85), rgba(2, 18, 14, 0.98)),
              url('assets/logo.png') center/130px no-repeat;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
}

.play-pulse-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-crimson);
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  animation: pulseRing 2s infinite;
  margin-bottom: 0.65rem;
  cursor: pointer;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.live-player-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.live-now-playing {
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Compact Media List in Hero Right */
.compact-stack {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.compact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.compact-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.compact-thumb {
  width: 88px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface-alt);
}

.compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-primary);
  transition: color var(--transition);
}

.compact-item:hover .compact-info h4 {
  color: var(--brand-emerald);
}

.compact-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ==========================================
   4. MAIN EDITORIAL WORKSPACE + SIDEBAR
   ========================================== */
.editorial-layout {
  display: grid;
  grid-template-columns: 8.5fr 3.5fr;
  gap: 1.75rem;
  padding: 1.5rem 0;
  align-items: start;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-subtle);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 90px;
  height: 3px;
  background: var(--brand-emerald);
  border-radius: 2px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.section-title-accent {
  width: 10px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-emerald), var(--brand-forest));
  display: inline-block;
}

.section-more-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-emerald);
  background: var(--brand-emerald-soft);
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background var(--transition), color var(--transition);
}

.section-more-btn:hover {
  background: var(--brand-emerald);
  color: #fff;
}

/* News Grid 3-Column & 2-Column */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.25rem;
}

.news-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.25rem;
}

/* Category Split Feature (1 Large Left + 4 List Right) */
.category-split-block {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.split-list-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.split-list-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.split-list-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.split-list-thumb {
  width: 118px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-surface-alt);
}

.split-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.split-list-item:hover .split-list-thumb img {
  transform: scale(1.05);
}

.split-list-content h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color var(--transition);
}

.split-list-item:hover .split-list-content h4 {
  color: var(--brand-emerald);
}

/* ==========================================
   5. SIDEBAR WIDGETS (LATEST/POPULAR, AREA FINDER, OPINION, POLL)
   ========================================== */
.editorial-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 5.5rem;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}

.tab-btn {
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.96rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.tab-btn.active {
  background: var(--bg-surface);
  color: var(--brand-emerald);
  border-bottom-color: var(--brand-emerald);
}

.ranked-news-list {
  max-height: 430px;
  overflow-y: auto;
  padding: 0.5rem 1rem;
}

.ranked-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.ranked-item:last-child {
  border-bottom: none;
}

.rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand-emerald-soft);
  color: var(--brand-forest);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .rank-badge {
  color: var(--brand-emerald-light);
}

.ranked-item:hover .rank-badge {
  background: var(--brand-emerald);
  color: #fff;
}

.ranked-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.42;
  color: var(--text-primary);
  transition: color var(--transition);
}

.ranked-item:hover h4 {
  color: var(--brand-emerald);
}

.ranked-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* My Area News Widget (এলাকার খবর) */
.widget-padded {
  padding: 1.2rem;
}

.widget-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.widget-title i {
  color: var(--brand-emerald);
}

.area-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.form-select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-weight: 500;
}

.form-select:focus {
  outline: none;
  border-color: var(--brand-emerald);
}

.btn-primary-full {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-forest);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition);
}

.btn-primary-full:hover {
  background: var(--brand-emerald);
}

/* Opinion & Editorial Column Widget */
.opinion-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.opinion-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.opinion-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-emerald);
  flex-shrink: 0;
}

.opinion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opinion-info h4 {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.38;
}

.opinion-card:hover .opinion-info h4 {
  color: var(--brand-emerald);
}

.opinion-author {
  font-size: 0.8rem;
  color: var(--brand-emerald);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Interactive Reader Poll */
.poll-question {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.poll-option-btn {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.poll-option-btn:hover {
  border-color: var(--brand-emerald);
}

.poll-option-btn.voted {
  border-color: var(--brand-emerald);
}

.poll-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--brand-emerald-soft);
  width: 0%;
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.poll-option-text, .poll-option-pct {
  position: relative;
  z-index: 1;
}

.poll-option-pct {
  color: var(--brand-emerald);
  font-weight: 700;
}

/* ==========================================
   6. GREEN TV SHORTS & VIDEO REELS HUB (LAZY-LOADED)
   ========================================== */
.shorts-section {
  background: linear-gradient(180deg, #06251d 0%, #031410 100%);
  color: #fff;
  padding: 2.5rem 0;
  margin: 1.5rem 0 2.5rem;
}

.shorts-section .section-header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.shorts-section .section-title {
  color: #fff;
}

.shorts-carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.short-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9 / 15.2;
  background: #10241e;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), border-color var(--transition);
}

.short-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-lime);
}

.short-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.short-card:hover img {
  transform: scale(1.06);
}

.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
}

.short-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.short-badge {
  background: rgba(225, 29, 72, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.short-duration {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
}

.short-play-center {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-size: 1.1rem;
  transition: background var(--transition), transform var(--transition);
}

.short-card:hover .short-play-center {
  background: var(--brand-crimson);
  border-color: var(--brand-crimson);
  transform: scale(1.1);
}

.short-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.38;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-views {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.3rem;
}

/* ==========================================
   7. MULTI-CATEGORY SHOWCASE BLOCKS
   ========================================== */
.multi-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.cat-column-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cat-col-lead {
  cursor: pointer;
}

.cat-col-lead-img {
  aspect-ratio: 16 / 9.5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.65rem;
  background: var(--bg-surface-alt);
}

.cat-col-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-col-lead h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
}

.cat-col-lead:hover h3 {
  color: var(--brand-emerald);
}

.cat-col-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.cat-col-mini-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.cat-col-mini-item i {
  color: var(--brand-emerald);
  margin-top: 0.3rem;
  font-size: 0.75rem;
}

.cat-col-mini-item:hover {
  color: var(--brand-emerald);
}

/* ==========================================
   8. FOOTER (COMPLETE BROADCAST CREDENTIALS)
   ========================================== */
.site-footer {
  background: #041d16;
  color: rgba(255, 255, 255, 0.86);
  border-top: 4px solid var(--brand-emerald);
  padding: 3rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-box img {
  height: 64px;
  background: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-heading::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--brand-lime);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links button, .footer-links a {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links button:hover, .footer-links a:hover {
  color: var(--brand-lime);
  transform: translateX(3px);
}

.editorial-credential-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.credential-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-lime);
}

.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   9. MODALS (ARTICLE READER, SCHEDULE, CONVERTER, LEGAL, VIDEO)
   ========================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 14, 0.78);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalPop 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.modal-close-btn:hover {
  background: var(--brand-crimson);
  color: #fff;
  border-color: var(--brand-crimson);
}

.modal-body {
  padding: 1.5rem;
}

.article-reader-title {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.65rem 0 1rem;
}

.article-reader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.font-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.font-ctrl-btn {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
  cursor: pointer;
  font-weight: 700;
}

.font-ctrl-btn:hover {
  border-color: var(--brand-emerald);
  color: var(--brand-emerald);
}

.article-reader-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.35rem;
  background: var(--bg-surface-alt);
}

.article-reader-hero img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.article-reader-content {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Schedule Table inside Modal */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-alt);
}

.schedule-row.live {
  border-color: var(--brand-crimson);
  background: var(--brand-crimson-soft);
}

/* Floating Mini Live TV Player */
.floating-pip {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 340px;
  background: #041d16;
  color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--brand-emerald);
  z-index: 1500;
  display: none;
}

.floating-pip.active {
  display: block;
}

/* Active Category Filter Banner */
.filter-banner {
  background: var(--brand-emerald-soft);
  border: 1px solid rgba(0, 168, 89, 0.3);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.25rem;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.filter-banner.active {
  display: flex;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .hero-bento {
    grid-template-columns: 1fr 1fr;
  }
  .hero-col-left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .lead-story-card {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }
  .hero-col-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .editorial-layout {
    grid-template-columns: 1fr;
  }
  .editorial-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .shorts-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
  .multi-cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-main {
    flex-wrap: wrap;
  }
  .header-search-wrap {
    order: 3;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .hero-bento,
  .news-grid-3,
  .news-grid-2,
  .category-split-block,
  .editorial-sidebar,
  .multi-cat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-col-left, .hero-col-right, .lead-story-card {
    grid-column: auto;
    grid-row: auto;
  }
  .shorts-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .lead-title {
    font-size: 1.4rem;
  }
  .lead-sublist {
    grid-template-columns: 1fr;
  }
}

@media print {
  .top-utility-bar, .breaking-ticker-bar, .site-header, .shorts-section, .editorial-sidebar, .site-footer, .floating-pip {
    display: none;
  }
}
