/**
 * रुहेलखंड प्रभात (Rohelkhand Prabhat) - Official CSS Stylesheet
 * Responsive Hindi Newspaper Theme with 21 Ad Slot Integration
 */

:root {
  --primary-red: #dc2626;
  --primary-dark-red: #b91c1c;
  --accent-gold: #f59e0b;
  --dark-slate: #0f172a;
  --mid-slate: #334155;
  --light-gray: #f8fafc;
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --font-serif: "Noto Serif Devanagari", "Martel", Georgia, serif;
  --font-sans: "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: #f1f5f9;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TOP BAR */
.top-header-bar {
  background: #090d16;
  color: #cbd5e1;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #1e293b;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-meta-left, .top-meta-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rni-badge {
  background: #dc2626;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.media-partner-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.editor-tag {
  color: #f59e0b;
  font-weight: 600;
}

.top-social-link {
  color: #94a3b8;
}
.top-social-link:hover {
  color: #fff;
}

/* MAIN MASTHEAD - PREMIUM */
.site-masthead {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 10px 0 10px;
  border-bottom: 3px solid var(--primary-red);
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.12);
}

.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-branding {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: inline-block;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
}

.logo-link:hover {
  transform: scale(1.04);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.site-logo {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
}

.site-logo:hover {
  filter: drop-shadow(0 4px 12px rgba(185, 28, 28, 0.25));
  transform: translateY(-1px);
}

.site-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.site-title span.slogan {
  font-size: 14px;
  font-family: var(--font-sans);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: #f59e0b;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-tagline {
  color: #64748b;
  font-size: 12px;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.masthead-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-weather-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
  border: 2px solid rgba(34, 197, 94, 0.2);
  padding: 10px 16px;
  border-radius: 10px;
  text-align: right;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
  transition: all 0.3s ease;
}

.header-weather-box:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
}

.weather-city {
  font-weight: 700;
  color: #1e293b;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.weather-temp {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
  font-weight: 900;
  margin-top: 2px;
}

.btn-header-whatsapp {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
}
.btn-header-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   PREMIUM UNIFIED HEADER GRID LAYOUT
   Logo spans both masthead and navigation rows
   ============================================ */

.premium-header-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0;
  background: #ffffff;
  border-bottom: 3px solid var(--primary-red);
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.12);
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* LEFT LOGO COLUMN - Premium Brand Panel */
.header-logo-column {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-right: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  min-height: 140px;
}

.header-logo-column .logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
}

.logo-container-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.site-logo-premium {
  max-height: 100px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.12));
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
}

.header-logo-column .logo-link:hover .site-logo-premium {
  filter: drop-shadow(0 5px 16px rgba(185, 28, 28, 0.25));
  transform: scale(1.05);
}

.site-title-fallback {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-align: center;
  margin: 0;
}

/* RIGHT CONTENT COLUMN - Masthead + Navigation */
.header-content-column {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  margin: 0;
  padding: 0;
}

/* MASTHEAD PREMIUM - White section */
.site-masthead-premium {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 12px 16px;
  margin: 0;
  border: none;
  box-shadow: none;
}

.masthead-inner-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.masthead-branding-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: fit-content;
}

.site-tagline-premium {
  color: #dc2626;
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: normal;
  line-height: 1.4;
}

