/*
Theme Name:  NovaBlog
Description: Clean modern blog theme for novaxioo.com
Version:     2.0
*/

/* =====================================================
   RULE #1 FOR THIS THEME:
   Any element that covers the full screen (overlays,
   drawers, popups) uses display:none by default.
   JavaScript sets display:flex/block to open them.
   This guarantees they CANNOT block clicks when hidden.
===================================================== */

/* =====================================================
   CSS CUSTOM PROPERTIES
===================================================== */
:root {
  /* Colors - Light Mode */
  --bg:          #ffffff;
  --bg2:         #f8fafc;
  --card:        #ffffff;
  --text:        #0f172a;
  --text2:       #475569;
  --muted:       #94a3b8;
  --border:      #e2e8f0;
  --accent:      #7c3aed;
  --accent2:     #6d28d9;
  --accent-soft: rgba(124, 58, 237, 0.08);
  --grad:        linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  --dark-bg:     #0a0a14;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);

  /* Border radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Navbar height */
  --nav-h: 68px;

  /* Transition */
  --t: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg:          #0d0d16;
  --bg2:         #131324;
  --card:        #18182c;
  --text:        #f1f5f9;
  --text2:       #94a3b8;
  --muted:       #64748b;
  --border:      #1e1e32;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.25);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.40);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.55);
}

/* =====================================================
   RESET — clean slate
===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Remove list bullets globally — WordPress adds them */
ul, ol {
  list-style: none;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t);
}

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

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* Inputs */
input, textarea, select {
  font-family: inherit;
}

/* =====================================================
   READING PROGRESS BAR
   — position:fixed at very top, thin, not interactive
===================================================== */
#nvb-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad);
  z-index: 9999;
  border-radius: 0 3px 3px 0;
  transition: width 0.08s linear;
  pointer-events: none; /* never intercept clicks */
}

/* =====================================================
   TICKER — breaking news strip
===================================================== */
.nvb-ticker {
  width: 100%;
  background: var(--grad);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  /* This is a normal block element, no fixed positioning */
}

.nvb-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
}

.nvb-ticker:hover .nvb-ticker-track {
  animation-play-state: paused;
}

.nvb-ticker-label {
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 14px;
  border-radius: var(--r-full);
  margin-right: 28px;
  flex-shrink: 0;
}

.nvb-ticker-item {
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  margin-right: 52px;
  transition: color var(--t);
}

.nvb-ticker-item::before {
  content: '• ';
  opacity: 0.5;
}

.nvb-ticker-item:hover {
  color: #fff;
  text-decoration: underline;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   NAVBAR
   — sticky, uses blur backdrop
   — nav links are plain <a> tags, NO ul/li wrappers
===================================================== */
.nvb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow var(--t);
}

[data-theme="dark"] .nvb-header {
  background: rgba(13,13,22,0.92);
  border-bottom-color: rgba(255,255,255,0.05);
}

.nvb-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Inner flex row */
.nvb-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nvb-logo {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  display: block;
}

.nvb-logo:hover {
  opacity: 0.85;
}

/* Desktop nav links container */
.nvb-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

/*
  Nav link — each link is a plain <a> tag.
  NOT wrapped in ul/li.
  -webkit-text-fill-color is reset so the gradient logo
  style does not leak into nav links.
*/
.nvb-nav-link {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text2);
  -webkit-text-fill-color: var(--text2); /* reset from logo gradient */
  white-space: nowrap;
  transition: all var(--t);
}

.nvb-nav-link:hover,
.nvb-nav-link.current {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  background: var(--accent-soft);
}

/* ---- DROPDOWN MENU ---- */
/* Parent item — needs position:relative to anchor the dropdown */
.nvb-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* The dropdown arrow shown when item has children */
.nvb-nav-item.has-children > .nvb-nav-link::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* The sub-menu panel — hidden by default with display:none */
.nvb-dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 200;
  flex-direction: column;
  gap: 2px;
}

/* Show on hover (desktop) */
.nvb-nav-item:hover > .nvb-dropdown,
.nvb-nav-item.open > .nvb-dropdown {
  display: flex !important;
}

