/*
Theme Name:  Newsverse
Theme URI:   https://newsverse.app
Description: Professional news/magazine WordPress theme. 1080px grid (760px content + 20px gap + 300px sidebar). Built-in: full SEO & JSON-LD Schema, breaking ticker, category-to-author mapping wizard, visitor star ratings, NextGEN-compatible gallery carousel, granular XML sitemaps with on/off controls, GA4 analytics dashboard, post view counter, complete ads system, daily banners (desktop 1080x200px / mobile 480x200px) + doodle logo override (200x80px transparent PNG/WebP), Google Fonts via Cloudflare CDN, Telugu Ramabhadra font support, dark mode, reading progress bar, related posts, authors directory. Zero required plugins.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author:      Newsverse
License:     GPL-2.0+
Text Domain: newsverse
Tags:        news, magazine, dark-mode, responsive, custom-logo, seo, schema, ads, telugu
*/

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --nv-primary:    #e63329;
  --nv-accent:     #f5a623;
  --nv-dark:       #0f1117;
  --nv-dark-2:     #1a1d27;
  --nv-border:     #e4e6ea;
  --nv-text:       #1a1a1a;
  --nv-text-2:     #555555;
  --nv-text-3:     #999999;
  --nv-bg:         #f4f5f7;
  --nv-surface:    #ffffff;
  --nv-shadow:     0 2px 12px rgba(0,0,0,.08);
  --nv-shadow-lg:  0 6px 28px rgba(0,0,0,.14);
  --nv-radius:      10px;
  --nv-radius-sm:    6px;
  --nv-radius-img:  10px;
  --nv-radius-card: 12px;
  --nv-font-head:  'Georgia', serif;
  --nv-font-body:  system-ui, -apple-system, sans-serif;
  --nv-font-ui:    system-ui, -apple-system, sans-serif;

  /*
   * LAYOUT:  760px content + 20px gap + 300px sidebar = 1080px total
   * Card cols inside content: (760 - 20) / 2 = 370px each
   */
  --nv-wrap:    1080px;
  --nv-sidebar: 300px;
  --nv-gap:     20px;
}

[data-nv-theme="dark"] {
  --nv-border:  #2e3147;
  --nv-text:    #e8e9ed;
  --nv-text-2:  #9ea3b8;
  --nv-text-3:  #5a5f7a;
  --nv-bg:      #0f1117;
  --nv-surface: #1a1d27;
}

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

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

body {
  font-family: var(--nv-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nv-text);
  background: var(--nv-bg);
  overflow-x: hidden;
  max-width: 100%;
  transition: background .25s ease, color .25s ease;
}

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

a {
  color: var(--nv-primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.4em; }
button { cursor: pointer; font: inherit; }

.nv-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.nv-skip {
  position: absolute;
  top: -9999px; left: 12px;
  z-index: 99999;
  background: var(--nv-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 var(--nv-radius) var(--nv-radius);
  font-size: .85rem;
  font-weight: 600;
}
.nv-skip:focus { top: 0; }

/* ============================================================
   2. GLOBAL LAYOUT
   ============================================================ */
.nv-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nv-wrap {
  width: 100%;
  max-width: var(--nv-wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

#nv-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--nv-primary), var(--nv-accent));
  z-index: 10000;
  pointer-events: none;
  transition: width .1s linear;
}

/* Rail ads — appear in side gutters at very wide screens */
.nv-rail {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  z-index: 100;
  display: none;
}
.nv-rail-left  { left:  calc(50% - 590px); }
.nv-rail-right { right: calc(50% - 590px); }
.nv-rail-label {
  display: block;
  font-size: .62rem;
  color: var(--nv-text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  margin-bottom: 4px;
}
@media (min-width: 1420px) { .nv-rail { display: block; } }

/* ============================================================
   3. TOPBAR
   ============================================================ */
.nv-topbar {
  background: var(--nv-dark);
  color: rgba(255,255,255,.7);
  font-size: .73rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nv-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nv-topbar-l,
.nv-topbar-r {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nv-topbar-tagline { opacity: .75; }
.nv-topbar-sep     { opacity: .35; }

.nv-topbar-menu {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.nv-topbar-menu a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.nv-topbar-menu a:hover { color: #fff; }

.nv-lang-pill {
  background: var(--nv-primary);
  color: #fff !important;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: .67rem;
  font-weight: 700;
  text-decoration: none !important;
}

/* ============================================================
   4. BREAKING TICKER
   ============================================================ */
.nv-ticker {
  display: flex;
  align-items: stretch;
  min-height: 34px;
  overflow: hidden;
  font-size: .8rem;
  position: relative;
  z-index: 9000;
}

.nv-ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px 0 14px;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}

.nv-ticker-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .85;
  animation: nvPulse 1.4s ease-in-out infinite;
}

@keyframes nvPulse {
  0%, 100% { transform: scale(1);   opacity: .85; }
  50%       { transform: scale(1.5); opacity: .4;  }
}

.nv-ticker-viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.nv-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.nv-ticker-set { display: inline-flex; align-items: center; }

.nv-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.nv-ticker-dot { font-size: .4rem; opacity: .45; }

.nv-ticker-link {
  color: inherit;
  text-decoration: none;
  transition: opacity .15s;
}
.nv-ticker-link:hover {
  opacity: .7;
  text-decoration: underline;
}

/* ============================================================
   5. HEADER AD SLOT
   ============================================================ */
.nv-header-ad {
  text-align: center;
  padding: 8px 0;
  background: var(--nv-surface);
}
.nv-header-ad:empty { display: none; }

/* ============================================================
   6. DAILY BANNER
   Desktop : 1080 x 200 px  |  WebP  |  max 150 KB
   Mobile  :  480 x 200 px  |  WebP  |  max  80 KB
   Doodle  :  200 x  80 px  |  transparent PNG or WebP
   ============================================================ */
.nv-daily-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.nv-daily-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.nv-banner-mobile { display: none; }

@media (max-width: 600px) {
  .nv-banner-desktop { display: none; }
  .nv-banner-mobile  { display: block; }
}

/* ============================================================
   7. SITE HEADER
   ============================================================ */
.nv-header {
  background: var(--nv-surface);
  border-bottom: 1px solid var(--nv-border);
  position: sticky;
  top: 0;
  z-index: 8000;
  transition: box-shadow .2s;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.nv-header.scrolled { box-shadow: var(--nv-shadow); }

.nv-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

/* Logo */
.nv-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.nv-logo-mark {
  width: 36px; height: 36px;
  background: var(--nv-primary);
  border-radius: var(--nv-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nv-logo-doodle {
  width: 36px; height: 36px;
  object-fit: contain;
}

.nv-logo-type { display: flex; flex-direction: column; }

.nv-logo-name {
  font-family: var(--nv-font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--nv-text);
  line-height: 1;
}
.nv-logo-name .nv-ac { color: var(--nv-primary); }

.nv-logo-sub {
  font-size: .6rem;
  color: var(--nv-text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nv-logo img { max-height: 52px; width: auto; }

/* Primary nav */
.nv-primary-nav { flex: 1; min-width: 0; }

.nv-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
}

.nv-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--nv-radius);
  font-size: .82rem;
  font-weight: 600;
  color: var(--nv-text);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.nv-nav-list > li > a:hover,
.nv-nav-list > li.current-menu-item > a,
.nv-nav-list > li.current-menu-ancestor > a {
  background: var(--nv-bg);
  color: var(--nv-primary);
  text-decoration: none;
}

.nv-nav-icon {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dropdown sub-menu */
.nv-nav-list li { position: relative; }

.nv-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--nv-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius);
  box-shadow: var(--nv-shadow-lg);
  min-width: 200px;
  z-index: 200;
  padding: 6px;
  list-style: none;
}
.nv-nav-list li:hover > .sub-menu,
.nv-nav-list li:focus-within > .sub-menu { display: block; }

.nv-nav-list .sub-menu a {
  display: block;
  padding: 7px 12px;
  font-size: .82rem;
  color: var(--nv-text);
  border-radius: var(--nv-radius-sm);
  text-decoration: none;
}
.nv-nav-list .sub-menu a:hover {
  background: var(--nv-bg);
  color: var(--nv-primary);
}

/* Header action buttons */
.nv-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nv-hbtn {
  width: 34px; height: 34px;
  border-radius: var(--nv-radius);
  border: 1px solid var(--nv-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nv-text);
  transition: background .15s;
  flex-shrink: 0;
}
.nv-hbtn:hover { background: var(--nv-bg); }
.nv-hbtn svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nv-sub-btn {
  background: var(--nv-primary);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity .15s;
  white-space: nowrap;
}
.nv-sub-btn:hover { opacity: .88; }

.nv-hamburger { display: none; }

/* Search overlay */
.nv-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0,0,0,.78);
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.nv-search-overlay.open { display: flex; }

.nv-search-box {
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  padding: 16px;
  width: 100%;
  max-width: 580px;
  margin: 0 16px;
  box-shadow: var(--nv-shadow-lg);
}

.nv-search-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.nv-search-close-row button {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.2rem;
}

.nv-search-inner { display: flex; gap: 8px; }

.nv-search-inner input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--nv-border);
  border-radius: var(--nv-radius);
  font-size: 1rem;
  background: var(--nv-bg);
  color: var(--nv-text);
  outline: none;
}
.nv-search-inner input:focus {
  border-color: var(--nv-primary);
}
.nv-search-inner button {
  padding: 0 18px;
  background: var(--nv-primary);
  color: #fff;
  border: none;
  border-radius: var(--nv-radius);
  font-weight: 700;
}

/* Mobile drawer */
.nv-mob-drawer {
  display: none;
  background: var(--nv-surface);
  border-top: 1px solid var(--nv-border);
  padding: 12px 0;
}
.nv-mob-drawer.open { display: block; }

.nv-mob-nav { list-style: none; padding: 0; }
.nv-mob-nav a {
  display: block;
  padding: 10px 16px;
  font-size: .9rem;
  color: var(--nv-text);
  border-bottom: 1px solid var(--nv-border);
  text-decoration: none;
}
.nv-mob-nav a:hover { color: var(--nv-primary); }

.nv-mob-sub-btn {
  display: block;
  margin: 12px 16px 4px;
  background: var(--nv-primary);
  color: #fff !important;
  padding: 10px;
  border-radius: var(--nv-radius);
  text-align: center;
  font-weight: 700;
  text-decoration: none !important;
}

/* ============================================================
   8. CONTENT AREA  (760 + 20 + 300 = 1080)
   ============================================================ */
.nv-content {
  flex: 1;
  padding: 24px 0;
}

.nv-content-grid {
  display: grid;
  grid-template-columns: 1fr var(--nv-sidebar);
  gap: var(--nv-gap);
  align-items: start;
}
.nv-content-grid.no-sidebar   { grid-template-columns: 1fr; }
.nv-content-grid.sidebar-left { grid-template-columns: var(--nv-sidebar) 1fr; }

.nv-main        { min-width: 0; }
.nv-sidebar-col { min-width: 0; }

@media (max-width: 960px) {
  .nv-content-grid,
  .nv-content-grid.sidebar-left {
    grid-template-columns: 1fr;
  }
  .nv-sidebar-col { order: 2; }
}

/* ============================================================
   9. ARCHIVE HEADER
   ============================================================ */
.nv-arch-head {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--nv-border);
}

.nv-arch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nv-arch-title {
  font-family: var(--nv-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nv-text);
  border-left: 4px solid var(--nv-primary);
  padding-left: 10px;
  margin: 0;
}

.nv-arch-desc {
  font-size: .82rem;
  color: var(--nv-text-2);
  margin-top: 6px;
  padding-left: 14px;
}

/* View toggle */
.nv-view-toggle { display: flex; gap: 4px; }

.nv-view-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--nv-radius);
  border: 1.5px solid var(--nv-border);
  background: transparent;
  font-size: .74rem;
  font-weight: 600;
  color: var(--nv-text-2);
  transition: all .15s;
}
.nv-view-btn.active,
.nv-view-btn:hover {
  border-color: var(--nv-primary);
  color: var(--nv-primary);
  background: rgba(230,51,41,.06);
}

/* ============================================================
   10. POST GRID  (2 cols x 370px inside 760px content)
   ============================================================ */
.nv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.nv-grid.cols-1 { grid-template-columns: 1fr; }
.nv-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* List view */
.nv-grid.list-view {
  grid-template-columns: 1fr;
}
.nv-grid.list-view .nv-card {
  flex-direction: row;
}
.nv-grid.list-view .nv-card-thumb-wrap {
  flex: 0 0 140px;
  width: 140px;
  aspect-ratio: unset;
  height: 100px;
}
.nv-grid.list-view .nv-card-title {
  font-size: .86rem;
  -webkit-line-clamp: 3;
}
.nv-grid.list-view .nv-card-excerpt { display: none; }

@media (max-width: 640px) {
  .nv-grid        { grid-template-columns: 1fr; }
  .nv-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   11. POST CARD
   ============================================================ */
.nv-card {
  display: flex;
  flex-direction: column;
  background: var(--nv-surface);
  border-radius: var(--nv-radius);
  border: 1px solid var(--nv-border);
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.nv-card:hover {
  box-shadow: var(--nv-shadow);
  transform: translateY(-2px);
}

.nv-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--nv-border);
  flex-shrink: 0;
}
.nv-card-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.nv-card:hover .nv-card-thumb { transform: scale(1.04); }

.nv-card-no-thumb {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dde3ea, #c8d0da);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0bac5;
  font-size: 2rem;
}

.nv-card-cat {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--nv-primary);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--nv-radius-sm);
  text-decoration: none !important;
}

