/* ================================================================
   BabyNamesWorld.in — main.css — v5.0.0
   ================================================================
   TABLE OF CONTENTS
   01. CSS Variables / Design Tokens
   02. Reset & Base
   03. Typography
   04. Layout — Page Wrap, Grid
   05. Navbar
   06. Mobile Menu (slide-out)
   07. Bottom Nav Bar (NEW v5)
   08. Footer
   09. Global Components — Buttons, Badges, Pills
   10. Global Components — Cards, Section Boxes
   11. Global Components — Breadcrumb
   12. Global Components — Ad Slots
   13. Global Components — Back to Top
   14. Utility Classes
   15. Kill GP / WP defaults
   ================================================================ */

/* ── 01. CSS Variables ─────────────────────────────────────── */
:root {
  /* Brand colours */
  --green:        #1a5c2a;
  --green-md:     #2d7a3a;
  --green-lt:     #f0f8f2;
  --green-border: #c8e0c8;

  --red:          #e8728a;
  --red-lt:       #fff0f4;
  --red-border:   #f7a8b8;

  --saffron:      #e8892a;
  --saffron-lt:   #fff8f2;
  --saffron-border:#f5dfa8;

  /* Neutrals */
  --text:         #1e2e1e;
  --muted:        #6b7f6b;
  --cream:        #f8fcf8;
  --white:        #ffffff;
  --page-bg:      #ffffff;

  /* Borders & dividers */
  --divider:      #e4ede4;
  --row-border:   #e8e8e8;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(26,92,42,0.06);
  --shadow-md:    0 4px 16px rgba(26,92,42,0.10);
  --shadow-lg:    0 8px 32px rgba(26,92,42,0.12);

  /* Border radius */
  --radius-sm:    8px;
  --radius-md:    10px;
  --radius-lg:    12px;
  --radius-xl:    16px;

  /* Layout */
  --max-width:    1280px;
  --sidebar-w:    280px;
  --gap:          20px;

  /* Navbar */
  --navbar-h:     56px;

  /* Bottom nav (mobile) */
  --bottom-nav-h: 60px;

  /* Ad slot heights (fixed to prevent CLS) */
  --ad-leaderboard-h: 90px;
  --ad-rectangle-h:   250px;
  --ad-banner-h:      60px;

  /* Transitions */
  --transition:   all 0.18s ease;
}

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

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

body {
  font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Mobile bottom nav padding */
@media (max-width: 900px) {
  body.has-bottom-nav { padding-bottom: var(--bottom-nav-h); }
}

a { color: var(--green-md); text-decoration: none; }
a:hover { color: var(--green); }

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

ul, ol { list-style: none; }

/* ── 03. Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.serif { font-family: 'Playfair Display', Georgia, serif; }
.telugu { font-family: 'Noto Sans Telugu', sans-serif; }

/* ── 04. Layout ────────────────────────────────────────────── */
.bnw-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 900px) { .bnw-wrap { padding: 0 16px; } }

/* Two-column page grid: main + sidebar */
.bnw-page-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: var(--gap);
  align-items: start;
  padding: 24px 0 48px;
}

@media (max-width: 1024px) {
  .bnw-page-grid { grid-template-columns: 1fr 240px; }
}

@media (max-width: 900px) {
  .bnw-page-grid { grid-template-columns: 1fr; }
  .bnw-page-grid .bnw-sidebar { display: none; }
}

/* Full-width page (no sidebar) */
.bnw-page-full {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 0 48px;
}

/* ── 05. Navbar ────────────────────────────────────────────── */
.bnw-header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  height: var(--navbar-h);
}

.bnw-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
}

/* Logo */
.bnw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.bnw-logo-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.bnw-logo-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  line-height: 1.1;
}

.bnw-logo-tag {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

/* Nav links */
.bnw-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.bnw-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}

.bnw-nav-link:hover,
.bnw-nav-link.active {
  background: rgba(255,255,255,0.14);
  color: #a8dbc5;
}

/* Nav right: saved pill + hamburger */
.bnw-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bnw-saved-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.bnw-saved-pill:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.bnw-nav-badge {
  background: var(--saffron);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* Hamburger — mobile only */
.bnw-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.bnw-hamburger span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .bnw-nav-links { display: none; }
  .bnw-hamburger { display: flex; }
  .bnw-header-inner { padding: 0 16px; }
  .bnw-logo-name { font-size: 14px; }
}

