/**
 * VDA Press - Base Styles
 * Reset, design tokens, typography, dark mode
 *
 * @package vda-press
 */

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  --vda-primary:        #00a2ff;
  --vda-primary-dark:   #008cdb;
  --vda-primary-light:  rgba(0,162,255,.12);
  --vda-secondary:      #0f4c81;
  --vda-accent:         #ff00b3;
  --vda-accent-dark:    #cc008f;
  --vda-bg:             #f5f7f9;
  --vda-text:           #111122;
  --vda-muted:          #6b7280;
  --vda-border:         #e5e7eb;
  --vda-white:          #ffffff;
  --vda-card-bg:        #ffffff;
  --vda-input-bg:       #ffffff;
  --vda-radius:         10px;
  --vda-radius-sm:      6px;
  --vda-radius-full:    9999px;
  --vda-shadow:         0 2px 15px rgba(0,0,0,.08);
  --vda-shadow-hover:   0 8px 30px rgba(0,0,0,.15);
  --vda-shadow-lg:      0 20px 60px rgba(0,0,0,.12);
  --vda-transition:     all .3s ease;
  --vda-font-body:      'Inter', system-ui, -apple-system, sans-serif;
  --vda-font-heading:   'Outfit', system-ui, -apple-system, sans-serif;
  --vda-font-size-base: 17px;
  --vda-line-height:    1.75;
  --vda-footer-bg:      #0d1b2a;
  --vda-footer-text:    #c8d6e5;
  --vda-footer-link:    #5dade2;
}

/* ── Dark Mode ───────────────────────────────────────────────────────────── */
[data-theme='dark'] {
  --vda-bg:          #0f172a;
  --vda-text:        #e2e8f0;
  --vda-muted:       #94a3b8;
  --vda-border:      #1e293b;
  --vda-white:       #1e293b;
  --vda-card-bg:     #1e293b;
  --vda-input-bg:    #1e293b;
  --vda-primary-light: rgba(26,107,60,.18);
}

/* ── Base Typography ─────────────────────────────────────────────────────── */
body {
  font-family: var(--vda-font-body);
  font-size: var(--vda-font-size-base);
  line-height: var(--vda-line-height);
  color: var(--vda-text);
  background-color: var(--vda-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vda-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--vda-text);
}
h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(22px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 28px); }
h4 { font-size: clamp(16px, 2vw, 22px); }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

a {
  color: var(--vda-primary);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--vda-primary-dark); }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

/* ── Selection ────────────────────────────────────────────────────────────── */
::selection {
  background: var(--vda-primary);
  color: #fff;
}

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--vda-bg); }
::-webkit-scrollbar-thumb { background: var(--vda-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--vda-primary-dark); }

/* ── Skip Link ────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--vda-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--vda-radius-sm);
  clip: auto;
  z-index: 10000;
  text-decoration: none;
  box-shadow: var(--vda-shadow-lg);
}

/* ── Focus Styles ─────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--vda-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── WordPress Alignment ──────────────────────────────────────────────────── */
.alignnone  { margin: 0.5em 0; }
.aligncenter { display: block; margin: 1.5em auto; }
.alignright  { float: right; margin: 0.5em 0 1em 1.5em; }
.alignleft   { float: left;  margin: 0.5em 1.5em 1em 0; }

/* ── Screen reader text ───────────────────────────────────────────────────── */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
/**
 * VDA Press - Layout
 *
 * @package vda-press
 */

/* ── Container ────────────────────────────────────────────────────────────── */
.vda-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Content + Sidebar Grid ───────────────────────────────────────────────── */
.vda-content-wrap {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}
.vda-main {
  flex: 1;
  min-width: 0;
}
/* Sidebar is 340px on desktop, 260px on tablet; just keep the flex flow here */
@media (max-width: 767px) {
  .vda-content-wrap { flex-direction: column; }
}

/* ── Section Spacing ──────────────────────────────────────────────────────── */
.vda-section { padding-block: 60px; }
.vda-section-sm { padding-block: 40px; }

/* ── Responsive Grids ─────────────────────────────────────────────────────── */
.vda-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.vda-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vda-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .vda-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vda-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .vda-grid-4,
  .vda-grid-3,
  .vda-grid-2 { grid-template-columns: 1fr; }
}

/* ── Flex Utilities ───────────────────────────────────────────────────────── */
.vda-flex         { display: flex; }
.vda-flex-center  { display: flex; align-items: center; justify-content: center; }
.vda-flex-between { display: flex; align-items: center; justify-content: space-between; }
.vda-flex-col     { display: flex; flex-direction: column; }
.vda-flex-wrap    { flex-wrap: wrap; }

/* ── Spacing ──────────────────────────────────────────────────────────────── */
.vda-mt-0  { margin-top: 0; }
.vda-mt-8  { margin-top: 8px; }
.vda-mt-16 { margin-top: 16px; }
.vda-mt-24 { margin-top: 24px; }
.vda-mt-32 { margin-top: 32px; }
.vda-mb-0  { margin-bottom: 0; }
.vda-mb-8  { margin-bottom: 8px; }
.vda-mb-16 { margin-bottom: 16px; }
.vda-mb-24 { margin-bottom: 24px; }
.vda-mb-32 { margin-bottom: 32px; }

/* ── Breakpoint Visibility ────────────────────────────────────────────────── */
@media (max-width: 768px)  { .vda-hide-mobile  { display: none !important; } }
@media (min-width: 769px)  { .vda-hide-desktop { display: none !important; } }
@media (max-width: 1024px) { .vda-hide-tablet  { display: none !important; } }

/* ── Page Layout Wrapper ──────────────────────────────────────────────────── */
.vda-page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.vda-page-wrap > main { flex: 1; }

/* ── Consultation CTA ─────────────────────────────────────────────────────── */
.vda-consultation-cta-wrap {
  margin: 32px 0;
}
.vda-consultation-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 40px;
  border-radius: 12px;
  background: var(--vda-surface, #f8f9fa);
}
.vda-cta-content {
  text-align: right;
}
.vda-cta-title {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--vda-heading, #111);
}
.vda-cta-subtext {
  margin: 0;
  font-size: 16px;
  color: var(--vda-text-light, #555);
}
.vda-cta-action {
  flex-shrink: 0;
}
/**
 * VDA Press - Header Styles (matches virtualdoctors.ng design)
 *
 * @package vda-press
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════
   TOP BAR (hidden by default, shown when customizer enabled)
═══════════════════════════════════════════════════════════ */
.vda-topbar {
  background: var(--vda-primary);
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
}
.vda-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.vda-topbar__left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.vda-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 12px;
  transition: color .2s;
}
.vda-topbar__link:hover { color: #fff; }
.vda-topbar__icon { display: flex; align-items: center; flex-shrink: 0; }
.vda-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vda-topbar__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,.8);
  border-radius: 50%;
  transition: color .2s, background .2s, transform .2s;
}
.vda-topbar__social:hover {
  color: #fff;
  background: rgba(255,255,255,.15);
  transform: scale(1.15);
}

/* ═══════════════════════════════════════════════════════════
   MAIN HEADER — white bar with green bottom accent
═══════════════════════════════════════════════════════════ */
.vda-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 3px solid var(--vda-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .3s ease;
}
.vda-header.is-shrunk {
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.vda-header.is-shrunk .vda-topbar {
  max-height: 0;
  opacity: 0;
  padding: 0;
}

.vda-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 0;
  min-height: 68px;
}

/* ═══════════════════════════════════════════════════════════
   LOGO / BRANDING  (icon + text + tagline, like virtualdoctors.ng)
═══════════════════════════════════════════════════════════ */
.vda-header__branding {
  flex-shrink: 0;
}
.vda-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}
.vda-header__logo img,
.vda-header__logo .custom-logo {
  display: block;
  height: 52px;
  width: auto;
  transition: height .3s ease;
}
.vda-header.is-shrunk .vda-header__logo img,
.vda-header.is-shrunk .vda-header__logo .custom-logo {
  height: 38px;
}

