/*
Theme Name: Bhaskar News
Theme URI: https://onlinesamacharayodhya.in
Author: Antigravity Team
Author URI: https://onlinesamacharayodhya.in
Description: Online Samachar Ayodhya - Dainik Bhaskar Style 3-Column News Theme with Light/Dark Mode Switch & 7 Ad Placements.
Version: 4.0.0
License: GNU General Public License v2 or later
Text Domain: bhaskar-news
*/

/* ==================== 1. COLOR TOKENS: DEFAULT LIGHT MODE ==================== */
:root {
  --bg-page: #f4f5f8;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --border-color: #e5e7eb;
  --border-hover: #d1d5db;
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --headline-hook: #dc2626;      /* Signature Red in Light Mode */
  --headline-body: #111827;
  --brand-primary: #e11d48;
  --brand-orange: #ea580c;
  --brand-yellow: #f59e0b;
  --bullet-bg: #fffdf5;
  --bullet-border: #fef3c7;
  --bullet-accent: #f59e0b;
  --bullet-text: #92400e;
  --stats-bg: #ffffff;
  --stats-text: #111827;
  --ad-bg: #f8fafc;
  --ad-border: #cbd5e1;
  --ad-text: #1d4ed8;
  --footer-bg: #0f172a;
  --footer-text: #94a3b8;
  --nav-hover: #f3f4f6;
  --font-family: 'Noto Sans Devanagari', 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max-width: 1540px;
}

/* ==================== 2. COLOR TOKENS: DARK MODE OVERRIDES ==================== */
html.dark-mode {
  --bg-page: #121212;
  --bg-card: #18191a;
  --bg-header: #18191a;
  --border-color: #282828;
  --border-hover: #3f3f46;
  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;
  --headline-hook: #4ade80;      /* Lime Green Hook in Dark Mode */
  --headline-body: #ffffff;
  --brand-primary: #ff554b;
  --brand-orange: #ff8400;
  --brand-yellow: #facc15;
  --bullet-bg: #1c1c1e;
  --bullet-border: #2e2e32;
  --bullet-accent: #facc15;
  --bullet-text: #fef08a;
  --stats-bg: #ffffff;
  --stats-text: #111827;
  --ad-bg: #161718;
  --ad-border: #374151;
  --ad-text: #60a5fa;
  --footer-bg: #090a0b;
  --footer-text: #6b7280;
  --nav-hover: #262626;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a:hover {
  color: var(--headline-hook);
}

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

/* ==================== 3. TOP MASTHEAD HEADER ==================== */
.bhaskar-top-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

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