.nv-card-views {
  position: absolute;
  bottom: 6px; right: 8px;
  font-size: .68rem;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.45);
  padding: 1px 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nv-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nv-card-title {
  font-family: var(--nv-font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--nv-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.nv-card-title a { color: inherit; text-decoration: none; }
.nv-card-title a:hover { color: var(--nv-primary); }

.nv-card-excerpt {
  font-size: .78rem;
  color: var(--nv-text-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.nv-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: .72rem;
  color: var(--nv-text-3);
  margin-top: auto;
}
.nv-card-meta a { color: inherit; text-decoration: none; }
.nv-card-meta a:hover { color: var(--nv-primary); }
.nv-card-sep   { opacity: .5; }
.nv-card-stars { color: #f5a623; font-size: .7rem; letter-spacing: 1px; }

/* ============================================================
   12. FEATURED SECTION
   ============================================================ */
.nv-featured { margin-bottom: 28px; }

.nv-section-title {
  font-family: var(--nv-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--nv-text);
  border-left: 4px solid var(--nv-primary);
  padding-left: 10px;
  margin-bottom: 14px;
}

.nv-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 680px) { .nv-featured-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .nv-featured-grid { grid-template-columns: 1fr; } }

.nv-featured-link-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nv-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--nv-radius);
  font-weight: 700;
  text-decoration: none !important;
}

/* ============================================================
   13. SINGLE POST
   ============================================================ */
.nv-single { max-width: 740px; }

.nv-entry-cats {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.nv-entry-cat {
  background: var(--nv-primary);
  color: #fff !important;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: var(--nv-radius-sm);
  text-decoration: none !important;
}

.nv-entry-title {
  font-family: var(--nv-font-head);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nv-text);
  margin: 0 0 12px;
}
@media (max-width: 600px) { .nv-entry-title { font-size: 1.3rem; } }

.nv-entry-thumb {
  margin-bottom: 20px;
  border-radius: var(--nv-radius);
  overflow: hidden;
}
.nv-entry-thumb img { width: 100%; height: auto; }

/* Author bar */
.nv-author-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: .8rem;
  color: var(--nv-text-2);
  margin: 10px 0 18px;
  padding: 10px 14px;
  background: var(--nv-bg);
  border-radius: var(--nv-radius);
  border: 1px solid var(--nv-border);
}

.nv-author-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--nv-border);
  flex-shrink: 0;
}

.nv-author-name {
  font-weight: 700;
  color: var(--nv-text);
  text-decoration: none;
}
.nv-author-name:hover { color: var(--nv-primary); text-decoration: none; }

.nv-bar-sep { opacity: .4; font-size: .65rem; }

/* Share buttons */
.nv-share-strip { display: inline-flex; gap: 5px; }