/* Inline text logo (when no custom logo uploaded) */
.vda-header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.vda-header__logo-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--vda-secondary), var(--vda-primary));
  transition: width .3s, height .3s;
}
.vda-header__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.vda-header.is-shrunk .vda-header__logo-icon { width: 44px; height: 44px; }

.vda-header__logo-name {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--vda-secondary);
  line-height: 1.1;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.vda-header__logo-tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--vda-muted);
  white-space: nowrap;
}

/* Legacy .vda-site-title fallback */
.vda-site-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1a5fa8;
  text-decoration: none;
  line-height: 1.1;
  display: block;
}
.vda-site-title:hover { color: #0d4a7a; }
.vda-site-description {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8fa8c0;
  margin: 2px 0 0;
}

/* ═══════════════════════════════════════════════════════════
   PRIMARY NAVIGATION  (pill active button, plain text others)
═══════════════════════════════════════════════════════════ */
.vda-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vda-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.vda-nav-list > li {
  position: relative;
}
.vda-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.vda-nav-list > li > a:hover {
  color: var(--vda-secondary);
  background: var(--vda-primary-light);
}

/* Active item — filled blue pill like the reference */
.vda-nav-list > li.current-menu-item > a,
.vda-nav-list > li.current-menu-ancestor > a {
  background: var(--vda-secondary);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 8px;
}
.vda-nav-list > li.current-menu-item > a:hover,
.vda-nav-list > li.current-menu-ancestor > a:hover {
  background: var(--vda-primary);
  color: #fff;
}

/* Dropdown */
.vda-nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  border: 1px solid #e5e7eb;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.vda-nav-list > li:hover > .sub-menu,
.vda-nav-list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.sub-menu li a:hover {
  color: var(--vda-secondary);
  background: var(--vda-primary-light);
}

/* ═══════════════════════════════════════════════════════════
   HEADER ACTIONS (right side: dark mode + user avatar)
═══════════════════════════════════════════════════════════ */
.vda-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Generic icon button */
.vda-header__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  color: #374151;
  transition: background .2s, color .2s, transform .15s;
}
.vda-header__action-btn:hover {
  background: #f3f4f6;
  color: #1a5fa8;
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════
   BOOK A CONSULTATION BUTTON (Premium CTA)
═══════════════════════════════════════════════════════════ */
.vda-header__consult-btn,
.vda-consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a5fa8, #0ea5e9);
  color: #ffffff !important;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.vda-header__consult-btn::before,
.vda-consult-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.vda-header__consult-btn:hover,
.vda-consult-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
  background: linear-gradient(135deg, #144e8c, #0284c7);
}

.vda-header__consult-btn:hover::before,
.vda-consult-btn:hover::before {
  left: 150%;
}

.vda-header__consult-btn svg,
.vda-consult-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.vda-header__consult-btn:hover svg,
.vda-consult-btn:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

@media (max-width: 768px) {
  .vda-header__consult-btn {
    padding: 10px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  .vda-header__consult-btn span,
  .vda-header__consult-btn text {
    display: none;
  }
}

/* Dark mode moon/sun */
.vda-icon-moon { display: none; }
[data-theme="dark"] .vda-icon-sun  { display: none; }
[data-theme="dark"] .vda-icon-moon { display: block; }

/* User avatar button — dark navy square like reference */
.vda-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: none;
  background: #0d1b2a;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background .2s;
  text-decoration: none;
}
.vda-user-btn:hover { background: #1e3a5a; color: #fff; }
.vda-user-btn__avatar {
  width: 28px;
  height: 28px;
  background: #1a5fa8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.vda-user-btn__name {
  line-height: 1;
}
.vda-user-btn__chevron {
  opacity: .7;
  flex-shrink: 0;
}

/* Hamburger (mobile) */
.vda-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px;
  transition: background .2s;
}
.vda-hamburger:hover { background: #f3f4f6; }
.vda-hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ═══════════════════════════════════════════════════════════
   EXPANDABLE SEARCH BAR
═══════════════════════════════════════════════════════════ */
.vda-search-bar {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  transition: max-height .3s ease, border-color .3s;
  background: #fff;
}
.vda-search-bar.is-open {
  max-height: 72px;
  border-top-color: #e5e7eb;
}
.vda-search-bar__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}
.vda-search-bar__input {
  flex: 1;
  border: 1.5px solid #e5e7eb;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #f9fafb;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.vda-search-bar__input:focus {
  border-color: var(--vda-secondary);
  box-shadow: 0 0 0 3px var(--vda-primary-light);
  background: #fff;
}
.vda-search-bar__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  background: var(--vda-secondary);
  color: #fff;
  transition: background .2s;
}
.vda-search-bar__submit:hover { background: var(--vda-primary); }
.vda-search-bar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  background: #e5e7eb;
  color: #374151;
  transition: background .2s;
}
.vda-search-bar__close:hover { background: #d1d5db; }

/* ═══════════════════════════════════════════════════════════
   NEWS TICKER
═══════════════════════════════════════════════════════════ */
.vda-ticker {
  background: var(--vda-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 13px;
  height: 38px;
}
.vda-ticker__label {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: var(--vda-accent);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
}
.vda-ticker__track-wrap {
  flex: 1;
  overflow: hidden;
}
.vda-ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: vdaTicker 30s linear infinite;
}
.vda-ticker__track:hover { animation-play-state: paused; }
.vda-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding: 0 30px;
  transition: color .2s;
}
.vda-ticker__item:hover { color: var(--vda-accent); }
.vda-ticker__dot { color: var(--vda-accent); font-size: 8px; }

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

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════════════════ */
.vda-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}
.vda-mobile-menu.is-open {
  visibility: visible;
  pointer-events: all;
}
.vda-mobile-menu__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s;
}
.vda-mobile-menu.is-open .vda-mobile-menu__overlay { opacity: 1; }
.vda-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: #fff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  border-right: 3px solid var(--vda-primary);
}
.vda-mobile-menu.is-open .vda-mobile-menu__panel { transform: translateX(0); }
.vda-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}
/* Logo inside mobile panel — same size as site header logo */
.vda-mobile-menu__header img,
.vda-mobile-menu__header .custom-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.vda-mobile-menu__site-name {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--vda-secondary);
}
.vda-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  color: #374151;
  transition: background .2s;
}
.vda-mobile-menu__close:hover { background: #e5e7eb; }
.vda-mobile-menu__nav { padding: 10px 0; flex: 1; }
.vda-mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.vda-mobile-nav-list li a {
  display: block;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  transition: color .2s, background .2s;
}
.vda-mobile-nav-list li a:hover,
.vda-mobile-nav-list li.current-menu-item > a {
  color: var(--vda-secondary);
  background: var(--vda-primary-light);
}
.vda-mobile-menu__social {
  display: flex;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}
.vda-mobile-menu__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  border-radius: 50%;
  color: #374151;
  transition: background .2s, color .2s;
}
.vda-mobile-menu__social-link:hover {
  background: var(--vda-secondary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vda-header__nav { display: none; }
  .vda-hamburger  { display: flex; }
  .vda-header__inner { gap: 16px; }
  .vda-user-btn__name, .vda-user-btn__chevron { display: none; }
  .vda-user-btn { padding: 4px; }
}

@media (max-width: 600px) {
  .vda-topbar__left { display: none; }
  .vda-header__inner { padding: 4px 0; gap: 8px; }
  .vda-header__logo-icon { width: 42px; height: 42px; }
  .vda-header__logo-icon svg { width: 24px; height: 24px; }
  .vda-header__logo-name { font-size: 14px; }
  .vda-header__logo-tagline { font-size: 8px; letter-spacing: 0.5px; }
  .vda-header__logo img, .vda-header__logo .custom-logo { height: 42px; }
  .vda-header.is-shrunk .vda-header__logo-icon { width: 34px; height: 34px; }
  .vda-header.is-shrunk .vda-header__logo img, .vda-header.is-shrunk .vda-header__logo .custom-logo { height: 34px; }
}

/* OVERRIDES FOR NEW MOBILE MENU */
.vda-mobile-menu__panel {
  width: 100% !important;
  right: 0 !important;
  bottom: auto !important;
  transform: translateY(-100%) !important;
  border-right: none !important;
  border-bottom: 3px solid var(--vda-primary) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}
.vda-mobile-menu.is-open .vda-mobile-menu__panel {
  transform: translateY(0) !important;
}
.vda-mobile-menu__header {
  border-bottom: none !important;
  padding: 16px 20px !important;
}
.vda-mobile-menu__header .vda-mobile-menu__actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vda-mobile-action {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all .2s;
}
.vda-mobile-action--primary {
  background: #1e61b0 !important;
  color: #fff !important;
  border: 1px solid #1e61b0 !important;
}
.vda-mobile-action--danger {
  background: transparent !important;
  color: #ef4444 !important;
  border: 1px solid #fca5a5 !important;
}
.vda-mobile-menu__actions-bottom {
  padding: 20px;
  border-top: 1px solid #f3f4f6;
}
.vda-mobile-nav-list li a {
  padding: 16px 20px !important;
  border-bottom: 1px solid #f3f4f6 !important;
}
/**
 * VDA Press - Post Cards
 *
 * @package vda-press
 */

/* ── Card ─────────────────────────────────────────────────────────────────── */
.vda-post-card {
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  box-shadow: var(--vda-shadow);
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vda-post-card:hover {
  box-shadow: var(--vda-shadow-hover);
  transform: translateY(-3px);
}

/* ── Card Image ───────────────────────────────────────────────────────────── */
.vda-card-image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.vda-card-image-wrap a { display: block; height: 100%; }
.vda-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.vda-post-card:hover .vda-card-image-wrap img { transform: scale(1.06); }

/* ── Placeholder Image ────────────────────────────────────────────────────── */
.vda-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--vda-primary) 0%, var(--vda-secondary) 100%);
  color: rgba(255,255,255,.9);
  font-family: var(--vda-font-heading);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  gap: 10px;
  text-decoration: none;
}
.vda-card-placeholder svg { opacity: .6; }

