/* ==========================================================================
   GUJARAT HEADLINE (જનતાનો અવાજ / JANTA KI AWAZ)
   AUTHENTIC NEWS CHANNEL STYLESHEET - 100% MOBILE RESPONSIVE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anek+Gujarati:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Broadcast Color Palette */
  --channel-red: #d90429;        /* Breaking Crimson Red */
  --channel-red-dark: #b8001f;
  --channel-gold: #ff9933;       /* Vibrant Indian Saffron/Gold */
  --channel-navy: #0f172a;       /* Slate Dark Navy */
  --channel-navy-dark: #070b14;
  
  --bg-page: #f4f5f8;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --whatsapp-green: #25d366;
  --success-color: #10b981;
  --danger-color: #ef4444;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.12);
  
  --font-gujarati: 'Anek Gujarati', 'Noto Sans Gujarati', sans-serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  
  --container-max: 1280px;
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-page: #090d16;
  --bg-card: #111827;
  --bg-card-subtle: #1a2234;
  --border-color: #1e293b;
  --border-strong: #334155;
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.8);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-gujarati);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile bottom bar */
  -webkit-tap-highlight-color: transparent;
}

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

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

/* Reading Progress Bar */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--channel-red), var(--channel-gold));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   1. TOP BROADCAST BAR (Date, Weather, Live Ticker)
   ========================================================================== */
.broadcast-top-bar {
  background: var(--channel-navy);
  color: #e2e8f0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 50;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 12px;
}

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

.channel-clock {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-weight: 500;
}

.weather-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
}

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

.live-badge-btn {
  background: var(--channel-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(217, 4, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

.theme-toggle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fbbf24;
}

/* ==========================================================================
   2. MAIN CHANNEL HEADER & LOGO
   ========================================================================== */
.channel-main-header {
  background: var(--bg-card);
  border-bottom: 2px solid var(--channel-red);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
}

.channel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: var(--channel-red);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.35);
  flex-shrink: 0;
}

.brand-badge span.letter {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.brand-badge span.sub {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-titles h1 {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-sans);
  letter-spacing: -0.5px;
}

.brand-titles h1 span.headline-text {
  color: var(--channel-red);
}

.brand-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--channel-gold);
  background: var(--channel-navy);
  padding: 1px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

.header-search-wrap {
  flex-grow: 1;
  max-width: 420px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .header-search-wrap {
    display: block;
  }
}

.header-search-wrap input {
  width: 100%;
  padding: 8px 16px 8px 38px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s;
}

.header-search-wrap input:focus {
  border-color: var(--channel-red);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.15);
}

