/* ==========================================================================
   MAHARASHTRA POLICE TIMES (महाराष्ट्र पोलीस टाईम्स)
   Mobile-First Responsive Stylesheet
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --police-blue: #0b1f44;
  --police-blue-light: #163870;
  --police-blue-dark: #061229;
  --police-gold: #ffb703;
  --police-gold-hover: #e09f00;
  --police-gold-light: #fff3d1;
  --accent-red: #d90429;
  --accent-green: #10b981;
  
  /* Neutral Colors (Light Theme) */
  --bg-main: #f4f6f9;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* UI Elements */
  --header-bg: #ffffff;
  --nav-bar-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(11,31,68,0.08);
  --shadow-lg: 0 10px 25px -5px rgba(11,31,68,0.12), 0 8px 10px -6px rgba(11,31,68,0.06);
  --shadow-glow: 0 0 20px rgba(255,183,3,0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-main: #0a0f1d;
  --bg-card: #111a2e;
  --bg-card-subtle: #16223b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1e2e4f;
  --border-light: #162442;
  --header-bg: #0d1629;
  --nav-bar-bg: #0d1629;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.6);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: 'Mukta', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: 74px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

/* ==========================================================================
   SPLASH SCREEN OVERLAY
   ========================================================================== */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060d1b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-video-container {
  width: 100%;
  max-width: 720px;
  height: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(14,36,80,0.6) 0%, #060d1b 75%);
}

.splash-video {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border-radius: 8px;
}

.splash-top-bar {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.splash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.splash-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--police-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--police-gold);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.splash-controls-bottom {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.splash-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.splash-sound-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.splash-skip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--police-gold), #e09f00);
  color: #0b1f44;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.splash-skip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.6);
}

.splash-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--police-gold);
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--police-gold);
}

/* ==========================================================================
   SWEET TOP INFO BAR (Clean Single Line, No Temperature)
   ========================================================================== */
.top-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0 14px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--police-blue);
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm, 8px);
  user-select: none;
  -webkit-tap-highlight-color: rgba(11, 57, 133, 0.15);
  transition: background 0.15s ease, transform 0.1s ease;
}

.top-bar-left:hover {
  background: rgba(11, 57, 133, 0.08);
}

.top-bar-left:active {
  transform: scale(0.97);
  background: rgba(11, 57, 133, 0.14);
}

.top-bar-calendar-icon {
  color: #0b3985;
  font-size: 0.95rem;
  flex-shrink: 0;
}

[data-theme="dark"] .top-bar-left,
[data-theme="dark"] .top-bar-calendar-icon {
  color: var(--police-gold);
}
[data-theme="dark"] .top-bar-left:hover {
  background: rgba(255, 183, 3, 0.12);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.top-bar-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(255,183,3,0.18), rgba(255,183,3,0.3));
  border: 1px solid rgba(255,183,3,0.55);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0b3985;
  cursor: pointer;
  transition: var(--transition-fast);
}

[data-theme="dark"] .top-bar-intro-btn {
  color: #ffffff;
  background: rgba(255,183,3,0.22);
}

.top-bar-intro-btn:hover {
  transform: scale(1.04);
}

.top-bar-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.top-bar-icon-btn:hover {
  border-color: #0b3985;
  color: #0b3985;
}

/* ==========================================================================
   MAIN BRANDING HEADER (EXACT OFFICIAL MASTHEAD)
   ========================================================================== */
.main-header {
  background: var(--header-bg, #ffffff);
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.brand-masthead-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
  width: auto;
  padding: 4px 10px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-masthead-link:hover {
  transform: scale(1.015);
}

.brand-logo-emblem {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-star-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffb703;
  box-shadow: 0 4px 14px rgba(19, 25, 82, 0.22);
  display: block;
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.brand-title-row {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.brand-main-title {
  font-family: 'Noto Serif Devanagari', 'Rozha One', 'Yatra One', serif;
  font-size: 2.45rem;
  font-weight: 900;
  color: #ed1e20;
  -webkit-text-stroke: 0.6px #ed1e20;
  margin: 0;
  padding: 0;
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
}

[data-theme="dark"] .brand-main-title {
  color: #ff3b3e;
  -webkit-text-stroke: 0.6px #ff3b3e;
  text-shadow: 0 2px 14px rgba(255, 59, 62, 0.4);
}

/* DIGITAL MEDIA LIVE BADGE */
.brand-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.16) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.38);
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
  margin-bottom: 5px;
  user-select: none;
  animation: badge-pulse-glow 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badge-pulse-glow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15), 0 0 0 0 rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 3px 14px rgba(239, 68, 68, 0.28), 0 0 0 4px rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.7);
  }
}