.nv-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 14px;
  border: 1.5px solid var(--nv-border);
  font-size: .7rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--nv-text-2);
  background: var(--nv-surface);
  transition: all .15s;
}
.nv-share-btn:hover  { text-decoration: none; }
.nv-share-x:hover    { background: #000;    color: #fff; border-color: #000; }
.nv-share-wa:hover   { background: #25d366; color: #fff; border-color: #25d366; }
.nv-share-li:hover   { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.nv-share-fb:hover   { background: #1877f2; color: #fff; border-color: #1877f2; }
.nv-share-tg:hover   { background: #229ed9; color: #fff; border-color: #229ed9; }

/* Post content body */
.nv-entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--nv-text);
  font-family: var(--nv-font-body);
}
.nv-entry-content h2,
.nv-entry-content h3,
.nv-entry-content h4 {
  font-family: var(--nv-font-head);
  color: var(--nv-text);
  margin: 1.5em 0 .5em;
  line-height: 1.3;
}
.nv-entry-content h2 { font-size: 1.5rem; }
.nv-entry-content h3 { font-size: 1.25rem; }
.nv-entry-content h4 { font-size: 1.1rem; }
.nv-entry-content p  { margin: 0 0 1em; }
.nv-entry-content img {
  border-radius: var(--nv-radius);
  margin: 1em 0;
}
.nv-entry-content blockquote {
  border-left: 4px solid var(--nv-primary);
  padding: 12px 16px;
  background: var(--nv-bg);
  border-radius: 0 var(--nv-radius) var(--nv-radius) 0;
  margin: 1.2em 0;
  color: var(--nv-text-2);
  font-style: italic;
}
.nv-entry-content ul,
.nv-entry-content ol { margin: 0 0 1em; }
.nv-entry-content a  { color: var(--nv-primary); }

.nv-incontent-ad { margin: 24px 0; text-align: center; }

/* Post tags */
.nv-post-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.nv-post-tag {
  background: var(--nv-bg);
  border: 1px solid var(--nv-border);
  border-radius: 14px;
  padding: 3px 10px;
  font-size: .75rem;
  color: var(--nv-text-2);
  text-decoration: none;
}
.nv-post-tag:hover {
  color: var(--nv-primary);
  border-color: var(--nv-primary);
  text-decoration: none;
}

/* ============================================================
   14. VISITOR RATINGS
   ============================================================ */
.nv-ratings {
  margin: 24px 0;
  padding: 18px;
  background: var(--nv-bg);
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius);
  text-align: center;
}
.nv-ratings h4 {
  font-size: .9rem;
  margin-bottom: 10px;
  color: var(--nv-text-2);
  font-weight: 600;
}

.nv-star-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.nv-star-btn {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--nv-border);
  transition: color .15s, transform .15s;
  line-height: 1;
  padding: 0 2px;
}
.nv-star-btn:hover,
.nv-star-btn.lit  { color: #f5a623; transform: scale(1.1); }
.nv-star-btn:disabled { cursor: default; }

.nv-ratings-summary { font-size: .8rem; color: var(--nv-text-3); }
.nv-ratings-avg     { font-size: 1.1rem; font-weight: 700; color: var(--nv-text); }
.nv-ratings-msg     {
  font-size: .8rem;
  color: var(--nv-primary);
  margin-top: 6px;
  font-weight: 600;
  min-height: 1.2em;
}

/* ============================================================
   15. AUTHOR BIO BOX
   ============================================================ */
.nv-bio-box {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius);
  background: var(--nv-surface);
}

.nv-bio-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.nv-bio-av {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nv-border);
  flex-shrink: 0;
}

.nv-bio-right { flex: 1; min-width: 0; }

.nv-bio-label {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--nv-text-3);
  margin-bottom: 2px;
}

.nv-bio-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--nv-text);
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.nv-bio-name:hover { color: var(--nv-primary); text-decoration: none; }

.nv-bio-role {
  display: block;
  font-size: .75rem;
  color: var(--nv-text-3);
  margin-bottom: 6px;
}

.nv-bio-text {
  font-size: .82rem;
  color: var(--nv-text-2);
  line-height: 1.6;
  margin: 0 0 8px;
}

.nv-bio-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: 10px;
}
.nv-chip-lbl {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--nv-text-3);
}
.nv-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  color: #0055aa;
  background: #e8f0fe;
  border: 1px solid #c5d8f8;
  border-radius: 16px;
  padding: 2px 9px;
  transition: all .15s;
}
.nv-chip:hover {
  background: #0055aa;
  color: #fff;
  border-color: #0055aa;
  text-decoration: none;
}
.nv-chip-count {
  background: #0055aa;
  color: #fff;
  border-radius: 8px;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: all .15s;
}
.nv-chip:hover .nv-chip-count { background: #fff; color: #0055aa; }

.nv-bio-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .nv-bio-inner   { flex-direction: column; align-items: center; text-align: center; }
  .nv-bio-chips,
  .nv-bio-actions { justify-content: center; }
}

/* ============================================================
   16. RELATED POSTS
   ============================================================ */
.nv-related { margin: 28px 0; }

.nv-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .nv-related-grid { grid-template-columns: 1fr; } }

.nv-rel-card {
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius);
  background: var(--nv-surface);
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.nv-rel-card:hover {
  box-shadow: var(--nv-shadow);
  transform: translateY(-2px);
}
.nv-rel-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.nv-rel-thumb     { width: 100%; height: 140px; overflow: hidden; }
.nv-rel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.nv-rel-card:hover .nv-rel-thumb img { transform: scale(1.04); }

.nv-rel-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nv-rel-cat {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nv-primary);
}
.nv-rel-title {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--nv-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.nv-rel-date {
  font-size: .7rem;
  color: var(--nv-text-3);
  margin-top: auto;
}

/* ============================================================
   17. GALLERY  [nv_gallery]
   Note: All existing NextGEN shortcodes (nggallery, ngg_images
   etc.) pass through to the NextGEN plugin unmodified.
   [nv_gallery] is a separate optional carousel shortcode.
   ============================================================ */
.nv-gallery-wrap { margin: 24px 0; }

.nv-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--nv-gcols, 3), 1fr);
  gap: 3px;
}
@media (max-width: 580px) {
  .nv-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.nv-gallery-cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  background: var(--nv-border);
}
.nv-gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s, filter .35s;
}
.nv-gallery-cell:hover img {
  transform: scale(1.06);
  filter: brightness(.82);
}
.nv-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: 1.6rem;
}
.nv-gallery-cell:hover .nv-gallery-overlay { opacity: 1; }

/* Lightbox */
.nv-lb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nv-lb[hidden] { display: none; }

.nv-lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.93);
  cursor: pointer;
}

.nv-lb-stage {
  position: relative;
  width: min(94vw, 880px);
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.nv-lb-track {
  width: 100%;
  overflow: hidden;
  border-radius: var(--nv-radius);
  background: #111;
}
.nv-lb-slide { display: none; }
.nv-lb-slide.active {
  display: block;
  animation: nvSlide .28s ease;
}
@keyframes nvSlide {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: none; }
}
.nv-lb-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}
.nv-lb-cap {
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .8rem;
  padding: 8px 14px;
  text-align: center;
}

.nv-lb-prev,
.nv-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: 1.8rem;
  width: 44px; height: 64px;
  border-radius: var(--nv-radius);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.nv-lb-prev { left: -52px; }
.nv-lb-next { right: -52px; }
@media (max-width: 680px) {
  .nv-lb-prev { left:  4px; }
  .nv-lb-next { right: 4px; }
}
.nv-lb-prev:hover,
.nv-lb-next:hover { background: rgba(255,255,255,.28); }

.nv-lb-close {
  position: absolute;
  top: -40px; right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: .75;
}
.nv-lb-close:hover { opacity: 1; }

.nv-lb-counter {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  margin-top: 8px;
}

.nv-lb-dots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.nv-lb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .2s;
}
.nv-lb-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ============================================================
   18. SIDEBAR / WIDGETS
   ============================================================ */
.widget { margin-bottom: 24px; }

.widget-title {
  font-family: var(--nv-font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--nv-text);
  border-bottom: 2px solid var(--nv-primary);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.nv-widget-ad {
  text-align: center;
  margin-bottom: 24px;
}

.nv-popular-list { list-style: none; padding: 0; }

.nv-popular-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nv-border);
  align-items: flex-start;
}
.nv-popular-item:last-child { border-bottom: none; }

.nv-pop-rank {
  font-size: 1rem;
  font-weight: 900;
  color: var(--nv-border);
  flex-shrink: 0;
  line-height: 1;
  min-width: 22px;
  align-self: center;
}
.nv-pop-thumb {
  flex: 0 0 64px;
  height: 48px;
  border-radius: var(--nv-radius-sm);
  overflow: hidden;
}
.nv-pop-thumb img { width: 100%; height: 100%; object-fit: cover; }

.nv-pop-info { flex: 1; min-width: 0; }
.nv-pop-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--nv-text);
  line-height: 1.4;
}
.nv-pop-title a { color: inherit; text-decoration: none; }
.nv-pop-title a:hover { color: var(--nv-primary); }
.nv-pop-views { font-size: .68rem; color: var(--nv-text-3); margin-top: 3px; }

/* ============================================================
   19. BREADCRUMBS
   ============================================================ */
.nv-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: .75rem;
  color: var(--nv-text-3);
  margin-bottom: 16px;
}
.nv-breadcrumbs a { color: var(--nv-text-3); text-decoration: none; }
.nv-breadcrumbs a:hover { color: var(--nv-primary); }
.nv-breadcrumbs .sep { opacity: .5; }

/* ============================================================
   20. AUTHORS DIRECTORY
   ============================================================ */
.nv-authors-dir { max-width: 860px; margin: 0 auto; }

.nv-authors-dir h2 {
  font-family: var(--nv-font-head);
  font-size: 1.3rem;
  font-weight: 700;
  border-left: 4px solid var(--nv-primary);
  padding-left: 10px;
  margin-bottom: 24px;
}

.nv-author-card {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--nv-border);
  align-items: flex-start;
}
.nv-author-card:last-child { border-bottom: none; }

.nv-ac-left  { flex: 0 0 88px; text-align: center; }
.nv-ac-av {
  border-radius: 50%;
  width: 88px; height: 88px;
  object-fit: cover;
  border: 2px solid var(--nv-border);
  display: block;
  margin: 0 auto 4px;
}
.nv-ac-count {
  font-size: .68rem;
  color: var(--nv-primary);
  font-weight: 600;
  display: block;
  text-decoration: none;
}

