/*
Theme Name: Khushi Host News Pro
Theme URI: https://example.com
Author: Your Name
Description: World-class responsive news portal theme with AdSense Auto Ads + Manual Ad slots, web stories carousel, category sections, single-post sidebar layout, YouTube channel auto-video section, and a full Customizer-driven layout builder (grid columns, section order, list/grid style, post-page options). Fully responsive for desktop, tablet, and mobile.
Version: 6.0
Requires PHP: 7.4
Text Domain: khushihost
*/

/* ==========================================================
   0. DESIGN TOKENS
   ========================================================== */
:root {
  --c-primary:        #d90000;
  --c-primary-dark:   #a30000;
  --c-primary-light:  #ff4d4d;
  --c-ink:            #12131a;
  --c-navy:           #14161f;
  --c-navy-2:         #1d2030;
  --c-green:          #0f9d58;
  --c-amber:          #ffb300;
  --c-blue:           #1877f2;
  --c-text:           #1c1c1e;
  --c-text-muted:     #6b7280;
  --c-text-faint:     #9ca3af;
  --c-border:         #e8e9ec;
  --c-bg:             #f3f4f6;
  --c-card:           #ffffff;
  --c-white:          #ffffff;

  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Noto Sans Kannada', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(16,17,26,0.05), 0 1px 1px rgba(16,17,26,0.03);
  --shadow-md: 0 3px 12px rgba(16,17,26,0.07);
  --shadow-lg: 0 10px 26px rgba(16,17,26,0.12);

  --container: 1320px;
  --header-h: 68px;
  --nav-h: 48px;
  --gap: 16px;

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================
   1. RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ==========================================================
   2. TOP UTILITY STRIP
   ========================================================== */
.top-strip {
  background: var(--c-navy);
  color: #cfd3dc;
  font-size: 12px;
}
.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
}
.top-strip .top-date { color: #a8adba; }
.top-strip .top-social {
  display: flex;
  gap: 12px;
}
.top-strip .top-social a { color: #cfd3dc; font-size: 12px; }
.top-strip .top-social a:hover { color: var(--c-primary-light); }

/* ==========================================================
   3. HEADER
   ========================================================== */
.site-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.site-logo a {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.site-logo .part-1 { color: var(--c-primary); }
.site-logo .part-2 { color: var(--c-ink); }
.site-logo img { max-height: 44px; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--c-border);
  background: #f7f7f9;
  color: var(--c-text);
  white-space: nowrap;
}
.btn:hover { background: #eee; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover { background: var(--c-primary-dark); }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f9;
  border: 1px solid var(--c-border);
  font-size: 15px;
  color: var(--c-text);
}
.icon-btn:hover { background: #eee; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  background: #f7f7f9;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Search box (desktop) */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 8px 36px 8px 14px;
  font-size: 13px;
  width: 200px;
  background: #f7f7f9;
}
.header-search button {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  color: var(--c-text-muted);
  font-size: 14px;
}

/* ==========================================================
   4. MAIN NAVIGATION
   ========================================================== */
.main-nav {
  background: var(--c-navy);
  position: sticky;
  top: var(--header-h);
  z-index: 190;
}

.nav-inner {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav ul::-webkit-scrollbar { display: none; }

.main-nav li a {
  display: block;
  padding: 13px 16px;
  color: #e7e8ec;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.main-nav li a:hover,
.main-nav li.current-menu-item a {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
  background: none;
}
.main-nav li.current-menu-item a { font-weight: 800; background: rgba(225,29,36,0.07); }

.main-nav .live-tv a {
  color: var(--c-primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav .live-tv a i { color: var(--c-primary); }

.main-nav .home-icon a { padding: 13px 14px; }

/* Mobile off-canvas drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: var(--c-navy);
  z-index: 300;
  transition: left 0.28s ease;
  overflow-y: auto;
  padding: 18px;
}
.mobile-drawer.is-open { left: 0; }

.mobile-drawer .drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.mobile-drawer ul li a {
  display: block;
  padding: 13px 4px;
  color: #e7e8ec;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer ul li a:hover { color: var(--c-primary-light); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 290;
  display: none;
}
.drawer-overlay.is-open { display: block; }

/* ==========================================================
   5. AD SLOTS (AdSense manual + auto)
   ========================================================== */
.ad-slot {
  margin: 22px 0;
  text-align: center;
}
.ad-slot .ad-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-text-faint);
  margin-bottom: 6px;
}
.ad-slot ins.adsbygoogle,
.ad-slot iframe {
  max-width: 100%;
}
.ad-slot.ad-leaderboard { min-height: 90px; }
.ad-slot.ad-sidebar { min-height: 250px; }
.ad-slot.ad-in-article { margin: 28px 0; }

/* ==========================================================
   6. WEB STORIES CAROUSEL
   ========================================================== */
.web-stories-section { padding: 22px 0 6px; }

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-heading-row h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.section-heading-row h2 i { font-size: 14px; }

.lang-dropdown {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.web-stories-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.web-stories-carousel::-webkit-scrollbar { height: 6px; }
.web-stories-carousel::-webkit-scrollbar-thumb { background: #d6d8dd; border-radius: 3px; }

.story-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 230px;
  background: #000;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  background-image: linear-gradient(#000,#000), linear-gradient(135deg, var(--c-primary), var(--c-amber));
  background-origin: border-box;
  background-clip: content-box, border-box;
}
.story-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.story-card:hover img { transform: scale(1.05); }
.story-card img { transition: var(--transition); }

.story-card .story-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 26px 9px 9px;
  text-align: center;
}

/* ==========================================================
   7. HERO: FEATURED SLIDER + NEWS GRID
   ========================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--gap);
  padding: 16px 0 10px;
}

.featured-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}
.featured-slider .slide img { width: 100%; height: 420px; object-fit: cover; }

.category-tag {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.featured-slider .category-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.slider-arrow:hover { background: rgba(0,0,0,0.7); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.slider-dots {
  position: absolute;
  bottom: 14px; right: 14px;
  display: flex; gap: 6px; z-index: 3;
}
.slider-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.slider-dots span.active { background: #fff; width: 20px; border-radius: 4px; }

.featured-slider .slide-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  padding: 60px 18px 18px;
}

.news-grid-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.news-card {
  background: var(--c-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.news-card .thumb-wrap { position: relative; height: 148px; overflow: hidden; background: #eee; }
.news-card .thumb-wrap img { width: 100%; height: 148px; object-fit: cover; transition: var(--transition); }
.news-card:hover .thumb-wrap img { transform: scale(1.06); }
.news-card .category-tag { position: absolute; top: 8px; left: 8px; font-size: 10.5px; padding: 3px 8px; }

.news-card .card-title {
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
}
.news-card:hover .card-title { color: var(--c-primary); }

/* ==========================================================
   8. CATEGORY SECTIONS
   ========================================================== */
.category-section { margin: 30px 0; }

.category-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--c-primary);
  padding: 3px 0 3px 12px;
  margin-bottom: 16px;
}
.category-section-heading .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
.category-section-heading h2 { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px; }

.category-section-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: var(--gap);
}
.category-section-grid .news-card.lead { grid-row: span 2; }
.category-section-grid .news-card.lead .thumb-wrap,
.category-section-grid .news-card.lead .thumb-wrap img { height: 240px; }
.category-section-grid .news-card.lead .card-title { font-size: 15px; }

.category-more-link { text-align: right; margin-top: 10px; }
.category-more-link a {
  font-size: 12.5px; font-weight: 700; color: var(--c-primary);
  display: inline-flex; align-items: center; gap: 4px;
}
.category-more-link a:hover { gap: 8px; }

/* ---- Compact LIST layout (alternative to grid, chosen in Customizer) ---- */
.category-section-grid.style-list { grid-template-columns: 1fr; gap: 0; }
.category-section-grid.style-list .news-card {
  display: flex; align-items: center; gap: 14px;
  background: transparent; box-shadow: none; border-radius: 0;
  border-bottom: 1px solid var(--c-border); padding: 12px 2px;
}
.category-section-grid.style-list .news-card:hover { transform: none; box-shadow: none; background: #fafafa; }
.category-section-grid.style-list .news-card .thumb-wrap { flex: 0 0 150px; height: 92px; border-radius: var(--radius-sm); }
.category-section-grid.style-list .news-card .thumb-wrap img { height: 92px; }
.category-section-grid.style-list .news-card .card-title { padding: 0; font-size: 14px; }
.category-section-grid.style-list .news-card.lead { grid-row: auto; }
.category-section-grid.style-list .news-card.lead .thumb-wrap,
.category-section-grid.style-list .news-card.lead .thumb-wrap img { height: 92px; }
.category-section-grid.style-list .news-card.lead .card-title { font-size: 14px; }

/* ==========================================================
   8b. YOUTUBE — LATEST VIDEOS SECTION
   ========================================================== */
.youtube-section { padding: 26px 0 6px; }

.youtube-featured {
  position: relative; height: 0; padding-top: 42%;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md); margin-bottom: 18px; background: #000;
}
.youtube-featured iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.youtube-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.youtube-card {
  display: block; background: var(--c-card); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.youtube-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.youtube-card .yt-thumb-wrap { position: relative; height: 170px; background: #000; overflow: hidden; }
.youtube-card .yt-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.youtube-card:hover .yt-thumb-wrap img { transform: scale(1.06); opacity: 0.85; }

.youtube-card .yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(211, 47, 47, 0.92); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

.youtube-card .yt-title { padding: 11px 12px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--c-text); }
.youtube-card:hover .yt-title { color: var(--c-primary); }

/* ==========================================================
   9. SOCIAL FLOAT
   ========================================================== */
.social-float {
  position: fixed;
  right: 6px; bottom: 92px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 80;
}
.social-float a { width: 30px; height: 30px; font-size: 13px; opacity: .82; box-shadow: 0 1px 4px rgba(0,0,0,.15); }

.social-float a {
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-float a:hover { transform: scale(1.1); }
.social-float .whatsapp { background: #25D366; }
.social-float .twitter  { background: #14171a; }
.social-float .facebook { background: #1877F2; }
.social-float .youtube  { background: #FF0000; }

.back-to-top {
  position: fixed;
  right: 18px; bottom: 68px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 150; border: none; font-size: 15px;
}
.back-to-top.is-visible { display: flex; }

/* ==========================================================
   10. BREAKING NEWS TICKER (Aaj Tak style — top strip, white bg)
   ========================================================== */
.news-ticker {
  position: relative;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center;
  z-index: 100;
  overflow: hidden;
}
.ticker-label {
  background: var(--c-primary); color: #fff;
  font-weight: 800; font-size: 12px;
  padding: 9px 14px; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: 0.3px;
}
.ticker-label .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.ticker-track-wrap { overflow: hidden; flex: 1; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker-scroll 42s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { padding: 9px 34px 9px 16px; font-size: 13px; font-weight: 700; color: var(--c-ink); border-right: 1px solid var(--c-border); }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- Trending Topics pill strip (Aaj Tak signature) ---- */
.trending-tags-strip {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 9px 0;
}
.trending-tags-strip .trending-tags-inner {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
}
.trending-tags-strip .trending-tags-inner::-webkit-scrollbar { display: none; }
.trending-tags-strip .tt-label {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  color: var(--c-primary); padding-right: 8px; border-right: 1px solid var(--c-border);
  white-space: nowrap;
}
.trending-tags-strip a {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--c-text);
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: 3px; padding: 5px 12px;
}
.trending-tags-strip a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================
   11. FOOTER
   ========================================================== */
.site-footer {
  background: var(--c-white);
  padding: 44px 0 0;
  margin-top: 20px;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--c-primary), var(--c-amber), var(--c-green), var(--c-blue), #8e24aa) 1;
}

.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 34px; }

.footer-col h3 {
  font-size: 14.5px; font-weight: 800; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 7px;
  border-bottom: 2px solid var(--c-primary); display: inline-block;
}

.footer-col .footer-logo { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.footer-col .footer-logo .part-1 { color: var(--c-primary); }
.footer-col .footer-logo .part-2 { color: var(--c-ink); }
.footer-col .footer-tagline { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.footer-col p.footer-desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.75; }

.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 13px; color: #333; display: flex; align-items: center; gap: 7px; }
.footer-col ul li a:hover { color: var(--c-primary); gap: 10px; }
.footer-col ul li a i { color: var(--c-primary); font-size: 11px; }

.footer-col .contact-item { display: flex; align-items: center; gap: 9px; font-size: 13px; margin-bottom: 13px; color: #333; }
.footer-col .contact-item i { width: 20px; color: var(--c-green); }

.newsletter-box {
  background: var(--c-bg);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
}
.newsletter-box p { font-size: 12px; color: var(--c-text-muted); margin-bottom: 10px; }
.newsletter-box form { display: flex; gap: 6px; }
.newsletter-box input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 12.5px;
}
.newsletter-box button {
  background: var(--c-primary); color: #fff; border: none;
  padding: 9px 14px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 700;
}

.footer-bottom {
  background: var(--c-navy);
  color: #cfd3dc;
  text-align: center;
  padding: 18px 0;
  font-size: 12.5px;
}
.footer-bottom p { margin-bottom: 8px; }
.footer-bottom strong { color: #fff; }
.footer-bottom .live-chat { color: var(--c-primary-light); font-weight: 700; }

/* ==========================================================
   12. SINGLE POST + SIDEBAR
   ========================================================== */
.single-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 26px; align-items: start; padding: 22px 0 34px; }
.single-layout.no-sidebar { grid-template-columns: 1fr; }
.single-layout.no-sidebar .single-article { max-width: 860px; margin: 0 auto; width: 100%; }

.single-article {
  background: var(--c-card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.single-article .post-category-tag { margin-bottom: 12px; }

.single-article h1.post-title { font-size: 26px; line-height: 1.35; margin-bottom: 12px; }

.single-article .post-meta {
  font-size: 12.5px; color: var(--c-text-muted);
  margin-bottom: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.single-article .post-meta span { display: flex; align-items: center; gap: 5px; }

.single-article .share-row { display: flex; gap: 8px; margin-bottom: 20px; }
.single-article .share-row a {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13.5px;
}
.share-row .share-whatsapp { background: #25D366; }
.share-row .share-telegram { background: #229ED9; }
.share-row .share-facebook { background: #1877F2; }
.share-row .share-twitter  { background: #14171a; }

.single-article .featured-image { margin-bottom: 22px; border-radius: var(--radius-md); overflow: hidden; }
.single-article .featured-image img { width: 100%; }

.single-article .post-content { font-size: 16.5px; line-height: 1.9; color: var(--c-text); }
.single-article .post-content p { margin-bottom: 17px; }
.single-article .post-content h2, .single-article .post-content h3 { margin: 24px 0 12px; }
.single-article .post-content img { border-radius: var(--radius-sm); margin: 14px 0; }
.single-article .post-content blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 4px 0 4px 16px;
  color: var(--c-text-muted);
  font-style: italic;
  margin: 16px 0;
}

.related-posts { margin-top: 34px; border-top: 1px solid var(--c-border); padding-top: 22px; }
.related-posts h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-posts-grid .news-card .card-title { font-size: 12.5px; }

.single-sidebar { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px); }

.sidebar-widget { background: var(--c-card); border-radius: var(--radius-md); margin-bottom: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.sidebar-widget .widget-heading {
  background: var(--c-primary); color: #fff;
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  padding: 12px 14px; display: flex; align-items: center; gap: 7px;
}

.trending-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-bottom: 1px solid #f0f0f0; }
.trending-list li:last-child { border-bottom: none; }
.trending-list .thumb { flex: 0 0 62px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; }
.trending-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.trending-list .t-title { font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.trending-list .t-title:hover { color: var(--c-primary); }

/* ==========================================================
   12b. COMMENTS
   ========================================================== */
.comment-list > li { list-style: none; margin-bottom: 16px; }
.comment-list .comment-body {
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.comment-list .comment-author { font-weight: 700; font-size: 13.5px; }
.comment-list .comment-author img { border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.comment-list .comment-metadata { font-size: 11.5px; color: var(--c-text-faint); margin-bottom: 6px; }
.comment-list .comment-content p { font-size: 13.5px; margin-bottom: 8px; }
.comment-list ol.children { margin-left: 24px; margin-top: 12px; }
#commentform { margin-top: 20px; }
#commentform p { margin-bottom: 12px; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 13.5px; font-family: var(--font-body);
}
#commentform textarea { min-height: 110px; }

/* ==========================================================
   13. GENERIC ARCHIVE / INDEX GRID
   ========================================================== */
.archive-title { margin-bottom: 18px; border-left: 4px solid var(--c-primary); padding-left: 12px; font-size: 20px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.pagination-wrap { margin-top: 26px; display: flex; justify-content: center; gap: 8px; }
.pagination-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--c-card); border: 1px solid var(--c-border); font-size: 13px; font-weight: 600;
}
.pagination-wrap .page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================
   14. RESPONSIVE — TABLET (<=1024px)
   ========================================================== */
@media (max-width: 1024px) {
  :root { --container: 100%; --gap: 16px; }

  .header-search { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .featured-slider, .featured-slider .slide img { min-height: 340px; height: 340px; }

  .category-section-grid { grid-template-columns: 1fr 1fr; }
  .category-section-grid .news-card.lead { grid-column: span 2; grid-row: auto; }
  .category-section-grid .news-card.lead .thumb-wrap,
  .category-section-grid .news-card.lead .thumb-wrap img { height: 220px; }

  .single-layout { grid-template-columns: 1.8fr 1fr; }

  .archive-grid { grid-template-columns: 1fr 1fr; }

  .footer-columns { grid-template-columns: 1fr 1fr; }

  .youtube-grid { grid-template-columns: 1fr 1fr; }
  .youtube-featured { padding-top: 56.25%; }
}

/* ==========================================================
   15. RESPONSIVE — MOBILE (<=768px)
   ========================================================== */
@media (max-width: 768px) {
  body { font-size: 14px; }

  .top-strip { display: none; }

  .container { padding: 0 14px; }

  .site-logo a { font-size: 20px; }
  .btn .btn-text { display: none; }
  .btn { padding: 8px 10px; }
  .icon-btn { width: 34px; height: 34px; }

  .hamburger { display: flex; }
  .main-nav { display: none; }

  .web-stories-carousel { gap: 10px; }
  .story-card { flex: 0 0 108px; height: 180px; }
  .story-card .story-caption { font-size: 10.5px; padding: 20px 7px 7px; }

  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .featured-slider, .featured-slider .slide img { min-height: 240px; height: 240px; }
  .featured-slider .slide-title { font-size: 15.5px; padding: 40px 12px 12px; }

  .news-grid-right { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news-card .thumb-wrap, .news-card .thumb-wrap img { height: 110px; }
  .news-card .card-title { font-size: 12px; padding: 9px 10px; }

  .category-section-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-section-grid .news-card.lead .thumb-wrap,
  .category-section-grid .news-card.lead .thumb-wrap img { height: 160px; }
  .category-section-grid .news-card.lead .card-title { font-size: 13px; }

  .single-layout { grid-template-columns: 1fr; padding: 14px 0 24px; }
  .single-article { padding: 16px; }
  .single-article h1.post-title { font-size: 20px; }
  .single-article .post-content { font-size: 15.5px; }
  .single-sidebar { position: static; }

  .related-posts-grid { grid-template-columns: 1fr 1fr; }

  .archive-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .youtube-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .youtube-featured { padding-top: 56.25%; margin-bottom: 14px; }
  .youtube-card .yt-thumb-wrap { height: 110px; }
  .youtube-card .yt-play { width: 38px; height: 38px; font-size: 14px; }
  .youtube-card .yt-title { font-size: 12px; padding: 9px 10px; }

  .category-section-grid.style-list .news-card .thumb-wrap { flex: 0 0 110px; height: 76px; }
  .category-section-grid.style-list .news-card .thumb-wrap img { height: 76px; }
  .category-section-grid.style-list .news-card .card-title,
  .category-section-grid.style-list .news-card.lead .card-title { font-size: 12.5px; }

  .footer-columns { grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 0 24px; }
  .footer-col:first-child { grid-column: span 2; }

  /* social-float hidden on mobile to prevent overlap */
  .social-float { display: none; }

  .back-to-top { right: 12px; bottom: 60px; width: 34px; height: 34px; }

  .ticker-label { font-size: 11px; padding: 8px 10px; }
  .ticker-track span { font-size: 11px; padding: 8px 20px 8px 12px; }

  .trending-tags-strip { padding: 7px 0; }
  .trending-tags-strip .tt-label { font-size: 10.5px; }
  .trending-tags-strip a { font-size: 11.5px; padding: 4px 10px; }
}

/* ==========================================================
   16. RESPONSIVE — SMALL MOBILE (<=480px)
   ========================================================== */
@media (max-width: 480px) {
  .news-grid-right { grid-template-columns: 1fr; }
  .category-section-grid { grid-template-columns: 1fr; }
  .category-section-grid .news-card.lead .thumb-wrap,
  .category-section-grid .news-card.lead .thumb-wrap img { height: 190px; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .youtube-grid { grid-template-columns: 1fr; }
  .footer-col:first-child { grid-column: span 1; }
  .footer-columns { grid-template-columns: 1fr; }
  .story-card { flex: 0 0 96px; height: 160px; }
}

/* ==========================================================
   17. TOUCH DEVICE POLISH (bigger tap targets, no hover-stuck states)
   ========================================================== */
@media (hover: none) and (pointer: coarse) {
  .news-card:hover,
  .youtube-card:hover,
  .category-section-grid.style-list .news-card:hover { transform: none; }
  .hamburger, .icon-btn, .slider-arrow, .back-to-top, .social-float a { min-width: 40px; min-height: 40px; }
  .main-nav li a { padding: 14px 16px; }
}

/* ==========================================================
   V4.0 ADDITIONS — logo fix, submenu flyout, live badge,
   ePaper reader, share, design presets, custom-code hooks
   ========================================================== */

/* ---- Logo: fixed sizing so it never overflows/crops on any
   breakpoint (desktop / tablet / mobile) ---- */
.site-logo { display: flex; align-items: center; max-width: 46vw; overflow: hidden; }
.site-logo a { max-width: 100%; }
.site-logo img,
.site-logo .custom-logo { max-height: 46px; width: auto; max-width: 100%; height: auto; display: block; object-fit: contain; }
@media (max-width: 1024px) { .site-logo { max-width: 42vw; } .site-logo img, .site-logo .custom-logo { max-height: 40px; } }
@media (max-width: 768px)  { .site-logo { max-width: 52vw; } .site-logo img, .site-logo .custom-logo { max-height: 34px; } }
@media (max-width: 480px)  { .site-logo { max-width: 58vw; } .site-logo img, .site-logo .custom-logo { max-height: 28px; } }

/* ---- Category submenu flyout (state > city etc.) ----
   Rendered into a body-level panel by js/main.js so the parent
   ul's horizontal scroll (overflow-x:auto) never clips it. */
.main-nav li.menu-item-has-children > a::after {
  content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  margin-left: 5px; font-size: 10px; opacity: .8;
}
.khushihost-flyout {
  position: fixed; z-index: 999; min-width: 190px;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: var(--transition);
}
.khushihost-flyout.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.khushihost-flyout ul { display: block; }
.khushihost-flyout a { display: block; padding: 9px 18px; color: var(--c-text); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.khushihost-flyout a:hover { background: var(--c-bg); color: var(--c-primary); }

/* Mobile drawer nested (state > city) items */
.mobile-drawer .sub-menu { padding-left: 18px; border-left: 2px solid rgba(255,255,255,0.08); margin: 2px 0 6px; }
.mobile-drawer .sub-menu a { font-size: 13.5px; opacity: .85; }

/* ---- Live badge ---- */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--c-primary); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .5px; padding: 3px 9px; border-radius: 3px; margin-bottom: 8px;
}
.live-badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: khLivePulse 1.2s infinite; }
@keyframes khLivePulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.post-category-tag + .live-badge, .live-badge + .post-title { margin-top: 6px; }

/* ---- Share row: "more" button + copied feedback ---- */
.share-row .share-more {
  width: 34px; height: 34px; border-radius: 4px; border: none; color: #fff;
  background: var(--c-text-muted); display: inline-flex; align-items: center; justify-content: center;
}
.share-row .share-more.copied::after { content: "Link copied"; position: absolute; }
.share-row .share-more:hover { background: var(--c-ink); }

/* ---- ePaper: archive grid ---- */
.epaper-archive-wrap { padding: 26px 0 50px; }
.epaper-page-title { font-size: 26px; margin-bottom: 18px; }
.epaper-grid { display: grid; grid-template-columns: repeat(var(--grid-cols-desktop, 4), 1fr); gap: 18px; }
.epaper-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.epaper-card:hover { box-shadow: var(--shadow-md); }
.epaper-cover { aspect-ratio: 3/4; background: var(--c-bg); overflow: hidden; }
.epaper-cover img { width: 100%; height: 100%; object-fit: cover; }
.epaper-cover-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--c-text-faint); }
.epaper-card h3 { font-size: 14px; padding: 10px 12px 2px; }
.epaper-card .epaper-date { display: block; padding: 0 12px 12px; font-size: 12px; color: var(--c-text-muted); }
.epaper-empty { padding: 40px 0; color: var(--c-text-muted); }
@media (max-width: 1024px) { .epaper-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .epaper-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- ePaper: single reader (flip-page) ---- */
.epaper-single-wrap { padding: 26px 0 50px; }
.epaper-single-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.epaper-single-head h1 { font-size: 22px; }
.epaper-single-head .epaper-date { color: var(--c-text-muted); font-size: 13px; }
.epaper-download { margin-left: auto; }
.epaper-reader { max-width: 760px; margin: 0 auto; }
.epaper-reader-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.epaper-reader-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; }
.epaper-reader-nav button:hover { background: var(--c-bg); }
.epaper-page-count { font-weight: 700; font-size: 14px; }
.epaper-flip-stage {
  position: relative; min-height: 420px; background: #14161f; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; overflow: hidden; perspective: 1800px;
}
.epaper-loading { color: #fff; font-size: 14px; }
.epaper-flip-stage .epaper-page {
  max-width: 100%; max-height: 78vh; box-shadow: var(--shadow-lg);
  opacity: 0; transform: rotateY(12deg) scale(.96); transition: transform .38s ease, opacity .38s ease;
}
.epaper-flip-stage .epaper-page.epaper-page-active { opacity: 1; transform: rotateY(0) scale(1); }
.epaper-flip-stage .epaper-page.epaper-page-exit { opacity: 0; transform: rotateY(-12deg) scale(.96); position: absolute; }

/* ---- Design presets (demo switcher) ---- */
body.preset-classic-blue {
  --c-primary: #1a56c4; --c-primary-dark: #123f92; --c-primary-light: #4d82e0;
  --c-navy: #101a2e; --c-navy-2: #17233d;
}
body.preset-dark-mode {
  --c-bg: #0e0f14; --c-card: #17181f; --c-text: #e9e9ee; --c-text-muted: #9a9ba8;
  --c-border: #262832; --c-ink: #f2f2f5; --c-navy: #0b0c11;
}
body.preset-dark-mode .site-header,
body.preset-dark-mode .top-strip,
body.preset-dark-mode .news-card,
body.preset-dark-mode .single-article,
body.preset-dark-mode .trending-tags-strip { background: var(--c-card); color: var(--c-text); }
body.preset-dark-mode .header-search input,
body.preset-dark-mode .btn { background: #20222c; color: var(--c-text); border-color: var(--c-border); }
body.preset-emerald {
  --c-primary: #0f9d58; --c-primary-dark: #0b7a44; --c-primary-light: #3ec27f;
  --c-navy: #10241c; --c-navy-2: #163527;
}

/* ---- Per-section grid column override (v4.1) ----
   When a section sets an inline --section-cols var (via the
   "Per-section overrides" Customizer field), it wins over the
   sitewide --grid-cols-desktop value. Tablet/mobile still follow
   the global responsive settings to keep things predictable. */
.category-section-grid.style-grid[style] {
  grid-template-columns: repeat(var(--section-cols, 3), 1fr);
}
@media (max-width: 1024px) {
  .category-section-grid.style-grid { grid-template-columns: repeat(var(--grid-cols-tablet, 2), 1fr) !important; }
}
@media (max-width: 768px) {
  .category-section-grid.style-grid { grid-template-columns: repeat(var(--grid-cols-mobile, 2), 1fr) !important; }
}

/* ==========================================================
   V4.2 ADDITIONS — state-wise news tabs, quick poll widget
   ========================================================== */

/* ---- State-wise news tabs ---- */
.state-tabs-section { margin: 28px 0; }
.state-tabs-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.state-tabs-nav::-webkit-scrollbar { display: none; }
.state-tab-btn {
  border: none; background: none; padding: 10px 16px; font-size: 13.5px; font-weight: 700;
  color: var(--c-text-muted); white-space: nowrap; border-bottom: 2px solid transparent;
}
.state-tab-btn.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.state-tab-panel { display: none; }
.state-tab-panel.active { display: block; }

/* ---- Quick poll widget ---- */
.poll-widget {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 16px; margin: 28px 0; max-width: 420px;
}
.poll-widget .widget-heading { font-family: var(--font-head); font-weight: 800; font-size: 14px; margin-bottom: 10px; color: var(--c-ink); }
.poll-widget .widget-heading i { color: var(--c-primary); margin-right: 6px; }
.poll-question { font-weight: 700; font-size: 14.5px; margin-bottom: 12px; }
.poll-options { display: flex; flex-direction: column; gap: 8px; }
.poll-option {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff;
  padding: 9px 12px; font-size: 13px; font-weight: 600; text-align: left; overflow: hidden;
}
.poll-option-label { position: relative; z-index: 1; }
.poll-option-pct { position: relative; z-index: 1; font-weight: 800; display: none; }
.poll-option-bar { position: absolute; inset: 0; z-index: 0; }
.poll-option-fill { display: block; height: 100%; background: rgba(217,0,0,0.08); width: 0; transition: width .4s ease; }
.poll-widget.voted .poll-option-pct { display: inline; }
.poll-widget.voted .poll-option { cursor: default; }
.poll-total { margin-top: 10px; font-size: 12px; color: var(--c-text-muted); }

/* ==========================================================
   V4.3 ADDITIONS — extra category list blocks, video news
   ========================================================== */

/* ---- Extra category list blocks (2 or 4 side-by-side) ---- */
.extra-blocks-row { display: grid; gap: 18px; margin: 28px 0; grid-template-columns: repeat(2, 1fr); }
.extra-blocks-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.extra-blocks-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.extra-block { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.extra-block-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-family: var(--font-head);
  font-weight: 800; font-size: 14px; border-left: 4px solid var(--c-primary); background: linear-gradient(90deg, rgba(217,0,0,.06), transparent);
}
.extra-block-head a { color: var(--c-ink); }
.extra-block.accent-blue .extra-block-head { border-left-color: var(--c-blue); background: linear-gradient(90deg, rgba(24,119,242,.07), transparent); }
.extra-block.accent-amber .extra-block-head { border-left-color: var(--c-amber); background: linear-gradient(90deg, rgba(255,179,0,.09), transparent); }
.extra-block.accent-green .extra-block-head { border-left-color: var(--c-green); background: linear-gradient(90deg, rgba(15,157,88,.07), transparent); }
.extra-block-list { flex: 1; }
.extra-block-list li { display: flex; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--c-border); align-items: center; }
.extra-block-list .thumb-wrap { width: 64px; height: 50px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.extra-block-item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.extra-block-item-body a { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--c-text); }
.extra-block-item-body a:hover { color: var(--c-primary); }
.extra-block-date { font-size: 11px; color: var(--c-text-faint); }
.extra-block-viewall { display: block; text-align: center; padding: 10px; font-size: 12.5px; font-weight: 700; color: var(--c-primary); border-top: 1px solid var(--c-border); background: #fafafa; }
.extra-block-viewall:hover { background: var(--c-bg); }
@media (max-width: 1024px) { .extra-blocks-row.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .extra-blocks-row, .extra-blocks-row.cols-3, .extra-blocks-row.cols-4 { grid-template-columns: 1fr; }
}

/* ==========================================================
   V5.0 — SITE STATS / CARD VIEWS / LIVE TV / LIVE UPDATES /
   POST INFO BOX / STICKY MOBILE AD
   ========================================================== */

.site-stats-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  background: var(--c-navy); color: #cfd3dc;
  border-radius: var(--radius-md); padding: 11px 18px; margin: 16px 0 0;
  font-size: 12.5px;
}
.site-stats-bar .stat-item { display: flex; align-items: center; gap: 8px; }
.site-stats-bar .stat-item i { color: var(--c-primary-light); }
.site-stats-bar .stat-item strong { color: #fff; font-size: 14px; }

.card-views {
  display: block; padding: 0 12px 11px;
  font-size: 11px; color: var(--c-text-faint);
}
.category-section-grid.style-list .news-card .card-views { padding: 2px 0 0; }

.live-tv-section { margin: 26px 0 6px; }
.live-tv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.live-tv-head h2 { font-size: 17px; text-transform: uppercase; }
.live-tv-player {
  position: relative; height: 0; padding-top: 56.25%;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md); background: #000;
}
.live-tv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.live-updates-box {
  background: #fff5f5; border: 1px solid #f3c1c1; border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-md); padding: 14px 16px; margin: 16px 0 22px;
}
.live-updates-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; text-transform: uppercase; font-size: 12.5px;
  color: var(--c-primary); margin-bottom: 10px;
}
.live-updates-list li {
  position: relative; padding: 5px 0 5px 20px;
  font-size: 14px; line-height: 1.55;
}
.live-updates-list li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary);
}
.live-updates-list li b { color: var(--c-primary); }

.post-info-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--radius-md); padding: 18px; margin: 26px 0 8px;
}
.post-info-box h4 {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; text-transform: uppercase; margin-bottom: 11px; color: var(--c-ink);
}
.post-info-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.post-info-tags a {
  font-size: 12px; font-weight: 600; color: var(--c-text);
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 3px; padding: 4px 10px;
}
.post-info-tags a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.post-info-box .archive-list { display: flex; flex-wrap: wrap; gap: 7px; }
.post-info-box .archive-list li {
  font-size: 12px; font-weight: 600; color: var(--c-text);
  background: #fff; border: 1px solid var(--c-border); border-radius: 3px; padding: 4px 10px;
}
.post-info-box .archive-list a:hover { color: var(--c-primary); }
@media (max-width: 640px) { .post-info-box { grid-template-columns: 1fr; } }

.sticky-mobile-ad {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
  padding: 8px 46px 8px 8px; display: none;
}
.sticky-mobile-ad .ad-slot { margin: 0; min-height: 0; padding: 0; }
.sticky-mobile-ad .ad-label { display: none; }
.sticky-ad-close {
  position: absolute; top: 6px; right: 6px; width: 30px; height: 30px;
  border: none; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 768px) {
  .sticky-mobile-ad { display: block; }
  body { padding-bottom: 68px; }
}

/* ---- Video News section (own dark navy, no borrowed branding) ---- */
.video-news-section { background: var(--c-navy); border-radius: var(--radius-lg); padding: 20px; margin: 28px 0; }
.video-news-section .section-heading-row.light h2 { color: #fff; }
.video-news-section .section-heading-row.light .lang-dropdown { color: #cfd1db; }
.video-news-grid { display: grid; grid-template-columns: 220px 1fr 220px; gap: 16px; margin-top: 14px; }
.video-news-side { display: flex; flex-direction: column; gap: 14px; }
.video-news-item { display: flex; flex-direction: column; gap: 6px; }
.video-news-item .thumb-wrap { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; }
.video-news-item span:not(.video-play) { color: #e7e8ec; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); color: #fff; font-size: 14px;
}
.video-news-main { display: block; }
.video-news-main-thumb { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.video-play-lg { font-size: 26px; width: 56px; height: 56px; border-radius: 50%; background: rgba(217,0,0,0.85); inset: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.video-news-main h3 { color: #fff; font-size: 15.5px; margin-top: 10px; line-height: 1.4; }
@media (max-width: 1024px) {
  .video-news-grid { grid-template-columns: 1fr; }
  .video-news-side { flex-direction: row; overflow-x: auto; }
  .video-news-side .video-news-item { min-width: 160px; flex-shrink: 0; }
}


/* ==========================================================
   V6.0 -- AAJ TAK EXACT-STYLE DESIGN (from reference capture)
   Header navy #0B2B5C, brand red #E11D24, white content bg,
   hero = big slider + सुपरफास्ट न्यूज़ panel, category lead
   cards with overlay titles, navy footer.
   ========================================================== */
:root {
  --c-primary:       #e11d24;
  --c-primary-dark:  #b3121a;
  --c-primary-light: #ff5252;
  --at-navy:         #0b2b5c;
  --at-navy-2:       #143a7a;
  --c-bg:            #f4f5f7;
  --font-body: 'Inter', 'Noto Sans Devanagari', 'Segoe UI', Arial, sans-serif;
  --font-head: 'Poppins', 'Noto Sans Devanagari', 'Segoe UI', Arial, sans-serif;
}

/* ---------------- TOP STRIP (Aaj Tak navy) ---------------- */
.top-strip { background: var(--at-navy); color: #b9c4d8; padding: 7px 0; }
.top-strip .top-date { color: #9fb0cc; font-weight: 600; }
.top-strip .top-social a { color: #c7d0e3; }
.top-strip .top-social a:hover { color: #fff; }
.signin-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 4px;
  margin-left: 16px;
}
.signin-btn:hover { background: var(--c-primary-dark); color: #fff; }

/* ---------------- MAIN HEADER ---------------- */
.site-header { box-shadow: 0 1px 4px rgba(11,43,92,.08); }
.site-logo .part-1 { font-size: 30px; font-weight: 800; color: var(--c-primary); letter-spacing: -0.5px; }
.header-search input {
  background: #f2f4f8; border: 1px solid #e6e9f0; border-radius: 20px;
  padding: 9px 18px; font-size: 13px; width: 260px;
}
.header-search button { background: transparent; color: var(--at-navy); }
.header-actions .btn {
  background: #f2f4f8; color: var(--at-navy); border-radius: 5px;
  font-weight: 700; font-size: 12.5px;
}
.header-actions .btn-primary { background: var(--c-primary); color: #fff; }
.header-actions .icon-btn { color: var(--at-navy); }

/* ---------------- NAV (white, red active underline) ---------------- */
.main-nav { background: #fff; border-bottom: 2px solid #eef0f4; box-shadow: 0 2px 6px rgba(11,43,92,.05); }
.main-nav ul { justify-content: flex-start; }
.main-nav li a {
  color: var(--at-navy); font-weight: 700; font-size: 14px;
  padding: 15px 18px; border-bottom: 3px solid transparent;
}
.main-nav li a:hover,
.main-nav li.current-menu-item a {
  color: var(--c-primary); border-bottom-color: var(--c-primary); background: none;
}
.main-nav .home-icon a { color: var(--at-navy); }
.main-nav .home-icon a i { color: var(--c-primary); }
.main-nav .live-tv a {
  background: var(--c-primary); color: #fff; border-radius: 4px;
  padding: 8px 14px; margin: 9px 14px 9px 6px; border-bottom: none !important;
}
.main-nav .live-tv a i { color: #fff; }

/* ---------------- BREAKING NEWS TICKER (solid red) ---------------- */
.news-ticker { background: var(--c-primary); border-bottom: none; }
.ticker-label { background: var(--c-primary-dark); color: #fff; }
.ticker-track span { color: #fff; border-right-color: rgba(255,255,255,.25); }
.ticker-track a { color: #fff; }
.ticker-track a:hover { color: #ffe0e0; }
.ticker-close {
  flex: 0 0 auto; color: #fff; background: rgba(0,0,0,.18);
  border: none; font-size: 13px; padding: 9px 14px; cursor: pointer;
}
.ticker-close:hover { background: rgba(0,0,0,.32); }
.social-float .ticker-close, @media(max-width:768px){}
@media (max-width: 768px) { .ticker-close { display: none; } }

/* ---------------- HERO (slider + superfast panel) ---------------- */
.hero-grid {
  grid-template-columns: minmax(0,1.85fr) minmax(0,1fr);
  gap: 18px; padding: 18px 0 10px;
}
.featured-slider { border-radius: 6px; min-height: 440px; }
.featured-slider .slide img { height: 440px; }
.featured-slider .slide-title { font-size: 21px; font-weight: 800; padding: 70px 20px 20px; }
.category-tag { border-radius: 2px; letter-spacing: .5px; }

.superfast-panel {
  background: #fff; border: 1px solid #e8e9ee; border-radius: 6px;
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.superfast-head {
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; font-size: 14.5px; font-weight: 800; letter-spacing: .3px;
}
.superfast-head i { color: rgba(255,255,255,.85); }
.superfast-panel .news-card {
  border-radius: 0; box-shadow: none; border-bottom: 1px solid #f0f1f4;
  display: flex; gap: 13px; align-items: flex-start; padding: 13px 16px; background: #fff;
}
.superfast-panel .news-card:hover { transform: none; box-shadow: none; background: #fafbfd; }
.superfast-panel .news-card .thumb-wrap { flex: 0 0 96px; height: 64px; border-radius: 4px; }
.superfast-panel .news-card .thumb-wrap img { height: 64px; }
.superfast-panel .news-card .thumb-wrap .category-tag { display: none; }
.superfast-panel .news-card .card-title { padding: 0; font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.superfast-panel .news-card .card-views { padding: 5px 0 0; }

/* ---------------- CATEGORY SECTIONS (red heading + lead+sub grid) ---------------- */
.category-section-heading {
  border-left: none; border-bottom: 2px solid #eef0f4;
  padding: 0 0 9px; margin-bottom: 18px; position: relative;
}
.category-section-heading::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 90px; height: 2px; background: var(--c-primary);
}
.category-section-heading .dot { display: none; }
.category-section-heading h2 { font-size: 19px; font-weight: 800; color: var(--c-primary); letter-spacing: .2px; }

.category-section-grid { grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.news-card { border-radius: 6px; }
.news-card .thumb-wrap, .news-card .thumb-wrap img { border-radius: 0; }
.news-card.lead .thumb-wrap { aspect-ratio: 16/10; height: auto; position: relative; }
.news-card.lead .thumb-wrap img { height: 100%; min-height: 220px; object-fit: cover; }
.lead-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  padding: 48px 16px 13px;
}
.lead-overlay .card-title { color: #fff; font-size: 17px; font-weight: 800; line-height: 1.38; padding: 0; }
.lead-overlay .card-views { color: rgba(255,255,255,.82); padding: 6px 0 0; }
.category-section-grid .news-card:not(.lead) .card-title { font-size: 13px; line-height: 1.5; padding: 11px 13px 5px; font-weight: 700; }
.category-section-grid .news-card:not(.lead) .card-views { padding: 0 13px 12px; }
.category-more-link { margin-top: 14px; }
.category-more-link a { color: var(--c-primary); font-weight: 700; font-size: 13px; }
.category-more-link a:hover { color: var(--c-primary-dark); }

/* ---------------- BIG NEWS / EXTRA BLOCKS (navy header panels) ---------------- */
.extra-blocks-row { grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 8px; }
.extra-block { background: #fff; border: 1px solid #e8e9ee; border-radius: 6px; overflow: hidden; }
.extra-block-head {
  background: var(--at-navy); color: #fff;
  padding: 12px 16px; font-size: 14.5px; font-weight: 800; letter-spacing: .3px;
  display: flex; align-items: center; gap: 9px;
}
.extra-block-head i { color: var(--c-primary-light); }
.extra-block-head a { color: #fff; }
.extra-block-list li { display: flex; gap: 13px; padding: 13px 16px; border-bottom: 1px solid #f0f1f4; align-items: flex-start; }
.extra-block-list .thumb-wrap { flex: 0 0 88px; height: 60px; border-radius: 4px; }
.extra-block-list .thumb-wrap img { height: 60px; }
.extra-block-list a { font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.extra-block-list a:hover { color: var(--c-primary); }
.extra-block-item-body { display: flex; flex-direction: column; gap: 4px; }
.extra-block-date { font-size: 11px; color: #8a93a6; }
.extra-block-viewall { display: block; padding: 11px 16px; color: var(--c-primary); font-weight: 700; font-size: 12.5px; }
.extra-block-viewall:hover { background: #fafbfd; color: var(--c-primary-dark); }

/* ---------------- POLL (red header card) ---------------- */
.poll-widget { border: none; border-radius: 6px; padding: 0; box-shadow: var(--shadow-sm); margin: 28px 0; max-width: none; }
.poll-widget .widget-heading { background: var(--c-primary); color: #fff; padding: 12px 16px; font-size: 14px; margin: 0; }
.poll-question { padding: 14px 16px 6px; font-size: 15px; font-weight: 700; }
.poll-options { padding: 6px 16px 14px; }
.poll-total { padding: 0 16px 14px; }

/* ---------------- STATE TABS ---------------- */
.state-tab-btn { font-weight: 700; color: #333; font-size: 13.5px; padding: 9px 4px; border-bottom: 2px solid transparent; }
.state-tab-btn.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }

/* ---------------- WEB STORIES / VIDEO / YOUTUBE ---------------- */
.section-heading-row h2 { color: var(--c-primary); }
.story-card { border-radius: 8px; }
.youtube-card { border-radius: 6px; }
.yt-play { background: rgba(225,29,36,.92); }
.video-news-section { background: var(--at-navy); }
.video-news-section .section-heading-row h2 { color: #fff; }
.video-play-lg { background: rgba(225,29,36,.85); }
.live-tv-section .live-tv-head h2 { color: var(--c-primary); }

/* ---------------- FOOTER (navy) ---------------- */
.site-footer { border-top: 3px solid var(--c-primary); background: #fff; }
.footer-col h3 { border-bottom-color: var(--c-primary); }
.footer-bottom { background: var(--at-navy); }
.site-stats-bar { background: var(--at-navy); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .extra-blocks-row { grid-template-columns: 1fr; }
  .category-section-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .superfast-panel { display: block; }
  .superfast-panel .news-card { padding: 11px 14px; }
  .category-section-grid { grid-template-columns: 1fr 1fr; }
  .category-section-grid .news-card.lead .thumb-wrap img { min-height: 170px; }
  .lead-overlay .card-title { font-size: 15px; }
  .featured-slider .slide-title { font-size: 17px; }
  .site-logo .part-1 { font-size: 24px; }
  .header-search input { width: 130px; }
}
@media (max-width: 480px) {
  .category-section-grid { grid-template-columns: 1fr; }
  .superfast-panel .news-card .thumb-wrap { flex-basis: 84px; }
}