.live-dot-wrap {
  position: relative;
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-dot-core {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #ef4444;
  display: block;
  z-index: 2;
}

.live-dot-wave {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.5);
  animation: live-wave-sonar 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: 1;
}

@keyframes live-wave-sonar {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  80%, 100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

.live-media-label {
  font-family: 'Poppins', 'Mukta', sans-serif;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #0a2342;
  text-transform: uppercase;
  line-height: 1;
}

.live-pill {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.1;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.4);
  display: inline-block;
  animation: live-pill-flash 1.8s ease-in-out infinite;
}

@keyframes live-pill-flash {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.04);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
  }
}

[data-theme="dark"] .brand-live-badge {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(220, 38, 38, 0.28) 100%);
  border-color: rgba(239, 68, 68, 0.55);
}

[data-theme="dark"] .live-media-label {
  color: #f1f5f9;
}

.brand-tagline {
  font-family: 'Noto Serif Devanagari', 'Mukta', serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #301954;
  margin: 4px 0 0 0;
  padding: 0;
  letter-spacing: 0.3px;
  line-height: 1.25;
  white-space: nowrap;
}

[data-theme="dark"] .brand-tagline {
  color: #f1f5f9;
}

@media (max-width: 768px) {
  .main-header {
    padding: 8px 12px;
  }
  .brand-masthead-link {
    gap: 12px;
  }
  .brand-star-logo {
    width: 60px;
    height: 60px;
    border-width: 2px;
  }
  .brand-title-row {
    gap: 8px;
  }
  .brand-live-badge {
    padding: 2.5px 8px 2.5px 6px;
    margin-bottom: 3px;
  }
  .live-media-label {
    font-size: 0.64rem;
  }
  .live-pill {
    font-size: 0.58rem;
    padding: 1.5px 5px;
  }
  .brand-main-title {
    font-size: 1.85rem;
  }
  .brand-tagline {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 6px 8px;
  }
  .brand-masthead-link {
    gap: 10px;
    padding: 2px 4px;
  }
  .brand-star-logo {
    width: 50px;
    height: 50px;
    border-width: 2px;
  }
  .brand-title-row {
    gap: 6px;
  }
  .brand-live-badge {
    padding: 2px 7px 2px 5px;
    margin-bottom: 2px;
  }
  .live-media-label {
    font-size: 0.58rem;
  }
  .live-pill {
    font-size: 0.54rem;
    padding: 1px 4px;
  }
  .brand-main-title {
    font-size: 1.45rem;
    letter-spacing: -0.2px;
  }
  .brand-tagline {
    font-size: 0.68rem;
    margin-top: 2px;
  }
}

@media (max-width: 360px) {
  .brand-star-logo {
    width: 42px;
    height: 42px;
    border-width: 1.5px;
  }
  .brand-live-badge {
    padding: 1.5px 6px 1.5px 4px;
  }
  .live-media-label {
    font-size: 0.52rem;
  }
  .live-pill {
    font-size: 0.48rem;
    padding: 1px 3px;
  }
  .brand-main-title {
    font-size: 1.25rem;
  }
  .brand-tagline {
    font-size: 0.62rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   STICKY SWEET NAVIGATION BAR
   ========================================================================== */
.sticky-nav-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bar-bg);
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
  height: 48px;
  position: relative;
}

.nav-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-right: 4px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.nav-hamburger-btn:hover {
  background: var(--bg-card-subtle);
}

.nav-home-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #0b3985;
  font-size: 1.2rem;
  margin-right: 6px;
  flex-shrink: 0;
}

[data-theme="dark"] .nav-home-icon {
  color: #60a5fa;
}

/* Full Width Scrollable Area on Mobile */
.nav-scroll-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24px;
  background: linear-gradient(to right, transparent, var(--nav-bar-bg));
  pointer-events: none;
  z-index: 2;
}

.nav-categories-scroll {
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  gap: 14px;
  padding: 0 16px 0 2px;
  width: 100%;
}

.nav-categories-scroll::-webkit-scrollbar {
  display: none;
}