.bhaskar-sun-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-text-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.site-title-main {
  font-size: 23px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.site-title-city {
  font-size: 23px;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: -0.3px;
}

.header-datetime-box {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  border-left: 1px solid var(--border-color);
  padding-left: 14px;
  white-space: nowrap;
}

.date-line {
  font-weight: 600;
}

.time-line {
  color: var(--text-muted);
}

.header-right-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-right-nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.nav-item:hover {
  background: var(--nav-hover);
}

.nav-item.active {
  color: var(--brand-orange);
}

/* Theme Toggle Button (Light/Dark Switch) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--nav-hover);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  margin-left: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
  font-family: inherit;
}

.theme-toggle-btn:hover {
  background: var(--border-color);
}

.theme-icon {
  font-size: 13px;
}

/* ==================== MOBILE CATEGORIES STRIP ==================== */
.mobile-categories-strip {
  display: none; /* Hidden on desktop by default */
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 52px;
  z-index: 998;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.mobile-cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-cat-scroll::-webkit-scrollbar {
  display: none;
}

.mob-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--nav-hover);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mob-cat-chip:hover,
.mob-cat-chip.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Search Dropdown */
.search-popdown-bar {
  display: none;
  background: var(--bg-card);
  border-bottom: 2px solid var(--brand-primary);
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.search-popdown-bar.active {
  display: block;
}

.search-inner-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.search-popdown-bar .search-form {
  display: flex;
}

.search-popdown-bar .search-input {
  flex-grow: 1;
  padding: 8px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
}

.search-popdown-bar .search-btn {
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 800;
  border: none;
  padding: 0 18px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* ==================== 4. MAIN 3-COLUMN ARCHITECTURE ==================== */
.bhaskar-layout-wrapper {
  max-width: var(--container-max-width);
  margin: 18px auto 40px;
  padding: 0 20px;
}

.bhaskar-3col-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

/* ==================== COLUMN 1: LEFT VERTICAL SIDEBAR ==================== */
.bhaskar-left-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 8px;
  position: sticky;
  top: 75px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.vertical-cat-menu {
  list-style: none;
}

.vertical-cat-menu li {
  margin-bottom: 2px;
}

.vertical-cat-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.15s ease;
  position: relative;
}

.vertical-cat-menu li a:hover,
.vertical-cat-menu li.active a {
  background: var(--nav-hover);
  color: var(--headline-hook);
}

.cat-bullet {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-count {
  background: var(--border-color);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.badge-hot-pill {
  background: #dc2626;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
  letter-spacing: 0.5px;
  animation: pulse-hot 1.8s infinite;
}

@keyframes pulse-hot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

.badge-viral-pill {
  background: #7c3aed;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
  letter-spacing: 0.5px;
}

.badge-new-pill {
  background: #16a34a;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
  letter-spacing: 0.5px;
}

.menu-divider-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 14px 10px 4px;
  letter-spacing: 0.4px;
  border-top: 1px solid var(--border-color);
  margin-top: 6px;
}

.menu-divider-label:first-child {
  border-top: none;
  padding-top: 4px;
  margin-top: 0;
}

/* ==================== COLUMN 2: CENTER CONTENT COLUMN ==================== */
.bhaskar-center-column {
  min-width: 0;
}

/* Trending Strip */
.bhaskar-trending-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.trending-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-primary);
  white-space: nowrap;
}

.trending-pills-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.trending-pills-scroll::-webkit-scrollbar {
  display: none;
}

.trending-pill-chip {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 16px;
  display: inline-block;
  transition: all 0.15s;
}

.trending-pill-chip:hover {
  background: var(--border-color);
  border-color: var(--border-hover);
}

/* ==================== 2-PART HEADLINES ==================== */
.headline-hook {
  color: var(--headline-hook);
  font-weight: 800;
}

.headline-body {
  color: var(--headline-body);
  font-weight: 600;
}

/* Lead Hero Article */
.lead-hero-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.lead-headline {
  font-size: 24px;
  line-height: 1.38;
  margin-bottom: 16px;
}

.lead-headline a:hover .headline-hook {
  opacity: 0.85;
}

.lead-media-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--nav-hover);
}

.media-link {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.lead-img, .single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lead-media-wrap:hover .lead-img {
  transform: scale(1.03);
}

.media-play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.play-arrow {
  color: #ffffff;
  font-size: 17px;
  margin-left: 2px;
}

.video-dur-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

/* 3-Bullet Highlight Box (Themed) */
.bhaskar-bullet-box-themed {
  background: var(--bullet-bg);
  border: 1px solid var(--bullet-border);
  border-left: 4px solid var(--bullet-accent);
  padding: 12px 16px;
  border-radius: 4px;
  margin: 16px 0;
}

.bullet-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--bullet-accent);
  margin-bottom: 6px;
}

.bhaskar-bullet-box-themed ul {
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--bullet-text);
  line-height: 1.6;
}

.bhaskar-bullet-box-themed li {
  margin-bottom: 4px;
}

.lead-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 12px;
}

.lead-whatsapp-btn {
  margin-left: auto;
  background: #25d366;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
}

/* Themed Ad Units */
.ad-slot-themed {
  background: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  text-align: center;
  padding: 10px;
  margin: 22px 0;
  border-radius: 6px;
}

.ad-slot-themed .ad-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}

.ad-box-inner {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.ad-title-tag {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ad-text);
}

.ad-sub-tag {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* News Grids (2 Columns) */
.section-feed-block {
  margin-bottom: 26px;
}

.feed-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--brand-primary);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.feed-sec-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.feed-sec-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-orange);
}

.city-quick-tabs {
  display: flex;
  gap: 6px;
}