.masthead-right-premium {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-form {
  flex: 0 1 auto;
  max-width: 280px;
}

.search-wrapper {
  display: flex;
  gap: 0;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.search-wrapper:focus-within {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.search-input {
  flex: 1;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  background: transparent;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans);
}

.search-input::placeholder {
  color: #cbd5e1;
}

.search-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.search-btn:hover {
  color: var(--primary-red);
}

/* NAVIGATION PREMIUM - Red section */
.main-navigation-premium {
  grid-column: 1;
  grid-row: 2;
  background: linear-gradient(135deg, #b91c1c 0%, #8b1515 100%);
  margin: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}

.nav-container .hamburger-menu-toggle {
  display: none;
}

/* ============================================
   RESPONSIVE - TABLET (1024px - 768px)
   ============================================ */

@media (max-width: 1024px) {
  .premium-header-grid {
    grid-template-columns: 180px 1fr;
  }

  .header-logo-column {
    padding: 10px 6px;
    min-height: 130px;
  }

  .site-logo-premium {
    max-height: 85px;
    max-width: 165px;
  }

  .masthead-inner-premium {
    gap: 12px;
  }

  .masthead-right-premium {
    gap: 10px;
  }

  .search-form {
    max-width: 200px;
  }

  .search-input {
    padding: 6px 10px;
    font-size: 12px;
  }

  .search-btn {
    padding: 6px 10px;
  }

  .header-weather-box {
    padding: 8px 12px;
    font-size: 11px;
  }

  .weather-temp {
    font-size: 16px;
  }

  .btn-header-whatsapp {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (< 768px)
   ============================================ */

@media (max-width: 768px) {
  .premium-header-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--primary-red);
  }

  .header-logo-column {
    grid-column: auto;
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 12px;
    min-height: 90px;
    justify-content: center;
  }

  .site-logo-premium {
    max-height: 140px;
    max-width: 90vw;
    width: auto;
    height: auto;
  }

  .header-content-column {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .site-masthead-premium {
    grid-column: 1;
    grid-row: 1;
    padding: 10px 12px;
  }

  .masthead-inner-premium {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .masthead-branding-info {
    min-width: 100%;
  }

  .masthead-right-premium {
    flex-direction: column;
    gap: 8px;
    justify-content: stretch;
    width: 100%;
  }

  .search-form {
    max-width: 100%;
    width: 100%;
  }

  .search-wrapper {
    width: 100%;
  }

  .header-weather-box {
    width: 100%;
    padding: 8px 10px;
    font-size: 11px;
  }

  .btn-header-whatsapp {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    justify-content: center;
  }

  .main-navigation-premium {
    grid-column: 1;
    grid-row: 2;
  }

  .nav-container {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-container .hamburger-menu-toggle {
    display: flex;
  }

  .nav-menu-list {
    display: none;
  }

  .nav-menu-list.active {
    display: flex;
  }

  .site-tagline-premium {
    white-space: normal;
    text-align: center;
    width: 100%;
  }
}

/* NAVIGATION - PREMIUM */
.main-navigation {
  background: linear-gradient(135deg, #b91c1c 0%, #8b1515 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.2);
}

.nav-menu-list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-menu-list::-webkit-scrollbar {
  display: none;
}

.nav-menu-list li a {
  display: block;
  padding: 14px 18px;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 4px solid transparent;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-menu-list li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.nav-menu-list li a:hover,
.nav-menu-list li a.active {
  color: #fef08a;
  background: rgba(0,0,0,0.2);
}

.nav-menu-list li a:hover::after,
.nav-menu-list li a.active::after {
  transform: scaleX(1);
}

/* DISTRICT STRIP */
.district-strip {
  background: #1e293b;
  color: #f8fafc;
  font-size: 12px;
  padding: 6px 0;
}

.district-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.district-label {
  color: #f59e0b;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 11px;
}

.district-btn {
  padding: 3px 10px;
  border-radius: 4px;
  background: #334155;
  color: #fff;
  font-size: 12px;
  transition: all 0.2s;
}
.district-btn:hover, .district-btn.active {
  background: #dc2626;
}

/* BREAKING TICKER */
.breaking-ticker-wrap {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-badge {
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-red 2s infinite;
  white-space: nowrap;
}

@keyframes pulse-red {
  0% { opacity: 1; }
  50% { opacity: 0.75; }
  100% { opacity: 1; }
}

.ticker-marquee {
  flex: 1;
  overflow: hidden;
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

/* AD SLOT STYLING */
.ad-slot-container {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  margin: 16px 0;
  padding: 8px 12px;
  position: relative;
  text-align: center;
  transition: border-color 0.2s;
}
.ad-slot-container:hover {
  border-color: #dc2626;
}

.ad-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-badge {
  background: #f1f5f9;
  color: #64748b;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 800;
}

.ad-dim {
  font-family: monospace;
  font-weight: bold;
}

.ad-slot-body.active-ad img {
  border-radius: 6px;
  max-height: 250px;
  width: 100%;
  object-fit: cover;
}

.ad-slot-body.empty-ad {
  background: #fafafa;
  padding: 16px 12px;
  border-radius: 6px;
}

.ad-empty-notice h4 {
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
  font-weight: bold;
}

.ad-empty-notice p {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
}

.ad-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-ad-book {
  background: #059669;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: bold;
}

.btn-ad-rates {
  background: #dc2626;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: bold;
}

/* MAIN LAYOUT */
.main-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 20px auto;
}

@media (min-width: 992px) {
  .main-content-layout {
    grid-template-columns: 8fr 4fr;
  }
}

/* NEWS FEED */
.lead-story-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.lead-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.lead-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.lead-story-card:hover .lead-image-wrap img {
  transform: scale(1.03);
}

.category-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.lead-body {
  padding: 20px;
}

.lead-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #0f172a;
}
.lead-title:hover {
  color: #dc2626;
}

.lead-excerpt {
  color: #475569;
  font-size: 15px;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.meta-author {
  color: #1e293b;
  font-weight: 700;
}

/* ARTICLES GRID */
.news-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.article-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -2px rgba(0,0,0,0.08);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #0f172a;
}
.card-title:hover {
  color: #dc2626;
}

.card-excerpt {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

/* SIDEBAR WIDGETS */
.sidebar-widget {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 2px solid #dc2626;
  padding-bottom: 8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-widget-list {
  list-style: none;
}

.category-widget-list li {
  border-bottom: 1px solid #f1f5f9;
}

.category-widget-list li a {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-weight: 600;
  font-size: 13px;
}
.category-widget-list li a:hover {
  color: #dc2626;
}

.trending-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.trending-num {
  font-size: 18px;
  font-weight: 900;
  color: #dc2626;
  width: 24px;
}

.trending-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* SINGLE ARTICLE READER */
.article-reader-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.article-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #0f172a;
}

.article-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
  font-size: 13px;
}

.article-share-btns {
  display: flex;
  gap: 8px;
}

.btn-share {
  padding: 5px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.btn-share.whatsapp { background: #059669; }
.btn-share.facebook { background: #1877f2; }
.btn-share.twitter { background: #0f172a; }

.article-full-image {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.article-body-text {
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 30px;
}

.article-body-text p {
  margin-bottom: 18px;
}

.reporter-card-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.reporter-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dc2626;
}

/* FOOTER */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 40px 0 20px;
  margin-top: 40px;
  border-top: 4px solid #dc2626;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 14px;
  border-left: 3px solid #dc2626;
  padding-left: 8px;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* STICKY BOTTOM ANCHOR AD */
.sticky-bottom-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  z-index: 9999;
  border-top: 2px solid #dc2626;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

.sticky-bottom-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.btn-close-sticky {
  position: absolute;
  right: -10px;
  top: -10px;
  background: #dc2626;
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
}

/* ADMIN PANEL STYLES */
.admin-header {
  background: #0f172a;
  color: #fff;
  padding: 14px 0;
  border-bottom: 2px solid #dc2626;
}

.admin-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav {
  display: flex;
  gap: 16px;
}

.admin-nav a {
  color: #cbd5e1;
  font-weight: bold;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
}
.admin-nav a:hover, .admin-nav a.active {
  background: #dc2626;
  color: #fff;
}

.admin-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th, .admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}

.status-pill {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
}
.status-pill.active { background: #dcfce7; color: #15803d; }
.status-pill.paused { background: #fef9c3; color: #854d0e; }

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  color: #1e293b;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.btn-primary {
  background: #dc2626;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}
.btn-primary:hover {
  background: #b91c1c;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
  .site-logo {
    max-height: 45px;
  }

  .logo-container {
    gap: 8px;
  }

  .site-title {
    font-size: 26px;
  }

  .site-title span.slogan {
    font-size: 12px;
  }

  .masthead-right {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-header-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }

  .header-weather-box {
    width: 100%;
  }

  /* HAMBURGER MENU MOBILE */
  .hamburger-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1100;
  }

  .hamburger-line {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    animation: fadeIn 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .mobile-menu-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #b91c1c 0%, #8b1515 100%);
    z-index: 1099;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu-panel.active {
    display: block;
    transform: translateX(0);
  }

  .mobile-menu-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .close-mobile-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  .close-mobile-menu:hover {
    transform: scale(1.2);
  }

  .mobile-menu-list {
    list-style: none;
    padding: 12px 0;
    margin: 0;
  }

  .mobile-menu-list li {
    margin: 0;
  }

  .mobile-menu-list li a {
    display: block;
    padding: 14px 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-list li a:hover,
  .mobile-menu-list li a.active {
    background: rgba(0, 0, 0, 0.2);
    border-left-color: #f59e0b;
    color: #fef08a;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* DESKTOP: Hide hamburger menu */
@media (min-width: 769px) {
  .hamburger-menu-toggle {
    display: none;
  }

  .mobile-menu-overlay,
  .mobile-menu-panel {
    display: none !important;
  }

  .nav-menu-list {
    flex: 1;
  }
}

/* SEARCH FUNCTIONALITY */
.search-form {
  display: flex;
}

.search-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 13px;
  background: #fff;
  color: #0f172a;
  min-width: 200px;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #dc2626;
}

.search-btn {
  padding: 10px 14px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
  font-weight: bold;
}

.search-btn:hover {
  background: #b91c1c;
}

/* PREMIUM HEADER GRID - Search Form Overrides */
.premium-header-grid .search-form {
  display: flex;
  max-width: 280px;
}

.premium-header-grid .search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-size: 13px;
  background: #ffffff;
  color: var(--text-main);
  min-width: auto;
}

.premium-header-grid .search-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--primary-red);
  border-color: var(--primary-red);
}

.premium-header-grid .search-btn {
  padding: 8px 12px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: 0;
  font-size: 14px;
  transition: color 0.2s ease;
  font-weight: normal;
}

.premium-header-grid .search-btn:hover {
  background: transparent;
  color: var(--primary-red);
}

.premium-header-grid .search-wrapper {
  display: flex;
  gap: 0;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.premium-header-grid .search-wrapper:focus-within {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

/* PREMIUM HEADER GRID - Navigation Menu */
.main-navigation-premium .nav-menu-list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.main-navigation-premium .nav-menu-list::-webkit-scrollbar {
  display: none;
}

.main-navigation-premium .nav-menu-list li a {
  display: block;
  padding: 14px 18px;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 4px solid transparent;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
  letter-spacing: 0.3px;
  position: relative;
  text-decoration: none;
}

.main-navigation-premium .nav-menu-list li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.main-navigation-premium .nav-menu-list li a:hover,
.main-navigation-premium .nav-menu-list li a.active {
  color: #fef08a;
  background: rgba(0,0,0,0.2);
}

.main-navigation-premium .nav-menu-list li a:hover::after,
.main-navigation-premium .nav-menu-list li a.active::after {
  transform: scaleX(1);
}

/* Desktop: Show nav menu list */
@media (min-width: 769px) {
  .main-navigation-premium .nav-menu-list {
    display: flex;
  }

  .main-navigation-premium .hamburger-menu-toggle {
    display: none;
  }
}

/* Mobile: Hide nav menu list, show hamburger toggle */
@media (max-width: 768px) {
  .main-navigation-premium .nav-menu-list {
    display: none;
  }

  .main-navigation-premium .hamburger-menu-toggle {
    display: flex;
  }
}

/* SEARCH RESULTS PAGE */
.search-results-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.search-results-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.search-results-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.search-results-count {
  color: #64748b;
  font-size: 14px;
}

.search-results-list {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #dc2626;
  transition: all 0.2s ease;
  cursor: pointer;
}

.search-result-item:hover {
  background: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-result-image {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-content h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #0f172a;
  line-height: 1.4;
}

.search-result-content h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-result-content h3 a:hover {
  color: #dc2626;
}

.search-result-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.search-result-excerpt {
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.search-no-results {
  text-align: center;
  padding: 40px 20px;
}

.search-no-results h3 {
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 10px;
}

.search-no-results p {
  color: #64748b;
  margin: 0;
}

.search-suggestions {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  color: #92400e;
}

.search-suggestions h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
}

.search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.search-suggestions li a {
  color: #b45309;
  text-decoration: none;
  padding: 6px 8px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 4px;
  display: block;
  transition: all 0.2s ease;
}

.search-suggestions li a:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #7c2d12;
}

/* Mobile Search */
@media (max-width: 768px) {
  .search-form {
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .search-input {
    min-width: auto;
    font-size: 12px;
  }

  .search-result-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }

  .search-result-image {
    height: 60px;
  }

  .search-result-content h3 {
    font-size: 14px;
  }

  .search-results-title {
    font-size: 18px;
  }
}

/* NEWSLETTER SECTION */
.newsletter-section {
  background: linear-gradient(135deg, #b91c1c 0%, #8b1515 100%);
  padding: 30px 0;
  margin: 40px 0;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-input {
  padding: 12px 16px;
  border: none;
  border-radius: 4px 4px 0 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
  padding: 12px 20px;
  background: #f59e0b;
  color: #0f172a;
  border: none;
  border-radius: 0 0 4px 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  transition: background 0.2s ease;
}

.newsletter-btn:hover {
  background: #d97706;
}

.newsletter-btn:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 20px 0;
    margin: 30px 0;
  }

  .newsletter-input {
    font-size: 13px;
    padding: 10px 12px;
  }

  .newsletter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* HOMEPAGE EDITORIAL REFRESH */
:root {
  --paper: #f7f3ec;
  --paper-deep: #eee7dc;
  --ink: #171717;
  --muted-ink: #716d66;
  --signal: #c52821;
  --signal-dark: #8e1b19;
  --sun: #d6a548;
  --line: rgba(23, 23, 23, 0.13);
  --shadow-editorial: 0 18px 50px rgba(45, 31, 18, 0.12);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.container {
  max-width: 1240px;
}

.homepage-shell {
  padding-top: 24px;
}

.edition-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
  animation: editorial-rise 0.7s ease both;
}

.edition-intro h1 {
  max-width: 680px;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.edition-intro p {
  max-width: 280px;
  margin-bottom: 4px;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.7;
}

.eyebrow,
.story-kicker {
  color: var(--signal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.main-content-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding-top: 28px;
}

.lead-story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fffdf9;
  box-shadow: var(--shadow-editorial);
}

.lead-image-wrap {
  height: clamp(300px, 42vw, 500px);
}

.lead-image-wrap img {
  filter: saturate(0.86);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s ease;
}

.lead-story-card:hover .lead-image-wrap img {
  filter: saturate(1);
  transform: scale(1.035);
}

.lead-body {
  padding: 26px 28px 24px;
}

.lead-title {
  max-width: 820px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead-title a:hover,
.card-title a:hover,
.secondary-story-card h3 a:hover,
.trending-title a:hover {
  color: var(--signal);
}

.lead-excerpt {
  max-width: 760px;
  margin: 14px 0 18px;
  color: var(--muted-ink);
  font-size: 15px;
}

.article-meta {
  color: var(--muted-ink);
  font-size: 11px;
}

.secondary-stories,
.latest-section,
.district-pulse {
  margin-top: 38px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.section-heading h2 {
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.section-link {
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.secondary-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.secondary-story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.secondary-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(45, 31, 18, 0.12);
}

.secondary-image {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
}

.secondary-image img,
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.secondary-story-body {
  padding: 16px 17px 17px;
}

.secondary-story-card h3 {
  margin: 7px 0 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.22;
}

.news-grid-2col {
  gap: 18px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fffdf9;
  box-shadow: none;
}

.article-card .card-img-wrap {
  height: 190px;
}

.card-content {
  padding: 17px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.card-excerpt {
  color: var(--muted-ink);
  font-size: 13px;
}

.district-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.district-pulse-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.district-pulse-card:hover {
  background: var(--signal);
  color: #fff;
  transform: translateY(-2px);
}

.live-chip {
  color: var(--signal-dark);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.live-chip i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(197, 40, 33, 0.12);
}

.sidebar-widget {
  border-color: var(--line);
  border-radius: 2px;
  background: #fffdf9;
  box-shadow: 0 8px 24px rgba(45, 31, 18, 0.06);
}

.widget-title {
  color: var(--ink);
  border-bottom-color: var(--signal);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}

@keyframes editorial-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .homepage-shell { padding-top: 8px; }
  .edition-intro { display: block; padding: 18px 0; }
  .edition-intro h1 { font-size: 35px; }
  .edition-intro p { margin-top: 12px; }
  .main-content-layout { display: block; padding-top: 18px; }
  .lead-image-wrap { height: 280px; }
  .lead-body { padding: 20px 18px; }
  .lead-title { font-size: 31px; }
  .secondary-story-grid { grid-template-columns: 1fr; }
  .secondary-image { height: 210px; }
  .district-pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading h2 { font-size: 25px; }
}

.newsroom-utility-strip {
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  background: #fffdf9;
}

.newsroom-utility-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 38px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  color: var(--muted-ink);
  font-size: 11px;
}

.newsroom-utility-inner::-webkit-scrollbar {
  display: none;
}

.newsroom-utility-inner a {
  color: var(--ink);
  font-weight: 800;
}

.newsroom-utility-inner a:hover {
  color: var(--signal);
}

.newsroom-status {
  color: var(--signal-dark);
  font-weight: 900;
}

.newsroom-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #1e9d6c;
  box-shadow: 0 0 0 4px rgba(30, 157, 108, 0.12);
}

.newsroom-update {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

@media (max-width: 768px) {
  .newsroom-utility-inner {
    gap: 14px;
    min-height: 34px;
    padding-top: 1px;
    padding-bottom: 1px;
  }
}

.answer-section {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.answer-section h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
}

.answer-list {
  display: grid;
  gap: 8px;
}

.answer-list details {
  border: 1px solid var(--line);
  background: #fffdf9;
}

.answer-list summary {
  padding: 15px 17px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  list-style-position: inside;
}

.answer-list details[open] summary {
  color: var(--signal-dark);
  border-bottom: 1px solid var(--line);
}

.answer-list details p {
  margin: 0;
  padding: 13px 17px 16px;
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.75;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--sun);
  box-shadow: 0 0 12px rgba(214, 165, 72, 0.7);
  pointer-events: none;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease var(--reveal-delay, 0ms), transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.infographic-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(240px, 0.85fr) minmax(260px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: linear-gradient(120deg, #171717 0%, #2b2520 100%);
  color: #fffdf9;
  box-shadow: 0 16px 34px rgba(45, 31, 18, 0.16);
}

.infographic-copy h2 {
  margin-top: 5px;
  color: #fffdf9;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
}

.infographic-copy p {
  max-width: 360px;
  margin-top: 8px;
  color: #d8d0c4;
  font-size: 12px;
  line-height: 1.7;
}

.pulse-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pulse-stat {
  padding: 13px 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-stat strong {
  display: block;
  color: #f0c56e;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.pulse-stat span {
  display: block;
  margin-top: 7px;
  color: #d8d0c4;
  font-size: 11px;
}

.category-bars {
  display: grid;
  gap: 9px;
}

.category-bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 18px;
  align-items: center;
  gap: 8px;
  color: #f5efe6;
  font-size: 11px;
}

.category-bar-row b {
  color: #f0c56e;
  text-align: right;
}

.category-bar-track {
  height: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.category-bar-track i {
  display: block;
  width: var(--bar-size);
  height: 100%;
  background: linear-gradient(90deg, #c52821, #f0c56e);
  transform-origin: left;
  animation: bar-grow 1s 0.35s both cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .infographic-panel {
    grid-template-columns: 1fr 1fr;
  }

  .category-bars {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .infographic-panel {
    display: block;
    padding: 20px 17px;
  }

  .pulse-stat-grid {
    margin: 18px 0;
  }

  .pulse-stat strong {
    font-size: 25px;
  }

  .category-bar-row {
    grid-template-columns: 80px 1fr 16px;
  }
}

/* Keep monetization visible without letting it crowd out the news. */
#slot-header_leaderboard {
  max-height: 118px;
  overflow: hidden;
}

#slot-header_leaderboard .ad-slot-body.active-ad img {
  max-height: 76px;
}

.sticky-bottom-ad {
  max-height: 116px;
  overflow: hidden;
  padding: 4px 12px;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.sticky-bottom-ad.ad-visible {
  transform: translateY(0);
}

.sticky-bottom-ad .ad-slot-container {
  margin: 0;
  padding: 4px 8px;
}

.sticky-bottom-ad .ad-slot-header,
.sticky-bottom-ad .ad-empty-notice p,
.sticky-bottom-ad .ad-dim {
  display: none;
}

.sticky-bottom-ad .ad-slot-body.empty-ad {
  min-height: 82px;
  padding: 9px 8px;
}

.sticky-bottom-ad .ad-empty-notice h4 {
  margin-bottom: 6px;
  font-size: 12px;
}

.sticky-bottom-ad .ad-actions {
  gap: 6px;
}

.sticky-bottom-ad .btn-ad-book,
.sticky-bottom-ad .btn-ad-admin {
  padding: 4px 9px;
  font-size: 10px;
}

@media (max-width: 768px) {
  #slot-header_leaderboard {
    display: none;
  }

  .sticky-bottom-ad {
    max-height: 96px;
  }

  .sticky-bottom-ad .ad-slot-body.empty-ad {
    min-height: 67px;
    padding: 6px 5px;
  }
}

@media (max-width: 768px) {
  .top-header-bar {
    display: none;
  }

  .top-header-content {
    justify-content: center;
    min-height: 28px;
  }

  .top-meta-left {
    justify-content: center;
    gap: 6px;
  }

  .top-meta-left > span:not(.rni-badge),
  .top-meta-right {
    display: none;
  }

  .header-logo-column {
    min-height: 62px;
    padding: 4px 10px;
  }

  .site-logo-premium {
    max-height: 140px;
    max-width: 90vw;
    width: auto;
    height: auto;
  }

  .site-masthead-premium {
    padding: 7px 10px;
  }

  .masthead-branding-info {
    display: none;
  }

  .masthead-right-premium {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .masthead-right-premium .search-form {
    grid-column: 1;
  }

  .masthead-right-premium .header-weather-box,
  .masthead-right-premium .btn-header-whatsapp {
    width: auto;
    min-height: 38px;
    padding: 6px 7px;
    font-size: 10px;
  }

  .masthead-right-premium .header-weather-box {
    display: none;
  }

  .masthead-right-premium .btn-header-whatsapp {
    grid-column: 2;
    min-width: 42px;
    padding: 6px 10px;
    font-size: 0;
  }

  .masthead-right-premium .btn-header-whatsapp span {
    font-size: 0;
  }

  .masthead-right-premium .btn-header-whatsapp span::before {
    content: '💬';
    font-size: 18px;
  }

  .masthead-right-premium .weather-city {
    font-size: 9px;
  }

  .masthead-right-premium .weather-temp {
    font-size: 14px;
  }

  .breaking-ticker-wrap {
    padding: 6px 0;
  }

  .ticker-inner {
    align-items: flex-start;
    gap: 7px;
  }

  .ticker-badge {
    padding: 3px 6px;
    font-size: 9px;
  }

  .ticker-marquee {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .district-strip-inner {
    min-height: 40px;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .district-strip-inner::-webkit-scrollbar {
    display: none;
  }

  .district-label {
    font-size: 10px;
  }

  .district-btn {
    padding: 3px 8px;
    font-size: 10px;
  }

  .newsroom-utility-inner {
    min-height: 30px;
    font-size: 10px;
  }
}

/* ============================================================================
   RTL NEWS TICKER - RIGHT TO LEFT SCROLLING LATEST NEWS
   ============================================================================ */

.rtl-news-ticker-wrap {
  background: #f8f9fa;
  border-top: 4px solid #dc2626;
  border-bottom: 3px solid #dc2626;
  padding: 0;
  overflow: hidden;
  margin: 12px 0;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
  border-radius: 8px;
  display: flex;
}

.rtl-ticker-layout {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.rtl-ticker-label-box {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  flex-shrink: 0;
  box-shadow: 2px 0 8px rgba(220, 38, 38, 0.2);
  height: 60px;
}

.rtl-ticker-label {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #fef2f2;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.rtl-ticker-content {
  overflow: hidden;
  position: relative;
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  height: 60px;
}

.rtl-ticker-scroll {
  display: flex;
  gap: 20px;
  animation: scrollRTL 60s linear infinite;
  padding: 0 20px;
  align-items: center;
}

.ticker-item {
  flex-shrink: 0;
  min-width: max-content;
  white-space: nowrap;
  height: auto;
  display: flex;
  align-items: center;
}

.ticker-item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.1);
  white-space: nowrap;
  height: fit-content;
}

.ticker-item a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fecaca;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ticker-time {
  color: #fecaca;
  font-weight: 800;
  min-width: 50px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

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

/* Pause animation on hover */
.rtl-ticker-scroll:hover {
  animation-play-state: paused;
}

/* Mobile RTL Ticker */
@media (max-width: 768px) {
  .rtl-news-ticker-wrap {
    padding: 0;
    margin: 8px 0;
    border-radius: 6px;
  }

  .rtl-ticker-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .rtl-ticker-label-box {
    min-width: 75px;
    height: 55px;
    padding: 0 10px;
  }

  .rtl-ticker-label {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.6px;
  }

  .rtl-ticker-content {
    height: 55px;
    align-items: center;
  }

  .rtl-ticker-scroll {
    gap: 15px;
    padding: 0 12px;
    animation: scrollRTL 45s linear infinite;
  }

  .ticker-item a {
    font-size: 11px;
    padding: 4px 8px;
  }

  .ticker-time {
    font-size: 10px;
    min-width: 40px;
  }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 480px) {
  .rtl-ticker-label-box {
    min-width: 65px;
    height: 50px;
    padding: 0 8px;
  }

  .rtl-ticker-label {
    font-size: 10px;
  }

  .rtl-ticker-content {
    height: 50px;
  }

  .rtl-ticker-scroll {
    padding: 0 10px;
  }

  .ticker-item a {
    font-size: 10px;
    padding: 3px 6px;
    gap: 6px;
  }

  .ticker-time {
    font-size: 9px;
    min-width: 35px;
  }
}

/* ============================================================================
   LIVE SCORES SECTION - DROPDOWN
   ============================================================================ */

.live-scores-wrapper {
  position: relative;
  margin: 12px 0;
}

.live-scores-toggle {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
  position: relative;
}

.bat-ball-animation {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.cricket-bat {
  position: absolute;
  width: 16px;
  height: 3px;
  background: #fef2f2;
  border-radius: 2px;
  transform-origin: left center;
  animation: batSwing 0.8s ease-in-out infinite;
  left: 0;
  top: 50%;
  margin-top: -1.5px;
}

.cricket-ball {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fecaca;
  border-radius: 50%;
  animation: ballFlight 0.8s ease-in-out infinite;
  right: 0;
  top: 50%;
  margin-top: -3px;
  box-shadow: 0 0 4px rgba(252, 165, 165, 0.5);
}

@keyframes batSwing {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-60deg);
  }
  60% {
    transform: rotate(-60deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes ballFlight {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-12px) translateY(-8px);
    opacity: 1;
  }
  100% {
    transform: translateX(-20px) translateY(0);
    opacity: 0.5;
  }
}

.live-scores-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.live-scores-toggle.active {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
}

.toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
}

.live-scores-toggle.active .toggle-arrow {
  transform: rotate(180deg);
}

.live-scores-dropdown {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 0;
  margin-top: 0;
  border-top: 3px solid #dc2626;
  border-bottom: 3px solid #0f172a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.live-scores-dropdown.active {
  max-height: 600px;
  padding: 20px 0;
}

.live-scores-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.scores-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.scores-badge {
  font-size: 14px;
  font-weight: 800;
  color: #fef2f2;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scores-link {
  color: #fca5a5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.scores-link:hover {
  color: #fecaca;
}

.scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.score-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 10px;
  padding: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.score-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.match-type {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-a,
.team-b {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-b {
  border-bottom: none;
}

.team-name {
  font-size: 13px;
  font-weight: 700;
  color: #fef2f2;
}

.team-score {
  font-size: 18px;
  font-weight: 900;
  color: #fca5a5;
}

.match-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  text-align: center;
}

.status-badge {
  background: #dc2626;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

.overs {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Mobile Live Scores Dropdown */
@media (max-width: 768px) {
  .live-scores-toggle {
    max-width: 100%;
    padding: 10px 16px;
    font-size: 13px;
  }

  .live-scores-dropdown.active {
    max-height: 800px;
    padding: 16px 0;
  }

  .scores-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .score-card {
    padding: 12px;
  }

  .team-score {
    font-size: 16px;
  }

  .scores-badge {
    font-size: 12px;
  }

  .live-scores-container {
    padding: 0 16px;
  }
}
