/*
Theme Name: Lok Bharat
Theme URI: https://example.com/thecurrentplus
Author: Amit Swami
Author URI: https://example.com
Description: A professional News Website Theme for Lok Bharat. Features breaking news, live updates, category sections, and single post layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: news, magazine, blog, entertainment, responsive
Text Domain: thecurrentplus
*/

/* ============================================
   THE CURRENT PLUS - NEWS THEME
   Version: 1.0.0
   Author: Amit Swami
   ============================================ */

:root {
  --primary: #e8000d;
  --primary-dark: #b50009;
  --accent-orange: #ff6600;
  --accent-green: #00853f;
  --text-dark: #1a1a1a;
  --text-medium: #333333;
  --text-light: #666666;
  --text-link: #1a56a0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --live-red: #ff0000;
  --exclusive-orange: #ff4d00;
}

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

body {
  font-family: 'Mukta', 'Noto Sans Devanagari', 'Hind', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.65;
}

/* Bhaskar-style: headlines use heavier weight Mukta */
h1, h2, h3, h4, h5, h6,
.db-hero-title, .db-list-title, .bhaskar-title,
.db-hero-title a, .db-list-title a {
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-weight: 800;
  line-height: 1.4;
}

/* Body text in posts */
.bhaskar-content, .bhaskar-content p {
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #1a1a1a;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
header { background: #fff; border-bottom: none; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.header-main { max-width: 1200px; margin: auto; padding: 5px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-logo { display: flex; align-items: center; }
.site-logo a img, .site-logo img { height: 32px !important; width: auto !important; max-width: 100px !important; object-fit: contain !important; }
.header-icons { display: flex; align-items: center; gap: 14px; color: var(--text-dark); }
.header-icons a, .header-icons span, .header-icons button { color: var(--text-dark); display: flex; align-items: center; }
.whatsapp-icon svg { transition: transform 0.2s; }
.whatsapp-icon:hover svg { transform: scale(1.1); }
.header-search-toggle { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; }
.header-search-box { display: none; background: #fff; border-top: 1px solid var(--border); padding: 8px 15px; }
.header-search-box.active { display: block; }
.header-search-box form { display: flex; align-items: center; max-width: 600px; margin: auto; border: 2px solid var(--border); border-radius: 20px; overflow: hidden; }
.header-search-box input { flex: 1; padding: 8px 14px; border: none; font-size: 14px; font-family: inherit; outline: none; }
.header-search-box button { background: var(--primary); border: none; padding: 8px 14px; cursor: pointer; color: #fff; }

/* ===== NAV ===== */
nav { background: var(--primary); }
.nav-inner { max-width: 1200px; margin: auto; padding: 0 15px; display: flex; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
nav a { color: #fff; font-size: 13px; font-weight: 600; padding: 10px 14px; white-space: nowrap; display: block; border-bottom: 3px solid transparent; transition: background 0.2s; }
nav a:hover, nav a.current-menu-item { background: rgba(255,255,255,0.15); border-bottom-color: #fff; }

/* ===== TRENDING BAR ===== */
.trending-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 8px 0; }
.trending-inner { max-width: 1200px; margin: auto; padding: 0 15px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.trending-label { background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.trending-tag { background: var(--bg-light); border: 1px solid var(--border); color: var(--text-medium); font-size: 12px; padding: 4px 10px; border-radius: 15px; white-space: nowrap; cursor: pointer; transition: all 0.2s; }
.trending-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== LAYOUT ===== */
.main-container { max-width: 1200px; margin: 15px auto; padding: 0 15px; display: grid; grid-template-columns: 1fr 300px; gap: 20px; }

/* ===== LIVE STRIP ===== */
.live-strip { background: #fff; border: 1px solid #eee; border-left: 4px solid var(--live-red); padding: 10px 15px; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; border-radius: 4px; }
.live-badge { background: var(--live-red); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 3px; animation: pulse 1.5s infinite; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(255,0,0,0.4)} 50%{box-shadow:0 0 0 6px rgba(255,0,0,0)} }

/* ===== HERO ===== */
.hero-section { background: #fff; border-radius: 6px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.hero-image-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #333; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.hero-section:hover .hero-image-wrap img { transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%); }
.hero-content { padding: 16px; }
.hero-title { font-size: 20px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
.hero-title a:hover { color: var(--primary); }
.hero-subtitle { font-size: 14px; color: var(--text-medium); margin-bottom: 12px; }

/* ===== NEWS CARDS ===== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.news-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); transition: box-shadow 0.2s; }
.news-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.15); }
.card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 12px; }
.card-title { font-size: 14px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.card-title a:hover { color: var(--primary); }

/* ===== NEWS LIST ===== */
.news-list-item { background: #fff; border-radius: 6px; display: flex; gap: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.list-thumb { position: relative; width: 110px; min-width: 110px; height: 75px; border-radius: 4px; overflow: hidden; background: #ddd; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-duration { position: absolute; bottom: 4px; right: 4px; background: rgba(0,0,0,0.8); color: #fff; font-size: 10px; padding: 2px 5px; border-radius: 2px; }
.list-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 2px; margin-bottom: 6px; display: inline-block; }
.badge-live { background: var(--live-red); color: #fff; }
.badge-exclusive { background: var(--exclusive-orange); color: #fff; }
.badge-impact { background: #8b4513; color: #fff; }
.list-title { font-size: 14px; font-weight: 700; line-height: 1.45; margin-bottom: 6px; }
.list-title a:hover { color: var(--primary); }

/* ===== SECTION HEADERS ===== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--primary); }
.section-title { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.see-all { font-size: 12px; color: var(--primary); font-weight: 600; border: 1px solid var(--primary); padding: 4px 12px; border-radius: 3px; }
.see-all:hover { background: var(--primary); color: #fff; }
.category-section { background: #fff; border-radius: 6px; padding: 16px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.category-tag { display: inline-block; background: var(--bg-light); color: var(--text-link); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 3px; }
.share-btn { display: flex; align-items: center; gap: 4px; color: #25D366; font-size: 12px; cursor: pointer; }

/* ===== SIDEBAR ===== */
.sidebar-widget { background: #fff; border-radius: 6px; padding: 15px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.widget-title { font-size: 17px; font-weight: 700; padding-bottom: 10px; border-bottom: 3px solid var(--primary); margin-bottom: 12px; }
.trending-news-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; }
.trending-news-item:last-child { border-bottom: none; }
.trending-num { font-size: 22px; font-weight: 900; color: #e8e8e8; min-width: 28px; }
.trending-news-text { font-size: 13px; font-weight: 600; line-height: 1.45; }
.commodity-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.commodity-item:last-child { border-bottom: none; }
.price-main { font-size: 15px; font-weight: 700; }
.price-change { font-size: 11px; padding: 2px 6px; border-radius: 3px; font-weight: 600; }
.price-down { background: #fff0f0; color: #cc0000; }
.price-up { background: #f0fff0; color: #00a000; }

/* ===== WEATHER ===== */
.weather-widget { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: #fff; border-radius: 6px; padding: 15px; margin-bottom: 18px; }
.weather-temp { font-size: 40px; font-weight: 300; }

/* ===== SINGLE POST ===== */
.post-header { margin-bottom: 16px; }
.post-category { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.post-title { font-size: 24px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.post-subtitle { font-size: 16px; color: var(--text-medium); line-height: 1.6; margin-bottom: 12px; font-weight: 600; }
.post-meta-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 16px; font-size: 12px; color: var(--text-light); flex-wrap: wrap; gap: 8px; }
.post-featured { border-radius: 6px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/9; position: relative; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.post-content { font-size: 16px; line-height: 1.8; color: var(--text-medium); }
.post-content p { margin-bottom: 16px; }
.post-content h2 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin: 24px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }

/* ===== INFO BOXES ===== */
.highlight-box { background: #fffbf0; border: 1px solid #f0d080; border-left: 5px solid #e8a000; border-radius: 4px; padding: 16px; margin: 20px 0; }
.tips-box { background: #f0f8ff; border: 1px solid #c0d8f0; border-left: 5px solid var(--text-link); border-radius: 4px; padding: 16px; margin: 20px 0; }
.verify-box { background: #f5f5f5; border: 1px solid #ddd; border-radius: 6px; padding: 16px; margin: 20px 0; }
.info-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; border-radius: 6px; overflow: hidden; }
.info-table th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; font-weight: 700; }
.info-table td { padding: 9px 14px; border-bottom: 1px solid #eee; }
.info-table tr:nth-child(even) td { background: #f9f9f9; }
.price-up-cell { color: #00a000; font-weight: 700; }
.price-down-cell { color: #cc0000; font-weight: 700; }

/* ===== FOOTER ===== */
.fauxy-footer { background: #1a1a1a; color: #aaa; margin-top: 30px; }
.fauxy-footer-section { padding: 22px 18px; }
.fauxy-footer-heading { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; margin: 0 0 18px; text-transform: uppercase; }
.fauxy-footer-divider { border: none; border-top: 1px solid #2e2e2e; margin: 0; }

/* Social icons */
.fauxy-social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fauxy-social-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #444; text-decoration: none; flex-shrink: 0; transition: background .2s; }
.fauxy-social-btn:hover { background: var(--primary, #e8000d); }

/* Quick links — 2-column grid like reference */
.fauxy-quick-links { display: grid; grid-template-columns: 1fr 1fr; row-gap: 22px; column-gap: 12px; }
.fauxy-ql-link { color: #bbb; font-size: 14px; font-weight: 400; text-decoration: none; line-height: 1.45; display: block; }
.fauxy-ql-link:hover { color: #fff; }

/* Copyright */
.fauxy-footer-copyright { padding: 16px 18px; font-size: 12px; color: #666; border-top: 1px solid #2e2e2e; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-container { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-search { display: none; }
  .hero-title { font-size: 17px; }
  .post-title { font-size: 20px; }
  .main-container { padding: 0 8px; margin: 8px auto; }
  .card-body { padding: 8px 10px; }
  .hero-card .card-body { padding: 10px 10px 8px; }
  .ds-fcard-body { padding: 8px 10px; }
  .header-main { padding: 5px 10px !important; }
}

/* ============================================
/* ============================================
   DAINIK BHASKAR STYLE - SINGLE POST
   Complete redesign to match DB exactly
   ============================================ */

/* === ARTICLE WRAPPER === */
.bhaskar-article {
  background: #fff;
  padding: 16px 16px 28px;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
}

/* === CATEGORY TAG — hidden on single post === */
.bhaskar-cat-tag {
  display: none !important;
}

/* Hide categories in related posts on single page */
.single .bhaskar-related-cat,
.single-post .bhaskar-related-cat {
  display: none !important;
}

/* === TITLE — Dainik Bhaskar style: very bold, black, Noto Serif === */
.bhaskar-title {
  font-family: 'Noto Serif Devanagari', 'Noto Sans Devanagari', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.1px;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Title wrapper with colored background */
.title-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.title-wrapper .bhaskar-title {
  margin-bottom: 0;
}

/* === SUBTITLE (optional) === */
.bhaskar-subtitle {
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
  margin-bottom: 10px;
  border-left: none;
  padding-left: 0;
}

/* === META BAR — "Author • 7 घंटे पहले" style === */
.bhaskar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: none;
}
.bhaskar-meta-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 13px;
}
.bhaskar-meta-location svg {
  display: none; /* hide location pin icon like DB */
}
.bhaskar-meta-dot {
  color: #ccc;
  font-size: 14px;
  line-height: 1;
}
.bhaskar-meta-time {
  color: #888;
  font-size: 13px;
}
.bhaskar-meta-readtime {
  color: #aaa;
  font-size: 12px;
}

/* === SHARE BAR — big rounded buttons row like DB === */
.bhaskar-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.bhaskar-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.18s;
  flex: 1;
  min-width: 90px;
  max-width: 130px;
}
.bhaskar-share-btn:hover { opacity: 0.88; }
.bhaskar-share-wa  { background: #25D366; color: #fff; }
.bhaskar-share-fb  { background: #1877F2; color: #fff; }
.bhaskar-share-tw  { background: #000; color: #fff; }
.bhaskar-share-copy {
  background: #f3f3f3;
  color: #333;
  border: 1px solid #ddd;
  flex: none;
  min-width: auto;
  padding: 8px 12px;
}

/* === FEATURED IMAGE — full bleed like DB === */
.bhaskar-featured-img {
  margin: 0 -16px 16px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}
.bhaskar-featured-img img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.bhaskar-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bhaskar-img-caption {
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 11px;
  color: #777;
  padding: 5px 14px;
  background: #f9f9f9;
  text-align: center;
  border-top: 1px solid #eee;
}

/* === CONTENT BODY — DB style: clean, readable, Hind/Noto Sans === */
.bhaskar-content {
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: #1a1a1a;
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.bhaskar-content p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.9;
  color: #1a1a1a;
}
/* First paragraph — normal weight (no forced bold) */
.bhaskar-content > p:first-child {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.85;
  color: #222;
}
.bhaskar-content h2 {
  font-family: 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a !important;
  margin: 26px 0 10px;
  padding-left: 0;
  border-left: none;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  line-height: 1.5;
}
.bhaskar-content h3 {
  font-family: 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a !important;
  margin: 20px 0 8px;
  padding-left: 0;
  border-left: none;
}
.bhaskar-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a !important;
  margin: 16px 0 6px;
}
.bhaskar-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 3px;
  margin: 14px 0;
}
.bhaskar-content figure figcaption {
  font-size: 11px;
  color: #888;
  text-align: center;
  font-style: italic;
  padding: 4px 0;
}
.bhaskar-content ul,
.bhaskar-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.bhaskar-content li {
  margin-bottom: 8px;
  line-height: 1.85;
  font-size: 17px;
}
.bhaskar-content blockquote {
  background: #f9f9f9;
  border-left: 4px solid #e8000d;
  margin: 20px 0;
  padding: 14px 16px;
  font-style: italic;
  color: #555;
  border-radius: 0 4px 4px 0;
}
.bhaskar-content a {
  color: #1a56a0;
  text-decoration: none;
  border-bottom: 1px solid #ccd9ee;
}
.bhaskar-content strong,
.bhaskar-content b {
  font-weight: 700;
  color: #111;
}

/* === TAGS === */
.bhaskar-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}
.bhaskar-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
}
.bhaskar-tag-pill {
  display: inline-block;
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #1a56a0;
  font-size: 12px;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.18s;
}
.bhaskar-tag-pill:hover {
  background: #e8000d;
  color: #fff;
  border-color: #e8000d;
}

/* === BOTTOM SHARE BAR === */
.bhaskar-bottom-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
.bhaskar-bottom-share-label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  flex: 1;
}
.bhaskar-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: opacity 0.18s;
  flex-shrink: 0;
}
.bhaskar-bottom-btn:hover { opacity: 0.82; }
.bhaskar-wa-bottom  { background: #25D366; color: #fff; }
.bhaskar-fb-bottom  { background: #1877F2; color: #fff; }

/* === AUTHOR BOX — "स्पोर्ट्स डेस्क | 7 घंटे पहले" === */
.bhaskar-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  margin-bottom: 4px;
  border-bottom: 1px solid #eee;
}
.bhaskar-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8000d;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  font-family: 'Noto Sans Devanagari', sans-serif;
}
.bhaskar-author-name {
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
.bhaskar-author-date {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
}

/* === RELATED NEWS — "यह भी पढ़ें" === */
.bhaskar-related {
  background: #fff;
  border-radius: 0;
  padding: 16px;
  box-shadow: none;
  margin-bottom: 0;
  border-top: 3px solid #e8000d;
}
.bhaskar-related-header {
  font-family: 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: none;
}
.bhaskar-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.bhaskar-related-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.bhaskar-related-item:last-child {
  border-bottom: none;
}
.bhaskar-related-link {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.bhaskar-related-thumb {
  width: 80px;
  min-width: 80px;
  height: 58px;
  border-radius: 3px;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}
.bhaskar-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bhaskar-related-placeholder {
  width: 100%;
  height: 100%;
  background: #e0e0e0;
}
.bhaskar-related-text { flex: 1; }
.bhaskar-related-cat {
  display: none; /* DB doesn't show category on related items */
}
.bhaskar-related-title-text {
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bhaskar-related-link:hover .bhaskar-related-title-text {
  color: #e8000d;
}
.bhaskar-related-time {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
  font-family: 'Noto Sans Devanagari', 'Hind', sans-serif;
}

/* === COMMENTS === */
.bhaskar-comments {
  background: #fff;
  border-radius: 0;
  padding: 16px;
  box-shadow: none;
  margin-bottom: 0;
  border-top: 1px solid #eee;
}

/* === SINGLE POST LAYOUT — full width, no sidebar, max 680px centered === */
.single-post .main-container,
.single .main-container {
  max-width: 680px;
  grid-template-columns: 1fr;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  gap: 0;
}
.single-post .sidebar,
.single .sidebar {
  display: none !important;
}
.single-post .main-content,
.single .main-content {
  width: 100%;
  min-width: 0;
  background: #fff;
}
.single-post body,
.single body {
  background: #fff;
}

/* === MOBILE === */
@media (max-width: 700px) {
  .single .main-container,
  .single-post .main-container {
    max-width: 100%;
    padding: 0;
  }
  .bhaskar-title {
    font-size: 20px !important;
    line-height: 1.5 !important;
  }
  .bhaskar-content {
    font-size: 16px !important;
  }
  .bhaskar-content p,
  .bhaskar-content li {
    font-size: 16px !important;
  }
  .bhaskar-share-btn {
    font-size: 12px !important;
    padding: 8px 10px !important;
    min-width: 70px;
  }
  .bhaskar-featured-img {
    margin: 0 0 14px;
  }
}

   HEADER — Clean Dainik Bhaskar style
   =================================================== */
header#masthead {
  background: #fff !important;
  border-bottom: 2px solid var(--primary) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-main {
  padding: 4px 15px !important;
}
.site-logo a img,
.site-logo img {
  height: 32px !important;
  width: auto !important;
  max-width: 100px !important;
}
.header-icons {
  gap: 16px !important;
}
.header-icons svg {
  color: #1a1a1a;
}

/* Nav bar — red background */
nav#site-navigation {
  background: var(--primary);
}
nav#site-navigation a {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 9px 14px !important;
}
nav#site-navigation a:hover,
nav#site-navigation a.active {
  background: rgba(0,0,0,0.15) !important;
  color: #fff !important;
}

@media (max-width: 600px) {
  .bhaskar-title { font-size: 19px !important; }
  .bhaskar-share-btn { min-width: 80px; font-size: 12px !important; }
  .bhaskar-featured-img { margin: 0 -16px 14px; }
}

/* Hide breadcrumb on single post pages */
.single .breadcrumb,
.single .breadcrumbs,
.single .rank-math-breadcrumb,
.single .yoast-breadcrumb,
.single #breadcrumbs,
.single nav.breadcrumb,
.single .breadcrumb-trail,
.single .woocommerce-breadcrumb {
  display: none !important;
}

/* ===== HIDE NAVIGATION BAR EVERYWHERE ===== */
#site-navigation,
nav#site-navigation {
  display: none !important;
}

/* ===== SINGLE POST — TOP BAR WITH WHATSAPP (like Dainik Bhaskar) ===== */
.single-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.single-source-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-medium);
}
.single-wa-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25D366;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.single-wa-top-btn:hover { background: #1ebe5b; }

/* ===== SINGLE POST TITLE — colored prefix ===== */
.bhaskar-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 12px;
}
.bhaskar-title .title-prefix {
  font-weight: 800;
}

/* ===== HOME LIST — WhatsApp share button ===== */
.db-list-wa-share {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #25D366 !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.db-list-wa-share:hover { opacity: 0.8; }

/* ===== HOME PAGE — CATEGORY SCROLL NAV (like DB top bar) ===== */
.home-cat-scroll { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.home-cat-inner { max-width: 1200px; margin: auto; padding: 0 10px; display: flex; overflow-x: auto; scrollbar-width: none; gap: 0; }
.home-cat-inner::-webkit-scrollbar { display: none; }
.home-cat-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 9px 13px; white-space: nowrap; color: var(--text-medium); border-bottom: 3px solid transparent; transition: color 0.2s, border-color 0.2s; text-decoration: none; }
.home-cat-link:hover { color: var(--primary); }
.home-cat-active { color: var(--primary) !important; border-bottom-color: var(--primary) !important; }

/* ===== HOME WRAP ===== */
.home-wrap { background: #f0f0f0; }

/* ===== LIVE STRIP ===== */
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

/* ===== NEWS FEED ===== */
.ds-feed { padding: 6px 6px 20px; display: flex; flex-direction: column; gap: 6px; }

/* ── FEATURED CARD ── */
.ds-fcard { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.09); cursor: pointer; transition: transform .1s; }
.ds-fcard:active { transform: scale(.99); }
.ds-fcard-link { display: block; text-decoration: none; color: inherit; width: 100%; }
.ds-fcard-img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #e8e8e8; }
.ds-fcard-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ds-fcard:hover .ds-fcard-img { transform: scale(1.03); }
.ds-fcard-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#e8eaf6 0%,#c5cae9 100%); }
.ds-fcard-body { padding: 9px 11px 8px; display: block; width: 100%; box-sizing: border-box; }
.ds-fcard-hl { font-size: 15px; font-weight: 800; line-height: 1.5; color: #111; margin-bottom: 9px; font-family: 'Noto Serif Devanagari','Noto Sans Devanagari',serif; }

/* ── COMPACT CARD ── */
.ds-ccard { background: #fff; border-radius: 14px; box-shadow: 0 1px 5px rgba(0,0,0,.07); padding: 8px 10px; display: flex; gap: 9px; cursor: pointer; align-items: flex-start; transition: transform .1s; }
.ds-ccard:active { transform: scale(.99); }
.ds-ccard:hover { box-shadow: 0 3px 12px rgba(0,0,0,.13); }
.ds-ccard-text { flex: 1; min-width: 0; }
.ds-ccard-hl { font-size: 13px; font-weight: 700; line-height: 1.55; color: #111; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 7px; font-family: 'Noto Serif Devanagari','Noto Sans Devanagari',serif; }
.ds-ccard-hl a { text-decoration: none; color: inherit; }
.ds-ccard-hl a:hover { opacity: .85; }
.ds-ccard-thumb-wrap { width: 88px; min-width: 88px; height: 67px; border-radius: 9px; overflow: hidden; background: #e8e8e8; display: block; flex-shrink: 0; }
.ds-ccard-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-ccard-placeholder { width: 100%; height: 100%; background: #ddd; }

/* ── CARD FOOTER ── */
.ds-card-foot { display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 4px; width: 100%; overflow: hidden; box-sizing: border-box; }
.ds-card-foot .ds-pill { flex-shrink: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 0 !important; margin-right: auto !important; }
.ds-card-foot .ds-share-btn { flex-shrink: 0; padding: 3px 5px; margin-left: auto; }

/* ── CATEGORY PILLS ── */
.ds-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.pill-red    { background: #ffebee; color: #c62828; }
.pill-blue   { background: #e3f2fd; color: #1565c0; }
.pill-dblue  { background: #e3f2fd; color: #1565c0; }
.pill-orange { background: #fff3e0; color: #e65100; }
.pill-green  { background: #e8f5e9; color: #2e7d32; }
.pill-purple { background: #ede7f6; color: #4527a0; }
.pill-pink   { background: #fce4ec; color: #880e4f; }
.pill-brown  { background: #efebe9; color: #4e342e; }

/* ── SHARE BUTTON ── */
.ds-share-btn { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: #999; cursor: pointer; text-decoration: none; padding: 3px 6px; border-radius: 8px; transition: background .12s, color .12s; white-space: nowrap; line-height: 1; }
.ds-share-btn:hover { background: #f5f5f5; color: #555; }

/* ── TITLE ACCENT ── */
.hl-accent { font-weight: 800; }
.hl-rest   { color: #1a1a1a; font-weight: 700; }

/* ===== LOAD MORE BUTTON ===== */
.home-load-more-wrap { text-align: center; padding: 18px 0 24px; }
.home-load-more-btn { background: #fff; border: 1.5px solid #e0e0e0; color: var(--text-dark); font-size: 14px; font-weight: 700; padding: 10px 32px; border-radius: 20px; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.home-load-more-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── LEGACY COMPAT (load-more AJAX cards still use db-list-item) ── */
.db-list-item { display: flex; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 5px rgba(0,0,0,.07); align-items: flex-start; margin-bottom: 0; }
.db-list-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,.13); }
.db-list-body { flex: 1; min-width: 0; }
.db-list-title { font-size: 13px; font-weight: 700; line-height: 1.5; margin-bottom: 7px; font-family: 'Noto Serif Devanagari','Noto Sans Devanagari',serif; }
.db-list-title a { text-decoration: none; color: #111; }
.db-list-title a:hover { opacity: .85; }
.db-list-meta { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; width: 100%; overflow: hidden; box-sizing: border-box; }
.db-cat-tag { font-size: 11px; font-weight: 600; background: #ffebee; color: #c62828; padding: 2px 9px; border-radius: 10px; text-decoration: none; flex-shrink: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-cat-tag:hover { opacity: .85; }
.db-list-sep { display: none; }
.db-list-wa-share { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: #999 !important; text-decoration: none; padding: 3px 6px; border-radius: 7px; flex-shrink: 0; margin-left: auto; white-space: nowrap; }
.db-list-wa-share:hover { background: #f5f5f5; color: #555 !important; }
.db-list-thumb-wrap { position: relative; width: 88px; min-width: 88px; height: 67px; border-radius: 9px; overflow: hidden; background: #e8e8e8; display: block; }
.db-list-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.db-thumb-placeholder { width: 100%; height: 100%; background: #ddd; }
.db-list-badge { display: inline-block; font-size: 10px; font-weight: 800; border: 1px solid; padding: 1px 6px; border-radius: 2px; margin-bottom: 4px; }

/* ═══════════════════════════════════════════════════
   HEADER SEARCH ICON
═══════════════════════════════════════════════════ */
.header-search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  text-decoration: none;
  color: #555;
}
.header-search-icon-btn svg {
  display: block;
}
.header-search-icon-btn:hover svg {
  stroke: var(--primary, #e8000d);
}

/* ═══════════════════════════════════════════════════
   SEARCH PAGE — fsx- namespace (Image 2 & 3 style)
═══════════════════════════════════════════════════ */

/* Page wrapper — hides site header on search */
.fsx-page {
  background: #fff;
  min-height: 100vh;
}

/* Hide the main site header when on search page */
.search-template #masthead,
body.search #masthead {
  display: none;
}

/* ── Top bar ── */
.fsx-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 200;
}
.fsx-topbar--results {
  background: #fff;
}
.fsx-back {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  padding: 4px 2px;
}
.fsx-back:hover { color: var(--primary, #e8000d); }

/* ── Search form ── */
.fsx-form {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 10px;
  padding: 0 6px 0 12px;
  gap: 4px;
}
.fsx-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  padding: 10px 0;
  color: #222;
}
.fsx-input::placeholder { color: #999; }
.fsx-clear {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #999;
  padding: 4px;
  flex-shrink: 0;
}
.fsx-submit {
  background: var(--primary, #e8000d);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: #fff;
}
.fsx-submit svg { stroke: #fff; }

/* ── Trending (empty search page) ── */
.fsx-trending-wrap {
  padding: 20px 16px;
}
.fsx-trending-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary, #e8000d);
  margin-bottom: 14px;
  letter-spacing: .1px;
}
.fsx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.fsx-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f5f5f5;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  font-family: inherit;
  transition: all .15s;
}
.fsx-chip:hover {
  background: #fff0f0;
  border-color: var(--primary, #e8000d);
  color: var(--primary, #e8000d);
}
.fsx-chip svg { stroke: #aaa; flex-shrink: 0; }

/* ── Results list ── */
.fsx-results-list {
  background: #f2f2f7;
  padding: 10px 12px;
  min-height: 60vh;
}
.fsx-result-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.fsx-result-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fsx-result-cat {
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
}
.fsx-result-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  font-family: 'Noto Serif Devanagari','Noto Sans Devanagari',serif;
}
.fsx-result-title a {
  text-decoration: none;
}
.fsx-result-title a:hover { opacity: .85; }
.fsx-result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.fsx-result-time {
  font-size: 11px;
  color: #999;
}
.fsx-result-share {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #555;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background .15s;
}
.fsx-result-share:hover { background: #f0f0f0; }

/* ── Thumbnail ── */
.fsx-result-thumb-wrap {
  width: 90px;
  min-width: 90px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  display: block;
  flex-shrink: 0;
}
.fsx-result-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fsx-thumb-placeholder {
  background: linear-gradient(135deg,#f0f0f0,#ddd);
}

/* ── Pagination ── */
.fsx-pagination {
  padding: 12px 12px 24px;
  background: #f2f2f7;
}
.fsx-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.fsx-pagination .page-numbers {
  background: #fff;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  border: 1px solid #e5e5e5;
}
.fsx-pagination .page-numbers.current {
  background: var(--primary, #e8000d);
  color: #fff;
  border-color: var(--primary, #e8000d);
}

/* ── No results ── */
.fsx-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  text-align: center;
  background: #f2f2f7;
  min-height: 50vh;
}
.fsx-no-results h2 {
  font-size: 16px;
  margin: 14px 0 6px;
  color: #333;
}
.fsx-no-results p {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.fsx-try-again {
  background: var(--primary, #e8000d);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   CARD FOOTER — pill LEFT, share RIGHT (all cards)
═══════════════════════════════════════════════════ */
.ds-fcard-foot-wrap { padding-top: 0 !important; }
.ds-fcard .ds-card-foot {
  justify-content: space-between;
}
.ds-fcard .ds-card-foot .ds-pill {
  margin-left: 0 !important;
  margin-right: auto !important;
  flex-shrink: 0;
}
.ds-fcard .ds-card-foot .ds-share-btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Archive / Category page header ───────────────────────────────────────── */
.arch-cat-header {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border-left: 4px solid #e8000d;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arch-cat-title {
  font-size: 19px;
  font-weight: 800;
  font-family: 'Noto Sans Devanagari','Mukta',sans-serif;
}
.arch-cat-badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 3px 9px;
  border-radius: 20px;
  opacity: .85;
  flex-shrink: 0;
}
.cat-feed-wrap {
  padding: 0 0 20px;
}
.cat-fcard {
  margin: 0 0 10px;
}