/* ── Card Body ────────────────────────────────────────────────────────────── */
.vda-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ── Category Badge ───────────────────────────────────────────────────────── */
.vda-category-badge {
  display: inline-block;
  background: var(--vda-primary-light);
  color: var(--vda-primary);
  padding: 3px 11px;
  border-radius: var(--vda-radius-full);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  text-decoration: none;
  transition: background .2s, color .2s;
  margin-bottom: 10px;
  line-height: 1.8;
}
.vda-category-badge:hover {
  background: var(--vda-primary);
  color: #fff;
}

/* ── Card Title ───────────────────────────────────────────────────────────── */
.vda-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vda-card-title a {
  color: var(--vda-text);
  text-decoration: none;
  transition: color .2s;
}
.vda-card-title a:hover { color: var(--vda-primary); }

/* ── Card Meta ────────────────────────────────────────────────────────────── */
.vda-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 13px;
  color: var(--vda-muted);
  margin-bottom: 14px;
}
.vda-card-meta a {
  color: var(--vda-muted);
  text-decoration: none;
  transition: color .2s;
}
.vda-card-meta a:hover { color: var(--vda-primary); }
.vda-meta-sep {
  display: inline-block;
  color: var(--vda-border);
  font-size: 16px;
  line-height: 1;
  user-select: none;
}

/* ── Card Excerpt ─────────────────────────────────────────────────────────── */
.vda-card-excerpt {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--vda-muted);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ── Read More Button ─────────────────────────────────────────────────────── */
.vda-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 2px solid var(--vda-primary);
  color: var(--vda-primary);
  border-radius: var(--vda-radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s, color .25s, transform .2s;
  margin-top: auto;
  align-self: flex-start;
}
.vda-read-more:hover {
  background: var(--vda-primary);
  color: #fff;
}
.vda-read-more .arrow {
  display: inline-block;
  transition: transform .25s;
}
.vda-read-more:hover .arrow { transform: translateX(5px); }

/* ── Cards List (homepage listing) ───────────────────────────────────────── */
.vda-posts-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Archive Grid ─────────────────────────────────────────────────────────── */
.vda-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ── In-feed Ad ───────────────────────────────────────────────────────────── */
.vda-infeed-ad {
  padding: 20px;
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  box-shadow: var(--vda-shadow);
  text-align: center;
}

/* ── Featured Categories Grid (2 rows × 5 cols) ─────────────────────────── */
.vda-cat-grid-section {
  margin-bottom: 48px;
}

.vda-cat-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

/* Responsive: 3 cols on tablet */
@media (max-width: 1024px) {
  .vda-cat-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Responsive: 2 cols on mobile */
@media (max-width: 640px) {
  .vda-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

.vda-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--vda-white, #fff);
  border: 2px solid transparent;
  border-top: 4px solid var(--cat-color, var(--vda-primary));
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 90px;
}

.vda-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-color: var(--cat-color, var(--vda-primary));
}

.vda-cat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cat-color, var(--vda-primary)) 12%, transparent);
  color: var(--cat-color, var(--vda-primary));
  flex-shrink: 0;
}

.vda-cat-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vda-cat-card__name {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--vda-text, #1a1a2e);
  line-height: 1.2;
}

.vda-cat-card__count {
  font-size: 11px;
  font-weight: 600;
  color: var(--cat-color, var(--vda-primary));
}
/**
 * VDA Press - Single Post Styles
 *
 * @package vda-press
 */

/* ── Reading Progress Bar ─────────────────────────────────────────────────── */
.vda-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--vda-primary), var(--vda-accent));
  z-index: 9999;
  transition: width .1s linear;
  will-change: width;
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.vda-breadcrumb {
  padding-block: 14px;
  font-size: 13px;
  color: var(--vda-muted);
}
.vda-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vda-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vda-breadcrumb__link {
  color: var(--vda-muted);
  text-decoration: none;
  transition: color .2s;
}
.vda-breadcrumb__link:hover { color: var(--vda-primary); }
.vda-breadcrumb__separator { color: var(--vda-border); }
.vda-breadcrumb__current { color: var(--vda-text); font-weight: 500; }