/* ── 06. Mobile Slide-out Menu ─────────────────────────────── */
.bnw-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.bnw-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.bnw-slide-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 201;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}

.bnw-slide-menu.open { left: 0; }

.bnw-slide-menu-head {
  background: var(--green);
  padding: 48px 16px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bnw-slide-menu-close {
  margin-left: auto;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  line-height: 1;
}

.bnw-slide-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--divider);
  text-decoration: none;
  transition: background 0.15s;
}

.bnw-slide-menu-item:hover,
.bnw-slide-menu-item.active {
  background: var(--green-lt);
  color: var(--green-md);
}

/* ── 07. Bottom Nav Bar (NEW v5) ───────────────────────────── */
.bnw-bottom-nav {
  display: none; /* hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: var(--white);
  border-top: 1px solid var(--divider);
  z-index: 150;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  /* Respect iOS safe area */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bnw-bottom-nav-inner {
  display: flex;
  height: 100%;
}

.bnw-bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.bnw-bn-item:hover,
.bnw-bn-item.active {
  color: var(--green-md);
}

.bnw-bn-icon {
  font-size: 20px;
  line-height: 1;
}

.bnw-bn-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.bnw-bn-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 14px);
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

@media (max-width: 900px) {
  .bnw-bottom-nav { display: flex; }
}

/* ── 08. Footer ────────────────────────────────────────────── */
.bnw-footer {
  background: #1a2e1a;
  color: var(--white);
  padding: 40px 0 0;
  margin-top: 40px;
}

.bnw-footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.bnw-footer-brand p {
  font-size: 12px;
  color: #999;
  line-height: 1.8;
  margin: 10px 0 14px;
}

.bnw-footer-social {
  display: flex;
  gap: 8px;
}

.bnw-footer-social-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s;
}

.bnw-footer-social-btn:hover {
  background: rgba(255,255,255,0.16);
}

.bnw-footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.bnw-footer-col a {
  display: block;
  font-size: 12px;
  color: #bbb;
  margin-bottom: 7px;
  text-decoration: none;
  transition: color 0.15s;
}