/* Dropdown links */
.nvb-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text2);
  -webkit-text-fill-color: var(--text2);
  white-space: nowrap;
  transition: all var(--t);
}

.nvb-dropdown a:hover {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  background: var(--accent-soft);
}

/* Right side buttons */
.nvb-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Icon button (search) */
.nvb-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all var(--t);
  flex-shrink: 0;
}

.nvb-icon-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Dark mode toggle pill */
.nvb-theme-btn {
  position: relative;
  width: 50px;
  height: 26px;
  border-radius: var(--r-full);
  background: var(--border);
  transition: background 0.3s ease;
  flex-shrink: 0;
}

[data-theme="dark"] .nvb-theme-btn {
  background: var(--accent);
}

.nvb-theme-btn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

[data-theme="dark"] .nvb-theme-btn::after {
  left: 27px;
}

/* Hamburger button — mobile only */
.nvb-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  transition: background var(--t);
  flex-shrink: 0;
}

.nvb-burger:hover {
  background: var(--accent-soft);
}

.nvb-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

/* =====================================================
   MOBILE DRAWER
   IMPORTANT: display:none by default.
   JavaScript sets style.display = 'block' to show it.
   The panel itself is off-screen via transform.
   The backdrop is a sibling div inside the drawer.
===================================================== */
.nvb-drawer {
  /* Hidden by default — display:none means it takes
     up NO space and cannot intercept any clicks */
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
}

/* When JS adds class 'open', we make it visible */
.nvb-drawer.open {
  display: block;
}

.nvb-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nvb-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nvb-drawer.open .nvb-drawer-panel {
  transform: translateX(0);
}

.nvb-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.nvb-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 1rem;
  transition: all var(--t);
}

.nvb-drawer-close:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nvb-drawer-nav {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nvb-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
  transition: all var(--t);
}

.nvb-drawer-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nvb-drawer-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text2);
  font-weight: 500;
}

/* =====================================================
   SEARCH OVERLAY
   IMPORTANT: display:none by default.
   JavaScript sets style.display = 'flex' to open.
===================================================== */
.nvb-search {
  /* Hidden — display:none means zero click interception */
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: flex-start;
  justify-content: center;
  padding: 100px 20px 20px;
}

.nvb-search.open {
  display: flex;
}

.nvb-search-box {
  width: 100%;
  max-width: 600px;
  background: var(--card);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.nvb-search-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.nvb-search-top svg {
  color: var(--muted);
  flex-shrink: 0;
}

#nvb-search-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 1.05rem;
  color: var(--text);
  min-width: 0;
}

#nvb-search-input::placeholder {
  color: var(--muted);
}

#nvb-search-close {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  transition: all var(--t);
}

#nvb-search-close:hover {
  background: var(--border);
}

#nvb-search-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
}

.nvb-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  transition: background var(--t);
}

.nvb-result:hover {
  background: var(--accent-soft);
}

.nvb-result img {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.nvb-result-title {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nvb-result-meta {
  font-size: 0.74rem;
  color: var(--muted);
}

.nvb-search-hint {
  padding: 9px 18px;
  font-size: 0.73rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.nvb-search-hint kbd {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.7rem;
  font-family: monospace;
}

/* =====================================================
   EXIT INTENT POPUP
   IMPORTANT: display:none by default.
===================================================== */
.nvb-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nvb-popup.open {
  display: flex;
}

.nvb-popup-card {
  position: relative;
  background: var(--card);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.nvb-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  transition: all var(--t);
}

.nvb-popup-close:hover {
  background: var(--border);
}

.nvb-popup-icon { font-size: 3rem; margin-bottom: 12px; }

.nvb-popup-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.nvb-popup-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.nvb-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nvb-popup-form input {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg2);
  color: var(--text);
  font-size: 0.88rem;
  text-align: center;
  outline: none;
  transition: border-color var(--t);
}

.nvb-popup-form input:focus {
  border-color: var(--accent);
}

.nvb-popup-form button {
  padding: 13px;
  border-radius: var(--r-full);
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--t);
}

.nvb-popup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,0.35);
}