.nv-ac-right { flex: 1; min-width: 0; }
.nv-ac-name  { font-size: 1rem; font-weight: 700; margin: 0 0 3px; }
.nv-ac-name a { color: var(--nv-text); text-decoration: none; }
.nv-ac-name a:hover { color: var(--nv-primary); }
.nv-ac-role  { font-size: .78rem; color: var(--nv-text-3); margin: 0 0 6px; }
.nv-ac-bio   { font-size: .82rem; color: var(--nv-text-2); line-height: 1.6; margin: 0 0 10px; }
.nv-ac-links { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 480px) {
  .nv-author-card { flex-direction: column; align-items: center; text-align: center; }
  .nv-ac-links    { justify-content: center; }
}

/* ============================================================
   21. PAGINATION
   ============================================================ */
.nv-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.nv-pagination a,
.nv-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--nv-radius);
  border: 1.5px solid var(--nv-border);
  font-size: .82rem;
  color: var(--nv-text);
  text-decoration: none;
  transition: all .15s;
}
.nv-pagination a:hover {
  border-color: var(--nv-primary);
  color: var(--nv-primary);
}
.nv-pagination .current {
  background: var(--nv-primary);
  border-color: var(--nv-primary);
  color: #fff;
}

/* ============================================================
   22. UTILITY BUTTONS
   ============================================================ */
.nv-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  line-height: 1.4;
}
.nv-btn-primary {
  background: var(--nv-primary);
  border-color: var(--nv-primary);
  color: #fff !important;
}
.nv-btn-primary:hover { opacity: .88; text-decoration: none; }

.nv-btn-outline {
  background: transparent;
  border-color: var(--nv-primary);
  color: var(--nv-primary);
}
.nv-btn-outline:hover {
  background: var(--nv-primary);
  color: #fff !important;
  text-decoration: none;
}

.nv-btn-ghost {
  background: transparent;
  border-color: var(--nv-border);
  color: var(--nv-text-2);
}
.nv-btn-ghost:hover { background: var(--nv-bg); text-decoration: none; }

/* ============================================================
   23. FOOTER
   ============================================================ */
.nv-footer {
  background: var(--nv-dark);
  color: rgba(255,255,255,.7);
  margin-top: auto;
}
.nv-footer-ad {
  background: rgba(255,255,255,.04);
  text-align: center;
  padding: 14px 0;
}
.nv-footer-widgets {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nv-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 820px) { .nv-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nv-footer-grid { grid-template-columns: 1fr; } }

.nv-fw-title {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.nv-fw-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nv-fw-list a { color: rgba(255,255,255,.6); font-size: .8rem; text-decoration: none; }
.nv-fw-list a:hover { color: #fff; }

.nv-footer-bottom { padding: 16px 0; }
.nv-footer-bot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .75rem;
}
.nv-footer-bot-row a { color: rgba(255,255,255,.5); text-decoration: none; }
.nv-footer-bot-row a:hover { color: #fff; }

/* ============================================================
   24. RESPONSIVE
   ============================================================ */
.admin-bar .nv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nv-header { top: 46px; } }

@media (max-width: 768px) {
  .nv-primary-nav { display: none; }
  .nv-hamburger   { display: flex; }
  .nv-sub-btn     { display: none; }
}
@media (max-width: 580px) {
  .nv-topbar-tagline { display: none; }
}

/* ============================================================
   25. TELUGU / REGIONAL FONT
   Applied to elements with lang="te" or class .nv-telugu
   Font loaded via Appearance > Typography (Ramabhadra etc.)
   ============================================================ */
:lang(te),
.nv-telugu {
  line-height: 1.8;
}/* ============================================================
   NEWSVERSE — COMPLETE STYLE ADDITIONS
   Replace ALL previous style-additions-*.css files with this
   one file. Paste at the VERY END of style.css.

   Contents:
   §1  Global radius tokens
   §2  White surface containers (site-wide)
   §3  Dark mode toggle button (main header)
   §4  Post card redesign (TeluguNow-inspired)
   §5  All images rounded site-wide
   §6  Hero / featured image (single post)
   §7  Horizontal gallery carousel (round + square)
   §8  Related posts grid
   §9  Compact author bio
   §10 Star ratings widget
   §11 Home builder — page grid & rows
   §12 Home builder — category block styles
   §13 Home builder — thumbnail list style
   §14 Home builder — first+list style
   §15 Home builder — card grid style
   §16 Home builder — gallery block
   §17 Home builder — web stories (Eenadu-style portrait grid)
   §18 Home builder — ad block
   §19 Language page title
   §20 Archive / category page
   §21 Sidebar widgets
   §22 Comments & pagination
   §23 Responsive overrides
   ============================================================ */


/* ══════════════════════════════════════════════════════════
   §1  GLOBAL RADIUS TOKENS
   ══════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════
   §2  LAYOUT: dark-grey outer → single white 1080px container
   ──────────────────────────────────────────────────────────
   ARCHITECTURE:
     body                 ← dark grey outer frame
     .nv-site             ← flex column, transparent
     .nv-content          ← flex:1, transparent
     .nv-content>.nv-wrap ← THE ONE white box (1080px)
     .nv-content-grid     ← grid inside the white box
     .nv-main             ← no own background (inherits white)
     .nv-sidebar-col      ← no own background (inherits white)

   The gap between .nv-main and .nv-sidebar-col is still part of
   the white .nv-wrap container, so no grey bleed-through.
   ══════════════════════════════════════════════════════════ */

/* ── Outer frame: medium-dark grey ── */
body {
  background: #c9cdd4;
}
[data-nv-theme="dark"] body {
  background: #0a0c10;
}

/* ── The single white content container ── */
.nv-content > .nv-wrap {
  background: #ffffff;
  border-radius: var(--nv-radius-card);
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
  padding: 28px 28px 36px;
  margin-top: 20px;
  margin-bottom: 32px;
}
[data-nv-theme="dark"] .nv-content > .nv-wrap {
  background: var(--nv-surface);
}

/* ── Content area itself: no extra padding ── */
.nv-content {
  flex: 1;
  padding: 0;
}
.nv-content-grid {
  gap: var(--nv-gap);
}

/* ── Main + sidebar: transparent — they live inside the white wrap ── */
.nv-main {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-width: 0;
}
.nv-sidebar-col {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-width: 0;
}
[data-nv-theme="dark"] .nv-main,
[data-nv-theme="dark"] .nv-sidebar-col {
  background: transparent !important;
}

/* ── Single post article: no own background (already on white container) ── */
.nv-single {
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
[data-nv-theme="dark"] .nv-single {
  background: transparent !important;
}

/* ── Inner panels: transparent bg (container is already white).
   Only subtle bottom border + spacing to separate sections. ── */

.nv-arch-head {
  background: transparent !important;
  border: none;
  border-bottom: 2px solid var(--nv-border);
  border-radius: 0;
  padding: 0 0 12px;
  margin-bottom: 16px;
}
[data-nv-theme="dark"] .nv-arch-head { background: transparent !important; }

.nv-featured {
  background: transparent !important;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}
[data-nv-theme="dark"] .nv-featured { background: transparent !important; }

.nv-related {
  background: transparent !important;
  border: none;
  border-top: 2px solid var(--nv-border);
  border-radius: 0;
  padding: 20px 0 0;
  margin: 24px 0 0;
}
[data-nv-theme="dark"] .nv-related { background: transparent !important; }

.nv-home-section,
.nv-category-section {
  background: transparent !important;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}
[data-nv-theme="dark"] .nv-home-section,
[data-nv-theme="dark"] .nv-category-section { background: transparent !important; }

/* Bio box: keep subtle card style since it's a distinct element */
.nv-bio-compact,
.nv-bio-box {
  background: #f8f9fb !important;
  border: 1px solid var(--nv-border);
  border-left: 4px solid var(--nv-primary);
  border-radius: var(--nv-radius-card);
}
[data-nv-theme="dark"] .nv-bio-compact,
[data-nv-theme="dark"] .nv-bio-box { background: var(--nv-dark-2) !important; }

/* Ratings: keep card */
.nv-ratings-widget {
  background: #f8f9fb !important;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  padding: 16px 18px;
}
[data-nv-theme="dark"] .nv-ratings-widget { background: var(--nv-dark-2) !important; }

/* Pagination: clean, no box */
.nv-pagination {
  background: transparent !important;
  border: none;
  border-radius: 0;
  padding: 16px 0 0;
  margin-top: 12px;
}
[data-nv-theme="dark"] .nv-pagination { background: transparent !important; }

/* Comments: light separator */
#comments {
  background: transparent !important;
  border: none;
  border-top: 2px solid var(--nv-border);
  border-radius: 0;
  padding: 24px 0 0;
  margin-top: 24px;
}
[data-nv-theme="dark"] #comments { background: transparent !important; }

/* Sidebar widgets: subtle cards on white container */
.widget,
.nv-sidebar-col .widget {
  background: #f8f9fb !important;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  padding: 14px 16px;
  margin-bottom: 16px;
}
[data-nv-theme="dark"] .widget { background: var(--nv-surface) !important; }


/* ══════════════════════════════════════════════════════════
   §3  DARK MODE TOGGLE — main header
   ══════════════════════════════════════════════════════════ */

.nv-dark-btn {
  font-size: 1.1rem;
  line-height: 1;
  padding: 6px 8px !important;
  background: transparent !important;
  border: none !important;
  transition: transform .2s;
}
.nv-dark-btn:hover { transform: rotate(20deg); background: var(--nv-bg) !important; }
[data-nv-theme="dark"]  .nv-dark-icon-moon { display: none !important; }
[data-nv-theme="dark"]  .nv-dark-icon-sun  { display: inline !important; }
[data-nv-theme="light"] .nv-dark-icon-moon { display: inline !important; }
[data-nv-theme="light"] .nv-dark-icon-sun  { display: none !important; }


/* ══════════════════════════════════════════════════════════
   §4  POST CARD — TeluguNow-inspired redesign
   ══════════════════════════════════════════════════════════ */

.nv-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--nv-radius-card);
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  cursor: pointer;
}
.nv-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  transform: translateY(-3px);
}
[data-nv-theme="dark"] .nv-card {
  background: var(--nv-surface);
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.nv-card > .nv-card-stretch-link {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  border-radius: inherit;
}
.nv-card .nv-card-cat,
.nv-card .nv-card-title a,
.nv-card .nv-card-meta a,
.nv-card-body { position: relative; z-index: 1; }

.nv-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9ecef;
  border-radius: var(--nv-radius-img) var(--nv-radius-img) 0 0;
  flex-shrink: 0;
}
.nv-card-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--nv-radius-img) var(--nv-radius-img) 0 0;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.nv-card:hover .nv-card-thumb { transform: scale(1.05); }

