/* ==========================================================================
   Dainik Bhaskar Exact Hindi News Portal Stylesheet
   Matches bhaskar.com on Desktop & m.bhaskar.com on Mobile
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --theme-color: #e53935;
  --theme-color-hover: #c62828;
  --theme-light: rgba(229, 57, 53, 0.08);
  --secondary: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;
  
  --font-hindi: 'Mukta', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-latin: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-hindi);
  background-color: #f1f5f9;
  color: var(--gray-800);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   1. Top Horizontal Header (Exact Bhaskar Top Bar)
   ========================================================================== */
/* ==========================================================================
   1. Top Horizontal Header (Exact Bhaskar Top Bar)
   ========================================================================== */
.bhaskar-top-header {
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  height: 82px;
  display: flex;
  align-items: center;
}

.bhaskar-header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bhaskar-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bhaskar-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--gray-800);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.bhaskar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 2px 0;
}

.bhaskar-brand-logo-img {
  height: 72px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bhaskar-brand-logo:hover .bhaskar-brand-logo-img {
  transform: scale(1.04);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-logo-img {
  height: 76px;
  max-height: 76px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-brand-title {
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

.footer-brand-tagline {
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fca5a5;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Desktop Navigation Menu (Exact Bhaskar Desktop) */
.bhaskar-desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bhaskar-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.bhaskar-nav-link i {
  font-size: 1.15rem;
}

.bhaskar-nav-link:hover, .bhaskar-nav-link.active {
  color: #ea580c;
}

.bhaskar-nav-link.active {
  color: #ea580c;
  font-weight: 800;
}

/* Mobile Header Icons (<= 767px) */
.bhaskar-header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bhaskar-head-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: 1.25rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.bhaskar-head-icon:hover {
  background: var(--gray-100);
  color: var(--theme-color);
}

/* ==========================================================================
   2. Horizontal Category Swipe Bar (Mobile Only)
   ========================================================================== */
.bhaskar-cat-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 60px;
  z-index: 950;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.bhaskar-cat-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.bhaskar-cat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 20px;
  transition: all 0.2s;
}

.bhaskar-cat-item:hover, .bhaskar-cat-item.active {
  color: var(--theme-color);
  background: var(--theme-light);
}

.bhaskar-cat-item.active {
  font-weight: 800;
}

/* ==========================================================================
   3. Top Running Billboard Ad Banner (Exact Bhaskar Clean Ad Frame)
   ========================================================================== */
.bhaskar-top-ad-wrapper {
  background: transparent;
  padding: 14px 0 4px;
  display: flex;
  justify-content: center;
}

.bhaskar-ad-banner-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 970px;
  min-height: 120px;
  max-height: 220px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bhaskar-running-ad-img {
  width: 100%;
  max-width: 970px;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   4. Trending Tags Bar
   ========================================================================== */
.bhaskar-trending-bar {
  background: transparent;
  border: none;
  padding: 0 0 14px 0;
}

.bhaskar-trending-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bhaskar-trending-inner::-webkit-scrollbar {
  display: none;
}

.bhaskar-trend-badge {
  color: #ea580c;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.bhaskar-trend-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.bhaskar-trend-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s;
}

.bhaskar-trend-pill:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
  background: var(--theme-light);
}

/* ==========================================================================
   5. 3-Column Layout Grid
   ========================================================================== */
.bhaskar-page-body {
  padding: 20px 0 60px;
}

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

/* Sticky Left Nav */
.bhaskar-left-nav {
  position: sticky;
  top: 120px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 10px 6px;
  box-shadow: var(--shadow-sm);
}

.bhaskar-nav-header-mobile {
  display: none;
}

.bhaskar-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bhaskar-drawer-logo-img {
  height: 42px;
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.bhaskar-drawer-title {
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #111827;
}

.bhaskar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bhaskar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.bhaskar-nav-item:hover, .bhaskar-nav-item.active {
  background: var(--theme-light);
  color: var(--theme-color);
  font-weight: 800;
}

.bhaskar-nav-icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.bhaskar-left-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-200);
}

.left-coral-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-family: var(--font-latin);
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--gray-50);
}

/* ==========================================================================
   6. Main Bhaskar Feed Cards (Exact Screenshot 1 & 2 UI)
   ========================================================================== */

/* Hero Card 1 (Big Headline + Large Media + Bottom Bar) */
.bhaskar-card-hero {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.bhaskar-hero-headline {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 8px;
}

.bhaskar-hero-headline a:hover {
  color: var(--theme-color);
}

.bhaskar-hero-subheadline {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 12px;
}

.bhaskar-hero-media {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 12px 0;
  position: relative;
}

.bhaskar-hero-media img,
.bhaskar-hero-media video {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* Bottom Bar: Category on Left, Share on Right */
.bhaskar-card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}

.bhaskar-tag-pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}

.bhaskar-tag-pill:hover {
  background: var(--theme-light);
  color: var(--theme-color);
}

.bhaskar-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a; /* WhatsApp Green */
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.bhaskar-share-btn i {
  font-size: 1.1rem;
}

.bhaskar-share-btn:hover {
  background: #dcfce7;
}

/* Infeed Google Follow Banner */
.bhaskar-infeed-google-card {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bhaskar-infeed-google-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #78350f;
}

.bhaskar-google-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Feed Split Cards (Screenshot 2: Headline Left, Media Right) */
.bhaskar-card-split {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 16px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.bhaskar-card-split:hover {
  box-shadow: var(--shadow-md);
}

.bhaskar-split-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bhaskar-split-headline {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 6px;
}

.bhaskar-split-headline a:hover {
  color: var(--theme-color);
}

.bhaskar-split-sub {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.4;
  margin-bottom: 10px;
}

.bhaskar-split-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.bhaskar-thumb-link {
  width: 140px;
  height: 95px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: block;
  background: #0f172a;
}

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

.bhaskar-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: #ffffff;
  font-size: 1.1rem;
}

/* ==========================================================================
   7. Right Rail Widgets
   ========================================================================== */
.bhaskar-right-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.google-follow-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.google-follow-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.google-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #1a73e8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #d1d5db;
}