.nvb-popup-msg {
  font-size: 0.8rem;
  min-height: 16px;
  margin-top: 6px;
}

.nvb-popup-skip {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
  text-decoration: underline;
  transition: color var(--t);
}

.nvb-popup-skip:hover {
  color: var(--text2);
}

/* =====================================================
   COOKIE BANNER
   IMPORTANT: display:none in HTML, JS shows it
===================================================== */
.nvb-cookie {
  /* display:none is set in the HTML attribute */
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 600;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nvb-cookie-text {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.55;
}

.nvb-cookie-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.nvb-cookie-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.nvb-cookie-accept {
  padding: 6px 16px;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 0.79rem;
  font-weight: 600;
  transition: opacity var(--t);
}

.nvb-cookie-accept:hover { opacity: 0.88; }

.nvb-cookie-decline {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.79rem;
  color: var(--text2);
  transition: background var(--t);
}

.nvb-cookie-decline:hover { background: var(--bg2); }

/* =====================================================
   TOAST NOTIFICATION
   IMPORTANT: stays hidden via opacity+pointer-events
   It's very small and at bottom — safe to use opacity here
===================================================== */
.nvb-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

/* OK to use opacity here — it's tiny, centered, and
   has pointer-events:none permanently */
.nvb-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   STICKY READ-NEXT BAR
   — slides up from below viewport (not an overlay)
   — always in DOM but below screen until .show
===================================================== */
.nvb-read-next {
  position: fixed;
  bottom: -80px; /* below viewport = not blocking anything */
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  transition: bottom 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.nvb-read-next.show {
  bottom: 0;
}

.nvb-rn-label {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nvb-rn-post {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  font-weight: 600;
  font-size: 0.86rem;
  transition: color var(--t);
}

.nvb-rn-post:hover {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nvb-rn-post img {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.nvb-rn-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvb-rn-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--t);
}

.nvb-rn-post:hover .nvb-rn-arrow {
  transform: translateX(4px);
}

.nvb-rn-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background var(--t);
}

.nvb-rn-close:hover {
  background: var(--bg2);
}

/* =====================================================
   READING TIME BADGE
   — bottom left, pointer-events:none — safe
===================================================== */
.nvb-time-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 300;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 15px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text2);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none; /* safe — tiny, corner, no pointer events */
  transition: opacity 0.3s ease;
}

.nvb-time-badge.show {
  opacity: 1;
}

/* =====================================================
   BACK TO TOP BUTTON
   — bottom right, small, pointer-events none when hidden
===================================================== */
#nvb-btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}

/* Safe to use opacity — it's small corner button */
#nvb-btt.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#nvb-btt:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.5);
}

/* =====================================================
   LAYOUT UTILITIES
===================================================== */
.nvb-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.nvb-section {
  padding: 64px 0;
}

/* Section header — centered titles */
.nvb-section-top {
  text-align: center;
  margin-bottom: 44px;
}

.nvb-tag-label {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.nvb-section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.nvb-section-desc {
  color: var(--text2);
  font-size: 0.96rem;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.nvb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--t);
  border: none;
  white-space: nowrap;
  cursor: pointer;
}

.nvb-btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}

.nvb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.45);
  color: #fff;
}

.nvb-btn-outline {
  background: transparent;
  color: var(--text2);
  border: 2px solid var(--border);
}

.nvb-btn-outline:hover {
  background: var(--bg2);
  color: var(--text);
  transform: translateY(-2px);
}

/* =====================================================
   HERO SECTION
===================================================== */
.nvb-hero {
  background: var(--dark-bg);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

/* Decorative blobs — pointer-events none always */
.nvb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.nvb-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(124,58,237,0.22);
  top: -150px;
  left: -100px;
  animation: blob-float 10s ease-in-out infinite;
}

.nvb-blob-2 {
  width: 380px;
  height: 380px;
  background: rgba(219,39,119,0.16);
  bottom: -100px;
  right: -80px;
  animation: blob-float 8s ease-in-out infinite reverse;
}

.nvb-blob-3 {
  width: 260px;
  height: 260px;
  background: rgba(14,165,233,0.10);
  top: 40%;
  left: 50%;
  animation: blob-float 12s ease-in-out infinite;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -30px) scale(1.07); }
}