/* ── Single Post Header ───────────────────────────────────────────────────── */
.vda-post-header {
  margin-bottom: 40px;
}
.vda-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--vda-muted);
}
.vda-post-meta--top {
  margin-bottom: 12px;
}
.vda-post-meta__category a {
  font-weight: 600;
  color: var(--vda-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vda-post-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--vda-text);
}
.vda-post-meta--author {
  margin-bottom: 24px;
}
.vda-post-meta__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vda-post-meta__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.vda-post-thumbnail {
  margin: 0 0 40px 0;
  border-radius: var(--vda-radius);
  overflow: hidden;
  box-shadow: var(--vda-shadow);
  background: #f8f9fa;
  text-align: center;
  display: flex;
  justify-content: center;
}
.vda-post-thumbnail img {
  width: 100%;
  max-height: 400px; /* reduced 20% from 500px */
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* ── Social Share Buttons ─────────────────────────────────────────────────── */
.vda-social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.vda-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--vda-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .15s;
  line-height: 1;
}
.vda-share-btn:hover { filter: brightness(1.12); transform: translateY(-1px); color: #fff; }
.vda-share-fb       { background: #1877f2; }
.vda-share-tw       { background: #1da1f2; }
.vda-share-wa       { background: #25d366; }
.vda-share-li       { background: #0077b5; }
.vda-share-email    { background: #6b7280; }
.vda-share-copy     { background: var(--vda-text); color: #fff; }
.vda-share-copy.copied { background: var(--vda-primary); }

/* ── Table of Contents ────────────────────────────────────────────────────── */
.vda-toc {
  background: var(--vda-card-bg);
  border-left: 4px solid var(--vda-primary);
  border-radius: 0 var(--vda-radius) var(--vda-radius) 0;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--vda-shadow);
}
.vda-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.vda-toc-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--vda-primary);
  margin: 0;
}
.vda-toc-toggle {
  background: none;
  border: none;
  color: var(--vda-muted);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  transition: color .2s;
}
.vda-toc-toggle:hover { color: var(--vda-primary); }
.vda-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vda-toc-list.is-collapsed { display: none; }
.vda-toc-list li { line-height: 1; }
.vda-toc-list a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--vda-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -10px;
  transition: color .2s, border-color .2s;
}
.vda-toc-list a:hover,
.vda-toc-list a.active {
  color: var(--vda-primary);
  border-left-color: var(--vda-primary);
  font-weight: 600;
}
.vda-toc-list .toc-h3 { padding-left: 26px; }
.vda-toc-list .toc-h3 a { font-size: 13px; }

/* ── Post Content ─────────────────────────────────────────────────────────── */
.vda-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--vda-text);
  max-width: 800px; /* Constrain width for readability */
  margin: 0 auto;
}
.vda-post-content > * + * { margin-top: 1.4em; }
.vda-post-content p { margin-bottom: 1.5em; }
.vda-post-content h2,
.vda-post-content h3,
.vda-post-content h4 {
  margin-top: 2em;
  margin-bottom: .6em;
  scroll-margin-top: 90px;
}
.vda-post-content h2 { font-size: 28px; }
.vda-post-content h3 { font-size: 22px; }
.vda-post-content h4 { font-size: 18px; }
.vda-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--vda-radius-sm);
  margin-block: 1em;
}
.vda-post-content ul,
.vda-post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.vda-post-content li { margin-bottom: .5em; }
.vda-post-content blockquote {
  border-left: 4px solid var(--vda-primary);
  background: var(--vda-primary-light);
  margin: 2em 0;
  padding: 16px 24px;
  border-radius: 0 var(--vda-radius-sm) var(--vda-radius-sm) 0;
  font-style: italic;
  font-size: 18px;
  color: var(--vda-text);
}
.vda-post-content blockquote p:last-child { margin-bottom: 0; }
.vda-post-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: var(--vda-radius);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin-block: 2em;
}
.vda-post-content code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: .88em;
  background: var(--vda-border);
  color: var(--vda-primary);
  padding: 2px 6px;
  border-radius: 4px;
}
.vda-post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.vda-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 2em;
  font-size: 15px;
}
.vda-post-content th,
.vda-post-content td {
  padding: 10px 14px;
  border: 1px solid var(--vda-border);
  text-align: left;
}
.vda-post-content th { background: var(--vda-bg); font-weight: 700; }
.vda-post-content tr:nth-child(even) td { background: rgba(0,0,0,.02); }

/* ── Medical Disclaimer ───────────────────────────────────────────────────── */
.vda-disclaimer {
  background: rgba(232,160,32,.1);
  border-left: 4px solid var(--vda-accent);
  border-radius: 0 var(--vda-radius) var(--vda-radius) 0;
  padding: 20px 24px;
  margin-block: 32px;
  display: flex;
  gap: 14px;
}
.vda-disclaimer-icon { flex-shrink: 0; color: var(--vda-accent); margin-top: 2px; }
.vda-disclaimer-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--vda-text);
}
.vda-disclaimer-text { font-size: 14px; color: var(--vda-muted); line-height: 1.65; margin: 0; }

/* ── Author Box ───────────────────────────────────────────────────────────── */
.vda-author-box {
  display: flex;
  gap: 24px;
  background: var(--vda-bg);
  border-radius: var(--vda-radius);
  padding: 28px;
  margin-block: 40px;
  border: 1px solid var(--vda-border);
}
@media (max-width: 640px) { .vda-author-box { flex-direction: column; gap: 16px; } }
.vda-author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--vda-primary);
}
.vda-author-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.vda-author-name a {
  color: var(--vda-text);
  text-decoration: none;
  transition: color .2s;
}
.vda-author-name a:hover { color: var(--vda-primary); }
.vda-author-bio { font-size: 14.5px; color: var(--vda-muted); line-height: 1.7; margin-bottom: 12px; }
.vda-author-socials { display: flex; gap: 10px; }
.vda-author-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vda-primary-light);
  color: var(--vda-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.vda-author-socials a:hover { background: var(--vda-primary); color: #fff; }

/* ── Related Posts ────────────────────────────────────────────────────────── */
.vda-related-posts { margin-block: 40px; }
.vda-related-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vda-primary);
  display: inline-block;
}
.vda-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .vda-related-grid { grid-template-columns: 1fr; } }

/* ── Comments ─────────────────────────────────────────────────────────────── */
.vda-comments { margin-block: 40px; }
.vda-comments-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--vda-primary);
  display: inline-block;
}
.vda-comment-list { list-style: none; padding: 0; margin: 0; }
.vda-comment-list .comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--vda-border);
}
.vda-comment-list .comment:last-child { border-bottom: none; }
.vda-comment-inner { display: flex; gap: 14px; }
.vda-comment-avatar img { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.vda-comment-body { flex: 1; min-width: 0; }
.vda-comment-meta { font-size: 13px; color: var(--vda-muted); margin-bottom: 8px; }
.vda-comment-author-name { font-weight: 700; color: var(--vda-text); }
.vda-comment-text { font-size: 15px; line-height: 1.7; }
.vda-comment-text p:last-child { margin-bottom: 0; }
.comment-reply-link {
  font-size: 12.5px;
  color: var(--vda-primary);
  text-decoration: none;
  margin-top: 6px;
  display: inline-block;
}
.children {
  padding-left: 40px;
  list-style: none;
  margin-top: 0;
}
@media (max-width: 640px) { .children { padding-left: 16px; } }

/* ── Comment Form ─────────────────────────────────────────────────────────── */
.comment-respond {
  margin-top: 40px;
  background: var(--vda-bg);
  padding: 30px;
  border-radius: var(--vda-radius);
  border: 1px solid var(--vda-border);
}
.comment-reply-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--vda-text);
}
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--vda-border);
  border-radius: var(--vda-radius-sm);
  background: var(--vda-input-bg);
  color: var(--vda-text);
  font-family: inherit;
  transition: border-color .2s;
}
.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none;
  border-color: var(--vda-primary);
}
.comment-form-comment textarea {
  min-height: 120px;
  resize: vertical;
}
.form-submit .submit {
  background: var(--vda-primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--vda-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.form-submit .submit:hover {
  background: var(--vda-primary-dark);
}

/* ── Ad Slot ──────────────────────────────────────────────────────────────── */
.vda-ad-slot {
  margin-block: 30px;
  text-align: center;
}
.vda-ad-label {
  display: block;
  font-size: 10.5px;
  color: var(--vda-muted);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 6px;
}
.vda-ad-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--vda-white);
  border-top: 1px solid var(--vda-border);
  padding: 10px;
  text-align: center;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.vda-ad-float.is-visible { transform: translateY(0); }
.vda-ad-float-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--vda-muted);
  line-height: 1;
}
/**
 * VDA Press - Sidebar & Widgets
 *
 * @package vda-press
 */

/* ── Sidebar Container ────────────────────────────────────────────────────── */
.vda-sidebar {
  width: 340px;
  flex-shrink: 0;
}
.vda-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 88px; /* stick below the header */
}

/* ── Widget Wrap ──────────────────────────────────────────────────────────── */
.vda-widget {
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--vda-shadow);
  border: 1px solid var(--vda-border);
  transition: box-shadow .2s;
}
.vda-widget:last-child { margin-bottom: 0; }
.vda-widget:hover { box-shadow: var(--vda-shadow-hover); }

/* ── Widget Title ─────────────────────────────────────────────────────────── */
.widget-title,
.vda-widget-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--vda-text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vda-primary);
  text-transform: uppercase;
  letter-spacing: .8px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Recent Posts Widget ──────────────────────────────────────────────────── */