.nv-card-cat {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--nv-primary);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  z-index: 2;
}
.nv-card-cat:hover { opacity: .88; }

.nv-card-views {
  position: absolute;
  bottom: 8px; right: 8px;
  font-size: .65rem;
  color: #fff;
  background: rgba(0,0,0,.5);
  padding: 2px 7px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.nv-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: #ffffff;
}
[data-nv-theme="dark"] .nv-card-body { background: var(--nv-surface); }

.nv-card-title {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--nv-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.nv-card-title a { color: inherit; text-decoration: none; }
.nv-card-title a:hover { color: var(--nv-primary); }

.nv-card-excerpt {
  font-size: .76rem;
  color: var(--nv-text-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.nv-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: .7rem;
  color: var(--nv-text-3);
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--nv-border);
}
.nv-card-meta a { color: inherit; text-decoration: none; }
.nv-card-meta a:hover { color: var(--nv-primary); }
.nv-card-sep   { opacity: .4; }
.nv-card-stars { color: #f5a623; font-size: .68rem; }

.nv-card-cat-inline {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--nv-primary);
  margin-top: 3px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.nv-card-cat-inline:hover { text-decoration: underline; }

/* List view */
.nv-grid.list-view .nv-card {
  flex-direction: row;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.nv-grid.list-view .nv-card-thumb-wrap {
  flex: 0 0 140px; width: 140px; height: 95px; aspect-ratio: unset;
  border-radius: var(--nv-radius-img) 0 0 var(--nv-radius-img);
}
.nv-grid.list-view .nv-card-thumb {
  border-radius: var(--nv-radius-img) 0 0 var(--nv-radius-img);
}
.nv-grid.list-view .nv-card-body  { padding: 10px 12px; justify-content: center; }
.nv-grid.list-view .nv-card-title { font-size: .84rem; -webkit-line-clamp: 3; }
.nv-grid.list-view .nv-card-excerpt { display: none; }
.nv-grid.list-view .nv-card-thumb-wrap .nv-card-cat { display: none; }

/* Featured grid: first card spans full width */
.nv-featured-grid .nv-card:first-child { grid-column: 1 / -1; }
.nv-featured-grid .nv-card:first-child .nv-card-thumb-wrap { aspect-ratio: 21 / 9; }
.nv-featured-grid .nv-card:first-child .nv-card-title { font-size: 1.1rem; -webkit-line-clamp: 2; }

/* Card grid gaps */
.nv-grid              { gap: 16px; }
.nv-hb-card-grid      { gap: 14px; }
.nv-related-grid,
.nv-related-grid--3col { gap: 14px; }


/* ══════════════════════════════════════════════════════════
   §5  ALL IMAGES ROUNDED
   ══════════════════════════════════════════════════════════ */

img { border-radius: var(--nv-radius-img); }

/* Exceptions — flat (logos, header chrome) */
.nv-logo img,
.nv-logo-doodle,
.nv-topbar img,
.nv-header img { border-radius: 0; }

/* Avatars → circle */
.nv-author-av,
.nv-bio-compact-av,
.nv-bio-av { border-radius: 50% !important; }

/* Explicit img containers */
.nv-card-thumb,
.nv-entry-thumb img,
.nv-rel-thumb img,
.nv-hb-tl-thumb img,
.nv-hb-first-sm-thumb img,
.nv-hb-story-thumb img,
.nv-carousel-item img,
.nv-gallery-img { border-radius: var(--nv-radius-img); }

/* Clip wrappers */
.nv-rel-thumb      { border-radius: var(--nv-radius-img) var(--nv-radius-img) 0 0; }
.nv-hb-tl-thumb    { border-radius: var(--nv-radius-img); overflow: hidden; }
.nv-hb-story-thumb { border-radius: var(--nv-radius-img); }
.nv-carousel-item  { border-radius: var(--nv-radius-img); overflow: hidden; }

/* Round gallery keeps circle */
.nv-carousel-round .nv-carousel-item { border-radius: 50%; border: 3px solid var(--nv-accent); }
.nv-carousel-round .nv-carousel-item img { border-radius: 50%; }

/* Post body images */
.nv-entry-content img { border-radius: var(--nv-radius-img); box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* Sidebar widget images */
.widget img { border-radius: var(--nv-radius-img); }


/* ══════════════════════════════════════════════════════════
   §6  HERO / FEATURED IMAGE — single post
   ══════════════════════════════════════════════════════════ */

.nv-entry-thumb {
  position: relative;
  border-radius: var(--nv-radius-img);
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--nv-border);
  aspect-ratio: 3 / 2;
}
.nv-entry-thumb .nv-hero-img,
.nv-entry-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nv-yt-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none !important;
  background: rgba(0,0,0,.18);
  transition: background .2s;
}
.nv-yt-play-overlay:hover { background: rgba(0,0,0,.32); }
.nv-yt-play-btn {
  width: 68px; height: 48px;
  background: #ff0000; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; line-height: 1;
  transition: transform .18s; box-shadow: 0 3px 14px rgba(0,0,0,.4);
}
.nv-yt-play-overlay:hover .nv-yt-play-btn { transform: scale(1.1); }


/* ══════════════════════════════════════════════════════════
   §7  GALLERY CAROUSEL — shared + round + square
   ══════════════════════════════════════════════════════════ */

.nv-carousel { margin: 20px 0; }
.nv-carousel-track-wrap { position: relative; display: flex; align-items: center; }
.nv-carousel-track {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 8px 4px 12px; flex: 1;
}
.nv-carousel-track::-webkit-scrollbar { display: none; }
.nv-carousel-item { scroll-snap-align: start; flex-shrink: 0; }
.nv-carousel-thumb-link {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none !important; color: var(--nv-text);
}
.nv-carousel-thumb { overflow: hidden; flex-shrink: 0; background: var(--nv-border); }
.nv-carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.nv-carousel-thumb-link:hover .nv-carousel-thumb img { transform: scale(1.06); }
.nv-carousel-caption { font-size: .7rem; color: var(--nv-text-2); text-align: center; max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-carousel-arrow {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--nv-border); background: var(--nv-surface);
  color: var(--nv-text-2); font-size: 1.2rem; display: flex;
  align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
  box-shadow: var(--nv-shadow);
}
.nv-carousel-arrow:hover { background: var(--nv-primary); color: #fff; border-color: var(--nv-primary); }
.nv-carousel-prev { margin-right: 6px; }
.nv-carousel-next { margin-left: 6px; }

.nv-carousel--round .nv-carousel-thumb {
  border-radius: 50%; border: 3px solid var(--nv-primary); box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.nv-carousel--round .nv-carousel-thumb img { border-radius: 50%; }
.nv-carousel--round .nv-carousel-thumb-link:hover .nv-carousel-thumb { border-color: var(--nv-accent); }

.nv-carousel--square .nv-carousel-thumb { border-radius: var(--nv-radius-img); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.nv-carousel--square .nv-carousel-thumb img { border-radius: var(--nv-radius-img); }
.nv-carousel--square .nv-carousel-caption { font-size: .72rem; max-width: 180px; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; text-align: center; }


/* ══════════════════════════════════════════════════════════
   §8  RELATED POSTS GRID
   ══════════════════════════════════════════════════════════ */

.nv-related-grid,
.nv-related-grid--3col { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

.nv-rel-card--clickable {
  position: relative; border-radius: var(--nv-radius-card); border: none;
  background: var(--nv-surface); overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.07); display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.nv-rel-card--clickable:hover { box-shadow: 0 6px 20px rgba(0,0,0,.13); transform: translateY(-3px); }
.nv-rel-stretch-link { position: absolute; inset: 0; z-index: 0; display: block; border-radius: inherit; }
.nv-rel-thumb { width: 100%; height: 140px; overflow: hidden; background: var(--nv-border); flex-shrink: 0; position: relative; z-index: 1; border-radius: var(--nv-radius-img) var(--nv-radius-img) 0 0; }
.nv-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; border-radius: var(--nv-radius-img) var(--nv-radius-img) 0 0; }
.nv-rel-card--clickable:hover .nv-rel-thumb img { transform: scale(1.04); }
.nv-rel-no-thumb { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: linear-gradient(135deg,#dde3ea,#c8d0da); }
.nv-rel-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; position: relative; z-index: 1; }
.nv-rel-title { font-size: .84rem; font-weight: 700; line-height: 1.4; margin: 0; }
.nv-rel-title-link { color: var(--nv-text); text-decoration: none; position: relative; z-index: 2; }
.nv-rel-title-link:hover { color: var(--nv-primary); }
.nv-rel-cat { font-size: .62rem; font-weight: 700; text-transform: uppercase; color: var(--nv-primary); text-decoration: none; position: relative; z-index: 2; }
.nv-rel-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.nv-rel-date { font-size: .7rem; color: var(--nv-text-3); }
.nv-rel-stars { color: var(--nv-accent); font-size: .72rem; }


/* ══════════════════════════════════════════════════════════
   §9  COMPACT AUTHOR BIO
   ══════════════════════════════════════════════════════════ */

.nv-bio-compact { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; margin: 20px 0; }
.nv-bio-compact-av { width: 52px; height: 52px; border-radius: 50% !important; object-fit: cover; border: 2px solid var(--nv-border); flex-shrink: 0; }
.nv-bio-compact-body { flex: 1; min-width: 0; }
.nv-bio-compact-name { font-weight: 700; font-size: .9rem; color: var(--nv-text); text-decoration: none; display: block; margin-bottom: 4px; }
.nv-bio-compact-name:hover { color: var(--nv-primary); }
.nv-bio-compact-text { font-size: .78rem; color: var(--nv-text-2); line-height: 1.5; margin: 0 0 8px; }
.nv-bio-compact-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nv-bio-btn { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-decoration: none; transition: all .15s; }
.nv-bio-btn--primary { background: var(--nv-primary); color: #fff; border: 1.5px solid var(--nv-primary); }
.nv-bio-btn--primary:hover { opacity: .85; text-decoration: none; }
.nv-bio-btn--outline { background: transparent; color: var(--nv-text); border: 1.5px solid var(--nv-border); }
.nv-bio-btn--outline:hover { border-color: var(--nv-text); text-decoration: none; }


/* ══════════════════════════════════════════════════════════
   §10  STAR RATINGS WIDGET
   ══════════════════════════════════════════════════════════ */

.nv-ratings-editorial { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--nv-border); flex-wrap: wrap; }
.nv-ratings-ed-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nv-text-3); }
.nv-ratings-ed-score { font-size: 1.3rem; font-weight: 700; color: var(--nv-accent); }
.nv-ratings-prompt { font-size: .82rem; font-weight: 600; color: var(--nv-text-2); margin: 0 0 8px; }
.nv-ratings-stars-interactive { display: flex; gap: 4px; margin-bottom: 10px; }
.nv-star-btn { background: none; border: none; font-size: 1.6rem; color: var(--nv-accent); cursor: pointer; padding: 0; line-height: 1; transition: transform .1s; }
.nv-star-btn:hover { transform: scale(1.2); }
.nv-star-btn:disabled { cursor: default; opacity: .7; }
.nv-ratings-summary { font-size: .82rem; color: var(--nv-text-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nv-ratings-avg-num { font-weight: 700; font-size: .9rem; color: var(--nv-text); }
.nv-ratings-thankyou { color: #2e7d32; font-weight: 600; }
.nv-ratings-voted-msg { font-size: .78rem; color: var(--nv-text-3); margin-top: 4px; }
.nv-stars-wrap { display: inline-flex; gap: 1px; color: var(--nv-accent); font-size: .9rem; }
.nv-star { line-height: 1; }
.nv-star--empty { opacity: .35; }
.nv-card-stars-wrap { display: inline-flex; align-items: center; gap: 3px; color: var(--nv-accent); font-size: .72rem; }
.nv-card-stars-count { color: var(--nv-text-3); font-size: .68rem; }
.nv-hb-no-stars .nv-card-stars,
.nv-hb-no-stars .nv-card-stars-wrap,
.nv-hb-no-stars .nv-card-sep:last-of-type { display: none; }


/* ══════════════════════════════════════════════════════════
   §11  HOME BUILDER — page grid & row layout
   ══════════════════════════════════════════════════════════ */

.nv-hb-row { display: flex; gap: 20px; margin-bottom: 18px; align-items: stretch; }
.nv-hb-row--full,
.nv-hb-row--single { display: block; }


/* ══════════════════════════════════════════════════════════
   §12  HOME BUILDER — category block shell & header
   ══════════════════════════════════════════════════════════ */

.nv-hb-cat-block {
  flex: 1; min-width: 0;
  background: #f8f9fb !important;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  padding: 0; overflow: hidden;
  box-shadow: none;
}
[data-nv-theme="dark"] .nv-hb-cat-block { background: var(--nv-dark-2) !important; }

.nv-hb-cat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 0;
  border-bottom: 2px solid var(--nv-border);
  margin: 0 12px;
}
.nv-hb-cat-title { font-size: .92rem; font-weight: 800; margin: 0; padding-left: 10px; border-left: 4px solid var(--nv-primary); line-height: 1.2; }
.nv-hb-cat-title a { color: var(--nv-text); text-decoration: none; }
.nv-hb-cat-title a:hover { color: var(--nv-primary); }
.nv-hb-cat-more { color: var(--nv-text-3); display: flex; align-items: center; padding: 3px; border-radius: 4px; transition: color .15s; flex-shrink: 0; }
.nv-hb-cat-more:hover { color: var(--nv-primary); }

/* Bullet list */
.nv-hb-bullets { list-style: none; margin: 0; padding: 0 12px; }
.nv-hb-bullets li { border-bottom: 1px solid var(--nv-border); padding: 8px 0 8px 14px; position: relative; }
.nv-hb-bullets li:last-child { border-bottom: none; }
.nv-hb-bullets li::before { content: '■'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: .45rem; color: var(--nv-text-3); line-height: 1; }
.nv-hb-bullets li a { font-size: .84rem; font-weight: 600; color: var(--nv-text); text-decoration: none; line-height: 1.4; display: block; }
.nv-hb-bullets li a:hover { color: var(--nv-primary); }


/* ══════════════════════════════════════════════════════════
   §13  HOME BUILDER — thumbnail list style
   ══════════════════════════════════════════════════════════ */

.nv-hb-thumb-list { list-style: none; margin: 0; padding: 0; }
.nv-hb-thumb-list li { border-bottom: 1px solid var(--nv-border); }
.nv-hb-thumb-list li:last-child { border-bottom: none; }

.nv-hb-tl-item {
  display: flex; flex-direction: row; align-items: center;
  gap: 12px; padding: 10px 12px;
  text-decoration: none; color: var(--nv-text); width: 100%; box-sizing: border-box;
}
.nv-hb-tl-item:hover .nv-hb-tl-title { color: var(--nv-primary); }

.nv-hb-tl-thumb { flex: 0 0 110px; width: 110px; height: 74px; border-radius: var(--nv-radius-img); overflow: hidden; background: var(--nv-border); }
.nv-hb-tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--nv-radius-img); }
.nv-hb-tl-nothumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: #e9ecef; }

.nv-hb-tl-title { flex: 1; min-width: 0; font-size: .88rem; font-weight: 700; line-height: 1.45; color: var(--nv-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }


/* ══════════════════════════════════════════════════════════
   §14  HOME BUILDER — first+list style (TeluguNow)
   ══════════════════════════════════════════════════════════ */

.nv-hb-first-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; text-decoration: none; color: var(--nv-text);
  border-bottom: 1px solid var(--nv-border); transition: background .15s;
}
.nv-hb-first-row:hover { background: rgba(0,0,0,.02); }
.nv-hb-first-row:hover .nv-hb-first-row-title { color: var(--nv-primary); }

.nv-hb-first-sm-thumb { flex: 0 0 110px; width: 110px; height: 80px; border-radius: var(--nv-radius-img); overflow: hidden; background: var(--nv-border); }
.nv-hb-first-sm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--nv-radius-img); transition: transform .3s; }
.nv-hb-first-row:hover .nv-hb-first-sm-thumb img { transform: scale(1.04); }

.nv-hb-first-row-title { flex: 1; min-width: 0; font-size: .9rem; font-weight: 700; line-height: 1.45; color: var(--nv-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }

/* Old unused large-thumb style — hide */
.nv-hb-first-thumb,
.nv-hb-first-title { display: none; }


/* ══════════════════════════════════════════════════════════
   §15  HOME BUILDER — card grid style
   ══════════════════════════════════════════════════════════ */

.nv-hb-cat-block .nv-hb-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.nv-hb-row .nv-hb-cat-block .nv-hb-card-grid { grid-template-columns: 1fr; }
.nv-hb-cat-block .nv-hb-card-grid .nv-card { border-radius: var(--nv-radius-card); box-shadow: 0 2px 8px rgba(0,0,0,.07); border: none; }


/* ══════════════════════════════════════════════════════════
   §16  HOME BUILDER — gallery block
   ══════════════════════════════════════════════════════════ */

.nv-hb-gallery-block {
  background: #ffffff !important;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
[data-nv-theme="dark"] .nv-hb-gallery-block { background: var(--nv-surface) !important; }


/* ══════════════════════════════════════════════════════════
   §17  HOME BUILDER — WEB STORIES (Eenadu-style portrait grid)

   Layout: section header with category tabs + 5-column portrait
   card grid. Cards use 9:16 aspect ratio images with title
   overlaid at the bottom on a gradient. Horizontal scroll on
   mobile. Matches eenadu.net/web-stories visual style.
   ══════════════════════════════════════════════════════════ */

.nv-hb-stories-block {
  background: #ffffff !important;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  padding-bottom: 16px;
}
[data-nv-theme="dark"] .nv-hb-stories-block { background: var(--nv-surface) !important; }

/* Block header row: title left + more link right */
.nv-hb-stories-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 0;
  border-bottom: 2px solid var(--nv-border);
  margin: 0 14px 14px;
}

/* Portrait card grid — 5 columns desktop */
.nv-hb-stories-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0 14px;
}

/* Each portrait card */
.nv-hb-story-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--nv-text);
  border-radius: var(--nv-radius-img);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.nv-hb-story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* Portrait image wrap — 9:16 */
.nv-hb-story-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--nv-radius-img);
  overflow: hidden;
  background: #d0d6df;
  flex-shrink: 0;
}
.nv-hb-story-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: var(--nv-radius-img);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.nv-hb-story-card:hover .nv-hb-story-thumb img { transform: scale(1.05); }

