/*
 Theme Name:   Newscrunch Child - OneChhattisgarh
 Theme URI:    https://onechhattisgarh.com/
 Description:  Child theme for OneChhattisgarh.Com
 Author:       TweeLabs Digital
 Author URI:   https://tweelabs.com
 Template:     newscrunch
 Version:      2.2.4
 Text Domain:  newscrunch-child
*/

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

/* ==============================================
   ROOT TOKENS
   ============================================== */
:root {
  --brand-red:    #c0392b;
  --brand-red-2:  #e74c3c;
  --brand-blue:   #004d9c;
  --brand-dark:   #111111;
  --bg-dark:      #111827;
  --bg-white:     #ffffff;
  --bg-light:     #f8f9fa;
  --text-primary: #0a0a0a;
  --text-light:   #6b7280;
  --border:       #e5e7eb;
  --accent-gold:  #f59e0b;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.15);
  --radius-sm:    6px;
  --radius-md:    10px;
  --font-hindi:   'Noto Sans Devanagari', 'Mangal', sans-serif;
  --font-ui:      'Inter', sans-serif;
  --container:    1240px;
  --transition:   all 0.2s ease;
}

/* ==============================================
   GLOBAL BASE
   ============================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-hindi);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==============================================
   READING PROGRESS BAR
   ============================================== */
#onecg-progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--brand-red);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==============================================
   RESET NEWSCRUNCH DEFAULT TOPBAR & NAV
   ============================================== */
.spnc-topbar,
.spnc-wrapper > .spnc-btn-1 .spnc-topbar,
.spnc-wrapper > .spnc-btn-2 .spnc-topbar { display: none !important; }
.spnc-navbar .spnc-brand { display: none !important; }
.header-sidebar { display: none !important; }

/* ==============================================
   CUSTOM TOP UTILITY BAR
   ============================================== */