.vda-widget-posts { list-style: none; padding: 0; margin: 0; }
.vda-widget-post-item {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--vda-border);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
  transition: transform .15s;
}
.vda-widget-post-item:hover { transform: translateX(3px); }
.vda-widget-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.vda-widget-post-thumb {
  width: 68px;
  height: 52px;
  border-radius: var(--vda-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.vda-widget-post-placeholder {
  width: 68px;
  height: 52px;
  background: linear-gradient(135deg, var(--vda-secondary), var(--vda-primary));
  border-radius: var(--vda-radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
}
.vda-widget-post-info { flex: 1; min-width: 0; }
.vda-widget-post-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--vda-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
  text-decoration: none;
  transition: color .2s;
  display: block;
}
.vda-widget-post-item:hover .vda-widget-post-title { color: var(--vda-primary); }
.vda-widget-post-meta {
  font-size: 11px;
  color: var(--vda-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.vda-widget-post-cat {
  font-weight: 600;
  color: var(--vda-primary);
  font-size: 10.5px;
  text-transform: uppercase;
}

/* ── Categories Widget ────────────────────────────────────────────────────── */
.vda-categories-list { list-style: none; padding: 0; margin: 0; }
.vda-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--vda-border);
  transition: transform .15s;
}
.vda-cat-item:last-child { border-bottom: none; }
.vda-cat-item:hover { transform: translateX(3px); }
.vda-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--vda-text);
  font-size: 13.5px;
  font-weight: 500;
  transition: color .2s;
}
.vda-cat-link:hover { color: var(--vda-primary); }
.vda-cat-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .2s;
}
.vda-cat-link:hover .vda-cat-dot { transform: scale(1.3); }
.vda-cat-count {
  background: var(--vda-primary-light);
  color: var(--vda-primary);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--vda-radius-full);
}

/* ── Newsletter Widget ────────────────────────────────────────────────────── */
.vda-widget--newsletter {
  background: linear-gradient(135deg, var(--vda-secondary) 0%, var(--vda-primary) 100%) !important;
  border-color: transparent !important;
  color: #fff;
}
.vda-widget--newsletter .vda-widget-title {
  border-bottom-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
}
.vda-newsletter-widget-wrap { text-align: center; }
.vda-newsletter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: 16px;
  margin: 0 auto 14px;
}
.vda-newsletter-icon svg { stroke: #fff !important; }
.vda-newsletter-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.vda-newsletter-desc {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
  line-height: 1.6;
}
.vda-newsletter-email {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--vda-radius-sm);
  font-size: 13.5px;
  background: rgba(255,255,255,.12);
  color: #fff;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.vda-newsletter-email::placeholder { color: rgba(255,255,255,.6); }
.vda-newsletter-email:focus {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.18);
}
.vda-newsletter-submit {
  width: 100%;
  padding: 11px;
  background: #fff;
  color: var(--vda-secondary);
  border: none;
  border-radius: var(--vda-radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.vda-newsletter-submit:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
}
.vda-newsletter-msg { font-size: 13px; margin-top: 10px; }

/* ── Newsletter Responsive ─────────────────────────────────────────────────── */
/* On wider screens inside the sidebar widget, use a row for input+button */
@media (min-width: 768px) and (max-width: 1024px) {
  .vda-newsletter-widget-wrap .vda-newsletter-email,
  .vda-newsletter-widget-wrap .vda-newsletter-submit {
    font-size: 12px;
    padding: 9px 10px;
  }
}
/* Inline (in-feed) newsletter: row layout for wider contexts */
.vda-infeed-ad .vda-newsletter-form,
.vda-infeed-ad .vda-newsletter-widget-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.vda-infeed-ad .vda-newsletter-email {
  flex: 1 1 200px;
  margin-bottom: 0;
}
.vda-infeed-ad .vda-newsletter-submit {
  flex: 0 0 auto;
  width: auto;
  padding: 11px 20px;
}
@media (max-width: 480px) {
  .vda-infeed-ad .vda-newsletter-email,
  .vda-infeed-ad .vda-newsletter-submit {
    flex: 1 1 100%;
  }
  .vda-newsletter-email { font-size: 14px; padding: 12px 14px; }
  .vda-newsletter-submit { font-size: 14px; padding: 12px; }
}

/* ── Tags Cloud Widget ────────────────────────────────────────────────────── */
.vda-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vda-tag-pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--vda-primary-light);
  color: var(--vda-primary);
  border-radius: var(--vda-radius-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.vda-tag-pill:hover {
  background: var(--vda-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ── About Widget ─────────────────────────────────────────────────────────── */
.vda-about-widget { text-align: center; }
.vda-about-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--vda-secondary), var(--vda-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.vda-about-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--vda-text);
}
.vda-about-desc {
  font-size: 13px;
  color: var(--vda-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.vda-about-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--vda-primary);
  color: #fff;
  border-radius: var(--vda-radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.vda-about-cta:hover {
  background: var(--vda-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ── WordPress Default Widgets Override ───────────────────────────────────── */
.vda-sidebar .widget {
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--vda-shadow);
  border: 1px solid var(--vda-border);
}
.vda-sidebar .widget-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--vda-primary);
  margin-bottom: 16px;
}
.vda-sidebar ul { list-style: none; padding: 0; margin: 0; }
.vda-sidebar ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--vda-border);
  font-size: 14px;
}
.vda-sidebar ul li:last-child { border-bottom: none; }
.vda-sidebar ul li a {
  color: var(--vda-text);
  text-decoration: none;
  transition: color .2s;
}
.vda-sidebar ul li a:hover { color: var(--vda-primary); }

/* ── Responsive Sidebar ───────────────────────────────────────────────────── */
/* Tablet (768–1024px): keep sidebar as right column, just narrower */
@media (max-width: 1024px) and (min-width: 768px) {
  .vda-sidebar {
    width: 260px;
    flex-shrink: 0;
  }
  .vda-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .vda-widget { margin-bottom: 0; }
}
/* Mobile (<768px): stack vertically */
@media (max-width: 767px) {
  .vda-sidebar {
    width: 100%;
    order: 0;
  }
  .vda-sidebar-inner {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .vda-widget { margin-bottom: 0; }
  .vda-widget--newsletter,
  .vda-widget--about {
    grid-column: span 1;
  }
}
/**
 * VDA Press - Front Page, Cards, Grid & Section Styles
 * Extra visual polish for the front-page layout.
 *
 * @package vda-press
 */

/* ── Posts Grid ──────────────────────────────────────────────────────────── */
.vda-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
@media (max-width: 1100px) { .vda-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .vda-posts-grid { grid-template-columns: 1fr; } }

/* ── Section Header ──────────────────────────────────────────────────────── */
.vda-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--vda-border);
}
.vda-section-header__title {
  font-size: clamp(20px,2.5vw,30px);
  font-weight: 800;
  color: var(--vda-text);
  position: relative;
  padding-left: 16px;
}
.vda-section-header__title::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--vda-primary);
  border-radius: 4px;
}
.vda-section-header__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vda-primary);
  text-decoration: none;
  transition: gap .2s;
}
.vda-section-header__link:hover { gap: 10px; }

/* ── Front Page Sections ─────────────────────────────────────────────────── */
.vda-frontpage-latest { padding: 48px 0; }
.vda-front-page .vda-main { padding-top: 32px; }

/* ── Archive Page Header ─────────────────────────────────────────────────── */
.vda-archive-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--vda-border);
}
.vda-archive-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  color: var(--vda-text);
}
.vda-archive-desc {
  font-size: 16px;
  color: var(--vda-muted);
  margin-top: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.vda-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
}
.vda-btn-primary {
  background: var(--vda-primary);
  color: #fff;
  border-color: var(--vda-primary);
}
.vda-btn-primary:hover {
  background: var(--vda-primary-dark);
  border-color: var(--vda-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,107,60,.3);
}
.vda-btn-outline {
  background: transparent;
  color: var(--vda-primary);
  border-color: var(--vda-primary);
}
.vda-btn-outline:hover {
  background: var(--vda-primary);
  color: #fff;
}