.bhaskar-sidebar-ad {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bhaskar-sidebar-ad img {
  width: 100%;
  height: auto;
  display: block;
}

.bhaskar-trending-widget {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.bhaskar-widget-header {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--theme-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bhaskar-rank-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--gray-200);
}

.bhaskar-rank-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bhaskar-rank-num {
  width: 26px;
  height: 26px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 800;
  font-family: var(--font-latin);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.bhaskar-rank-item:nth-child(1) .bhaskar-rank-num { background: var(--theme-color); color: #ffffff; }
.bhaskar-rank-item:nth-child(2) .bhaskar-rank-num { background: #f97316; color: #ffffff; }
.bhaskar-rank-item:nth-child(3) .bhaskar-rank-num { background: #eab308; color: #ffffff; }

.bhaskar-rank-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-800);
}

.bhaskar-rank-title:hover {
  color: var(--theme-color);
}

/* ==========================================================================
   8. Search Modal (Fixed Popup Overlay)
   ========================================================================== */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.search-modal.active, .search-modal.show {
  display: flex;
}

.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.search-modal-box {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  z-index: 10;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-close-btn {
  background: var(--gray-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-close-btn:hover {
  background: var(--theme-color);
  color: #ffffff;
}

.search-input-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.search-input-group:focus-within {
  border-color: var(--theme-color);
}

.search-input-group input {
  flex-grow: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
}

.search-input-group button {
  padding: 12px 20px;
  background: var(--theme-color);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.search-quick-tags {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.search-quick-tags span {
  color: var(--gray-500);
  font-weight: 600;
}

.search-quick-tags a {
  color: var(--theme-color);
  background: var(--theme-light);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* ==========================================================================
   9. Footer & Mobile Bottom Navigation Bar (Exact 3-Tab Bar)
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 40px;
  border-top: 4px solid var(--theme-color);
}

.footer-top {
  padding: 45px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 32px;
}

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

.brand-col .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--theme-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.brand-col .logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--theme-color);
  color: #ffffff;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--theme-color);
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.contact-item i {
  color: var(--theme-color);
  font-size: 1rem;
  margin-top: 3px;
  width: 16px;
}

.contact-item a {
  color: #e2e8f0;
  font-weight: 600;
}

.contact-item strong {
  color: #ffffff;
}

.footer-bottom {
  background: #090d16;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.copyright-text {
  color: #64748b;
}

.developer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.15), rgba(37, 99, 235, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 30px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.3s ease;
}

.developer-badge:hover {
  background: linear-gradient(135deg, var(--theme-color), #2563eb);
  color: #ffffff;
}

/* Mobile Sticky Bottom Navigation Bar (Exact 3-Tab Bar) */
.bhaskar-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 2000;
  align-items: center;
  justify-content: space-around;
}

.bhaskar-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  flex: 1;
  height: 100%;
}

.bhaskar-bottom-nav-item i {
  font-size: 1.25rem;
}

.bhaskar-bottom-nav-item.active {
  color: #f97316; /* Bhaskar active orange */
}

.bhaskar-bottom-nav-item.active i {
  color: #f97316;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: var(--theme-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
  cursor: pointer;
  z-index: 1500;
}

/* ==========================================================================
   10. Article Media & Rich Body Media Optimization (Any Size Photo & Video)
   ========================================================================== */
.bhaskar-media-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  text-align: center;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bhaskar-media-container img.bhaskar-media-elem {
  max-width: 100% !important;
  max-height: 540px !important;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.bhaskar-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 18px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bhaskar-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bhaskar-video-wrapper video {
  width: 100%;
  max-height: 540px;
  display: block;
  margin: 0 auto;
  outline: none;
  background: #000000;
}

/* Rich Text Content Inside Article (Summernote Output) */
.article-rich-body {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--gray-800);
  word-break: break-word;
}

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

.article-rich-body img,
.article-rich-body .article-content-img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 20px auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  object-fit: contain;
}

.article-rich-body iframe,
.article-rich-body video,
.article-rich-body embed {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  border: 0;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-rich-body blockquote {
  border-left: 4px solid var(--theme-color);
  background: var(--theme-light);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.article-rich-body table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow-x: auto;
  display: block;
}

.article-rich-body table td,
.article-rich-body table th {
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
}