.nvb-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.nvb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(124,58,237,0.35);
  color: #c4b5fd;
  padding: 5px 16px;
  border-radius: var(--r-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.nvb-hero-dot {
  width: 7px;
  height: 7px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.35); }
}

.nvb-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.nvb-hero-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nvb-hero-sub {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 36px;
}

.nvb-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero stats row */
.nvb-hero-stats {
  display: flex;
  gap: 44px;
  justify-content: center;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.nvb-stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.nvb-stat-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Scroll indicator */
.nvb-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.25);
  font-size: 0.71rem;
  animation: bounce 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

.nvb-scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  position: relative;
}

.nvb-scroll-mouse::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-dot 1.6s ease-in-out infinite;
}

@keyframes mouse-dot {
  0%   { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 18px; }
}

/* =====================================================
   FEATURED POST CARD
===================================================== */
.nvb-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 52px;
  transition: transform var(--t), box-shadow var(--t);
}

.nvb-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.nvb-feat-img {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.nvb-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nvb-featured:hover .nvb-feat-img img {
  transform: scale(1.05);
}

.nvb-feat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: var(--r-full);
}

.nvb-feat-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Inline meta row */
.nvb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.nvb-cat {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.nvb-cat:hover {
  background: var(--accent);
  color: #fff;
}

.nvb-meta-info {
  color: var(--muted);
  font-size: 0.77rem;
}

.nvb-feat-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.nvb-feat-title a {
  color: var(--text);
  transition: color var(--t);
}

.nvb-feat-title a:hover {
  color: var(--accent);
}

.nvb-feat-excerpt {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nvb-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nvb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-soft);
}

.nvb-author-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text);
}

.nvb-author-role {
  font-size: 0.72rem;
  color: var(--muted);
}

.nvb-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.87rem;
  margin-top: 20px;
  transition: gap var(--t);
}

.nvb-read-more:hover {
  gap: 10px;
}

/* =====================================================
   CATEGORY FILTER PILLS
===================================================== */
.nvb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.nvb-filter {
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: 0.83rem;
  font-weight: 500;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text2);
  transition: all var(--t);
}

.nvb-filter:hover,
.nvb-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
}

/* =====================================================
   POST CARDS GRID
===================================================== */
.nvb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.nvb-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.nvb-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124,58,237,0.2);
}

.nvb-card-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.nvb-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.nvb-card:hover .nvb-card-thumb img {
  transform: scale(1.07);
}

.nvb-card-cat-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
}

/* Bookmark button — shows on hover */
.nvb-bm-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: all var(--t);
}

.nvb-card:hover .nvb-bm-btn {
  opacity: 1;
}

.nvb-bm-btn:hover {
  background: var(--accent);
}

.nvb-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nvb-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 0.74rem;
  color: var(--muted);
}

.nvb-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 9px;
}

.nvb-card-title a {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
}

.nvb-card-title a:hover {
  color: var(--accent);
}

.nvb-card-excerpt {
  color: var(--text2);
  font-size: 0.84rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 14px;
}

.nvb-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.nvb-card-author {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nvb-card-author img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.nvb-card-author-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text2);
}

/* =====================================================
   SKELETON LOADING
===================================================== */
.nvb-skel-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.nvb-skel {
  background: linear-gradient(
    90deg,
    var(--bg2) 25%,
    var(--border) 50%,
    var(--bg2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.nvb-skel-img { height: 210px; }
.nvb-skel-body { padding: 18px 20px; }
.nvb-skel-line { height: 12px; margin-bottom: 10px; border-radius: 3px; }

/* =====================================================
   SIDEBAR + WIDGETS
===================================================== */
.nvb-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  align-items: start;
}

.nvb-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nvb-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.nvb-widget-title {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

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

/* Popular post item */
.nvb-pop-item {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.nvb-pop-item:last-child {
  border: none;
  padding-bottom: 0;
}

.nvb-pop-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

.nvb-pop-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t);
}

.nvb-pop-title:hover {
  color: var(--accent);
}

.nvb-pop-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Tags */
.nvb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nvb-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text2);
  -webkit-text-fill-color: var(--text2);
  transition: all var(--t);
}