/* ── 404 Page ─────────────────────────────────────────────────────────────── */
.vda-404 {
  text-align: center;
  padding: 80px 24px;
}
.vda-404-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  font-family: var(--vda-font-heading);
  background: linear-gradient(135deg, var(--vda-primary), var(--vda-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.vda-404-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}
.vda-404-desc {
  font-size: 17px;
  color: var(--vda-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.vda-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
}
.vda-pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--vda-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vda-text);
  text-decoration: none;
  background: var(--vda-white);
  transition: all .2s;
}
.vda-pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
  border-color: var(--vda-primary);
  color: var(--vda-primary);
}
.vda-pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--vda-primary);
  border-color: var(--vda-primary);
  color: #fff;
}

/* ── Post Card Extended Styles ───────────────────────────────────────────── */
.vda-card-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--vda-primary), var(--vda-secondary));
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  font-family: var(--vda-font-heading);
  text-transform: uppercase;
}
.vda-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vda-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: gap .2s;
}
.vda-read-more:hover { gap: 10px; color: var(--vda-primary-dark); }
.vda-read-more .arrow { font-size: 16px; }

/* ── Expert Cards (front page) ───────────────────────────────────────────── */
.vda-experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .vda-experts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .vda-experts-grid { grid-template-columns: 1fr; } }

.vda-expert-card {
  background: var(--vda-white);
  border-radius: var(--vda-radius);
  box-shadow: var(--vda-shadow);
  padding: 28px 20px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.vda-expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vda-shadow-hover);
}
.vda-expert-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vda-primary), var(--vda-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  overflow: hidden;
}
.vda-expert-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vda-expert-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--vda-primary);
  margin-bottom: 4px;
}
.vda-expert-card__creds {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--vda-accent);
  margin-bottom: 8px;
}
.vda-expert-card__specialty {
  font-size: 13.5px;
  color: var(--vda-muted);
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.vda-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .vda-testimonials-grid { grid-template-columns: 1fr; } }

.vda-testimonial-card {
  background: var(--vda-white);
  border-radius: var(--vda-radius);
  box-shadow: var(--vda-shadow);
  padding: 28px;
  border-top: 3px solid var(--vda-primary);
}
.vda-testimonial-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--vda-text);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}
.vda-testimonial-card__text::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 36px;
  color: var(--vda-primary);
  line-height: 1;
  font-style: normal;
}
.vda-testimonial-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--vda-text);
}
.vda-testimonial-card__condition {
  font-size: 12px;
  color: var(--vda-muted);
  margin-top: 2px;
}

/* ── Search Form ─────────────────────────────────────────────────────────── */
.search-form {
  display: flex;
  gap: 8px;
}
.search-field {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--vda-border);
  border-radius: 8px;
  font-size: 15px;
  background: var(--vda-white);
  color: var(--vda-text);
  font-family: var(--vda-font-body);
  outline: none;
  transition: border-color .2s;
}
.search-field:focus { border-color: var(--vda-primary); }
.search-submit {
  padding: 10px 20px;
  background: var(--vda-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.search-submit:hover { background: var(--vda-primary-dark); }

/* ── Main content area spacing ───────────────────────────────────────────── */
.vda-main-content { padding-top: 40px; padding-bottom: 60px; }
/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */

.vda-site-footer {
  background-color: #0b1120; /* Very dark navy */
  color: #a0aec0;
  font-size: 14.5px;
  padding-top: 60px;
  padding-bottom: 24px;
}

/* ── Top Section (4 Columns) ────────────────────────────── */
.vda-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Branding Column */
.vda-footer-logo {
  margin-bottom: 20px;
  display: inline-flex;
}
.vda-footer-logo img {
  max-width: 48px;
  height: auto;
  display: block;
  border-radius: 12px;
}
.vda-footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--vda-primary);
}
.vda-footer-desc {
  margin-bottom: 24px;
  line-height: 1.6;
}
.vda-footer-desc p:last-child {
  margin-bottom: 0;
}

/* Social Grid */
.vda-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vda-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #fff;
  color: #0d1321;
  border-radius: 8px;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.vda-social-link svg {
  fill: currentColor;
  display: block;
}
.vda-social-link:hover {
  background-color: var(--vda-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Headings */
.vda-footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 24px;
}

/* Menus */
.vda-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vda-footer-menu li {
  margin-bottom: 14px;
}
.vda-footer-menu a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.2s;
}
.vda-footer-menu a:hover {
  color: #fff;
}

/* Contact List */
.vda-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vda-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.vda-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #00c853; /* Green icon color */
}
.vda-contact-list a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.2s;
}
.vda-contact-list a:hover {
  color: #fff;
}
.vda-contact-whatsapp svg {
  color: #25D366; /* WhatsApp specific green */
}
.vda-contact-whatsapp a {
  color: #25D366;
  font-weight: 600;
}
.vda-contact-whatsapp a:hover {
  color: #128C7E;
}

/* ── App Banner ─────────────────────────────────────────── */
.vda-app-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff0f5; /* Light pink background */
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 40px;
}
.vda-app-banner__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.vda-app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #ffccdd; /* Slightly darker pink for icon bg */
  border-radius: 12px;
}
.vda-app-text {
  display: flex;
  flex-direction: column;
}
.vda-app-title {
  font-size: 11px;
  font-weight: 700;
  color: #e83e8c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.vda-app-sub {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 6px 0;
}
.vda-app-desc {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
}

.vda-app-banner__right {
  display: flex;
  gap: 16px;
}
.vda-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1a202c;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.vda-store-badge:hover {
  background-color: #2d3748;
  color: #fff;
  transform: translateY(-2px);
}
.vda-store-text {
  display: flex;
  flex-direction: column;
}
.vda-store-small {
  font-size: 10px;
  line-height: 1;
  margin-bottom: 2px;
}
.vda-store-large {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

/* ── Bottom Section ─────────────────────────────────────── */
.vda-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #718096;
}
.vda-footer-security {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4299e1; /* Blue shield */
}



/* ═══════════════════════════════════════════════════════════
   RESPONSIVE FOOTER
═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .vda-footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .vda-app-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .vda-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vda-app-banner__right {
    flex-direction: column;
    width: 100%;
  }
  .vda-store-badge {
    justify-content: center;
    width: 100%;
  }
  .vda-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .vda-floating-chat {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
/**
 * VDA Press - Footer, Pagination, Forms, Utilities
 *
 * @package vda-press
 */