.onecg-topbar {
  background: var(--bg-dark);
  color: #e5e7eb;
  font-family: var(--font-hindi);
  font-size: 12.5px;
  border-bottom: 2px solid var(--brand-red);
  position: relative;
  z-index: 200;
}
.onecg-topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.onecg-topbar-left { display: flex; align-items: center; gap: 10px; }
.onecg-topbar .divider { color: #555; }
.onecg-epaper-link {
  color: var(--accent-gold);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.onecg-epaper-link:hover { opacity: .75; }
.onecg-topbar-right { display: flex; align-items: center; gap: 8px; }
.onecg-social-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: var(--transition);
  color: #fff;
  text-decoration: none;
}
.onecg-social-icon:hover { transform: scale(1.18); }
.onecg-social-icon.fb { background: #1877f2; }
.onecg-social-icon.tw { background: #000; }
.onecg-social-icon.yt { background: #ff0000; }
.onecg-social-icon.ig { background: linear-gradient(135deg,#fcb045,#fd1d1d,#833ab4); }

/* ==============================================
   CUSTOM STICKY HEADER
   ============================================== */
.onecg-site-header {
  background: var(--bg-white);
  border-bottom: 3px solid var(--brand-red);
  position: sticky;
  top: 0;
  z-index: 150;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.onecg-site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.onecg-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 16px;
}

/* Logo */
.onecg-logo-wrap a { display: flex; align-items: center; text-decoration: none; }
.onecg-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.onecg-logo-title { display: flex; align-items: baseline; }
.onecg-logo-one {
  font-family: var(--font-ui);
  font-size: 23px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -1px;
}
.onecg-logo-cg {
  font-family: var(--font-ui);
  font-size: 23px;
  font-weight: 900;
  color: var(--brand-red);
  letter-spacing: -1px;
}
.onecg-logo-tagline {
  font-family: var(--font-hindi);
  font-size: 10.5px;
  color: var(--text-light);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

/* Navigation */
.onecg-main-nav { flex: 1; }
.onecg-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap; /* Prevent wrap by default on desktop */
  list-style: none;
  margin: 0; padding: 0;
}
.onecg-nav-list > li > a {
  font-family: var(--font-hindi);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
}
.onecg-nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px;
}
.onecg-nav-list > li > a:hover::after,
.onecg-nav-list > li.current-menu-item > a::after,
.onecg-nav-list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.onecg-nav-list > li > a:hover,
.onecg-nav-list > li.current-menu-item > a,
.onecg-nav-list > li.current-menu-ancestor > a { color: var(--brand-red); }

/* Dropdown */
.onecg-nav-list li { position: relative; }
.onecg-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-red);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  animation: onecg-dropdown 0.15s ease;
}
@keyframes onecg-dropdown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.onecg-nav-list li:hover > .sub-menu { display: block; }
.onecg-nav-list .sub-menu a {
  padding: 9px 18px;
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-hindi);
  white-space: nowrap;
}
.onecg-nav-list .sub-menu a:hover { background: #fef2f2; color: var(--brand-red); }

/* Search */
.onecg-header-search { display: flex; align-items: center; }
.onecg-header-search form {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 5px 14px;
  gap: 6px;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.onecg-header-search form:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.onecg-header-search input[type="search"] {
  border: none;
  background: transparent;
  font-family: var(--font-hindi);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  width: 100px; /* Shrink to save header space */
}
.onecg-header-search button {
  background: none; border: none; cursor: pointer;
  padding: 0; color: var(--text-light);
  display: flex; align-items: center;
}

/* Hamburger */
.onecg-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.onecg-hamburger:hover { background: #f3f4f6; }
.onecg-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.onecg-mobile-menu {
  display: none;
  background: var(--bg-white);
  border-top: 2px solid var(--brand-red);
  padding: 12px 16px 16px;
  box-shadow: var(--shadow-md);
}
.onecg-mobile-menu.open { display: block; }
.onecg-mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.onecg-mobile-menu a {
  font-family: var(--font-hindi);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: block;
  text-decoration: none;
  transition: var(--transition);
}
.onecg-mobile-menu a:hover { background: #fef2f2; color: var(--brand-red); }
.onecg-mobile-menu .sub-menu { padding-left: 16px; list-style: none; display: flex; flex-direction: column; }

/* ==============================================
   BREAKING NEWS TICKER
   ============================================== */
.onecg-breaking-bar {
  background: var(--brand-red);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
}
.onecg-breaking-label {
  background: var(--brand-dark);
  color: #fff;
  font-family: var(--font-hindi);
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.onecg-breaking-label svg { animation: onecg-blink 1s infinite; }
@keyframes onecg-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.onecg-breaking-track-wrap {
  flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center;
}
.onecg-breaking-track {
  display: flex;
  align-items: center;
  animation: onecg-ticker 45s linear infinite;
  white-space: nowrap;
  font-family: var(--font-hindi);
  font-size: 13.5px;
  font-weight: 500;
  gap: 8px;
}
@keyframes onecg-ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==============================================
   ARTICLE POST CARDS — GLOBAL IMPROVEMENTS
   ============================================== */
.spnc-post { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.spnc-post:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.spnc-post-thumb img {
  transition: transform 0.35s ease;
}
.spnc-post:hover .spnc-post-thumb img {
  transform: scale(1.04);
}
.spnc-post-title a {
  font-family: var(--font-hindi) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  transition: color 0.2s;
}
.spnc-post-title a:hover { color: var(--brand-red) !important; }

/* ==============================================
   SINGLE ARTICLE PAGE IMPROVEMENTS
   ============================================== */
.entry-title, .spnc-post-page-title {
  font-family: var(--font-hindi) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  font-size: clamp(22px, 3vw, 32px) !important;
}
.entry-content, .spnc-entry-content {
  font-family: var(--font-hindi) !important;
  font-size: 17px !important;
  line-height: 1.9 !important;
  color: #1a1a1a !important;
}
.entry-content p, .spnc-entry-content p {
  margin-bottom: 1.4em !important;
}

/* ==============================================
   FOOTER
   ============================================== */
.onecg-footer {
  background: #0d1117;
  color: #9ca3af;
  margin-top: 48px;
  border-top: 3px solid var(--brand-red);
}
.onecg-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 16px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.onecg-footer-logo-wrap .onecg-logo-one { font-size: 24px; color: #fff; }
.onecg-footer-logo-wrap .onecg-logo-cg  { font-size: 24px; }
.onecg-footer-tagline {
  font-family: var(--font-hindi);
  font-size: 13.5px;
  color: #9ca3af;
  margin: 10px 0 14px;
  line-height: 1.6;
}
.onecg-footer-contact {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
}
.onecg-footer h3 {
  font-family: var(--font-hindi);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  border-bottom: 2px solid var(--brand-red);
  padding-bottom: 8px;
}
.onecg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.onecg-footer ul a {
  font-family: var(--font-hindi);
  font-size: 13.5px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.onecg-footer ul a::before { content: '›'; color: var(--brand-red); font-weight: 700; }
.onecg-footer ul a:hover { color: #fff; }
.onecg-footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 16px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: #6b7280;
}
.onecg-footer-bottom p { margin: 4px 0; }
.onecg-footer-bottom a { color: var(--accent-gold); text-decoration: none; transition: opacity 0.2s; }
.onecg-footer-bottom a:hover { opacity: 0.8; }

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (min-width: 901px) {
  .onecg-nav-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap; /* Prevent wrapping */
  }
  .onecg-nav-list > li > a {
    padding: 10px 12px; /* Reduced from 15px */
    font-size: 15px; /* Slightly smaller for better fit */
  }
}
@media (max-width: 1024px) {
  .onecg-nav-list > li > a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 900px) {
  .onecg-main-nav,
  .onecg-header-search { display: none; }
  .onecg-hamburger { display: flex; margin-left: auto; }
  .onecg-logo-tagline { display: none; }
  .onecg-logo-one, .onecg-logo-cg { font-size: 20px; }
  .onecg-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 500px) {
  .onecg-footer-inner { grid-template-columns: 1fr; }
  .onecg-topbar-left span[id="onecg-live-date"] { display: none; }
  .onecg-breaking-bar { height: 32px; }
  .onecg-breaking-track { font-size: 12.5px; }
}

/* ==============================================
   GTRANSLATE WIDGET — HIDE FROM NAV, KEEP FLOATING
   ============================================== */
/* Remove from the nav menu entirely */
li.menu-item-gtranslate,
li[id*="gtranslate_menu_wrapper"],
.menu-item a[href*="gtranslate"],
#gtranslate_menu_wrapper_27008,
.onecg-nav-list [id*="gtranslate"],
.onecg-nav-list [class*="gtranslate"],
.onecg-mobile-menu [id*="gtranslate"],
.onecg-mobile-menu [class*="gtranslate"] {
  display: none !important;
}

/* Floating widget → bottom-right, non-intrusive */
.gtranslate_wrapper {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9000 !important;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.gtranslate_wrapper:hover { opacity: 1; }

/* ==============================================
   DAINIK BHASKAR STYLE HOMEPAGE HOMEPAGE (LIGHT)
   ============================================== */
body {
    background-color: #f3f4f6; /* Light gray modern background */
}

.onecg-db-wrap {
    padding: 24px 16px;
}

.onecg-db-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 24px;
    align-items: start;
}

/* Base Widget Style */
.onecg-db-widget {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border-top: 3px solid var(--brand-red);
}

.onecg-db-wtitle {
    font-family: var(--font-hindi);
    font-weight: 700;
    font-size: 16px;
    color: var(--brand-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.onecg-red-dot {
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--brand-red);
    border-radius: 50%;
    animation: onecg-pulse 1.5s infinite;
}

@keyframes onecg-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(192, 57, 43, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}

/* Left Sidebar Lists */
.onecg-db-cats, .onecg-db-districts {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
}

.onecg-db-cats a, .onecg-db-districts a {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-hindi); font-weight: 600; font-size: 14.5px;
    color: var(--text-primary); text-decoration: none;
    padding: 6px 8px; border-radius: var(--radius-sm);
    transition: var(--transition);
}

.onecg-db-cats a:hover, .onecg-db-districts a:hover {
    background: #fef2f2; color: var(--brand-red); padding-left: 12px;
}

.onecg-db-cats a span {
    background: var(--bg-light); color: var(--text-light);
    font-size: 11px; padding: 2px 7px; border-radius: 20px;
    font-family: var(--font-ui); font-weight: 600;
}

/* Center Content */
.onecg-db-hero {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    background: #000;
}


.onecg-db-hero:hover .onecg-db-hero-img img { transform: scale(1.05); }

/* Share Buttons Overlay */
.onecg-share-box {
    display: flex;
    gap: 6px;
    align-items: center;
}

.onecg-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.onecg-share-btn svg {
    width: 20px;
    height: 20px;
}


.onecg-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.onecg-share-btn.wa { color: #25D366; }
.onecg-share-btn.wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.onecg-share-btn.link:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }

/* Homepage Share Positions */
.onecg-db-card .onecg-share-box {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
    justify-content: flex-end;
}

.onecg-list-content .onecg-share-box {
    margin-top: 5px;
}

.onecg-hero-meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onecg-db-hero-link { display: block; text-decoration: none; }


.onecg-db-hero-img img {
    width: 100%; height: 420px; object-fit: cover;
    display: block; opacity: 0.85; transition: transform 0.5s ease;
}

.onecg-db-hero:hover .onecg-db-hero-img img { transform: scale(1.05); }

.onecg-db-hero-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 100px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    display: flex; flex-direction: column; align-items: flex-start;
}

.onecg-cat-badge {
    background: var(--brand-red); color: #fff;
    font-family: var(--font-hindi); font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}

.onecg-db-hero-title {
    font-family: var(--font-hindi); font-size: 28px; font-weight: 800;
    line-height: 1.35; margin: 0 0 12px; color: #fff;
}

.onecg-hero-meta {
    font-family: var(--font-ui); font-size: 12px; color: #ddd;
    display: flex; align-items: center; gap: 6px;
}

/* Center Grid */
.onecg-db-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    margin-bottom: 24px;
}

.onecg-db-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: var(--transition);
}

.onecg-db-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.onecg-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; }

.onecg-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }


/* Single Post Share Wrap */
.onecg-single-share-wrap {
    margin: 40px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--brand-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.onecg-single-share-wrap h5 {
    margin: 0;
    font-family: var(--font-hindi);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
}

.onecg-single-share-wrap .onecg-share-box .onecg-share-btn {
    width: 52px;
    height: 52px;
}

.onecg-single-share-wrap .onecg-share-box .onecg-share-btn svg {
    width: 28px;
    height: 28px;
}

.onecg-card-title {
    margin: 0; font-family: var(--font-hindi); font-size: 17px;

    font-weight: 700; line-height: 1.4;
}

.onecg-card-title a { color: var(--text-primary); text-decoration: none; transition: color 0.2s; }
.onecg-card-title a:hover { color: var(--brand-red); }

/* Center Category Blocks */
.onecg-db-catblock {
    background: #fff; border-radius: var(--radius-md); padding: 20px;
    box-shadow: var(--shadow-sm); margin-bottom: 24px;
}

.onecg-db-block-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px solid var(--border); padding-bottom: 12px; margin-bottom: 16px;
}

.onecg-db-block-header h3 {
    margin: 0; font-family: var(--font-hindi); font-size: 20px; font-weight: 800; color: var(--brand-dark);
}

.onecg-db-block-header a {
    font-family: var(--font-hindi); font-size: 13px; font-weight: 600;
    color: var(--brand-red); text-decoration: none;
}

.onecg-db-block-header h3 { position: relative; }
.onecg-db-block-header h3::after {
    content: ''; position: absolute; bottom: -14px; left: 0; width: 40px; height: 2px; background: var(--brand-red);
}

.onecg-db-list { display: flex; flex-direction: column; gap: 16px; }

.onecg-list-item { display: flex; gap: 16px; align-items: center; border-bottom: 1px solid #f3f4f6; padding-bottom: 16px; }
.onecg-list-item:last-child { border-bottom: none; padding-bottom: 0; }

.onecg-list-img img { width: 110px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.onecg-list-content { flex: 1; }
.onecg-list-title { margin: 0 0 6px; font-family: var(--font-hindi); font-size: 16px; font-weight: 600; line-height: 1.4; }
.onecg-list-title a { color: var(--text-primary); text-decoration: none; transition: color 0.2s; }
.onecg-list-title a:hover { color: var(--brand-red); }
.onecg-list-meta { font-family: var(--font-ui); font-size: 12px; color: var(--text-light); }


/* Right Sidebar Trending */
.onecg-db-trending { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.onecg-db-trending li { display: flex; gap: 12px; align-items: flex-start; }
.onecg-trend-num {
    font-family: var(--font-ui); font-size: 24px; font-weight: 900;
    color: #e5e7eb; line-height: 1; margin-top: 2px;
}
.onecg-db-trending li a {
    font-family: var(--font-hindi); font-size: 15px; font-weight: 600;
    color: var(--text-primary); text-decoration: none; transition: color 0.2s; line-height: 1.4;
}
.onecg-db-trending li a:hover { color: var(--brand-red); }

/* ==============================================
   RESPONSIVE OVERRIDES FOR DAINIK BHASKAR STYLE
   ============================================== */
@media (max-width: 1100px) {
    .onecg-db-container {
        grid-template-columns: 1fr 300px; /* Hide left sidebar on small desktop */
    }
    .onecg-db-container > .onecg-db-widget:first-child { display: none; }
}

@media (max-width: 900px) {
    .onecg-db-container {
        grid-template-columns: 1fr; /* Stack everything */
    }
    .onecg-db-container > .onecg-db-widget:last-child { display: none; } /* Hide right sidebar on mobile */
    
    .onecg-db-hero-img img { height: 250px; }
    .onecg-db-hero-title { font-size: 20px; }
    
    .onecg-db-grid { grid-template-columns: 1fr; }
    
    .onecg-list-img img { width: 80px; height: 60px; }
    .onecg-list-title { font-size: 14.5px; }
}

@media (max-width: 600px) {
    .onecg-db-wrap { padding: 12px 10px; }
    .onecg-db-widget { padding: 12px; margin-bottom: 16px; }
    .onecg-db-hero-content { padding: 60px 16px 16px; }
}

/* ==============================================
   GTRANSLATE HIDER (ULTIMATE)
   ============================================== */
header [class*="gtranslate"],
header [id*="gtranslate"],
.onecg-site-header [class*="gt-current"],
.onecg-main-nav [class*="gtranslate"],
.onecg-mobile-menu [class*="gtranslate"] {
    display: none !important;
}

/* Ensure the floating widget is ONLY at bottom-right */
.gtranslate_wrapper {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 10000 !important;
}
.onecg-db-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.db-soc {
    display: flex; align-items: center; gap: 8px; padding: 10px;
    border-radius: var(--radius-sm); color: #fff; text-decoration: none;
    font-family: var(--font-ui); font-size: 13px; font-weight: 600;
    transition: filter 0.2s;
}
.db-soc:hover { filter: brightness(1.1); }
.db-soc.fb { background: #1877f2; }
.db-soc.tw { background: #000; }
.db-soc.yt { background: #ff0000; }
.db-soc.ig { background: linear-gradient(135deg,#fcb045,#fd1d1d,#833ab4); }

.sticky { position: sticky; top: 80px; }

/* Responsive Homepage */
@media (max-width: 1024px) {
    .onecg-db-container { grid-template-columns: 1fr 300px; }
    .onecg-db-left { display: none; } /* Hide left sidebar on tablet */
}
@media (max-width: 768px) {
    .onecg-db-container { grid-template-columns: 1fr; }
    .onecg-db-right { display: flex; flex-direction: column; gap: 24px; }
    .onecg-db-hero-img img { height: 300px; }
    .onecg-db-hero-title { font-size: 22px; }
}
@media (max-width: 500px) {
    .onecg-db-grid { grid-template-columns: 1fr; }
    .onecg-list-item { flex-direction: column; align-items: flex-start; }
    .onecg-list-img img { width: 100%; height: 180px; }
}