.header-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-issue-btn {
  background: linear-gradient(135deg, var(--channel-red), #ff8500);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(217, 4, 41, 0.25);
  white-space: nowrap;
}

/* Category Navigation Menu */
.channel-nav-strip {
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow-x: auto;
  scrollbar-width: none;
}

.channel-nav-strip::-webkit-scrollbar {
  display: none;
}

.nav-category-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-cat-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.nav-cat-btn:hover {
  color: var(--channel-red);
  background: rgba(217, 4, 41, 0.08);
}

.nav-cat-btn.active {
  background: var(--channel-red);
  color: #fff;
}

/* ==========================================================================
   3. BREAKING NEWS RED TICKER FLASHER
   ========================================================================== */
.breaking-flasher-bar {
  background: var(--channel-navy);
  color: #fff;
  border-bottom: 2px solid var(--channel-red);
  padding: 8px 0;
}

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

.flasher-label {
  background: var(--channel-red);
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.flasher-content {
  flex-grow: 1;
  overflow: hidden;
  height: 24px;
}

.flasher-item {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flasher-item:hover {
  color: var(--channel-gold);
}

.flasher-nav-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.flasher-btn {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #e2e8f0;
}

.flasher-btn:hover {
  background: var(--channel-red);
}

/* ==========================================================================
   4. LEAD STORY & ASYMMETRICAL NEWS GRID
   ========================================================================== */
.main-news-section {
  padding: 20px 0 30px 0;
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

/* Big Lead Story Card */
.lead-story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-story-card:hover {
  border-color: var(--channel-red);
  box-shadow: var(--shadow-lg);
}

.lead-img-box {
  position: relative;
  height: 260px;
  background: #000;
  overflow: hidden;
}

@media (min-width: 768px) {
  .lead-img-box {
    height: 380px;
  }
}

.lead-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lead-story-card:hover .lead-img-box img {
  transform: scale(1.04);
}

.lead-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--channel-red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.lead-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.lead-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .lead-title {
    font-size: 1.8rem;
  }
}

.lead-title:hover {
  color: var(--channel-red);
}

.lead-summary {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  gap: 10px;
}

.author-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.share-btn-group {
  display: flex;
  gap: 6px;
}

.btn-whatsapp-share {
  background: var(--whatsapp-green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-read-full {
  background: var(--channel-navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-read-full:hover {
  background: var(--channel-red);
}

/* Secondary & Fast Headlines Sidebar */
.side-news-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.panel-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--channel-red);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.panel-header-badge h3 {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fast-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fast-news-item {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
  cursor: pointer;
}

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

.fast-news-rank {
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-sans);
  color: var(--channel-red);
  min-width: 22px;
  line-height: 1.1;
}

.fast-news-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.fast-news-info:hover h4 {
  color: var(--channel-red);
}

/* ==========================================================================
   5. JANTA KI AWAZ (CITIZEN JOURNALISM / JAN SAMASYA) SECTION
   ========================================================================== */
.janta-awaz-section {
  background: linear-gradient(135deg, #0b132b, #1c2541);
  color: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  margin: 20px 0 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.janta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.janta-badge-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.janta-badge-title h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.janta-badge-title span.tag {
  background: var(--channel-gold);
  color: #000;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
}

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

.janta-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.janta-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 8px;
  color: var(--channel-gold);
}

.janta-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  flex-grow: 1;
}

.janta-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

.support-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.support-btn:hover {
  background: var(--channel-red);
}

/* ==========================================================================
   6. REGIONAL CITY / DISTRICT PULSE GRID
   ========================================================================== */
.district-section {
  padding: 20px 0 30px 0;
}

.city-chips-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 16px 0;
  scrollbar-width: none;
}

.city-chips-bar::-webkit-scrollbar {
  display: none;
}

.city-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.city-btn.active, .city-btn:hover {
  background: var(--channel-red);
  color: #fff;
  border-color: var(--channel-red);
}

.stories-3col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.story-card-std {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.story-card-std:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--channel-red);
}

.story-thumb {
  height: 180px;
  position: relative;
  background: #111;
}

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

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

.story-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-primary);
  cursor: pointer;
}

.story-title:hover {
  color: var(--channel-red);
}

.story-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* ==========================================================================
   7. APMC MANDI BHAV LIVE TABLE
   ========================================================================== */
.mandi-section-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0 30px 0;
  box-shadow: var(--shadow-sm);
}

.mandi-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.mandi-crop-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mandi-crop-info strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  display: block;
}

.mandi-crop-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mandi-rate-box {
  text-align: right;
}