/* Gradient overlay — title sits on top of image */
.nv-hb-story-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 100%);
  border-radius: 0 0 var(--nv-radius-img) var(--nv-radius-img);
  pointer-events: none;
}

/* Title overlaid on image at the bottom */
.nv-hb-story-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 8px 8px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* Stories icon badge bottom-right */
.nv-hb-story-overlay {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.nv-hb-story-icon svg { display: block; }

/* Empty state */
.nv-hb-story-nothumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, #2c3e50, #4ca1af);
}


/* ══════════════════════════════════════════════════════════
   §18  HOME BUILDER — ad block
   ══════════════════════════════════════════════════════════ */

.nv-hb-ad-block {
  background: #ffffff !important;
  border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card);
  padding: 12px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
[data-nv-theme="dark"] .nv-hb-ad-block { background: var(--nv-surface) !important; }
.nv-hb-ad-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--nv-text-3); margin: 0 0 6px; }


/* ══════════════════════════════════════════════════════════
   §19  LANGUAGE PAGE
   ══════════════════════════════════════════════════════════ */

.nv-lang-page-title { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--nv-primary); }
.nv-lang-page-title h1 { font-size: 1.4rem; font-weight: 800; margin: 0; color: var(--nv-text); }


/* ══════════════════════════════════════════════════════════
   §20  ARCHIVE / CATEGORY page
   ══════════════════════════════════════════════════════════ */