.nvb-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* Newsletter widget */
.nvb-nl-widget {
  background: var(--dark-bg);
  border-color: transparent;
}

.nvb-nl-widget .nvb-widget-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.08);
}

.nvb-nl-widget .nvb-widget-title::after {
  background: #a78bfa;
}

.nvb-nl-desc {
  color: rgba(255,255,255,0.52);
  font-size: 0.83rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.nvb-nl-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.nvb-nl-form input {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 0.83rem;
  outline: none;
  transition: border-color var(--t);
}

.nvb-nl-form input::placeholder {
  color: rgba(255,255,255,0.32);
}

.nvb-nl-form input:focus {
  border-color: rgba(255,255,255,0.28);
}

.nvb-nl-form button {
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.84rem;
  transition: opacity var(--t), transform var(--t);
}

.nvb-nl-form button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.nvb-nl-msg {
  font-size: 0.77rem;
  min-height: 16px;
}

/* =====================================================
   SINGLE POST
===================================================== */
.nvb-post-hero {
  background: var(--dark-bg);
  padding: 90px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nvb-post-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  max-width: 820px;
  margin: 16px auto 18px;
  letter-spacing: -0.4px;
}

.nvb-post-excerpt-hero {
  color: rgba(255,255,255,0.52);
  max-width: 580px;
  margin: 0 auto 24px;
  font-size: 1rem;
  line-height: 1.72;
}

/* Post thumbnail */
.nvb-thumb-wrap {
  max-width: 900px;
  margin: -36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.nvb-thumb-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* Post body layout */
.nvb-post-layout {
  max-width: 1240px;
  margin: 44px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 44px;
  align-items: start;
}

/* TOC */
.nvb-toc-box {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.nvb-toc-heading {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nvb-toc-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nvb-toc-links a {
  font-size: 0.79rem;
  color: var(--text2);
  -webkit-text-fill-color: var(--text2);
  padding: 5px 8px;
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  transition: all var(--t);
  display: block;
  line-height: 1.4;
}

.nvb-toc-links a:hover,
.nvb-toc-links a.active {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

/* Article body typography */
.nvb-article {
  font-size: 1.02rem;
  line-height: 1.88;
  color: var(--text2);
}

.nvb-article h2,
.nvb-article h3,
.nvb-article h4 {
  color: var(--text);
  font-weight: 700;
  margin: 32px 0 14px;
  line-height: 1.3;
}

.nvb-article h2 { font-size: 1.55rem; }
.nvb-article h3 { font-size: 1.2rem; }
.nvb-article h4 { font-size: 1rem; }

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

/* Lists inside article should have list-style */
.nvb-article ul { list-style: disc; padding-left: 24px; margin-bottom: 18px; }
.nvb-article ol { list-style: decimal; padding-left: 24px; margin-bottom: 18px; }
.nvb-article li { margin-bottom: 6px; }

.nvb-article a { color: var(--accent); text-decoration: underline; }

.nvb-article blockquote {
  margin: 28px 0;
  padding: 18px 22px 18px 26px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--text);
}

.nvb-article img {
  border-radius: var(--r-md);
  margin: 20px 0;
  box-shadow: var(--shadow-md);
}

.nvb-article code {
  background: var(--bg2);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--accent);
}

.nvb-article pre {
  background: #0a0a14;
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.nvb-article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.nvb-article th, .nvb-article td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.nvb-article th { background: var(--bg2); font-weight: 700; }

/* Share buttons */
.nvb-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: 36px;
}

.nvb-share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text2);
}

.nvb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  transition: all var(--t);
}

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