.tab-chip {
  font-size: 12px;
  font-weight: 700;
  background: var(--nav-hover);
  color: var(--text-muted);
  padding: 2px 10px;
  border-radius: 12px;
}

.tab-chip.active, .tab-chip:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.grid-2-themed-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.themed-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.card-thumb-link {
  position: relative;
  aspect-ratio: 16/10;
  display: block;
  overflow: hidden;
  background: var(--nav-hover);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

.card-title {
  font-size: 14px;
  line-height: 1.42;
  margin-bottom: 8px;
}

.card-meta {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted);
}

/* Badges */
.bhaskar-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.badge-live {
  background: var(--brand-primary);
  color: #ffffff;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

.badge-exclusive {
  background: #7c3aed;
  color: #ffffff;
}

.badge-explainer {
  background: var(--brand-orange);
  color: #ffffff;
}

/* ==================== COLUMN 3: RIGHT SIDEBAR COLUMN ==================== */
.bhaskar-right-column {
  min-width: 0;
}

/* Google News Follow CTA Box */
.google-source-cta-box {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.google-source-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cta-message {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.cta-message strong {
  color: #1a73e8;
}

.google-news-badge-img {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #1a73e8;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-text {
  font-size: 10px;
}

/* 300x250 Sidebar Ad */
.ad-slot-themed-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.ad-slot-themed-sidebar .ad-label {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
  font-weight: 700;
}

.sidebar-ad-inner {
  height: 250px;
  background: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-brand-lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--ad-text);
}

/* "वीडियो बुलेटिन" Section */
.side-video-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 20px;
}

.side-video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.side-video-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}

.side-video-more {
  font-size: 12px;
  color: var(--text-muted);
}

.side-video-card {
  margin-bottom: 12px;
}

.side-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  margin-bottom: 8px;
}

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

.play-small-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

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

.side-video-card-title a {
  color: var(--text-primary);
}

.side-video-card-title a:hover {
  color: var(--headline-hook);
}

/* Sticky Half-Page Ad */
.sticky-sidebar-ad-themed {
  position: sticky;
  top: 75px;
}

/* ==================== 5. SINGLE POST PAGE ==================== */
.single-breadcrumb-themed {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.single-breadcrumb-themed a {
  color: var(--text-muted);
}

.single-breadcrumb-themed a:hover {
  color: var(--headline-hook);
}

.crumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

.single-post-title {
  font-size: 27px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.single-byline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.byline-left-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byline-city strong {
  color: var(--text-primary);
}

.byline-sep {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
}

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

.round-tool-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--nav-hover);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.round-tool-btn:hover {
  background: var(--border-color);
}

.round-tool-btn.fb:hover {
  background: #1877f2;
  color: #fff;
}

.round-tool-btn.tw:hover {
  background: #000;
  color: #fff;
}

.wa-pill-btn {
  background: #25d366;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 15px;
}

/* In-Article WhatsApp Banner */
.mobile-whatsapp-share-strip {
  margin: 20px 0;
  text-align: center;
}

.mobile-wa-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.mobile-wa-banner-btn:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

.single-media-container {
  margin-bottom: 18px;
}

.media-thumb-box {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--nav-hover);
  aspect-ratio: 16/9;
}

/* Post Content Body */
.single-content-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.single-content-body p {
  margin-bottom: 20px;
}

.single-content-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 28px 0 14px;
  padding-left: 10px;
  border-left: 4px solid var(--brand-primary);
}

.single-content-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

/* In-Content "ये खबर भी पढ़ें…" Box */
.bhaskar-read-also-box {
  background: var(--bullet-bg);
  border-left: 4px solid var(--brand-primary);
  padding: 12px 16px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.read-also-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.read-also-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--headline-hook);
  line-height: 1.4;
}

.read-also-title:hover {
  text-decoration: underline;
}

/* Editorial Transparency Box */
.themed-editorial-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin: 28px 0 20px;
}

.box-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* Tags */
.themed-tags-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.tags-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.themed-tag-chip {
  background: var(--nav-hover);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
}

.themed-tag-chip:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

/* Multiplex Ad Container */
.multiplex-container-themed {
  margin-top: 30px;
}