.nv-arch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nv-arch-title { font-size: 1.2rem; font-weight: 800; margin: 0; }
.nv-arch-desc { font-size: .82rem; color: var(--nv-text-2); margin: 4px 0 0; }
.nv-view-toggle { display: flex; gap: 6px; }
.nv-view-btn { font-size: .76rem; padding: 4px 10px; border: 1.5px solid var(--nv-border); border-radius: 6px; background: var(--nv-surface); color: var(--nv-text-2); cursor: pointer; transition: all .15s; }
.nv-view-btn.active,
.nv-view-btn:hover { border-color: var(--nv-primary); color: var(--nv-primary); background: #fff5f5; }


/* ══════════════════════════════════════════════════════════
   §21  SIDEBAR — section headings
   ══════════════════════════════════════════════════════════ */

.nv-sidebar-col .widget-title,
.nv-sidebar-col h2,
.nv-sidebar-col h3 {
  font-size: .88rem; font-weight: 800; margin: 0 0 12px;
  padding-left: 10px; border-left: 4px solid var(--nv-primary);
}

.nv-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--nv-border); }
.nv-section-header .nv-section-title { margin: 0; border-left: 4px solid var(--nv-primary); padding-left: 10px; }
.nv-section-more { font-size: .75rem; font-weight: 700; color: var(--nv-primary); text-decoration: none; white-space: nowrap; }
.nv-section-more:hover { text-decoration: underline; }


/* ══════════════════════════════════════════════════════════
   §22  COMMENTS & PAGINATION
   ══════════════════════════════════════════════════════════ */