.nvb-btn-tw { background: #1da1f2; color: #fff; }
.nvb-btn-fb { background: #1877f2; color: #fff; }
.nvb-btn-wa { background: #25d366; color: #fff; }
.nvb-btn-cp { background: var(--bg2); color: var(--text2); border: 1px solid var(--border); }

/* Author box */
.nvb-author-box {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: 32px;
}

.nvb-author-box-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nvb-author-box-label {
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 4px;
}

.nvb-author-box-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.nvb-author-box-bio {
  font-size: 0.84rem;
  color: var(--text2);
  line-height: 1.65;
}

.nvb-author-all {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* Related posts */
.nvb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

/* =====================================================
   COMMENTS
===================================================== */
.nvb-comments {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.nvb-comments-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.nvb-comment-wrap {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.nvb-comment-wrap:last-child {
  border: none;
}

.nvb-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nvb-comment-author {
  font-size: 0.87rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.nvb-comment-date {
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.nvb-comment-text {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.65;
}

/* Comment form */
.nvb-comment-form-wrap { margin-top: 36px; }

.nvb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.nvb-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nvb-form-label {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text2);
}

.nvb-form-input,
.nvb-form-textarea {
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--text);
  font-size: 0.87rem;
  outline: none;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}

.nvb-form-input:focus,
.nvb-form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nvb-form-textarea {
  min-height: 120px;
  resize: vertical;
  margin-bottom: 14px;
}

/* =====================================================
   PAGINATION
===================================================== */
.nvb-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

.nvb-pagination a,
.nvb-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--text2);
  -webkit-text-fill-color: var(--text2);
  font-size: 0.87rem;
  font-weight: 600;
  transition: all var(--t);
}

.nvb-pagination a:hover,
.nvb-pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* =====================================================
   FOOTER
===================================================== */
.nvb-footer {
  background: #07070f;
  color: rgba(255,255,255,0.5);
  margin-top: 72px;
}

.nvb-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px 44px;
}

.nvb-footer-desc {
  font-size: 0.83rem;
  line-height: 1.7;
  max-width: 230px;
  margin-top: 10px;
}

.nvb-social-row {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.nvb-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  transition: all var(--t);
}

.nvb-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.nvb-footer-col-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.nvb-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nvb-footer-link {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.42);
  transition: all var(--t);
  display: inline-block;
}

.nvb-footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.nvb-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.05);
}

.nvb-footer-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  gap: 10px;
  flex-wrap: wrap;
}

.nvb-footer-legal {
  display: flex;
  gap: 18px;
}

.nvb-footer-legal a {
  color: rgba(255,255,255,0.32);
  transition: color var(--t);
}

.nvb-footer-legal a:hover {
  color: var(--accent);
}

/* =====================================================
   REVEAL ANIMATION (on scroll)
===================================================== */
.nvb-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.nvb-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   INLINE NEWSLETTER SECTION
===================================================== */
.nvb-nl-section {
  background: var(--dark-bg);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  margin: 0 0 56px;
}

.nvb-nl-inputs {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.nvb-nl-inputs input {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 0.87rem;
  outline: none;
}

.nvb-nl-inputs input::placeholder { color: rgba(255,255,255,0.35); }

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */
@media (max-width: 1024px) {
  .nvb-with-sidebar,
  .nvb-post-layout {
    grid-template-columns: 1fr;
  }

  .nvb-sidebar,
  .nvb-toc-box {
    position: static;
  }

  .nvb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nvb-nav-links { display: none; }
  .nvb-burger    { display: flex; }

  .nvb-featured  { grid-template-columns: 1fr; }
  .nvb-feat-img  { min-height: 220px; }
  .nvb-feat-body { padding: 24px; }

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

  .nvb-hero-stats { gap: 24px; }
  .nvb-stat-num   { font-size: 1.5rem; }

  .nvb-footer-grid { grid-template-columns: 1fr; gap: 28px; }

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

  .nvb-form-grid { grid-template-columns: 1fr; }

  .nvb-thumb-wrap img { height: 220px; }

  .nvb-footer-bar-inner { flex-direction: column; text-align: center; }

  .nvb-rn-label { display: none; }
  .nvb-read-next { padding: 10px 16px; gap: 10px; }
}

@media (max-width: 480px) {
  .nvb-hero-btns { flex-direction: column; align-items: center; }
  .nvb-btn { width: 100%; justify-content: center; }
  .nvb-share { flex-wrap: wrap; }
  .nvb-nl-section { padding: 36px 20px; }
}