.ad-tile-card {
  padding: 10px;
}

.ad-tile-inner {
  height: 80px;
  background: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
}

.related-block-themed {
  margin-top: 35px;
}

/* Pagination */
.bhaskar-pagination-themed {
  margin: 30px 0;
  text-align: center;
}

.bhaskar-pagination-themed .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.bhaskar-pagination-themed a,
.bhaskar-pagination-themed span.current {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.bhaskar-pagination-themed span.current {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

/* Copy Toast */
.copy-toast-themed {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: #111827;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 10001;
}

.copy-toast-themed.show {
  opacity: 1;
}

/* ==================== 6. FOOTER STYLING ==================== */
.bhaskar-footer-themed {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 35px 0 65px;
  font-size: 13px;
  color: var(--footer-text);
  margin-top: 40px;
}

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

.footer-columns-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #1f2937;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.footer-text {
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-social-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.f-soc-pill {
  background: #1e293b;
  color: #e2e8f0;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.f-soc-pill:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.f-heading {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  border-left: 3px solid var(--brand-orange);
  padding-left: 6px;
}

.f-list {
  list-style: none;
}

.f-list li {
  margin-bottom: 6px;
}

.f-list a {
  color: var(--footer-text);
}

.f-list a:hover {
  color: #ffffff;
}

.footer-bottom-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  font-size: 11px;
  color: #64748b;
}

.footer-bottom-copyright strong {
  color: #cbd5e1;
}

/* ==================== 7. MOBILE STICKY BOTTOM ANCHOR AD ==================== */
.sticky-mobile-anchor-themed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  text-align: center;
  padding: 5px 0;
  border-top: 1px solid var(--border-color);
}

.close-anchor-themed-btn {
  position: absolute;
  top: -22px;
  right: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid var(--border-color);
  border-bottom: none;
}

.anchor-label-themed {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.anchor-box-themed {
  height: 50px;
  background: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ad-text);
}

/* ==================== 8. RESPONSIVE BREAKPOINTS (MOBILE-FIRST POLISH) ==================== */

/* 1. Large Screens & Laptops (<= 1400px) */
@media (max-width: 1400px) {
  .header-right-nav {
    gap: 3px;
  }
  .nav-item {
    padding: 5px 7px;
    font-size: 13px;
  }
  .theme-toggle-btn {
    padding: 5px 10px;
    font-size: 11.5px;
  }
  .bhaskar-3col-grid {
    grid-template-columns: 225px minmax(0, 1fr) 310px;
    gap: 20px;
  }
}

/* 2. Small Laptops & Desktops (<= 1200px) */
@media (max-width: 1200px) {
  .header-datetime-box {
    display: none;
  }
  .nav-item {
    padding: 4px 6px;
    font-size: 12px;
  }
  .bhaskar-3col-grid {
    grid-template-columns: 210px minmax(0, 1fr) 290px;
    gap: 16px;
  }
}

/* 3. Tablets & Large Phones (<= 992px) */
@media (max-width: 992px) {
  .bhaskar-layout-wrapper {
    padding: 0 14px;
    margin: 12px auto 24px;
  }
  .bhaskar-3col-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bhaskar-left-sidebar {
    display: none; /* Handled by mobile category strip */
  }
  .bhaskar-right-column {
    margin-top: 10px;
  }

  /* Show Mobile Category Chips Strip */
  .mobile-categories-strip {
    display: block;
  }

  /* Compact Desktop Nav on Tablet: hide text items, keep Search & Theme */
  .header-right-nav .nav-item {
    display: none;
  }
  .header-right-nav .nav-item[href="#search"] {
    display: inline-flex;
    padding: 6px 10px;
    font-size: 14px;
  }
}

