/* ==========================================================================
   THEME 2: breaking_dark — Dark Broadcast TV Newsroom Design
   Same shared CMS DB, completely different dark high-impact broadcast visual
   ========================================================================== */
:root {
  --bg: #070b14;
  --surface: #111827;
  --surface-2: #1a2335;
  --accent: #ef4444;
  --gold: #f59e0b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #243047;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans Telugu', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

.bd-topbar {
  background: #020617;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  padding: 7px 0;
  color: var(--muted);
}
.bd-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bd-pills { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bd-pills a { padding: 3px 9px; border-radius: 4px; background: var(--surface); color: #e2e8f0; font-size: 11px; }
.bd-pills a.active { background: var(--accent); color: #fff; font-weight: 700; }

.bd-header {
  background: linear-gradient(90deg, #0b1120 0%, #172038 100%);
  border-bottom: 2px solid var(--accent);
  padding: 14px 0;
}
.bd-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.bd-brand { display: flex; align-items: center; gap: 14px; }
.bd-menu-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.bd-logo { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; color: #fff; }
.bd-logo span { color: var(--accent); }
.bd-sub { font-size: 12px; color: var(--gold); font-weight: 600; }

.bd-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.bd-nav-list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
}
.bd-nav-list a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #cbd5e1;
}
.bd-nav-list a:hover, .bd-nav-list a.active { background: var(--accent); color: #fff; }

.bd-ticker {
  background: #450a0a;
  border-bottom: 1px solid #7f1d1d;
  padding: 8px 0;
}
.bd-ticker-inner { display: flex; gap: 14px; align-items: center; overflow: hidden; }
.bd-live-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
.bd-ticker-track { display: flex; gap: 28px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 13px; font-weight: 600; }

.bd-main { padding: 24px 0 60px; }
.bd-hero { display: grid; grid-template-columns: 1.8fr 1fr; gap: 22px; margin-bottom: 32px; }
.bd-hero-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
  background: var(--surface);
}
.bd-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.bd-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
  background: linear-gradient(0deg, rgba(7,11,20,0.96) 15%, rgba(7,11,20,0.4) 75%, transparent);
}
.bd-hero-overlay h1 { margin: 8px 0; font-size: 28px; line-height: 1.25; }

.bd-wire {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.bd-wire h2 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.bd-wire-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.bd-wire-item:last-child { border-bottom: none; }
.bd-wire-item a { font-size: 14px; font-weight: 700; display: block; }
.bd-wire-item a:hover { color: var(--gold); }

.bd-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.bd-section-title h2 { margin: 0; font-size: 20px; }
.bd-grid-3 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bd-grid-4 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bd-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bd-card img { width: 100%; height: 118px; object-fit: cover; display: block; }
.bd-card-body { padding: 10px 11px; flex: 1; display: flex; flex-direction: column; }
.bd-card h3 { margin: 4px 0 5px; font-size: 13.2px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bd-card p { margin: 0 0 6px; font-size: 11.8px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1200px) { .bd-grid-3, .bd-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bd-badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--gold); text-transform: uppercase; }
.bd-badge.hot { background: var(--accent); color: #fff; }
.bd-badge.govt { background: #14532d; color: #86efac; }
.bd-badge.private { background: #1e3a8a; color: #93c5fd; }

/* Dark Drawer */
.kt-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.kt-backdrop.open { opacity: 1; pointer-events: auto; }
.kt-drawer {
  position: fixed; top: 10px; bottom: 10px; left: 10px; width: 330px; max-width: calc(100vw - 20px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; z-index: 100;
  transform: translateX(-115%); transition: transform 0.25s; display: flex; flex-direction: column;
}
.kt-drawer.open { transform: translateX(0); }
.kt-drawer-head { padding: 16px 20px; border-bottom: 1px solid var(--border); text-align: center; position: relative; }
.kt-drawer-close { position: absolute; top: 12px; right: 12px; background: var(--surface-2); color: #fff; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.kt-drawer-body { flex: 1; overflow-y: auto; padding: 10px 20px; }
.drawer-acc { border-bottom: 1px solid var(--border); }
.drawer-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 13.5px; font-weight: 700; color: #e2e8f0; }
.drawer-chev { background: none; border: none; color: var(--gold); cursor: pointer; }
.drawer-sublist { display: none; padding: 0 0 10px 10px; }
.drawer-acc.expanded .drawer-sublist { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drawer-sublist a { font-size: 12px; color: var(--muted); padding: 3px 0; }
.yt-thumb-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.yt-thumb-wrap img, .yt-thumb-wrap iframe { width: 100%; height: 100%; object-fit: cover; }
.yt-play-btn { position: absolute; inset: 0; margin: auto; width: 52px; height: 36px; border-radius: 8px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }

.bd-footer { background: #020617; border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .bd-hero { grid-template-columns: 1fr; } .bd-grid-3, .bd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