.nav-cat-item {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 10px 4px 8px;
  position: relative;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-cat-item:hover, .nav-cat-item.active {
  color: #0b3985;
}

[data-theme="dark"] .nav-cat-item:hover,
[data-theme="dark"] .nav-cat-item.active {
  color: #60a5fa;
}

.nav-cat-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #0b3985;
  border-radius: 2px;
}

[data-theme="dark"] .nav-cat-item.active::after {
  background: #60a5fa;
}

/* Sweet pill styling for Maharashtra button */
.mh-nav-pill {
  background: rgba(11, 57, 133, 0.06);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(11, 57, 133, 0.15);
  font-weight: 800;
  color: #0b3985;
}

[data-theme="dark"] .mh-nav-pill {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.25);
  color: #60a5fa;
}

.mh-nav-pill:hover, .mh-nav-pill.active {
  background: rgba(11, 57, 133, 0.14);
  border-color: #0b3985;
}

.mh-caret {
  transition: transform 0.25s ease;
  display: inline-block;
  font-size: 0.78rem;
  margin-left: 2px;
}

.mh-caret.open {
  transform: rotate(180deg);
}

/* Hide desktop action icons on mobile */
.nav-action-icons.desktop-only {
  display: none;
}

@media (min-width: 769px) {
  .nav-action-icons.desktop-only {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    flex-shrink: 0;
  }
}

.nav-action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-action-btn:hover {
  color: #0b3985;
  border-color: #0b3985;
}

/* ==========================================================================
   SWEET MAHARASHTRA DISTRICT SELECTOR (DROPDOWN & BOTTOM SHEET)
   ========================================================================== */
.district-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 27, 0.65);
  backdrop-filter: blur(6px);
  z-index: 99995;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 768px) {
  .district-sheet-backdrop {
    align-items: center;
    padding: 24px;
  }
}

.district-sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.district-sheet-dialog {
  background: var(--bg-card);
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(11, 31, 68, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .district-sheet-dialog {
    border-radius: 20px;
    max-height: 82vh;
    transform: translateY(20px) scale(0.97);
  }
}

.district-sheet-backdrop.active .district-sheet-dialog {
  transform: translateY(0) scale(1);
}

.sheet-drag-handle {
  width: 44px;
  height: 5px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  margin: 10px auto 4px;
}

@media (min-width: 768px) {
  .sheet-drag-handle {
    display: none;
  }
}

.district-sheet-header {
  padding: 12px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.district-sheet-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0b3985;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .district-sheet-title {
  color: #60a5fa;
}

.district-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.district-close-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
}

.district-search-bar-wrap {
  padding: 10px 18px 8px;
  background: var(--bg-card);
  position: relative;
}

.district-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-subtle);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.district-search-box:focus-within {
  border-color: #0b3985;
  box-shadow: 0 0 0 3px rgba(11, 57, 133, 0.12);
}

[data-theme="dark"] .district-search-box:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.district-search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.district-search-clear {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
  cursor: pointer;
}

.division-pill-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 18px 10px;
  border-bottom: 1px solid var(--border-light);
}

.division-pill-row::-webkit-scrollbar {
  display: none;
}

.division-chip {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.division-chip:hover {
  border-color: #0b3985;
  color: #0b3985;
}

.division-chip.active {
  background: #0b3985;
  color: #ffffff;
  border-color: #0b3985;
}

[data-theme="dark"] .division-chip.active {
  background: #2563eb;
  border-color: #2563eb;
}

.district-grid-content {
  padding: 14px 18px 24px;
  overflow-y: auto;
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 540px) {
  .district-grid-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .district-grid-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.district-card-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
}

.district-card-btn:hover {
  transform: translateY(-2px);
  border-color: #0b3985;
  box-shadow: 0 4px 12px rgba(11, 57, 133, 0.12);
  background: var(--bg-card);
}

[data-theme="dark"] .district-card-btn:hover {
  border-color: #60a5fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.district-card-btn.active {
  background: rgba(11, 57, 133, 0.08);
  border-color: #0b3985;
  box-shadow: 0 0 0 2px #0b3985;
}

[data-theme="dark"] .district-card-btn.active {
  background: rgba(96, 165, 250, 0.12);
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px #60a5fa;
}

.district-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.district-card-icon {
  font-size: 0.95rem;
  color: #0b3985;
}

[data-theme="dark"] .district-card-icon {
  color: #60a5fa;
}

.hq-badge {
  background: linear-gradient(135deg, var(--police-gold), #e09f00);
  color: #0b1f44;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.district-card-name-mr {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.district-card-name-en {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1px;
}

.district-card-div-tag {
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: var(--border-light);
  padding: 1px 6px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 6px;
}

/* ==========================================================================
   BREAKING NEWS TICKER
   ========================================================================== */
.ticker-container {
  background: var(--police-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
  font-size: 0.88rem;
  border-bottom: 2px solid var(--police-gold);
}

.ticker-label {
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.82rem;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 2px 0 10px rgba(0,0,0,0.25);
  z-index: 2;
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-slide 75s linear infinite;
  padding-left: 100%;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--police-gold);
  border-radius: 50%;
}

@keyframes ticker-slide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   LAYOUT CONTAINER
   ========================================================================== */
.main-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 14px;
}

.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.section-title-bar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: #0b3985;
}