.comment-respond { margin-top: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .comment { padding: 12px 0; border-bottom: 1px solid var(--nv-border); }
.comment-list .comment:last-child { border-bottom: none; }


/* ══════════════════════════════════════════════════════════
   §23  RESPONSIVE OVERRIDES
   ══════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .nv-related-grid,
  .nv-related-grid--3col { grid-template-columns: repeat(2,1fr); }
  /* Web stories: 3 columns tablet */
  .nv-hb-stories-rail { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 680px) {
  .nv-hb-row { flex-direction: column; gap: 12px; }
  .nv-main  { padding: 14px; }
  .nv-single { padding: 14px; }
  /* Web stories: 2 columns mobile, horizontal scroll */
  .nv-hb-stories-rail {
    display: flex; gap: 10px; overflow-x: auto; padding: 0 12px 8px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .nv-hb-stories-rail::-webkit-scrollbar { display: none; }
  .nv-hb-story-card { flex: 0 0 130px; scroll-snap-align: start; }
}
@media (max-width: 540px) {
  .nv-related-grid,
  .nv-related-grid--3col { grid-template-columns: 1fr; }
  .nv-bio-compact { flex-direction: column; align-items: center; text-align: center; }
  .nv-bio-compact-links { justify-content: center; }
  .nv-hb-tl-thumb { flex: 0 0 90px; width: 90px; height: 60px; }
  .nv-yt-play-btn { width: 52px; height: 36px; font-size: 1rem; }
}

/* ══════════════════════════════════════════════════════════
   §A8  TWO-COLUMN HOME BUILDER GRID  (merged from batch8)
   ══════════════════════════════════════════════════════════ */
.nv-hb-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.nv-hb-col-left,
.nv-hb-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.nv-hb-row--full { margin-bottom: 18px; }
.nv-hb-col-left  .nv-hb-cat-block,
.nv-hb-col-right .nv-hb-cat-block { width: 100%; }
@media (max-width: 640px) {
  .nv-hb-two-col { grid-template-columns: 1fr; gap: 12px; }
}

/* ══════════════════════════════════════════════════════════
   §B8  THUMBNAIL LIST — entire row clickable
   ══════════════════════════════════════════════════════════ */
.nv-hb-thumb-list { list-style: none; margin: 0; padding: 0; }
.nv-hb-thumb-list li { border-bottom: 1px solid var(--nv-border); }
.nv-hb-thumb-list li:last-child { border-bottom: none; }
.nv-hb-tl-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.nv-hb-tl-item:hover { background: rgba(230,51,41,.04); text-decoration: none; }
.nv-hb-tl-thumb {
  flex: 0 0 110px; width: 110px; height: 72px;
  border-radius: var(--nv-radius-sm); overflow: hidden; background: var(--nv-border);
}
.nv-hb-tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-hb-tl-nothumb {
  flex: 0 0 110px; width: 110px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: #e9ecef; border-radius: var(--nv-radius-sm);
}
.nv-hb-tl-body { flex: 1; min-width: 0; }
.nv-hb-tl-title {
  display: block; font-size: .84rem; font-weight: 700;
  line-height: 1.35; color: var(--nv-text);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.nv-hb-tl-item:hover .nv-hb-tl-title { color: var(--nv-primary); }
.nv-hb-tl-excerpt {
  display: block; font-size: .72rem; color: var(--nv-text-2); margin-top: 3px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.nv-hb-tl-stars { display: block; font-size: .7rem; color: var(--nv-accent); margin-top: 3px; }
.nv-hb-first-row { border-bottom: 1px solid var(--nv-border); margin-bottom: 2px; }
.nv-hb-bullets { list-style: none; margin: 0; padding: 0; }
.nv-hb-bullets li { border-bottom: 1px solid var(--nv-border); }
.nv-hb-bullets li:last-child { border-bottom: none; }
.nv-hb-bullets li a {
  display: block; padding: 7px 12px;
  font-size: .8rem; font-weight: 600; color: var(--nv-text);
  text-decoration: none; transition: color .12s, background .12s;
}
.nv-hb-bullets li a::before { content: '›'; margin-right: 6px; color: var(--nv-primary); }
.nv-hb-bullets li a:hover { color: var(--nv-primary); background: rgba(230,51,41,.04); }
[data-nv-theme="dark"] .nv-hb-tl-item:hover,
[data-nv-theme="dark"] .nv-hb-bullets li a:hover { background: rgba(255,255,255,.04); }

/* ══════════════════════════════════════════════════════════
   §C9  CARD STRETCH LINK — entire nv-card is one click target
   ══════════════════════════════════════════════════════════ */
.nv-card { position: relative; overflow: hidden; }
.nv-card-stretch-link {
  position: absolute; inset: 0; z-index: 1;
  display: block; border-radius: inherit;
}
/* Interactive children float above the stretch link */
.nv-card-cat,
.nv-card-title a,
.nv-card-meta a { position: relative; z-index: 2; }

/* ══════════════════════════════════════════════════════════
   §D9  RELATED POSTS — TILES mode
   ══════════════════════════════════════════════════════════ */
.nv-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.nv-rel-tile {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border-radius: var(--nv-radius-card);
  overflow: hidden;
  border: 1px solid var(--nv-border);
  transition: box-shadow .15s, transform .15s;
}
.nv-rel-tile:hover { box-shadow: var(--nv-shadow); transform: translateY(-2px); text-decoration: none; }
.nv-rel-tile-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--nv-border); }
.nv-rel-tile-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.nv-rel-tile:hover .nv-rel-tile-thumb img { transform: scale(1.05); }
.nv-rel-tile-nothumb {
  aspect-ratio: 16/9; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; background: #e9ecef;
}
.nv-rel-tile-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; }
.nv-rel-tile-cat { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--nv-primary); }
.nv-rel-tile-title {
  font-size: .78rem; font-weight: 700; line-height: 1.3;
  margin-top: 4px; color: var(--nv-text);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.nv-rel-tile:hover .nv-rel-tile-title { color: var(--nv-primary); }
.nv-rel-tile-date { font-size: .68rem; color: var(--nv-text-3); margin-top: auto; padding-top: 4px; }
@media (max-width: 860px) { .nv-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nv-related-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   §E9  RELATED POSTS — LIST mode  (thumb LEFT + title RIGHT)
   ══════════════════════════════════════════════════════════ */
.nv-related-list { display: flex; flex-direction: column; margin-top: 12px; }
.nv-rel-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nv-border);
  text-decoration: none; color: inherit;
  transition: background .12s;
}
.nv-rel-list-item:last-child { border-bottom: none; }
.nv-rel-list-item:hover { background: rgba(230,51,41,.035); text-decoration: none; }
.nv-rel-list-thumb {
  flex: 0 0 90px; width: 90px; height: 60px;
  border-radius: var(--nv-radius-sm); overflow: hidden; background: var(--nv-border);
}
.nv-rel-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.nv-rel-list-item:hover .nv-rel-list-thumb img { transform: scale(1.05); }
.nv-rel-list-body { flex: 1; min-width: 0; }
.nv-rel-list-title {
  font-size: .82rem; font-weight: 700; line-height: 1.3; color: var(--nv-text);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.nv-rel-list-item:hover .nv-rel-list-title { color: var(--nv-primary); }
.nv-rel-list-date { font-size: .7rem; color: var(--nv-text-3); margin-top: 3px; }

/* ══════════════════════════════════════════════════════════
   §F9  AUTHOR BIO COMPACT CARD
   ══════════════════════════════════════════════════════════ */
.nv-bio-compact {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; margin: 20px 0;
}
.nv-bio-compact-av {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--nv-border);
}
.nv-bio-compact-body { flex: 1; min-width: 0; }
.nv-bio-compact-name { font-weight: 800; font-size: .92rem; color: var(--nv-text); text-decoration: none; }
.nv-bio-compact-name:hover { color: var(--nv-primary); }
.nv-bio-compact-text {
  font-size: .78rem; color: var(--nv-text-2); margin: 3px 0 8px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.nv-bio-compact-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nv-bio-btn { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-decoration: none; white-space: nowrap; }
.nv-bio-btn--primary { background: var(--nv-primary); color: #fff; }
.nv-bio-btn--outline { background: transparent; color: var(--nv-text); border: 1.5px solid var(--nv-border); }
.nv-bio-btn--outline:hover { border-color: var(--nv-primary); color: var(--nv-primary); }
@media (max-width: 480px) {
  .nv-bio-compact { flex-direction: column; align-items: center; text-align: center; }
  .nv-bio-compact-links { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   §G9  AUTHORS DIRECTORY (shortcode [nv_authors_directory])
   ══════════════════════════════════════════════════════════ */
.nv-authors-dir { margin: 0 auto; }
.nv-authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.nv-author-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 20px 14px;
  background: #f8f9fb; border: 1px solid var(--nv-border);
  border-radius: var(--nv-radius-card); text-decoration: none;
  color: inherit; transition: box-shadow .15s, transform .15s;
}
.nv-author-card:hover { box-shadow: var(--nv-shadow); transform: translateY(-2px); text-decoration: none; }
.nv-author-card-av {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--nv-primary);
  margin-bottom: 10px;
}
.nv-author-card-name { font-weight: 800; font-size: .9rem; color: var(--nv-text); }
.nv-author-card:hover .nv-author-card-name { color: var(--nv-primary); }
.nv-author-card-bio {
  font-size: .74rem; color: var(--nv-text-2); margin: 5px 0 10px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.nv-author-card-count {
  font-size: .7rem; font-weight: 700; color: var(--nv-primary);
  background: rgba(230,51,41,.08); padding: 2px 10px;
  border-radius: 20px;
}
[data-nv-theme="dark"] .nv-author-card { background: var(--nv-dark-2); }

/* ══════════════════════════════════════════════════════════
   §H9  DARK MODE BUTTON in main header actions
   ══════════════════════════════════════════════════════════ */
/* Dark mode btn is now in .nv-header-actions — ensure it looks right */
#nv-theme-btn { color: var(--nv-text-2); }
#nv-theme-btn:hover { color: var(--nv-primary); }

/* ══════════════════════════════════════════════════════════
   §I9  RESPONSIVE TABLES
   ══════════════════════════════════════════════════════════ */
.nv-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border-radius: var(--nv-radius-sm); border: 1px solid var(--nv-border); }
.nv-table-wrap::-webkit-scrollbar { height: 5px; }
.nv-table-wrap::-webkit-scrollbar-track { background: var(--nv-bg); }
.nv-table-wrap::-webkit-scrollbar-thumb { background: var(--nv-border); border-radius: 2px; }
.nv-entry-content table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 400px; }
.nv-entry-content th { background: var(--nv-primary); color: #fff; font-weight: 700; padding: 8px 12px; text-align: left; white-space: nowrap; }
.nv-entry-content td { padding: 7px 12px; border-bottom: 1px solid var(--nv-border); }
.nv-entry-content tr:nth-child(even) td { background: rgba(0,0,0,.025); }
.nv-entry-content tr:hover td { background: rgba(230,51,41,.04); }
[data-nv-theme="dark"] .nv-entry-content th { background: var(--nv-primary); }
[data-nv-theme="dark"] .nv-entry-content tr:nth-child(even) td { background: rgba(255,255,255,.03); }

/* ══════════════════════════════════════════════════════════
   §J9  HOME ICON IN MAIN NAV
   ══════════════════════════════════════════════════════════ */
.nv-nav-area { display: flex; align-items: center; gap: 0; flex: 1; overflow: hidden; }
.nv-home-icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 10px; color: var(--nv-text-2); text-decoration: none;
  border-right: 1.5px solid var(--nv-border); margin-right: 2px;
  transition: color .15s;
}
.nv-home-icon-link:hover { color: var(--nv-primary); text-decoration: none; }
.nv-home-icon-link svg { display: block; }
.nv-mob-home-link {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px;
  font-weight: 700; font-size: .9rem; color: var(--nv-text);
  border-bottom: 1px solid var(--nv-border);
  text-decoration: none;
}
.nv-mob-home-link:hover { color: var(--nv-primary); text-decoration: none; }