/* ══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.vda-footer {
  background: var(--vda-footer-bg, #0d1b2a);
  color: var(--vda-footer-text, #c8d6e5);
}
.vda-footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-block: 56px 36px;
}
@media (max-width: 1024px) { .vda-footer-widgets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .vda-footer-widgets { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 24px; } }

.vda-footer .widget-title,
.vda-footer .vda-widget-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.15);
  font-size: 14px;
}
.vda-footer p,
.vda-footer li { font-size: 13.5px; line-height: 1.75; }
.vda-footer a {
  color: var(--vda-footer-link, #5dade2);
  text-decoration: none;
  transition: color .2s;
}
.vda-footer a:hover { color: #fff; }
.vda-footer ul { list-style: none; padding: 0; margin: 0; }
.vda-footer ul li { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.vda-footer ul li:last-child { border-bottom: none; }

.vda-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.vda-copyright { font-size: 13px; color: rgba(255,255,255,.55); }
.vda-copyright a { color: rgba(255,255,255,.7); }
.vda-copyright a:hover { color: #fff; }

.vda-footer-nav {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vda-footer-nav li a {
  font-size: 13px;
  padding: 4px 12px;
  color: rgba(255,255,255,.6);
  border-right: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  transition: color .2s;
}
.vda-footer-nav li:last-child a { border-right: none; }
.vda-footer-nav li a:hover { color: #fff; }

.vda-back-to-top {
  width: 38px;
  height: 38px;
  background: var(--vda-primary);
  color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
}
.vda-back-to-top.is-visible { opacity: 1; visibility: visible; }
.vda-back-to-top:hover { background: var(--vda-accent); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.vda-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 48px;
}
.vda-pagination a,
.vda-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 6px;
  border-radius: var(--vda-radius-sm);
  border: 1px solid var(--vda-border);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  color: var(--vda-text);
  background: var(--vda-card-bg);
}
.vda-pagination a:hover {
  border-color: var(--vda-primary);
  color: var(--vda-primary);
  background: var(--vda-primary-light);
}
.vda-pagination .current {
  background: var(--vda-primary);
  border-color: var(--vda-primary);
  color: #fff;
}
.vda-pagination .prev,
.vda-pagination .next {
  min-width: auto;
  padding-inline: 14px;
  gap: 5px;
  font-size: 13.5px;
}
.vda-pagination .disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}
.vda-pagination .dots {
  border: none;
  background: transparent;
  color: var(--vda-muted);
  min-width: 28px;
}

/* ══════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════ */
.vda-form-group { margin-bottom: 20px; }
.vda-form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--vda-text);
  margin-bottom: 7px;
}
.vda-form-group .required { color: #dc2626; }
.vda-input,
.vda-form-group input,
.vda-form-group textarea,
.vda-form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--vda-border);
  border-radius: var(--vda-radius-sm);
  font-size: 15px;
  font-family: var(--vda-font-body);
  background: var(--vda-input-bg);
  color: var(--vda-text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.vda-input:focus,
.vda-form-group input:focus,
.vda-form-group textarea:focus,
.vda-form-group select:focus {
  border-color: var(--vda-primary);
  box-shadow: 0 0 0 3px var(--vda-primary-light);
}
.vda-form-group textarea { resize: vertical; min-height: 130px; }

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--vda-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  font-family: var(--vda-font-body);
}
.vda-btn-primary { background: var(--vda-primary); color: #fff; border-color: var(--vda-primary); }
.vda-btn-primary:hover { background: var(--vda-primary-dark); border-color: var(--vda-primary-dark); color: #fff; transform: translateY(-1px); }
.vda-btn-outline { background: transparent; color: var(--vda-primary); border-color: var(--vda-primary); }
.vda-btn-outline:hover { background: var(--vda-primary); color: #fff; }
.vda-btn-accent { background: var(--vda-accent); color: #fff; border-color: var(--vda-accent); }
.vda-btn-accent:hover { background: var(--vda-accent-dark); border-color: var(--vda-accent-dark); color: #fff; }

.vda-form-response { padding: 12px 16px; border-radius: var(--vda-radius-sm); font-size: 14px; margin-top: 14px; display: none; }
.vda-form-response.success { background: rgba(26,107,60,.1); color: var(--vda-primary); border: 1px solid rgba(26,107,60,.25); display: block; }
.vda-form-response.error   { background: rgba(220,38,38,.08); color: #dc2626; border: 1px solid rgba(220,38,38,.2); display: block; }

/* ══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.text-primary  { color: var(--vda-primary); }
.text-muted    { color: var(--vda-muted); }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.font-bold     { font-weight: 700; }
.font-semibold { font-weight: 600; }

.vda-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--vda-border);
  border-top-color: var(--vda-primary);
  border-radius: 50%;
  animation: vda-spin .6s linear infinite;
}
@keyframes vda-spin { to { transform: rotate(360deg); } }

.vda-alert { padding: 14px 18px; border-radius: var(--vda-radius-sm); font-size: 14px; margin-bottom: 16px; }
.vda-alert-success { background: rgba(26,107,60,.1); color: var(--vda-primary); border-left: 4px solid var(--vda-primary); }
.vda-alert-error   { background: rgba(220,38,38,.08); color: #dc2626; border-left: 4px solid #dc2626; }
.vda-alert-warning { background: rgba(232,160,32,.1); color: #92650a; border-left: 4px solid var(--vda-accent); }
.vda-alert-info    { background: rgba(13,74,122,.08); color: var(--vda-secondary); border-left: 4px solid var(--vda-secondary); }

/* ── Skeleton Loading ─────────────────────────────────────────────────────── */
@keyframes vda-skeleton { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.vda-skeleton {
  background: linear-gradient(90deg, var(--vda-border) 25%, var(--vda-bg) 50%, var(--vda-border) 75%);
  background-size: 200% 100%;
  animation: vda-skeleton 1.5s ease-in-out infinite;
  border-radius: var(--vda-radius-sm);
}

/* ── Archive Header ───────────────────────────────────────────────────────── */
.vda-archive-header {
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--vda-shadow);
}
.vda-archive-banner {
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--vda-radius-sm);
  margin-bottom: 20px;
}
.vda-archive-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.vda-archive-desc  { font-size: 15px; color: var(--vda-muted); line-height: 1.7; }

/* ── 404 Page ─────────────────────────────────────────────────────────────── */
.vda-404 { text-align: center; padding-block: 80px; }
.vda-404-code { font-size: 120px; font-weight: 900; color: var(--vda-primary); line-height: 1; opacity: .15; }
.vda-404-title { font-size: 32px; font-weight: 800; margin: 16px 0 12px; }
.vda-404-desc { font-size: 16px; color: var(--vda-muted); margin-bottom: 28px; }

/* ── Expert Profile ───────────────────────────────────────────────────────── */
.vda-expert-card {
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  padding: 28px;
  box-shadow: var(--vda-shadow);
  text-align: center;
  transition: box-shadow .3s;
}
.vda-expert-card:hover { box-shadow: var(--vda-shadow-hover); }
.vda-expert-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--vda-primary);
  margin: 0 auto 16px;
  display: block;
}
.vda-expert-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.vda-expert-credentials { font-size: 12.5px; color: var(--vda-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.vda-expert-specialty { font-size: 14px; color: var(--vda-muted); margin-bottom: 12px; }

/* ── Testimonial ──────────────────────────────────────────────────────────── */
.vda-testimonial-card {
  background: var(--vda-card-bg);
  border-radius: var(--vda-radius);
  padding: 24px;
  box-shadow: var(--vda-shadow);
  position: relative;
}
.vda-testimonial-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--vda-text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.vda-testimonial-quote::before { content: '\201C'; font-size: 36px; color: var(--vda-primary); line-height: .1em; vertical-align: -20px; margin-right: 4px; }
.vda-testimonial-stars { color: var(--vda-accent); margin-bottom: 8px; font-size: 16px; }
.vda-testimonial-name { font-weight: 700; font-size: 14px; }
.vda-testimonial-condition { font-size: 12.5px; color: var(--vda-muted); }

/* ── Cookie Consent Banner ─────────────────────────────────────────────────── */
.vda-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--vda-card-bg);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  z-index: 9999;
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--vda-border);
}
.vda-cookie-banner.show {
  transform: translateY(0);
}
.vda-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.vda-cookie-text {
  font-size: 14px;
  color: var(--vda-text);
  line-height: 1.5;
  margin: 0;
}
.vda-cookie-text p { margin: 0; font-size: inherit; }
.vda-cookie-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .vda-cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .vda-cookie-btn {
    width: 100%;
  }
}

/* ── Dark mode extra overrides ────────────────────────────────────────────── */
[data-theme='dark'] .vda-header        { box-shadow: 0 1px 0 var(--vda-border); }
[data-theme='dark'] .vda-sub-menu      { border-color: var(--vda-border); }
[data-theme='dark'] .vda-post-content pre { background: #0f172a; }
[data-theme='dark'] .vda-post-content code { background: var(--vda-border); }

/* ── Reading Progress Bar ───────────────────────────────────────────────────── */
.vda-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--vda-primary, #1a6b3c), var(--vda-accent, #e8a020));
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Back to Top Button ─────────────────────────────────────────────────────── */
.vda-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vda-primary, #1a6b3c);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
.vda-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.vda-back-to-top:hover {
  background: var(--vda-secondary, #0d4a7a);
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .vda-back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

/* ── 404 Page ───────────────────────────────────────────────────────────────── */
.vda-404 { padding: 80px 0; text-align: center; }
.vda-404__inner { max-width: 680px; margin: 0 auto; }
.vda-404__code {
  font-size: clamp(96px, 18vw, 160px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--vda-primary, #1a6b3c), var(--vda-secondary, #0d4a7a));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -4px;
}
.vda-404__title { font-size: clamp(22px, 5vw, 36px); margin-bottom: 16px; }
.vda-404__desc { font-size: 17px; color: var(--vda-text-light, #555); margin-bottom: 32px; line-height: 1.7; }
.vda-404__search { max-width: 460px; margin: 0 auto 28px; }
.vda-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.vda-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: 2px solid var(--vda-primary, #1a6b3c); color: var(--vda-primary, #1a6b3c);
  text-decoration: none; transition: background .2s, color .2s;
}
.vda-btn-outline:hover { background: var(--vda-primary, #1a6b3c); color: #fff; }
.vda-404__recent-title { font-size: 20px; margin-bottom: 20px; }
.vda-404__recent-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left;
}
.vda-404__recent-item {
  display: flex; flex-direction: column; gap: 0;
  text-decoration: none; background: var(--vda-white, #fff);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .2s;
}
.vda-404__recent-item:hover { transform: translateY(-3px); }
.vda-404__recent-img img { width: 100%; height: 110px; object-fit: cover; display: block; }
.vda-404__recent-name { padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--vda-text, #111); line-height: 1.3; }
@media (max-width: 640px) {
  .vda-404__recent-grid { grid-template-columns: repeat(2, 1fr); }
  .vda-404 { padding: 48px 0; }
}
/**
 * VDA Press - Mobile Responsive Overrides
 * Comprehensive breakpoints for phones and small screens.
 *
 * @package vda-press
 */

/* ═══════════════════════════════════════════════════════════
   TABLET & BELOW (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Container: tighten the horizontal padding */
  .vda-container {
    padding-inline: 16px;
  }

  /* Section spacing: reduce on smaller screens */
  .vda-section { padding-block: 40px; }
  .vda-section-sm { padding-block: 28px; }
  .vda-frontpage-latest { padding: 32px 0; }
  .vda-main-content { padding-top: 28px; padding-bottom: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* --- Post Header --- */
  .vda-post-title {
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.25;
  }

  /* --- Featured Image --- */
  .vda-post-thumbnail {
    margin: 0 0 24px 0;
  }
  .vda-post-thumbnail img {
    max-height: 320px;
  }

  /* --- Post Content --- */
  .vda-post-content {
    font-size: 16px;
  }
  .vda-post-content h2 { font-size: 22px; }
  .vda-post-content h3 { font-size: 18px; }
  .vda-post-content h4 { font-size: 16px; }

  /* --- Social Shares: wrap and shrink on mobile --- */
  .vda-social-share { gap: 6px; }
  .vda-share-btn { padding: 7px 11px; font-size: 12px; }

  /* --- Related Posts: 2 cols on mobile (not 3) --- */
  .vda-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* --- Comment form: stack inputs --- */
  .comment-respond {
    padding: 20px 16px;
  }

  /* --- Section headers: wrap "Read All" link below title --- */
  .vda-section-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* --- Consultation CTA --- */
  .vda-consultation-cta {
    flex-direction: column;
    padding: 24px 20px !important;
    text-align: center;
    gap: 16px;
  }
  .vda-cta-content {
    text-align: center;
  }

  /* --- Category grid: compact 5-col text-only grid on mobile --- */
  .vda-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    width: 100%;
  }
  .vda-cat-card {
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    gap: 4px;
    min-height: unset;
    border-radius: 8px;
    border-top-width: 3px;
    overflow: hidden;
  }
  /* Hide icons on mobile — maximise space */
  .vda-cat-card__icon { display: none; }
  .vda-cat-card__name {
    font-size: 9px;
    line-height: 1.2;
    word-break: break-word;
    text-align: center;
  }
  .vda-cat-card__count { font-size: 8px; }

  /* --- CTA: stack + full-width button on mobile --- */
  .vda-consultation-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px !important;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .vda-consultation-cta-wrap {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .vda-cta-title { font-size: 18px; }
  .vda-cta-content { text-align: center; width: 100%; }
  .vda-consult-btn { width: 100%; justify-content: center; }

  /* --- Front page --- */
  .vda-front-page .vda-main { padding-top: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   SMALL PHONES (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Container: minimal padding */
  .vda-container {
    padding-inline: 12px;
  }

  /* --- Typography --- */
  h1 { font-size: clamp(22px, 7vw, 30px); }
  h2 { font-size: clamp(18px, 5.5vw, 24px); }
  h3 { font-size: clamp(16px, 4.5vw, 20px); }

  /* --- Featured Image smaller on tiny screens --- */
  .vda-post-thumbnail img { max-height: 240px; }

  /* --- Related posts: single column on tiny phones --- */
  .vda-related-grid {
    grid-template-columns: 1fr;
  }

  /* --- Category: keep compact on tiny phones --- */
  .vda-cat-grid { gap: 5px; }
  .vda-cat-card { padding: 7px 3px; }
  .vda-cat-card__name { font-size: 8px; }
  .vda-cat-card__count { font-size: 7px; }

  /* --- Post cards single column --- */
  .vda-posts-grid { grid-template-columns: 1fr; }

  /* --- Header: extremely compact --- */
  .vda-header__logo-name { font-size: 13px; }
  .vda-header__logo-tagline { display: none; }

  /* --- TOC --- */
  .vda-toc { padding: 16px; }

  /* --- Author box --- */
  .vda-author-box { padding: 18px; }
  .vda-author-avatar img { width: 60px; height: 60px; }

  /* --- Social share: two per row --- */
  .vda-social-share { display: grid; grid-template-columns: repeat(2, 1fr); }
  .vda-share-btn { justify-content: center; }

  /* --- Footer: tighter spacing --- */
  .vda-footer-widgets { padding-block: 28px 16px; }
  .vda-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* --- Pagination wraps nicely --- */
  .vda-pagination { gap: 6px; }
  .vda-pagination a,
  .vda-pagination span { min-width: 34px; height: 34px; font-size: 13px; }

  /* --- Post meta: wraps --- */
  .vda-post-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* --- Breadcrumb: smaller --- */
  .vda-breadcrumb { font-size: 12px; padding-block: 10px; }

  /* --- Single post content: smaller font --- */
  .vda-post-content { font-size: 15.5px; }
  .vda-post-content blockquote { padding: 12px 16px; font-size: 16px; }
  .vda-post-content pre { padding: 16px; font-size: 13px; }

  /* --- Section header --- */
  .vda-section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  .vda-section-header__title { font-size: 18px; }

  /* --- Front page: hide "read all" on tiny screens, show only icon --- */
  .vda-section-header__link .vda-link-text { display: none; }

  /* --- Search form stack vertically --- */
  .search-form { flex-direction: column; }
  .search-field { width: 100%; }

  /* --- Consultation button on front-page --- */
  .vda-consult-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREVENT HORIZONTAL OVERFLOW
   NOTE: Do NOT add overflow:hidden/clip to body or html — it breaks
   position:fixed elements (mobile menu, ad float bar, etc.)
═══════════════════════════════════════════════════════════ */

/* Lock horizontal scroll at root level */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

/* Constrain all major layout wrappers so nothing overflows horizontally */
.vda-page-wrap,
.vda-main-content,
.vda-front-page,
.vda-single-post {
  max-width: 100%;
  overflow-x: clip;
}

/* Tables scroll on mobile instead of breaking layout */
.vda-post-content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Embedded iframes (videos) are responsive */
.vda-post-content iframe,
.vda-post-content embed,
.vda-post-content object {
  max-width: 100%;
}

/* Images always constrained */
img {
  max-width: 100%;
  height: auto;
}