[data-theme="dark"] .section-title-bar::after {
  background: #60a5fa;
}

.section-title-text {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0b3985;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Poppins', 'Mukta', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .section-title-text {
  color: #60a5fa;
}

.section-more-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   HERO / FEATURED STORY CAROUSEL (Matching Image 1)
   ========================================================================== */
.hero-carousel-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  margin-bottom: 20px;
  aspect-ratio: 16 / 10;
  max-height: 480px;
}

@media (max-width: 600px) {
  .hero-carousel-container {
    aspect-ratio: 4 / 3.4;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(3, 10, 26, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-gradient-overlay {
    padding: 32px 28px;
  }
}

.hero-category-badge {
  align-self: flex-start;
  background: #f37021;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.28;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 1.85rem;
  }
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-date-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 48px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 5;
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
}

.hero-nav-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--police-gold);
}

.hero-nav-arrow.prev {
  left: 10px;
}

.hero-nav-arrow.next {
  right: 10px;
}

.hero-dots-container {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 6;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition-fast);
}

.hero-dot.active {
  background: var(--police-gold);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   QUICK FILTER CHIPS (Horizontal Scrollable Mobile)
   ========================================================================== */
.category-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 14px;
  margin-bottom: 10px;
}

.category-pills-row::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover {
  border-color: #0b3985;
  color: #0b3985;
}

.filter-pill.active {
  background: #0b3985;
  color: #ffffff;
  border-color: #0b3985;
  box-shadow: 0 4px 10px rgba(11, 57, 133, 0.25);
}

[data-theme="dark"] .filter-pill.active {
  background: #2563eb;
  border-color: #2563eb;
}

/* ==========================================================================
   NEWS CARDS GRID & LIST
   ========================================================================== */
.news-feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .news-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .news-feed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.news-card-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.news-card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumbnail {
  transform: scale(1.05);
}

