/* ===========================================================
   BHASKARPRESS PRO — PIXEL-PERFECT DAINIK BHASKAR THEME CSS
   =========================================================== */

/* ---- GOOGLE FONT ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---- FULL WIDTH BASE ---- */
html, body { width: 100%; overflow-x: hidden; }

/* ---- CSS VARIABLES ---- */
:root {
  --primary:       #d60000;
  --primary-dark:  #b50000;
  --primary-light: #ff4444;
  --bg:            #f0f0f0;
  --bg2:           #ffffff;
  --card:          #ffffff;
  --border:        #e0e0e0;
  --text:          #1a1a1a;
  --text-light:    #666666;
  --text-muted:    #999999;
  --header-bg:     #ffffff;
  --nav-bg:        #ffffff;
  --nav-text:      #1a1a1a;
  --nav-active:    #d60000;
  --utility-bg:    #f7f7f7;
  --utility-border:#eeeeee;
  --breaking-bg:   #d60000;
  --breaking-label:#b50000;
  --shadow:        0 2px 8px rgba(0,0,0,0.08);
  --radius:        4px;
  --font-hindi:    'Noto Sans Devanagari', 'Arial Unicode MS', sans-serif;
  --font-base:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.dark-mode {
  --bg:            #0f0f0f;
  --bg2:           #1a1a1a;
  --card:          #1e1e1e;
  --border:        #2e2e2e;
  --text:          #f0f0f0;
  --text-light:    #aaaaaa;
  --text-muted:    #777777;
  --header-bg:     #1a1a1a;
  --nav-bg:        #1a1a1a;
  --nav-text:      #f0f0f0;
  --utility-bg:    #111111;
  --utility-border:#222222;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-hindi);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- READING PROGRESS ---- */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  width: 0; background: var(--primary); z-index: 999999;
  transition: width 0.1s linear;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 20px;
}
.bh-page-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Full-width section wrappers with contained content */
.breaking-bar { width: 100%; }
.top-utility-bar { width: 100%; }
.site-header { width: 100%; }

/* ===========================================================
   TOP UTILITY BAR (Desktop)
   =========================================================== */
.top-utility-bar {
  background: var(--utility-bg);
  border-bottom: 1px solid var(--utility-border);
  display: block;
}
.tub-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.tub-left .logo-link { display: flex; align-items: center; }
.tub-left .site-logo { max-height: 42px; width: auto; }
.tub-left .logo-text {
  font-size: 24px; font-weight: 800;
  color: var(--primary); letter-spacing: -0.5px;
}
.tub-right {
  display: flex; align-items: center; gap: 4px;
}
.tub-link {
  font-size: 13px; font-weight: 500;
  color: var(--text-light); padding: 6px 10px;
  border-radius: 4px; white-space: nowrap;
  transition: color 0.2s;
}
.tub-link:hover { color: var(--primary); }
.tub-weather {
  font-size: 13px; font-weight: 600;
  color: var(--text); padding: 4px 12px;
  margin-right: 8px;
}
.tub-icon-btn {
  background: none; border: none;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 15px;
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}
.tub-icon-btn:hover { background: var(--border); color: var(--primary); }

/* ===========================================================
   MAIN SITE HEADER / NAV
   =========================================================== */
.site-header {
  background: var(--nav-bg);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 9000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}

/* --- Desktop Nav --- */
.main-nav {
  display: flex; align-items: center;
  height: 48px;
}
.nav-hamburger {
  background: none; border: none;
  display: flex; flex-direction: column;
  gap: 4px; padding: 8px 12px 8px 0;
  margin-right: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--nav-text); border-radius: 2px;
}
.main-menu {
  display: flex; align-items: center;
  gap: 0; list-style: none; height: 100%;
}
.main-menu > li { position: relative; height: 100%; display: flex; align-items: center; }
.main-menu > li > a {
  display: flex; align-items: center;
  padding: 0 14px; height: 100%;
  font-size: 14px; font-weight: 600;
  color: var(--nav-text);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.main-menu > li.current-menu-item > a,
.main-menu > li > a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-more { display: flex; align-items: center; gap: 4px; }

/* --- Mobile Header (hidden on desktop) --- */
.mobile-header { display: none; }

/* ===========================================================
   BREAKING NEWS BAR
   =========================================================== */
.breaking-bar {
  background: var(--breaking-bg);
  color: #fff;
  height: 38px;
  display: flex; align-items: center;
  overflow: hidden;
}
.breaking-inner {
  width: 100%; display: flex; align-items: center;
  padding: 0 16px; gap: 0;
}
.breaking-label {
  background: var(--breaking-label);
  padding: 0 14px; height: 38px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  margin-right: 12px;
}
.breaking-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: blink-dot 1s ease-in-out infinite;
}
@keyframes blink-dot { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.breaking-ticker-wrap {
  flex: 1; overflow: hidden; position: relative;
}
.breaking-ticker {
  display: flex; gap: 0;
  transition: transform 0.5s ease;
}
.ticker-item {
  white-space: nowrap; font-size: 13px; font-weight: 500;
  padding: 0 40px 0 0; color: #fff;
  cursor: pointer; flex-shrink: 0;
}
.ticker-item:hover { text-decoration: underline; }
.ticker-time {
  font-size: 11px; font-weight: 400;
  background: rgba(255,255,255,0.2);
  border-radius: 10px; padding: 2px 8px; margin-left: 8px;
}
.breaking-nav {
  display: flex; gap: 2px; flex-shrink: 0; margin-left: 8px;
}
.breaking-prev, .breaking-next {
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.breaking-prev:hover, .breaking-next:hover { background: rgba(255,255,255,0.35); }

/* ===========================================================
   HERO SECTION
   =========================================================== */
.bh-hero-section { margin: 12px 0 0; }
.bh-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 310px 260px;
  gap: 12px;
  align-items: start;
  width: 100%;
}

/* Hero Main */
.bh-hero-main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bh-hero-link { display: block; }
.bh-hero-img-wrap { position: relative; }
.bh-hero-img {
  width: 100%; aspect-ratio: 16/9; height: auto;
  object-fit: cover; display: block;
}
.bh-hero-img-placeholder {
  width: 100%; aspect-ratio: 16/9; height: auto;
  background: linear-gradient(135deg, #d60000 0%, #ff6600 100%);
}
.bh-hero-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.bh-hero-content { padding: 16px 20px 20px; }
.bh-hero-title {
  font-size: 22px; font-weight: 700;
  line-height: 1.35; color: var(--text);
  margin-bottom: 8px;
}
.bh-hero-excerpt {
  font-size: 14px; color: var(--text-light);
  line-height: 1.5; margin-bottom: 12px;
}
.bh-hero-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
}
.bh-meta-cat { color: var(--primary); font-weight: 600; }
.bh-meta-sep { color: var(--border); }
.bh-bookmark-btn, .bh-share-btn {
  background: none; border: 1px solid var(--border);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer; transition: all 0.2s;
  flex-shrink: 0;
}
.bh-bookmark-btn { margin-left: auto; }
.bh-bookmark-btn:hover, .bh-share-btn:hover {
  background: var(--bg-hover); color: var(--primary); border-color: var(--primary);
}
.bh-share-btn { margin-left: 6px; }

/* Top News Widget */
.bh-top-news {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bh-section-head {
  display: flex; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}
.bh-section-bar {
  width: 4px; height: 18px;
  background: var(--primary); border-radius: 2px;
  flex-shrink: 0;
}
.bh-section-title {
  font-size: 15px; font-weight: 700;
  color: var(--text); flex: 1;
}
.bh-see-all {
  font-size: 12px; color: var(--primary);
  font-weight: 600; white-space: nowrap;
}
.bh-see-all:hover { text-decoration: underline; }

.bh-top-list { padding: 0; }
.bh-top-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.bh-top-item:last-child { border-bottom: none; }
.bh-top-item:hover { background: #fafafa; }
.bh-top-rank {
  font-size: 22px; font-weight: 800;
  color: var(--primary); min-width: 30px;
  line-height: 1;
}
.bh-top-content { flex: 1; min-width: 0; }
.bh-top-title {
  font-size: 13px; font-weight: 600;
  line-height: 1.4; color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.bh-top-meta { font-size: 11px; color: var(--text-muted); margin-top: 3px; display: block; }
.bh-top-thumb {
  width: 64px; height: 50px; flex-shrink: 0;
  border-radius: 3px; overflow: hidden;
}
.bh-top-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===========================================================
   QUICK LINKS ROW
   =========================================================== */
.bh-quicklinks {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 12px 0;
  overflow: hidden;
}
.bh-quicklinks-wrap {
  display: flex; align-items: center;
  padding: 10px 16px; gap: 0; overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}
.bh-quicklinks-wrap::-webkit-scrollbar { display: none; }
.bh-ql-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 8px 4px;
  font-size: 11px; font-weight: 600; color: var(--text);
  white-space: nowrap; border-right: 1px solid var(--border);
  transition: color 0.2s;
  flex: 1 1 0;
  min-width: 0;
}
.bh-ql-item:last-of-type { border-right: none; }
.bh-ql-item:hover { color: var(--primary); }
.bh-ql-icon { font-size: 20px; }

@media (min-width: 768px) {
    .bh-ql-item {
        padding: 6px 16px;
        font-size: 12px;
        min-width: 100px;
    }
}
.bh-ql-heart { color: var(--primary); }
.bh-ql-arrow {
  background: none; border: none; font-size: 20px;
  color: var(--text-light); padding: 0 8px; flex-shrink: 0;
}

/* ===========================================================
   NEWS GRID (ताजा खबरें)
   =========================================================== */
.bh-news-section { margin: 0 0 16px; }
.bh-news-scroll-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.bh-news-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.bh-news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.bh-nc-img { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.bh-nc-thumbnail { width: 100%; height: 100%; object-fit: cover; }
.bh-nc-no-img { width: 100%; height: 100%; background: linear-gradient(135deg,#e8e8e8,#d0d0d0); }
.bh-nc-body { padding: 10px 12px 12px; }
.bh-nc-title {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  color: var(--text); margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bh-nc-meta { font-size: 11px; color: var(--text-muted); }

/* ===========================================================
   CATEGORY SECTIONS
   =========================================================== */
.bh-cat-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 16px;
  overflow: hidden;
}
.bh-cat-section .bh-section-head {
  padding: 12px 16px;
}
.bh-cat-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.bh-cat-lead {
  display: block; border-right: 1px solid var(--border);
  padding: 16px;
  overflow: hidden;
}
.bh-cat-lead:hover .bh-cat-lead-title { color: var(--primary); }
.bh-cat-lead:hover .bh-cat-lead-img { transform: scale(1.03); }
.bh-cat-lead-img {
  width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover;
  border-radius: 3px; margin-bottom: 12px;
  transition: transform 0.3s ease;
}
.bh-cat-lead-img.bh-no-img { background: linear-gradient(135deg,#eee,#ddd); }
.bh-cat-lead-title {
  font-size: 15px; font-weight: 700; line-height: 1.4;
  color: var(--text); margin-bottom: 8px;
  transition: color 0.2s;
}
.bh-cat-lead-excerpt {
  font-size: 13px; color: var(--text-light); line-height: 1.5;
  margin-bottom: 8px;
}

.bh-cat-list { padding: 16px; }
.bh-cat-list-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--border);
  font-size: 13px; line-height: 1.4;
  transition: background 0.2s;
}
.bh-cat-list-item:last-child { border-bottom: none; }
.bh-cat-list-item:hover { background: #f9f9f9; }
.bh-cli-dot { display: none; }
.bh-cli-thumb { width: 80px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.bh-cli-content { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bh-cli-title { font-weight: 600; color: var(--text); transition: color 0.2s; }
.bh-cat-list-item:hover .bh-cli-title { color: var(--primary); }
.bh-cli-time { font-size: 11px; color: var(--text-muted); }

/* ===========================================================
   VIDEO SECTION
   =========================================================== */
.bh-video-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 16px;
  overflow: hidden; padding-bottom: 16px;
}
.bh-video-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding: 0 16px; margin-top: 12px;
}
.bh-video-card { display: block; }
.bh-video-card:hover .bh-vc-title { color: var(--primary); }
.bh-vc-thumb {
  position: relative; width: 100%;
  aspect-ratio: 16/9; border-radius: 4px; overflow: hidden;
  background: #111;
}
.bh-vc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bh-vc-no-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,#1a1a1a,#333);
  display: flex; align-items: center; justify-content: center;
}
.bh-vc-duration {
  position: absolute; bottom: 6px; right: 6px;
  background: rgba(0,0,0,0.75); color: #fff;
  font-size: 11px; padding: 2px 6px; border-radius: 3px;
}
.bh-vc-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px;
  background: rgba(0,0,0,0.15);
  opacity: 0; transition: opacity 0.2s;
}
.bh-vc-play { font-size: 32px; color: rgba(255,255,255,0.7); }
.bh-video-card:hover .bh-vc-play-overlay { opacity: 1; }
.bh-vc-body { padding: 8px 0; }
.bh-vc-title {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  color: var(--text); transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bh-vc-time { font-size: 11px; color: var(--text-muted); }

/* ===========================================================
   MOBILE BOTTOM NAV
   =========================================================== */
.bh-mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  z-index: 9999;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.bh-mn-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px; padding: 4px 0;
  font-size: 10px; font-weight: 600; color: var(--text-light);
  transition: color 0.2s;
}
.bh-mn-item.active, .bh-mn-item:hover { color: var(--primary); }
.bh-mn-item svg { stroke: currentColor; }
.bh-mn-item .bh-ql-icon { font-size: 20px; }

/* ===========================================================
   MOBILE DRAWER MENU
   =========================================================== */
.mob-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 9998;
}
.mob-menu-overlay.active { display: block; }
.mob-menu-drawer {
  position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
  background: var(--card); z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto; padding: 20px 0;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.mob-menu-drawer.open { left: 0; }
.mob-menu-close {
  background: none; border: none; font-size: 20px;
  color: var(--text); padding: 8px 20px 16px;
  display: block; margin-left: auto;
}
.mob-drawer-menu { padding: 0; }
.mob-drawer-menu li a {
  display: block; padding: 14px 24px;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mob-drawer-menu li a:hover { color: var(--primary); background: #fafafa; }

/* ===========================================================
   SEARCH OVERLAY
   =========================================================== */
#search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: none; align-items: flex-start;
  justify-content: center; z-index: 99999;
  padding-top: 80px;
}
#search-overlay.active { display: flex; }
.search-box { width: 90%; max-width: 700px; }
.search-box form {
  display: flex; background: #fff; border-radius: 8px; overflow: hidden;
}
.search-box input {
  flex: 1; padding: 18px 20px; font-size: 18px;
  border: none; outline: none; font-family: var(--font-hindi);
}
.search-box button {
  background: var(--primary); color: #fff;
  border: none; padding: 0 24px; font-size: 18px;
  cursor: pointer;
}
.search-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: #fff; font-size: 30px;
  cursor: pointer;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: #1a1a1a; color: #ccc;
  padding: 40px 0 20px; margin-top: 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 30px;
  margin-bottom: 30px;
}
.footer-widget h4 {
  color: #fff; font-size: 14px; font-weight: 700;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.footer-widget ul li { margin-bottom: 8px; }
.footer-widget ul li a { font-size: 13px; color: #aaa; }
.footer-widget ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 16px;
  font-size: 12px; color: #777; text-align: center;
}

/* ===========================================================
   RESPONSIVE — TABLET (≤1024px)
   =========================================================== */
@media (max-width: 1024px) {
  .bh-news-scroll-row { grid-template-columns: repeat(3, 1fr); }
  .bh-video-grid { grid-template-columns: repeat(2, 1fr); }
  .top-utility-bar .tub-link { display: none; }
}

/* ===========================================================
   RESPONSIVE — MOBILE (≤768px)
   =========================================================== */
@media (max-width: 768px) {
  /* Hide desktop elements */
  .top-utility-bar { display: none; }
  .main-nav { display: none; }

  /* Show mobile header */
  .mobile-header {
    display: flex; align-items: center; justify-content: space-between;
    height: 52px; padding: 0 12px; gap: 8px;
  }
  .mob-hamburger {
    background: none; border: none;
    display: flex; flex-direction: column; gap: 5px;
    padding: 4px; flex-shrink: 0;
  }
  .mob-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
  }
  .mob-logo { display: flex; align-items: center; }
  .mob-logo img { max-height: 36px; }
  .mob-logo-text { font-size: 22px; font-weight: 900; color: var(--primary); }
  .mob-right { display: flex; align-items: center; gap: 8px; }
  .mob-icon { font-size: 18px; color: var(--text); }

  /* Mobile bottom nav */
  .bh-mobile-nav { display: flex; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

  /* Page wrap */
  .bh-page-wrap { padding: 0 8px; }

  /* Hero: stack */
  .bh-hero-wrap { grid-template-columns: 1fr; }
  .bh-hero-img { height: auto; }
  .bh-hero-img-placeholder { height: auto; }
  .bh-hero-title { font-size: 17px; }

  /* Top news: show on mobile as horizontal scroll */
  .bh-top-news { display: none; }

  /* News scroll: 2 col on mobile */
  .bh-news-scroll-row { grid-template-columns: repeat(2, 1fr); }

  /* Quick links: scroll */
  .bh-ql-item { padding: 6px 12px; }

  /* Category: stack */
  .bh-cat-layout { grid-template-columns: 1fr; }
  .bh-cat-lead { border-right: none; border-bottom: 1px solid var(--border); overflow: visible; }
  .bh-cat-lead:hover .bh-cat-lead-img { transform: none; }
  .bh-cat-lead-img { height: auto; }
  .bh-cli-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 5px; }
  .bh-cli-thumb { display: none; }
  .bh-cat-list-item { gap: 8px; border-bottom: 1px solid var(--border); padding: 10px 0; }
  .bh-cat-list-item:hover { background: transparent; }
  .bh-cli-content { gap: 0; }
  .bh-cli-time { margin-top: 2px; }

  /* Videos: 1 col */
  .bh-video-grid { grid-template-columns: repeat(2, 1fr); }

  /* Breaking bar */
  .breaking-label { font-size: 12px; padding: 0 10px; }
  .ticker-item { font-size: 12px; }
}

@media (max-width: 480px) {
  .bh-news-scroll-row { grid-template-columns: 1fr 1fr; }
  .bh-video-grid { grid-template-columns: 1fr 1fr; }
  .bh-hero-title { font-size: 16px; }
}

/* ===========================================================
   AD PLACEHOLDERS
   =========================================================== */
.bh-ad-slot {
  background: #f9f9f9; border: 1px solid #e0e0e0;
  text-align: center; padding: 8px;
  color: #999; font-size: 11px; margin: 12px 0;
  border-radius: 3px;
}

/* ===========================================================
   UTILITY
   =========================================================== */
.desktop-only { display: block; }
.mobile-only  { display: none; }
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only  { display: block; }
}

/* ===========================================================
   RIGHT AD SIDEBAR
   =========================================================== */
.bh-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bh-ad-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 12px;
  text-align: center;
}
.bh-ad-card img { width: 100%; border-radius: 3px; }
.bh-ad-label {
  font-size: 10px; color: var(--text-muted);
  text-align: right; margin-bottom: 4px;
}

/* Fix news grid: 5 cols ? full width */
.bh-news-scroll-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

/* Category 3-col layout on desktop (hero | epaper | video) */
.bh-cat-epaper-video {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

/* Override responsive: on desktop hero is 3-col */
@media (min-width: 1025px) {
  .bh-hero-wrap { grid-template-columns: 1fr 300px 250px; }
}
@media (max-width: 1200px) {
  .bh-hero-wrap { grid-template-columns: 1fr 280px; }
  .bh-hero-sidebar { display: none; }
  .bh-news-scroll-row { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 1024px) {
  .bh-hero-wrap { grid-template-columns: 1fr 260px; }
  .bh-news-scroll-row { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .bh-hero-wrap { grid-template-columns: 1fr; }
  .bh-hero-sidebar { display: none; }
  .bh-top-news { display: block; }
  .bh-news-scroll-row { grid-template-columns: repeat(2,1fr); }
  .bh-cat-epaper-video { grid-template-columns: 1fr; }
}

/* ===========================================================
   MOBILE STICKY AD
   =========================================================== */
@media (max-width: 768px) {
    .bh-mobile-sticky-ad {
        display: block !important;
        position: fixed;
        bottom: 60px; /* above bottom nav */
        left: 0;
        width: 100%;
        z-index: 999;
        text-align: center;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 5px 0;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    }
    body.dark-mode .bh-mobile-sticky-ad {
        background: #1a1a1a;
        border-top-color: #333;
    }
}

/* ===========================================================
   ADVERTISEMENT ZONE STANDARDS
   =========================================================== */
.bh-ad-zone {
    text-align: center;
    overflow: hidden;
    margin: 15px auto;
}
.bh-ad-zone img,
.bh-ad-zone iframe {
    max-width: 100%;
    height: auto;
}
.bh-ad-header      { max-width: 728px; min-height: 90px; }
.bh-ad-sidebar     { max-width: 300px; min-height: 250px; }
.bh-ad-homepage_top { max-width: 970px; min-height: 90px; }
.bh-ad-inline_article { max-width: 600px; min-height: 250px; }
.bh-ad-category_top { max-width: 970px; min-height: 90px; }
.bh-ad-mobile_sticky { max-width: 320px; min-height: 50px; }

/* Placeholder when ad code is empty (admin view only) */
body.logged-in .bh-ad-zone:empty::after {
    content: 'Ad Zone (' attr(class) ')';
    display: block;
    background: repeating-linear-gradient(45deg, #f9f9f9 0, #f9f9f9 10px, #f0f0f0 10px, #f0f0f0 20px);
    padding: 20px;
    font-size: 12px;
    color: #999;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

/* ---- ADVERTISEMENT ZONES ---- */
.bh-ad-zone { margin: 20px auto; text-align: center; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.bh-ad-header { max-width: 728px; min-height: 90px; }
.bh-ad-sidebar { max-width: 300px; min-height: 250px; }
.bh-ad-homepage_top, .bh-ad-category_top { max-width: 970px; min-height: 90px; }
.bh-ad-inline_article { max-width: 100%; margin: 30px 0; }
.bh-ad-footer { max-width: 970px; margin: 0 auto; padding-bottom: 20px; }
.bh-ad-mobile_sticky {
  display: none;
  position: fixed;
  bottom: 56px; /* above bottom nav */
  left: 0; right: 0; width: 100%;
  background: #fff; z-index: 900;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .bh-ad-homepage_top, .bh-ad-category_top, .bh-ad-header, .bh-ad-footer {
    max-width: 300px; min-height: 250px; /* Fallback size for mobile */
  }
  .bh-ad-mobile_sticky { display: flex; }
}