.bnw-footer-col a:hover { color: #a8dbc5; }

.bnw-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .bnw-footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px 24px;
    gap: 20px;
  }
  .bnw-footer-brand { grid-column: 1 / -1; }
  .bnw-footer-bottom { padding: 14px 16px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .bnw-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 09. Global Components — Buttons, Badges, Pills ───────── */

/* Primary button */
.bnw-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.bnw-btn-green {
  background: var(--green);
  color: var(--white);
}

.bnw-btn-green:hover {
  background: var(--green-md);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.bnw-btn-red {
  background: var(--red);
  color: var(--white);
}

.bnw-btn-red:hover {
  opacity: 0.88;
  color: var(--white);
}

.bnw-btn-outline {
  background: var(--white);
  color: var(--green-md);
  border: 1.5px solid var(--green-md);
}

.bnw-btn-outline:hover {
  background: var(--green-lt);
  color: var(--green-md);
}

.bnw-btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* Gender badges */
.bnw-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.bnw-badge-boy  { background: #e8f0fe; color: #1a56c8; }
.bnw-badge-girl { background: #fde8f0; color: #c9516e; }
.bnw-badge-both { background: var(--green-lt); color: var(--green-md); }

/* Religion badges */
.bnw-badge-hindu    { background: #fff8e8; color: #c4903a; border: 1px solid #f5dfa8; }
.bnw-badge-muslim   { background: #e8f4f0; color: #2a7a5a; border: 1px solid #c0ddd4; }
.bnw-badge-christian{ background: #e8eeff; color: #3a5ac4; border: 1px solid #c0ccf0; }

/* Filter pills */
.bnw-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--divider);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.bnw-pill:hover {
  border-color: var(--green-md);
  color: var(--green-md);
}

.bnw-pill.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Icon action buttons (like, save, speak) */
.bnw-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--divider);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  outline: none;
}

.bnw-icon-btn:hover { border-color: var(--red-border); }

.bnw-icon-btn-like { border-color: var(--red-border); background: var(--red-lt); }
.bnw-icon-btn-like.liked { background: var(--red-lt); border-color: var(--red); }
.bnw-icon-btn-like svg path { transition: fill 0.15s, stroke 0.15s; }

.bnw-icon-btn-save { }
.bnw-icon-btn-save.saved svg path { fill: var(--red); stroke: var(--red); }

.bnw-icon-btn-speak { }

/* ── 10. Global Components — Cards, Section Boxes ─────────── */
.bnw-box {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.bnw-box:hover {
  box-shadow: var(--shadow-sm);
}

.bnw-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Section container — matches mockup white bg + green border */
.bnw-section {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

/* AI panel */
.bnw-ai-panel {
  background: var(--green-lt);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.bnw-ai-panel .bnw-section-title {
  justify-content: center;
  font-size: 14px;
  color: var(--green-md);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

/* Saffron save panel */
.bnw-save-panel {
  background: var(--saffron-lt);
  border: 1px solid var(--saffron-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

/* ── 11. Global Components — Breadcrumb ───────────────────── */
.bnw-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  padding: 12px 0 8px;
}

.bnw-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.bnw-breadcrumb a:hover { color: var(--green-md); }

.bnw-breadcrumb .sep {
  color: var(--divider);
  font-size: 10px;
}

/* ── 12. Global Components — Ad Slots ─────────────────────── */
/* Fixed min-height prevents CLS when AdSense loads */
.bnw-ad-slot {
  margin: 16px 0;
  text-align: center;
  overflow: hidden;
}

.bnw-ad-leaderboard {
  min-height: var(--ad-leaderboard-h);
  width: 100%;
}

.bnw-ad-rectangle {
  min-height: var(--ad-rectangle-h);
  width: 300px;
  margin: 0 auto;
}

.bnw-ad-banner {
  min-height: var(--ad-banner-h);
  width: 100%;
}

/* Mobile sticky ad */
.bnw-ad-sticky-mobile {
  position: fixed;
  bottom: var(--bottom-nav-h);
  left: 0;
  right: 0;
  z-index: 140;
  text-align: center;
  background: var(--white);
  padding: 4px 0;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.08);
}

@media (min-width: 901px) {
  .bnw-ad-sticky-mobile { display: none; }
}

/* ── 13. Global Components — Back to Top ──────────────────── */
#bnwBackTop {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26,92,42,0.3);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

#bnwBackTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#bnwBackTop:hover {
  background: var(--green-md);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  #bnwBackTop { bottom: calc(var(--bottom-nav-h) + 16px); right: 12px; width: 40px; height: 40px; }
}

/* ── 14. Utility Classes ───────────────────────────────────── */
.text-green  { color: var(--green-md); }
.text-red    { color: var(--red); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }
.fs-12       { font-size: 12px; }
.fs-13       { font-size: 13px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mb-16       { margin-bottom: 16px; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.flex-wrap   { flex-wrap: wrap; }

/* Floating leaves (decorative) */
.bnw-leaf-bg::before {
  content: '🌿';
  font-size: 70px;
  position: fixed;
  left: -16px;
  top: 32%;
  opacity: 0.04;
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 0;
}

.bnw-leaf-bg::after {
  content: '🌿';
  font-size: 60px;
  position: fixed;
  right: -12px;
  top: 58%;
  opacity: 0.04;
  transform: rotate(20deg) scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

/* ── 15. Kill GP / WP defaults ─────────────────────────────── */

/* Hide GP nav, sidebar, post nav */
.main-navigation,
.nav-primary,
#site-navigation,
.generate-mobile-nav,
.mobile-menu-control-wrapper,
.navigation.post-navigation,
.post-navigation,
.nav-links,
.comments-area,
.comment-respond,
.entry-footer,
.entry-meta,
.generate-post-meta,
.wp-block-library,
.inside-article > .entry-header,
.inside-article > .entry-footer {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Strip GP entry-content padding */
.entry-content,
.inside-article {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Kill GP link colours */
.entry-content a,
.inside-article a {
  color: inherit;
  background: none;
}

/* iOS zoom fix on input focus */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  font-size: 16px;
}


/* ── 16. Header inner layout fix ──────────────────────────── */
/* Ensure header-inner fills full height and aligns correctly */
.bnw-header > .bnw-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: var(--navbar-h);
  gap: 4px;
}

@media (max-width: 900px) {
  .bnw-header > .bnw-header-inner { padding: 0 16px; }
}

/* Desktop nav: sub-menu support */
.bnw-nav-links li { position: relative; list-style: none; }

.bnw-nav-links li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-md);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  z-index: 9999;
  list-style: none;
}

.bnw-nav-links li:hover > ul.sub-menu { display: block; }

.bnw-nav-links li ul.sub-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border-radius: 0;
  transition: background 0.15s;
}

.bnw-nav-links li ul.sub-menu li a:hover {
  background: var(--red-lt);
  color: var(--red);
}

/* ── 17. Saved pill saved state ───────────────────────────── */
.bnw-saved-pill.has-saved {
  border-color: rgba(255,255,255,0.6);
}


/* ── 18. Sidebar — shared across name list, name detail, guide single ── */
.bnw-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--navbar-h) + 12px);
}

/* Section header row */
.bnw-sb-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bnw-sb-view-all {
  font-size: 12px;
  color: var(--green-md);
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.bnw-sb-view-all:hover { text-decoration: underline; }

/* ── Quick links ── */
.bnw-sb-quick-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bnw-sb-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.bnw-sb-quick-link:hover {
  background: var(--green-lt);
  color: var(--green-md);
}

.bnw-sb-ql-arrow {
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.15s;
}

.bnw-sb-quick-link:hover .bnw-sb-ql-arrow {
  transform: translateX(3px);
  color: var(--green-md);
}

/* ── Name of the Day ── */
.bnw-sb-nod {
  background: #fffbf0;
  border-color: #f5e6c8;
}

.bnw-sb-nod-label {
  font-size: 10px;
  font-weight: 700;
  color: #c4903a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.bnw-sb-nod-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
  transition: var(--transition);
}

.bnw-sb-nod-name:hover { color: var(--green-md); }

.bnw-sb-nod-telugu {
  font-size: 13px;
  color: var(--green-md);
  display: block;
  margin-bottom: 5px;
}

.bnw-sb-nod-meaning {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.bnw-sb-nod-link {
  font-size: 12px;
  font-weight: 700;
  color: #c4903a;
  text-decoration: none;
}

.bnw-sb-nod-link:hover { text-decoration: underline; }

/* ── Name list rows ── */
.bnw-sb-name-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bnw-sb-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 8px;
  border-bottom: 1px solid var(--row-border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.12s;
  border-radius: var(--radius-sm);
  gap: 8px;
}

.bnw-sb-name-row:last-child { border-bottom: none; }

.bnw-sb-name-row:hover { background: var(--green-lt); }

.bnw-sb-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.bnw-sb-name-row:hover .bnw-sb-name { color: var(--green-md); }

.bnw-sb-meaning {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.bnw-sb-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--green-md);
  background: var(--green-lt);
  border-radius: 8px;
  padding: 2px 7px;
  flex-shrink: 0;
}

/* ── Sidebar box hover ── */
.bnw-box {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: box-shadow 0.15s;
}

.bnw-box:hover { box-shadow: var(--shadow-sm); }

/* ── 19. GP Bleed Kill — hide any GP content that leaks through ── */
/* Safety net in case PHP hook removal misses any GP output        */
.inside-article > .entry-header,
.inside-article > .entry-summary,
.inside-article > .entry-footer,
.inside-article > .post-image,
.page-header-image,
.page-hero-container,
.generate-page-header,
.generate-section-header,
body.home .article-header,
body.home .entry-title,
body.front-page .entry-title,
body.home .post-navigation,
body.front-page .post-navigation,
.generate-back-to-top + .site-footer { /* GP default footer if ours fails */ }

/* Hide GP article wrapper on homepage if it leaks */
body.home .inside-article:empty,
body.front-page .inside-article:empty { display: none; }

/* Ensure our wrap always wins over GP's container widths */
.bnw-wrap {
  max-width: var(--max-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gap) !important;
  padding-right: var(--gap) !important;
  width: 100% !important;
}