/* 4. Mobile Phones (<= 768px - WHERE 99% TRAFFIC LANDS) */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
  }

  /* Mobile Header */
  .header-container {
    height: 52px;
    padding: 0 12px;
  }
  .bhaskar-sun-logo svg {
    width: 26px;
    height: 26px;
  }
  .site-title-main {
    font-size: 17px;
  }
  .site-title-city {
    font-size: 17px;
  }
  .header-datetime-box {
    display: none;
  }

  .theme-toggle-btn {
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 16px;
    margin-left: 2px;
  }
  .theme-label {
    display: none; /* Only show 🌙 / ☀️ icon on mobile header */
  }
  .theme-icon {
    font-size: 15px;
  }

  /* Mobile Categories Strip */
  .mobile-categories-strip {
    top: 52px;
  }
  .mobile-cat-scroll {
    padding: 6px 10px;
    gap: 6px;
  }
  .mob-cat-chip {
    padding: 5px 10px;
    font-size: 12px;
  }

  /* Trending Strip on Mobile */
  .bhaskar-trending-bar {
    padding: 6px 10px;
    margin-bottom: 12px;
    gap: 8px;
    border-radius: 4px;
  }
  .trending-label {
    font-size: 11.5px;
  }
  .trending-pill-chip {
    padding: 3px 8px;
    font-size: 11px;
  }

  /* Lead Hero Story on Mobile */
  .lead-hero-article {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
  }
  .lead-headline {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 10px;
    font-weight: 800;
  }
  .lead-media-wrap {
    border-radius: 6px;
    margin-bottom: 10px;
  }
  .media-play-circle {
    width: 42px;
    height: 42px;
  }
  .play-arrow {
    font-size: 15px;
  }
  .video-dur-tag {
    font-size: 10px;
    padding: 2px 5px;
  }
  .bhaskar-bullet-box-themed {
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
  }
  .bullet-header {
    font-size: 12.5px;
    margin-bottom: 6px;
  }
  .bhaskar-bullet-box-themed ul li {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
  }
  .lead-meta-row {
    font-size: 11.5px;
    gap: 8px;
  }
  .lead-whatsapp-btn {
    padding: 5px 10px;
    font-size: 11px;
    margin-left: auto;
  }

  /* Feed Section Header */
  .feed-section-header {
    margin-bottom: 10px;
    padding-bottom: 6px;
  }
  .feed-sec-title {
    font-size: 16px;
  }
  .feed-sec-more {
    font-size: 11.5px;
  }

  /* Single Article on Mobile */
  .single-breadcrumb-themed {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .single-post-title {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .single-byline-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    margin-bottom: 12px;
  }
  .byline-left-meta {
    font-size: 11.5px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .byline-right-tools {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .wa-pill-btn {
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 12px;
  }
  .single-content-body {
    font-size: 17px;
    line-height: 1.8;
  }
  .single-content-body p {
    margin-bottom: 16px;
  }

  /* AdSense Slots on Mobile */
  .ad-slot-themed {
    margin: 14px 0;
    padding: 8px;
  }
  .ad-box-inner {
    padding: 16px 8px;
  }
  .ad-title-tag {
    font-size: 12px;
  }

  /* Footer on Mobile */
  .bhaskar-footer-themed {
    padding: 24px 0 70px; /* Room for bottom sticky ad */
  }
  .footer-columns-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-social-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .f-soc-pill {
    font-size: 11px;
    padding: 5px 9px;
  }
}

/* 5. Mobile Feed Cards (Dainik Bhaskar Horizontal Style for screen <= 640px) */
@media (max-width: 640px) {
  .grid-2-themed-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .themed-news-card {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .themed-news-card:hover {
    transform: none;
    box-shadow: none;
  }

  .card-thumb-link {
    width: 105px;
    min-width: 105px;
    max-width: 105px;
    height: 75px;
    aspect-ratio: unset;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 10px;
    flex-shrink: 0;
  }

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

  .themed-news-card .card-body {
    padding: 0;
    flex: 1;
    min-width: 0;
  }

  .card-title {
    font-size: 14.5px;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-meta {
    font-size: 11px;
    margin-top: 4px;
  }

  .bhaskar-badge {
    top: 4px;
    left: 4px;
    font-size: 9px;
    padding: 1px 4px;
  }

  /* Multiplex ad tiles remain 2x2 grid */
  .multiplex-container-themed .grid-2-themed-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .multiplex-container-themed .themed-news-card {
    display: flex;
    flex-direction: column;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-card);
  }
  .multiplex-container-themed .card-thumb-link {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    margin-left: 0;
  }
}