.mandi-rate-box .rate {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mandi-rate-box .delta {
  font-size: 0.75rem;
  font-weight: 700;
}
.mandi-rate-box .delta.up { color: #10b981; }
.mandi-rate-box .delta.down { color: #ef4444; }

/* ==========================================================================
   8. MOBILE BOTTOM APP BAR (For Pure Mobile Feel)
   ========================================================================== */
.mobile-bottom-app-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
  .mobile-bottom-app-bar {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mobile-nav-item i {
  font-size: 1.15rem;
}

.mobile-nav-item.active {
  color: var(--channel-red);
}

/* ==========================================================================
   9. SITE FOOTER
   ========================================================================== */
.channel-footer {
  background: var(--channel-navy);
  color: #cbd5e1;
  padding: 40px 0 20px 0;
  border-top: 3px solid var(--channel-red);
  margin-top: 40px;
}

.footer-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
  border-left: 3px solid var(--channel-red);
  padding-left: 8px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-bottom-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}


/* Supplied Gujarat Headline logo and leadership portraits */
.brand-logo-image { display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:clamp(150px,22vw,250px); overflow:hidden; border-radius:10px; background:#fff; }
.brand-logo-image img { display:block; width:100%; height:auto; max-height:100px; object-fit:contain; }
.footer-logo-image { width:155px; border-radius:7px; }
.footer-logo-image img { max-height:66px; }
.leadership-section { padding-top:34px; padding-bottom:38px; }
.leadership-heading { text-align:center; margin-bottom:22px; }
.leadership-kicker { color:var(--channel-red); font-weight:800; font-size:.78rem; letter-spacing:.12em; }
.leadership-heading h2 { margin:7px 0; font-size:clamp(1.35rem,3vw,2rem); font-weight:900; }
.leadership-heading p { color:var(--muted,#64748b); margin:0; }
.leadership-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; max-width:900px; margin:0 auto; }
.leader-card { overflow:hidden; border:1px solid var(--border-color,#dbe2ea); border-radius:14px; background:var(--card-bg,#fff); box-shadow:0 8px 24px rgba(15,23,42,.08); }
.leader-photo-wrap { height:300px; background:#e8edf3; overflow:hidden; }
.leader-photo-wrap img { width:100%; height:100%; object-fit:cover; object-position:center 25%; display:block; }
.leader-details { padding:18px 20px 20px; text-align:center; }
.leader-details h3 { margin:0 0 6px; font-size:1.2rem; font-weight:900; }
.leader-title-extra { display:inline; margin-left:5px; font-size:.78em; font-weight:800; color:var(--channel-red); }
.leader-role { margin:0; color:var(--channel-red); font-weight:800; }
.leader-org { margin:5px 0 0; color:var(--muted,#64748b); font-size:.9rem; }
@media(max-width:640px) { .brand-logo-image{width:145px;} .brand-logo-image img{max-height:70px;} .leadership-grid{grid-template-columns:1fr;max-width:420px;} .leader-photo-wrap{height:320px;} }


/* ===== Mobile responsive safety layer ===== */
*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: clip; }
img, video, iframe, canvas, svg { max-width: 100%; }
img { height: auto; }
.container, .wrapper, main, header, footer, section, nav { min-width: 0; }
.container { width: min(100% - 28px, 1200px); margin-left: auto; margin-right: auto; }
button, input, select, textarea { max-width: 100%; font: inherit; }
a { overflow-wrap: anywhere; }
p, h1, h2, h3, h4, li { overflow-wrap: break-word; }
table { width: 100%; border-collapse: collapse; }
.table-wrap, .table-responsive { max-width: 100%; overflow-x: auto; }

/* Prevent fixed desktop grids and oversized header elements from overflowing phones */
@media (max-width: 768px) {
  .container { width: calc(100% - 28px); }
  .brand-logo-image { width: min(48vw, 180px); }
  .brand-logo-image img { max-height: 68px; object-fit: contain; }
  .leadership-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .leader-card { min-width: 0; }
  .leader-photo-wrap { height: clamp(220px, 68vw, 340px); }
  .leader-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .leadership-section { padding-top: 24px; padding-bottom: 28px; }
  .leadership-heading h2 { line-height: 1.25; }
  .header-inner, .navbar, .nav-container, .topbar-inner, .header-content {
    min-width: 0; max-width: 100%; flex-wrap: wrap;
  }
  nav ul, .nav-links, .navigation, .main-nav ul {
    min-width: 0; max-width: 100%; flex-wrap: wrap;
  }
  .hero, .hero-content, .hero-section, .hero-banner, .breaking-news, .ticker {
    max-width: 100%; min-width: 0;
  }
  .hero h1, h1 { font-size: clamp(1.65rem, 7vw, 2.4rem); line-height: 1.18; }
  h2 { font-size: clamp(1.25rem, 5.4vw, 1.8rem); line-height: 1.25; }
  .grid, .news-grid, .category-grid, .cards-grid, .articles-grid, .content-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .news-card, .article-card, .card, .content-card { min-width: 0; max-width: 100%; }
  .news-card img, .article-card img, .card img { max-width: 100%; }
  .footer-content, .footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-logo-image { width: min(155px, 45vw); }
  .footer-logo-image img { max-height: 60px; }
  .admin-container, .admin-content, .dashboard, .admin-layout { width: 100%; max-width: 100%; min-width: 0; }
  .admin-sidebar { max-width: 100%; }
  .admin-main { min-width: 0; width: 100%; }
  input, select, textarea { width: 100%; min-width: 0; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .brand-logo-image { width: 132px; }
  .brand-logo-image img { max-height: 60px; }
  .header-inner { gap: 10px; }
  .leader-details { padding: 15px 14px 17px; }
  .leader-details h3 { font-size: 1.1rem; }
  .btn, button, .button { max-width: 100%; white-space: normal; }
}

/* Team directory home and six-person responsive grid */
.leadership-grid { grid-template-columns:repeat(3,minmax(0,1fr)); max-width:1120px; }
.leader-photo-wrap { height:300px; }
.team-news-link { display:inline-flex; margin-top:16px; padding:11px 20px; border-radius:8px; color:#fff; background:var(--channel-red,#d90429); text-decoration:none; font-weight:800; }
@media(max-width:900px){ .leadership-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:560px){ .leadership-grid{grid-template-columns:minmax(0,1fr);width:100%;} .leader-photo-wrap{height:340px;} .leader-details{padding:15px;} .channel-main-header .header-row{gap:12px;} .brand-titles h1{font-size:1.2rem;} .brand-logo-image{width:105px;} .team-news-link{width:100%;justify-content:center;} }


/* Final navigation and mobile overflow fixes for the separate news portal */
.team-home-link{display:inline-block;color:var(--channel-red,#d90429);text-decoration:underline;text-underline-offset:3px;font-weight:800;font-size:.86rem}
.channel-main-header .header-row,.channel-main-header .brand-titles,.channel-main-header .header-search-wrap{min-width:0}
.channel-main-header .channel-brand{min-width:0;max-width:100%}
.channel-main-header .brand-titles{overflow-wrap:anywhere}
.channel-main-header .brand-tagline{line-height:1.4}
@media(max-width:640px){
  .channel-main-header .header-row{align-items:flex-start;flex-wrap:wrap}
  .channel-main-header .channel-brand{flex:1 1 100%;align-items:center}
  .channel-main-header .header-search-wrap{width:100%;max-width:100%}
  .channel-main-header .header-right-tools{width:100%;max-width:100%}
  .channel-main-header .report-issue-btn{max-width:100%;white-space:normal;line-height:1.35}
  .main-news-section,.district-section,.container{min-width:0}
}


/* Mobile hamburger navigation + compact sticky header fix */
.mobile-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;flex:0 0 44px;border:1px solid var(--border-color,#dbe2ea);border-radius:10px;background:var(--bg-card,#fff);color:var(--text-primary,#111827);cursor:pointer;}
.mobile-menu-toggle span{display:block;width:21px;height:2.5px;border-radius:3px;background:currentColor;transition:transform .2s,opacity .2s;}
.mobile-menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(7.5px) rotate(45deg)}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.mobile-menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-7.5px) rotate(-45deg)}
@media(max-width:640px){
 .channel-main-header{position:relative;top:auto;}
 .channel-main-header .header-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:10px;padding:10px 0;}
 .channel-main-header .channel-brand{grid-column:1;flex:initial;width:100%;align-items:center;gap:9px;}
 .channel-main-header .brand-logo-image{width:64px;flex:0 0 64px;}
 .channel-main-header .brand-logo-image img{max-height:54px;width:100%;object-fit:contain;}
 .channel-main-header .brand-titles h1{font-size:clamp(1rem,4.4vw,1.25rem);line-height:1.15;}
 .channel-main-header .brand-tagline{font-size:.68rem;white-space:normal;}
 .channel-main-header .mobile-menu-toggle{display:flex;grid-column:2;grid-row:1;}
 .channel-main-header .header-search-wrap{display:none!important;}
 .channel-main-header .header-right-tools{grid-column:1/-1;width:100%;}
 .channel-main-header .report-issue-btn{width:100%;justify-content:center;padding:9px 12px;font-size:.82rem;}
 .channel-nav-strip{display:none;border-top:1px solid var(--border-color,#dbe2ea);overflow:visible;}
 .channel-nav-strip.mobile-nav-open{display:block;}
 .channel-nav-strip .nav-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 0;margin:0;white-space:normal;}
 .channel-nav-strip .nav-cat-btn{width:100%;justify-content:flex-start;white-space:normal;padding:10px 8px;font-size:.82rem;line-height:1.25;}
}
@media(min-width:641px){.mobile-menu-toggle{display:none!important}.channel-nav-strip{display:block!important}}


/* Editorial refinement: cleaner news-room hierarchy and more readable story cards */
.channel-main-header{background:var(--bg-card);border-bottom:1px solid var(--border-color);box-shadow:0 4px 18px rgba(15,23,42,.045)}
.channel-main-header .header-row{padding-top:16px;padding-bottom:16px}
.broadcast-top-bar{background:#111827}
.channel-nav-strip{background:var(--bg-card);border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}
.channel-nav-strip .nav-category-list{gap:4px}
.nav-cat-btn{border-radius:6px;transition:background .18s,color .18s,border-color .18s}
.nav-cat-btn:hover,.nav-cat-btn.active{background:var(--channel-red);color:#fff}
.nav-team-link{display:flex;align-items:center;gap:8px;padding:8px 12px;color:var(--text-secondary);font-weight:800;font-size:.88rem;text-decoration:none;border:1px solid var(--border-color);border-radius:7px;min-height:38px}
.nav-team-link:hover{background:var(--channel-red);color:#fff;border-color:var(--channel-red)}
.breaking-flasher-bar{box-shadow:0 4px 12px rgba(15,23,42,.08)}
.main-news-section{padding:26px 0 34px;background:linear-gradient(180deg,rgba(226,232,240,.3),transparent 220px)}
.lead-story-card,.story-card-std{border-radius:8px;box-shadow:0 3px 12px rgba(15,23,42,.055)}
.lead-story-card{border-top:3px solid var(--channel-red)}
.lead-info{padding:clamp(16px,2.2vw,24px)}
.lead-title{letter-spacing:-.015em}
.side-news-col{gap:12px}
.stories-3col-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:18px}
.story-thumb{height:190px}
.story-content{padding:15px 16px 17px}
.district-section{padding-top:12px}
.district-section h2,.mandi-section-box h2{letter-spacing:-.01em}
.footer-promise-copy{font-size:.9rem;line-height:1.75;color:#cbd5e1;max-width:34ch}
.footer-promise-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.footer-promise-tags span{font-size:.72rem;font-weight:700;padding:5px 9px;border-radius:4px;background:rgba(255,255,255,.08);color:#e2e8f0}
.footer-links-list a{transition:color .16s,transform .16s}
.footer-links-list a:hover{color:#fff;transform:translateX(2px)}
.footer-bottom-copy a:hover{color:#fff}
.mobile-bottom-app-bar{border-top:1px solid var(--border-color);box-shadow:0 -8px 24px rgba(15,23,42,.075)}
@media(max-width:640px){
  .main-news-section{padding-top:16px}
  .lead-img-box{height:235px}
  .lead-info{padding:16px}
  .story-thumb{height:205px}
  .channel-footer{padding-top:30px}
  .footer-grid-row{gap:22px}
}

.mobile-menu-search{display:none}
@media(max-width:640px){
 .mobile-menu-search{display:flex;align-items:center;gap:10px;margin:12px 0 4px;padding:0 12px;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-card);color:var(--text-muted)}
 .mobile-menu-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text-primary);padding:12px 0;font:inherit;font-size:.9rem}
 .mobile-menu-search input:focus{outline:none}
 .channel-nav-strip .nav-team-link{width:100%;justify-content:flex-start;padding:10px 8px;font-size:.82rem}
}

/* SEO story links: preserve existing editorial design while making headlines true links. */
.news-story-link{color:inherit;text-decoration:none;text-underline-offset:3px}
.news-story-link:hover,.news-story-link:focus-visible{color:var(--channel-red);text-decoration:underline}
a.story-thumb{display:block;position:relative;color:inherit;text-decoration:none;overflow:hidden}
a.btn-read-full{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}

/* ===== Modals (hidden by default, shown with .active) ===== */
.modal-overlay{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.65);overflow-y:auto}
.modal-overlay.active{display:flex}
.modal-card-container{position:relative;width:100%;max-height:92vh;overflow-y:auto;background:var(--bg-card,#fff);color:var(--text-primary,#111827);border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.modal-close-btn{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(0,0,0,.08);color:inherit;font-size:1rem;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center}
.reader-modal-body{padding:28px}
a.live-badge-btn{text-decoration:none;display:inline-flex;align-items:center;gap:6px}