.news-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d90429;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.badge-crime { background: #d90429; }
.badge-sports { background: #f37021; }
.badge-politics { background: #2563eb; }
.badge-maharashtra { background: #0b3985; }
.badge-special { background: #7c3aed; }

.news-card-bookmark-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.news-card-bookmark-btn.saved {
  color: var(--police-gold);
  background: rgba(0, 0, 0, 0.85);
}

.news-card-body {
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.news-card-title:hover {
  color: #0b3985;
}

[data-theme="dark"] .news-card-title:hover {
  color: #60a5fa;
}

.news-card-snippet {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.15s ease;
}

.action-btn-whatsapp:hover {
  transform: scale(1.12);
}

.action-btn-read {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b3985;
}

[data-theme="dark"] .action-btn-read {
  color: #60a5fa;
}

/* ==========================================================================
   VIDEO INTRO BANNER / EMBED SECTION
   ========================================================================== */
.video-banner-box {
  background: linear-gradient(135deg, #0b1f44 0%, #163870 100%);
  border-radius: var(--radius-md);
  padding: 16px;
  color: #ffffff;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

@media (min-width: 768px) {
  .video-banner-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.video-banner-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--police-gold);
  margin-bottom: 4px;
}

.video-banner-content p {
  font-size: 0.88rem;
  color: #e2e8f0;
}

.video-banner-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--police-gold);
  color: #0b1f44;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.video-banner-play-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT THE AUTHOR SECTION (Matching Screenshot 3)
   ========================================================================== */
.author-card-container {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 20px 16px 24px;
  margin: 28px 0;
  text-align: center;
  position: relative;
}

.author-section-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0b3985;
  margin-bottom: 18px;
  text-align: left;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 8px;
}

[data-theme="dark"] .author-section-heading {
  color: #60a5fa;
}

.author-avatar-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 16px;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border: 1px solid var(--border-color);
}

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

.author-full-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}

.author-role-badge {
  display: inline-block;
  font-size: 0.82rem;
  color: #0b3985;
  font-weight: 700;
  background: var(--border-light);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

[data-theme="dark"] .author-role-badge {
  color: #60a5fa;
  background: var(--bg-card-subtle);
}

.author-bio-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: justify;
  margin: 0 auto 20px;
  max-width: 650px;
}

.author-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.author-social-btn {
  width: 40px;
  height: 40px;
  background: #f37021;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(243, 112, 33, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.author-social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* ==========================================================================
   FOOTER SECTION (Matching Screenshot 2)
   ========================================================================== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 28px 16px 16px;
  text-align: center;
}

.footer-brand-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0b3985;
  margin-bottom: 4px;
  font-family: 'Mukta', sans-serif;
}

[data-theme="dark"] .footer-brand-title {
  color: #60a5fa;
}

.footer-brand-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-contact-details {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.footer-contact-link {
  color: #0b3985;
  font-weight: 600;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .footer-contact-link {
  color: #60a5fa;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-social-icon {
  font-size: 1.35rem;
  color: #0b3985;
  transition: transform 0.18s ease, color 0.18s ease;
}

[data-theme="dark"] .footer-social-icon {
  color: #60a5fa;
}

.footer-social-icon:hover {
  transform: scale(1.2);
  color: var(--police-gold);
}

.footer-divider-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 16px 0 6px;
  position: relative;
  display: inline-block;
}

.footer-divider-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: #0b3985;
  border-radius: 2px;
}

[data-theme="dark"] .footer-divider-title::after {
  background: #60a5fa;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-links-list li a:hover {
  color: #0b3985;
  text-decoration: underline;
}

.footer-about-block {
  max-width: 620px;
  margin: 16px auto 24px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: justify;
}

.footer-bottom-copyright {
  background: #e2e8f0;
  color: #334155;
  padding: 14px 12px;
  margin: 20px -16px -16px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

[data-theme="dark"] .footer-bottom-copyright {
  background: #060d1b;
  color: #94a3b8;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SWEET MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -3px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  gap: 2px;
  flex: 1;
  height: 100%;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
}

.bottom-nav-item i, .bottom-nav-item svg {
  font-size: 1.25rem;
}

.bottom-nav-item.active {
  color: #0b3985;
}

[data-theme="dark"] .bottom-nav-item.active {
  color: #60a5fa;
}

/* ==========================================================================
   SLIDE-IN NAVIGATION DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: var(--bg-card);
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-backdrop.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  background: var(--police-blue);
  color: #ffffff;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--police-gold);
}

.drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.drawer-close-btn {
  color: #ffffff;
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-menu-list {
  list-style: none;
  padding: 12px 0;
  flex-grow: 1;
}

.drawer-menu-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.drawer-menu-item a:hover {
  background: var(--bg-card-subtle);
  color: #0b3985;
}

/* ==========================================================================
   ARTICLE READER MODAL
   ========================================================================== */
/* ==========================================================================
   ARTICLE READER MODAL (FULL-SCREEN RESPONSIVE FIT)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

@media (min-width: 768px) {
  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Dialog Box */
.reader-modal-dialog {
  background: var(--bg-card);
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(30px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

/* Proper full-screen fit for Article Reader on mobile */
#articleModalBackdrop {
  padding: 0;
  align-items: stretch;
}

#articleModalBackdrop .reader-modal-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  max-height: 100vh;
  border-radius: 0;
  transform: translateY(24px);
}

@media (min-width: 768px) {
  #articleModalBackdrop {
    align-items: center;
    padding: 24px;
  }
  #articleModalBackdrop .reader-modal-dialog {
    max-width: 820px;
    height: auto;
    max-height: 94vh;
    border-radius: var(--radius-lg);
    transform: scale(0.96);
  }
}

.modal-backdrop.active .reader-modal-dialog {
  transform: translateY(0) scale(1) !important;
}

/* Sticky Header with Back Button */
.reader-modal-header {
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 100;
  padding: 10px 14px;
  padding-top: max(10px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Modern App-Style Back Button */
.reader-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.reader-back-btn i {
  font-size: 0.98rem;
  color: var(--police-blue, #0b3985);
  transition: transform 0.15s ease;
}

.reader-back-btn:hover {
  background: var(--police-blue, #0b3985);
  color: #ffffff;
  border-color: var(--police-blue, #0b3985);
}

.reader-back-btn:hover i {
  color: #ffffff;
  transform: translateX(-3px);
}

.reader-back-btn:active {
  transform: scale(0.95);
}

[data-theme="dark"] .reader-back-btn i {
  color: var(--police-gold, #ffb703);
}

[data-theme="dark"] .reader-back-btn:hover i {
  color: #0b1f44;
}

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

.reader-actions-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reader-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.reader-tool-btn.active {
  background: var(--police-gold);
  color: #0b1f44;
  border-color: var(--police-gold);
}

.reader-modal-content {
  padding: 16px 16px calc(30px + env(safe-area-inset-bottom));
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .reader-modal-content {
    padding: 24px 28px 40px;
  }
}

.reader-article-badge {
  display: inline-block;
  background: #d90429;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.reader-article-title {
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.reader-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.reader-hero-img-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.reader-body-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.reader-body-text p {
  margin-bottom: 16px;
}

.police-notice-callout {
  background: rgba(11, 57, 133, 0.08);
  border-left: 4px solid #0b3985;
  padding: 14px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--police-blue);
}

[data-theme="dark"] .police-notice-callout {
  background: rgba(96, 165, 250, 0.1);
  border-color: #60a5fa;
  color: #93c5fd;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   YOUTUBE VIDEO BULLETINS & LIVE REPORTAGE
   ========================================================================== */
.video-bulletins-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid #ff0000;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 30px 0 24px;
  box-shadow: var(--shadow-md);
  position: relative;
}

[data-theme="dark"] .video-bulletins-section {
  background: #0f172a;
  border-color: #1e293b;
  border-top-color: #ff0000;
}

.video-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.video-title-wrap {
  display: flex;
  flex-direction: column;
}

.yt-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 0, 0.12);
  color: #ff0000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.yt-live-pill i {
  font-size: 0.55rem;
  animation: liveBlink 1.4s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.video-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.3;
}

.video-section-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.video-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.video-intro-replay-btn {
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-intro-replay-btn:hover {
  background: var(--police-blue);
  color: #ffffff;
  border-color: var(--police-blue);
}

.yt-subscribe-btn {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: #ffffff !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.yt-subscribe-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.45);
}

/* Main Featured Video Player */
.main-video-player-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.video-iframe-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.video-iframe-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.main-video-meta {
  padding: 16px;
  background: var(--bg-card);
}

.main-video-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.video-cat-badge {
  background: #0b3985;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.video-district-badge {
  background: rgba(11, 31, 68, 0.08);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .video-district-badge {
  background: rgba(255, 255, 255, 0.1);
}

.video-date-stamp, .video-views-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-video-headline {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}

.main-video-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.yt-direct-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff0000;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.yt-direct-watch-btn:hover {
  background: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.yt-embed-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Playlist / Horizontal Carousel */
.video-playlist-container {
  margin-top: 14px;
}

.video-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.video-playlist-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.video-cards-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.video-cards-scroll-row::-webkit-scrollbar {
  height: 6px;
}

.video-cards-scroll-row::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.yt-playlist-card {
  width: 230px;
  min-width: 230px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.yt-playlist-card:hover {
  transform: translateY(-2px);
  border-color: #ff0000;
  box-shadow: var(--shadow-md);
}

.yt-playlist-card.active {
  border-color: #ff0000;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.35);
  background: var(--bg-card-subtle);
}

.yt-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #061126;
  overflow: hidden;
}

.yt-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.yt-playlist-card:hover .yt-thumb-img {
  transform: scale(1.05);
}

.yt-play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.yt-playlist-card:hover .yt-play-overlay-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
}

.yt-now-playing-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(11, 31, 68, 0.9);
  color: #ffb703;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: none;
}

.yt-playlist-card.active .yt-now-playing-badge {
  display: block;
}

.yt-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.yt-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Card Video Indicator Pill */
.card-video-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 0, 0, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Article Reader Modal YouTube Embed */
.reader-youtube-embed-box {
  margin: 18px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.reader-yt-banner {
  background: #ff0000;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* =============================================================================
   CALENDAR DATE PICKER (15-Day News Filter)
   ============================================================================= */

/* Calendar button inside filter pills row */
.date-filter-pill {
  border-color: var(--police-blue, #0b3985) !important;
  color: var(--police-blue, #0b3985) !important;
  font-weight: 700;
  flex-shrink: 0;
}
.date-filter-pill.active {
  background: var(--police-blue, #0b3985) !important;
  color: #fff !important;
}

/* Full-screen backdrop */
.calendar-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: calFadeIn 0.18s ease;
}
.calendar-modal-backdrop.active {
  display: flex !important;
}
@keyframes calFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Calendar card */
.calendar-modal-box {
  background: var(--bg-card, #fff);
  border-radius: 20px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: calSlideUp 0.22s cubic-bezier(0.34,1.2,0.64,1);
}
@keyframes calSlideUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Header */
.calendar-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--police-blue, #0b3985);
  color: #fff;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 800;
  gap: 8px;
}
.calendar-modal-close-btn {
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.calendar-modal-close-btn:hover { background: rgba(255,255,255,0.35); }

.calendar-modal-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted, #888);
  padding: 8px 12px 4px;
  margin: 0;
}

/* Month nav */
.calendar-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}
.calendar-month-nav span {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary, #111);
}
.calendar-month-nav button {
  background: var(--bg-surface, #f0f4fa);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--police-blue, #0b3985);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.calendar-month-nav button:hover:not(:disabled) { background: var(--police-blue, #0b3985); color: #fff; }
.calendar-month-nav button:disabled { opacity: 0.35; cursor: not-allowed; }

/* Weekday labels */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 4px 12px;
  gap: 2px;
}
.calendar-weekdays span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted, #888);
  padding: 4px 0;
}

/* Days grid */
.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 4px 12px 16px;
}
.cal-day-btn {
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-primary, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s;
}
.cal-day-btn:hover:not(:disabled) {
  background: rgba(11,57,133,0.1);
  color: var(--police-blue, #0b3985);
}
.cal-day-btn.today {
  background: rgba(11,57,133,0.12);
  color: var(--police-blue, #0b3985);
  font-weight: 800;
}
.cal-day-btn.selected {
  background: var(--police-blue, #0b3985) !important;
  color: #fff !important;
  font-weight: 800;
}
.cal-day-btn.has-news {
  position: relative;
}
.cal-day-btn.has-news::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--police-gold, #d4a017);
  border-radius: 50%;
}
.cal-day-btn:disabled {
  color: var(--text-muted, #ccc);
  cursor: default;
  opacity: 0.38;
}

/* ==========================================================================
   INTERACTIVE NEWS AUDIO PLAYER CARD
   ========================================================================== */
.news-audio-player-card {
  background: linear-gradient(135deg, rgba(11, 57, 133, 0.05), rgba(255, 183, 3, 0.09));
  border: 1.5px solid rgba(11, 57, 133, 0.16);
  border-radius: var(--radius-lg, 16px);
  padding: 12px 16px;
  margin: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(11, 57, 133, 0.04);
}

[data-theme="dark"] .news-audio-player-card {
  background: linear-gradient(135deg, rgba(30, 46, 79, 0.6), rgba(255, 183, 3, 0.08));
  border-color: rgba(255, 183, 3, 0.25);
}

.audio-player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.audio-play-round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--police-blue, #0b3985);
  color: #ffffff;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(11, 57, 133, 0.25);
}

.audio-play-round-btn:hover {
  transform: scale(1.05);
  background: #092c68;
}

.audio-play-round-btn:active {
  transform: scale(0.95);
}

.audio-play-round-btn.playing {
  background: #d90429 !important;
  box-shadow: 0 0 15px rgba(217, 4, 41, 0.45);
}

.audio-player-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.audio-player-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-live-pill {
  background: #d90429;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  animation: audioPulse 1.2s infinite;
}

@keyframes audioPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.96); }
}

.audio-player-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.audio-player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.audio-control-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.audio-select-bare {
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.audio-speed-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--police-blue, #0b3985);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.audio-speed-btn:hover {
  background: var(--police-blue, #0b3985);
  color: #ffffff;
}
.cal-day-placeholder {
  /* empty cells */
}
