/* ==========================================================
   Aura Builder — Shared Blocks Stylesheet
   Loaded on BOTH the admin canvas AND the frontend.
   Contains ALL section / column / block visual styles.
   Admin-only chrome (topbar, inspector, sidebar) lives in editor.css.
   ========================================================== */

/* ── Box model reset scoped to vb elements ──────────────── */
.vb-section *, .vb-section *::before, .vb-section *::after { box-sizing: border-box; }

/* ═══════════════════════════════════════════════════════════
   SECTION
   ═══════════════════════════════════════════════════════════ */

.vb-section {
  width: 100%;
  position: relative;
  /* No overflow:hidden — overlays are contained by position:absolute inside position:relative */
}

/* Overlay (bg-image + overlay setting) */
.vb-section-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Container classes — vb-container (max-width capped) + vb-container-fluid (full-width) */
/*
  Stepped breakpoints — each var can be overridden in :root via template settings or custom CSS:
    --vb-container-width  max container on large screens (default 1420px, set via template param)
    --vb-container-xl     max width on mid-large screens  (default 1200px)
    --vb-container-lg     max width on laptop screens     (default 960px)
    --vb-container-md     max width on tablet landscape   (default 720px)
*/
:root {
  --vb-container-xl: 1200px;
  --vb-container-lg: 960px;
  --vb-container-md: 720px;
}

.vb-container {
  width: 100%;
  max-width: var(--vb-container-width, 1420px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}
/* Step down at intermediate desktop widths */
@media (max-width: 1500px) {
  .vb-container { max-width: var(--vb-container-xl, 1200px); }
}
@media (max-width: 1280px) {
  .vb-container { max-width: var(--vb-container-lg, 960px); padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1024px) {
  .vb-container { max-width: var(--vb-container-md, 720px); padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 768px) {
  .vb-container { max-width: 100%; padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .vb-container { padding-left: 12px; padding-right: 12px; }
}

.vb-container-fluid {
  width: 100%;
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) { .vb-container-fluid { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 575px) { .vb-container-fluid { padding-left: 14px; padding-right: 14px; } }

.vb-section > .vb-section-columns { position: relative; z-index: 2; }

/* ═══════════════════════════════════════════════════════════
   COLUMNS (CSS Grid — grid-template-columns set inline by renderer/canvas)
   ═══════════════════════════════════════════════════════════ */

.vb-section-columns {
  display: block;
  width: 100%;
  position: relative;
  z-index: 2;
}

.vb-row {
  display: grid;
  width: 100%;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
}
.vb-row:last-child {
  margin-bottom: 0;
}

.vb-row-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.vb-row--fluid {
  margin-bottom: 0 !important;
}

/* Mobile: always single column */
@media (max-width: 767px) {
  .vb-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 991px) {
  /* Nested rows always stack on tablet */
  .vb-column > .vb-column-inner > .vb-row { grid-template-columns: 1fr !important; }
  /* Single-column rows must always be full-width on tablet regardless of colWidths data.
     :not(:has(> .vb-column ~ .vb-column)) = no second .vb-column sibling → single-column row. */
  .vb-row:not(:has(> .vb-column ~ .vb-column)) { grid-template-columns: 1fr !important; }
}

/* ── Column ─────────────────────────────────────────────── */
.vb-column {
  box-sizing: border-box;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.vb-column-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.vb-column-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Contained column inner: max-width + centred */
.vb-column-inner.is-contained {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   BLOCK (base)
   ═══════════════════════════════════════════════════════════ */

.vb-block {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  padding: 10px;
}

.vb-block-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.vb-block:has(> .vb-parallax-bg),
.vb-block:has(> .vb-section-video-bg) {
  overflow: hidden;
}

.vb-block > :not(.vb-parallax-bg):not(.vb-section-video-bg):not(.vb-block-overlay):not(.vb-block-controls) {
  position: relative;
  z-index: 2;
}

.vb-group-inner-block:has(> .vb-parallax-bg),
.vb-group-inner-block:has(> .vb-section-video-bg) {
  overflow: hidden;
}

.vb-group-inner-block > :not(.vb-parallax-bg):not(.vb-section-video-bg):not(.vb-block-overlay) {
  position: relative;
  z-index: 2;
}

.vb-col--fluid .vb-block {
  padding: 0 !important;
}

/* Inline (row) groups — flex-grow so children share space equally; stack on mobile */
.vb-group--inline {
  flex-wrap: wrap;
}
.vb-group--inline > .vb-block {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  padding: 0;
}
@media (max-width: 575px) {
  .vb-group--inline {
    flex-direction: column !important;
  }
  .vb-group--inline > .vb-block {
    flex: none !important;
    width: 100% !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE VISIBILITY
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 992px) { .vb-hide-on-desktop { display: none !important; } }
@media (min-width: 576px) and (max-width: 991px) { .vb-hide-on-tablet  { display: none !important; } }
@media (max-width: 575px)  { .vb-hide-on-mobile  { display: none !important; } }

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE BLOCK FIXES
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  /* ── Image block: expand to fill column width on mobile.
     max-width:100% prevents overflow but doesn't expand a small image.
     width:100% ensures the image fills the flex container. Any explicit
     inline width/max-width set on the block still overrides via inline. */
  .vb-block-image .vb-image-content,
  .vb-block-image picture { width: 100%; }
  .vb-block-image picture img { width: 100%; }

  /* The flex wrapper (display:flex;justify-content:…) also needs full width
     so the image inside fills the available column space. */
  .vb-block-image > div { width: 100%; }

  /* ── Lists: reset awkward centering caused by column align-items:center.
     On desktop, centred columns move bullets inside the text flow via
     list-style-position:inside. On a narrow mobile screen this makes bullets
     appear jammed against centred text. Restore outside positioning + padding. */
  [style*="align-items:center"] .vb-list--bullet,
  [style*="align-items:flex-end"] .vb-list--bullet,
  [style*="align-items:center"] .vb-list--ordered,
  [style*="align-items:flex-end"] .vb-list--ordered {
    list-style-position: outside;
    padding-left: 1.4em;
  }

  /* Check lists: ensure icon items don't collapse to centre on mobile */
  [style*="align-items:center"] .vb-list--check li,
  [style*="align-items:flex-end"] .vb-list--check li {
    justify-content: flex-start;
    text-align: left;
  }
}

/* In the admin canvas, hidden blocks/sections/columns are dimmed instead of hidden */
.vb-root .vb-hide-on-desktop,
.vb-root .vb-hide-on-tablet,
.vb-root .vb-hide-on-mobile { display: block !important; }

/* ═══════════════════════════════════════════════════════════
   TEXT BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-text { width: 100%; }

.vb-block-text ul {
  padding-left: 30px;
  margin: 15px 0;
}
.vb-block-text ol {
  padding-left: 30px;
  margin: 15px 0;
}
.vb-block-text li {
  margin-bottom: 0.5em;
}
.vb-block-text li:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   HEADING BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-heading { width: 100%; }

/* Normalize heading sizes so frontend template and admin editor render identically.
   :where() zeros the element-type contribution → specificity stays at (0,1,0),
   matching fs-display-* utilities. Since the utilities appear later in this file
   they win by source order, so user-set font sizes always override the defaults.
   Inline styles from the inspector always win regardless. */
:where(h1).vb-heading-content { font-size: 2.5rem; }
:where(h2).vb-heading-content { font-size: 2rem; }
:where(h3).vb-heading-content { font-size: 1.75rem; }
:where(h4).vb-heading-content { font-size: 1.5rem; }
:where(h5).vb-heading-content { font-size: 1.25rem; }
:where(h6).vb-heading-content { font-size: 1rem; }
.vb-heading-content { margin: 0; padding: 0; line-height: 1.2; }

.vb-text-content {
  padding: 0;
  line-height: 1.7;
  color: inherit;
  display: block;
  width: 100%;
}
.vb-text-content h1, .vb-text-content h2, .vb-text-content h3,
.vb-text-content h4, .vb-text-content h5, .vb-text-content h6,
.vb-text-content p   { margin: 0; padding: 0; }
.vb-text-content p + p { margin-top: 0.75em; }
.vb-text-content strong { font-weight: 700; }
.vb-text-content em     { font-style: italic; }
.vb-text-content a      { color: inherit; text-decoration: none; }

/* Line-height utilities */
.lh-1, .vb-lh-1         { line-height: 1.0; }
.lh-tight, .vb-lh-tight { line-height: 1.2; }
.lh-snug, .vb-lh-snug   { line-height: 1.375; }
.lh-normal, .vb-lh-normal   { line-height: 1.5; }
.lh-relaxed, .vb-lh-relaxed { line-height: 1.75; }
.lh-loose, .vb-lh-loose     { line-height: 2.0; }
@media (max-width: 767px) {
  .lh-relaxed, .vb-lh-relaxed { line-height: 1.6; }
  .lh-loose, .vb-lh-loose     { line-height: 1.8; }
}

/* Letter spacing utility classes (em-based — scales with font size) */
.vb-ls-tight   { letter-spacing: -0.05em; }
.vb-ls-wide    { letter-spacing: 0.05em; }
.vb-ls-wider   { letter-spacing: 0.1em; }
.vb-ls-widest  { letter-spacing: 0.25em; }

/* Responsive display font sizes — clamp(min, fluid, max) */
.fs-display-1 { font-size: clamp(2.5rem, 6vw + 1rem, 6rem); }
.fs-display-2 { font-size: clamp(2rem, 5vw + 0.5rem, 4.5rem); }
.fs-display-3 { font-size: clamp(1.75rem, 4vw + 0.25rem, 3.75rem); }
.fs-display-4 { font-size: clamp(1.5rem, 3.5vw, 3rem); }
.fs-display-5 { font-size: clamp(1.25rem, 2.5vw, 2.25rem); }
.fs-display-6 { font-size: clamp(1rem, 2vw, 1.5rem); }

/* Font weight utilities */
.fw-thin       { font-weight: 100; }
.fw-extralight { font-weight: 200; }
.fw-light      { font-weight: 300; }
.fw-normal     { font-weight: 400; }
.fw-medium     { font-weight: 500; }
.fw-semibold   { font-weight: 600; }
.fw-bold       { font-weight: 700; }
.fw-extrabold  { font-weight: 800; }
.fw-black      { font-weight: 900; }

/* ═══════════════════════════════════════════════════════════
   IMAGE BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-image { width: 100%; }
.vb-image-content { display: block; max-width: 100%; }
.vb-block-image img,
.vb-image-content img { max-width: 100%; display: block; }

/* Image placeholder (admin only — shown when no src) */
.vb-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: rgba(99,102,241,0.06);
  border: 2px dashed rgba(99,102,241,0.4);
  border-radius: 8px;
  color: #94a3b8;
  gap: 6px;
  font-size: 13px;
}
.vb-placeholder-icon { font-size: 28px; opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════
   HTML BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-html { width: 100%; }
.vb-html-content { width: 100%; }
.vb-html-content h1, .vb-html-content h2, .vb-html-content h3,
.vb-html-content h4, .vb-html-content h5, .vb-html-content h6,
.vb-html-content p  { margin: 0 0 0.75em; padding: 0; }
.vb-html-content > *:last-child { margin-bottom: 0; }
.vb-html-content a  { color: inherit; }
.vb-html-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  color: #94a3b8;
  font-size: 13px;
  background: rgba(99,102,241,0.04);
  border: 1px dashed #252540;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════
   ICON BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-icon { width: 100%; }
.vb-icon-content {
  display: flex;
  width: 100%;
}
.vb-icon-content.align-left   { justify-content: flex-start; }
.vb-icon-content.align-center { justify-content: center; }
.vb-icon-content.align-right  { justify-content: flex-end; }
.vb-icon-content iconify-icon { display: inline-block; }
/* Override align-left when a parent (e.g. vb-group) has text-align set */
[style*="text-align:center"] .vb-icon-content,
[style*="text-align: center"] .vb-icon-content { justify-content: center; }
[style*="text-align:right"] .vb-icon-content,
[style*="text-align: right"] .vb-icon-content  { justify-content: flex-end; }

/* ═══════════════════════════════════════════════════════════
   SPACER
   ═══════════════════════════════════════════════════════════ */

.vb-block-spacer { display: block; }
.vb-spacer { display: block; }

/* ═══════════════════════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════════════════════ */

.vb-block-divider { width: 100%; }
.vb-divider-wrap  { display: flex; width: 100%; min-height: 20px; align-items: center; }
.vb-divider-line  { display: block; }

/* ═══════════════════════════════════════════════════════════
   BUTTON
   ═══════════════════════════════════════════════════════════ */

.vb-btn-wrapper   { display: flex; }

.vb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.vb-btn:hover { text-decoration: none; }
.vb-btn-sm  { padding: 6px 14px;  font-size: 13px; }
.vb-btn-md  { padding: 10px 22px; font-size: 15px; }
.vb-btn-lg  { padding: 14px 32px; font-size: 17px; }

.vb-btn-primary            { background: #6366f1; color: #fff; border-color: #6366f1; }
.vb-btn-primary:hover      { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.vb-btn-secondary          { background: #0f172a; color: #fff; border-color: #0f172a; }
.vb-btn-secondary:hover    { background: #1e293b; border-color: #1e293b; color: #fff; }
.vb-btn-outline            { background: transparent; color: #6366f1; border-color: #6366f1; }
.vb-btn-outline:hover      { background: #6366f1; color: #fff; }
.vb-btn-ghost              { background: transparent; color: inherit; border-color: transparent; }
.vb-btn-ghost:hover        { background: rgba(0,0,0,0.06); }
.vb-btn-custom             { background: #6366f1; color: #fff; border-color: #6366f1; }

/* Button icon — reset FA default margins so gap handles spacing */
.vb-btn i { margin: 0; line-height: 1; }

/* Hover animations */
.vb-btn-hover-scale  { transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.15s ease, border-color 0.15s ease; }
.vb-btn-hover-scale:hover  { transform: scale(1.06); }

.vb-btn-hover-right  { transition: transform 0.18s ease, background 0.15s ease, border-color 0.15s ease; }
.vb-btn-hover-right:hover  { transform: translateX(5px); }

.vb-btn-hover-bounce { transition: background 0.15s ease, border-color 0.15s ease; }
.vb-btn-hover-bounce:hover { animation: vb-btn-bounce 0.4s ease; }
@keyframes vb-btn-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-6px); }
  60%  { transform: translateY(-2px); }
  80%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.vb-btn-hover-glow   { transition: box-shadow 0.22s ease, background 0.15s ease, border-color 0.15s ease; }
.vb-btn-hover-glow:hover   { box-shadow: 0 0 16px 4px rgba(99,102,241,0.45); }

/* ═══════════════════════════════════════════════════════════
   BUTTON GROUP
   ═══════════════════════════════════════════════════════════ */

.vb-block-buttongroup { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   VIDEO
   ═══════════════════════════════════════════════════════════ */

.vb-block-video { width: 100%; }
.vb-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}
.vb-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  position: absolute;
  inset: 0;
}
.vb-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: rgba(99,102,241,0.04);
  border: 2px dashed rgba(99,102,241,0.3);
  border-radius: 8px;
  color: #94a3b8;
  gap: 8px;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   ACCORDION
   Transparent/glass style so it works on any section background
   (light, dark, gradient) without clashing.
   ═══════════════════════════════════════════════════════════ */

.vb-block-accordion { width: 100%; }
.vb-accordion       { width: 100%; }

.vb-accordion-item {
  border: 1px solid rgba(128,128,128,0.25);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vb-accordion-item:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 10px 28px -22px rgba(14, 165, 233, 0.55);
}
.vb-accordion-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  background: #f8fafc;
  user-select: none;
  font-size: 15px;
  color: inherit;
  transition: background 0.2s ease;
}
.vb-accordion-header:hover { background: #eef6ff; }
.vb-accordion-lead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(20,110,245,.12), rgba(34,211,238,.16));
  color: #0ea5e9;
  font-size: 15px;
}
.vb-accordion-lead i,
.vb-accordion-lead iconify-icon {
  color: inherit !important;
}
.vb-accordion-title { font-weight: 700; flex: 1; color: #0f172a; line-height: 1.35; }
.vb-accordion-icon {
  color: #0ea5e9;
  font-size: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
}
.vb-accordion-item.is-open {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 16px 36px -26px rgba(14, 165, 233, 0.65);
}
.vb-accordion-item.is-open > .vb-accordion-header {
  background: linear-gradient(180deg, #eef7ff 0%, #f8fafc 100%);
}
.vb-accordion-item.is-open .vb-accordion-icon { transform: rotate(180deg); }
/* Smooth open/close: the content is a grid track that animates from 0fr to
   1fr; the inner wrapper (overflow:hidden) carries the padding/border so the
   height transition stays jitter-free. */
.vb-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.vb-accordion-item.is-open > .vb-accordion-content { grid-template-rows: 1fr; }
.vb-accordion-inner {
  overflow: hidden;
  min-height: 0;
  /* No padding here — padding on a 0fr grid child leaves a closed white strip. */
  padding: 0;
  border-top: none;
}
.vb-accordion-body {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(128,128,128,0.2);
  line-height: 1.6;
  color: inherit;
}
.vb-accordion-item:not(.is-open) .vb-accordion-body {
  border-top-color: transparent;
  /* Belt-and-suspenders: kill closed content padding even if a parent rule leaks. */
  padding: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  .vb-accordion-content { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   MODULE BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-module { width: 100%; }
.vb-module-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(99,102,241,0.06);
  border: 1px dashed #6366f1;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
}
.vb-module-placeholder .vb-placeholder-icon { font-size: 20px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   MENU BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-menu { width: 100%; }
.vb-menu-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(99,102,241,0.06);
  border: 1px dashed #6366f1;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
}
.vb-menu-placeholder .vb-placeholder-icon { font-size: 20px; flex-shrink: 0; }

/* ── Builder menu nav list — uses vb-nav-* classes matching template.css ── */
/* These styles mirror template.css so the builder menu works on any platform
   (Joomla: template.css also loads these; WordPress: blocks.css is the sole source). */

/* Top-level list */
.vb-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}
/* Items */
.vb-nav-item  { display: block; position: relative; }
/* Links */
.vb-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
/* Menu block color vars from renderer (scoped on the nav wrapper). */
.vb-block-menu .vb-nav-link { color: var(--vb-menu-link, inherit) !important; }
.vb-block-menu .vb-nav-link:hover { color: var(--vb-menu-link-hover, var(--vb-menu-link, inherit)) !important; }
.vb-block-menu .vb-nav-child-link { color: var(--vb-menu-link, inherit) !important; }
.vb-block-menu .vb-nav-child-link:hover { color: var(--vb-menu-link-hover, var(--vb-menu-link, inherit)) !important; }
.vb-nav-link:hover { background: rgba(127,127,127,0.18); text-decoration: none; }

/* Dedicated mobile dropdown toggle button (separate from link) */
.vb-nav-drop-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}
.vb-nav-drop-toggle:hover { background: rgba(127,127,127,0.14); }
.vb-nav-drop-toggle:focus {
  outline: 2px solid var(--vb-color1, #6366f1);
  outline-offset: 2px;
}

/* Caret (drop-down arrow) */
.vb-nav-caret {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s;
}
.vb-nav-item.has-dropdown:hover > .vb-nav-link .vb-nav-caret,
.vb-nav-item.has-dropdown.is-open > .vb-nav-link .vb-nav-caret { transform: rotate(180deg); }

/* Dropdown panel */
.vb-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 1100;
  animation: vbDropIn 0.15s ease;
}
@keyframes vbDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vb-nav-item:last-child > .vb-dropdown,
.vb-nav-item:nth-last-child(2) > .vb-dropdown { left: auto; right: 0; }
.vb-nav-item.has-dropdown:hover > .vb-dropdown { display: block; }
/* Mobile accordion: show dropdown when parent item has .is-open */
.vb-nav-item.has-dropdown.is-open > .vb-dropdown { display: block; }
/* Inside mobile nav wrappers: reset floating panel to inline accordion */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-item.has-dropdown.is-open > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-item.has-dropdown.is-open > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-item.has-dropdown.is-open > .vb-dropdown {
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 8px;
  min-width: 0;
  padding: 4px 0 4px 12px;
  margin-top: 4px;
  animation: none;
  background: rgba(0,0,0,0.04);
}
/* Same reset for inline hamburger menus still inside .vb-menu-responsive on mobile */
@media (max-width: 768px) {
  .vb-menu-responsive .vb-nav-item.has-dropdown.is-open > .vb-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 8px;
    min-width: 0;
    padding: 4px 0 4px 12px;
    margin-top: 4px;
    animation: none;
    background: rgba(0,0,0,0.04);
  }
}

/* Child links inside dropdown */
.vb-nav-child  { display: block; }
.vb-nav-child-link {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 450;
  border-radius: 7px;
  color: var(--vb-black, #1e293b);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.vb-nav-child-link:hover { background: rgba(0,0,0,0.05); color: var(--vb-color1); text-decoration: none; }

/* ── Builder nav layout variants ── */
/* List layout: vertical stack */
.vb-menu-list .vb-nav-list { flex-direction: column; align-items: stretch; }
/* Horizontal / Hamburger: row (default flex-direction already row) */
.vb-menu-horizontal .vb-nav-list,
.vb-menu-hamburger  .vb-nav-list { flex-direction: row; }
/* Alignment controls */
.vb-menu-align-left   .vb-nav-list { justify-content: flex-start; }
.vb-menu-align-center .vb-nav-list { justify-content: center; }
.vb-menu-align-right  .vb-nav-list { justify-content: flex-end; }

/* ── Responsive toggle button ── */
/* Header hamburger: .vb-mobile-toggle (template.js).
   Builder menu blocks: .vb-builder-menu-toggle (must not share the header class). */
.vb-mobile-toggle:focus,
.vb-builder-menu-toggle:focus { outline: 2px solid var(--vb-color1, #6366f1); outline-offset: 2px; }

.vb-mobile-toggle span,
.vb-builder-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.vb-mobile-toggle[aria-expanded="true"] span:nth-child(1),
.vb-builder-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vb-mobile-toggle[aria-expanded="true"] span:nth-child(2),
.vb-builder-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vb-mobile-toggle[aria-expanded="true"] span:nth-child(3),
.vb-builder-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.vb-builder-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 6px 8px;
  line-height: 1;
  box-sizing: content-box;
}
.vb-builder-menu-toggle.vb-menu-toggle-label {
  flex-direction: row;
  gap: 6px;
  color: #0f172a;
}

/* ── Mobile nav wrapper — flyout (fixed so it escapes overflow:hidden parents) ── */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout {
  position: fixed;
  z-index: 21000;
  min-width: 200px;
  background: var(--vb-bg, #fff);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  padding: 8px;
  color: var(--vb-black, #1e293b);
  /* top/left set by JS toggle handler based on button bounding rect */
}

/* ── Mobile nav wrapper — drawer (slides in from right) ── */
[id^="vb-menu-nav-"].vb-menu-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  z-index: 20500;
  background: var(--vb-bg, #fff);
  box-shadow: -6px 0 32px rgba(0,0,0,0.14);
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
  padding: 20px 16px 32px;
  flex-direction: column;
  gap: 4px;
}
[id^="vb-menu-nav-"].vb-menu-mobile-drawer.is-open { right: 0; }
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-list  { flex-direction: column; align-items: stretch; gap: 2px; }
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-link  { padding: 10px 14px; border-radius: 7px; font-size: 15px; }

/* ── Mobile nav wrapper — inline (expands below button) ── */
[id^="vb-menu-nav-"].vb-menu-mobile-inline {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
[id^="vb-menu-nav-"].vb-menu-mobile-inline.is-open { max-height: 800px; }
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-link { padding: 10px 14px; border-radius: 8px; font-size: 15px; }

/* Flyout/inline/drawer hidden by default; shown via .is-open */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer,
[id^="vb-menu-nav-"].vb-menu-mobile-inline { display: none; }
[id^="vb-menu-nav-"].vb-menu-mobile-flyout.is-open,
[id^="vb-menu-nav-"].vb-menu-mobile-inline.is-open { display: block; }
[id^="vb-menu-nav-"].vb-menu-mobile-drawer.is-open { display: flex; }

/* On mobile, hide dropdowns (use accordion style instead) */
@media (max-width: 768px) {
  .vb-menu-responsive .vb-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .vb-menu-responsive .vb-nav-item.has-dropdown:not(.is-open):hover > .vb-dropdown { display: none; }
  .vb-menu-responsive .vb-nav-item.has-dropdown.is-open > .vb-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--vb-color1, #6366f1);
    border-radius: 0;
    background: rgba(0,0,0,0.03);
    padding: 4px 0 4px 12px;
    margin: 2px 0 4px;
    animation: none;
  }
}

/* ── Inside flyout / inline / drawer: always use click-accordion, never hover ── */
/* Disable CSS :hover for dropdowns inside all builder nav wrappers */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-item.has-dropdown:not(.is-open):hover > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-item.has-dropdown:not(.is-open):hover > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-item.has-dropdown:not(.is-open):hover > .vb-dropdown { display: none !important; }

/* Dropdown inside wrappers: static accordion positioning */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-dropdown {
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  border-left: 3px solid var(--vb-color1, #6366f1) !important;
  border-radius: 0 !important;
  background: rgba(0,0,0,0.04) !important;
  padding: 4px 0 4px 12px !important;
  margin: 2px 0 4px !important;
  min-width: 0 !important;
  animation: none !important;
  display: none;
}
/* Show when .is-open is toggled by JS */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-item.has-dropdown.is-open > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-item.has-dropdown.is-open > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-item.has-dropdown.is-open > .vb-dropdown { display: block !important; }
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown > .vb-nav-link[aria-expanded="true"] ~ .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown > .vb-nav-child-link[aria-expanded="true"] ~ .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown > .vb-nav-link[aria-expanded="true"] ~ .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown > .vb-nav-child-link[aria-expanded="true"] ~ .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown > .vb-nav-link[aria-expanded="true"] ~ .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown > .vb-nav-child-link[aria-expanded="true"] ~ .vb-dropdown { display: block !important; }

/* In mobile wrappers, show dedicated dropdown toggle button and hide link caret */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-drop-toggle,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-drop-toggle,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-drop-toggle {
  display: inline-flex;
}
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-link .vb-nav-caret,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .vb-nav-link .vb-nav-caret,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .vb-nav-link .vb-nav-caret {
  display: none;
}
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown.is-open > .vb-nav-drop-toggle .vb-nav-caret,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown.is-open > .vb-nav-drop-toggle .vb-nav-caret,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown.is-open > .vb-nav-drop-toggle .vb-nav-caret {
  transform: rotate(180deg);
}

/* Flyout nav list: always vertical */
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .vb-nav-link { padding: 10px 14px; border-radius: 8px; }
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown > .vb-nav-link,
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown > .vb-nav-child-link,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown > .vb-nav-link,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown > .vb-nav-child-link,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown > .vb-nav-link,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown > .vb-nav-child-link {
  flex: 1 1 auto;
}
[id^="vb-menu-nav-"].vb-menu-mobile-flyout .has-dropdown > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-inline .has-dropdown > .vb-dropdown,
[id^="vb-menu-nav-"].vb-menu-mobile-drawer .has-dropdown > .vb-dropdown {
  width: 100%;
}

/* ── Builder nav overlay — shown behind flyout / drawer ── */
.vb-builder-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 20000; /* below drawer/flyout but above page content */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vb-builder-nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Old class names kept for backwards compat (commented out — do not delete)
.vb-menu-list, .vb-menu-sub { ... }
.vb-menu-item > a { ... }
.vb-menu-horizontal .vb-menu-list { ... }
*/

/* ═══════════════════════════════════════════════════════════
   SECTION EMBED BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-section { width: 100%; }
.vb-section-embed { width: 100%; }
.vb-section-embed-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(16,185,129,0.06);
  border: 1px dashed #10b981;
  border-radius: 8px;
  color: #6ee7b7;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   FEATURED IMAGE BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-featuredimage { width: 100%; }
.vb-block-featuredimage img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════════════════
   CARD BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-card { width: 100%; }

.vb-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.vb-card-img-wrap     { overflow: hidden; flex-shrink: 0; }
.vb-card-img-wrap img { width: 100%; display: block; object-fit: cover; transition: transform 0.3s; }
.vb-card:hover .vb-card-img-wrap img { transform: scale(1.03); }
.vb-card-body         { flex: 1; padding: 20px; }
.vb-card-title        { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.vb-card-text         { font-size: 0.9rem; opacity: 0.8; margin: 0 0 12px; line-height: 1.5; }
.vb-card-footer       { padding: 0 20px 20px; }

/* Variant: horizontal */
.vb-card.is-horizontal                      { flex-direction: row; }
.vb-card.is-horizontal .vb-card-img-wrap    { width: 40%; flex-shrink: 0; }
.vb-card.is-horizontal .vb-card-img-wrap img { height: 100%; }
@media (max-width: 575px) {
  .vb-card.is-horizontal                   { flex-direction: column; }
  .vb-card.is-horizontal .vb-card-img-wrap { width: 100%; height: 220px !important; }
}

/* Variant: overlay — image is the card background */
.vb-card.is-overlay                              { position: relative; overflow: hidden; }
.vb-card.is-overlay .vb-card-body               { flex: none; }
.vb-card.is-overlay .vb-card-overlay-inner {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  color: #fff;
}
.vb-card.is-overlay .vb-card-body  { color: #fff; }
.vb-card.is-overlay .vb-card-title { color: #fff; }
.vb-card.is-overlay .vb-card-text  { color: rgba(255,255,255,.8); opacity: 1; }

/* Overlay content position */
.vb-card.is-overlay .vb-card-overlay-inner.is-pos-top    { justify-content: flex-start; background: linear-gradient(to bottom, rgba(0,0,0,.7) 0%, rgba(0,0,0,.15) 60%, transparent 100%); }
.vb-card.is-overlay .vb-card-overlay-inner.is-pos-center { justify-content: center; background: rgba(0,0,0,.4); }
.vb-card.is-overlay .vb-card-overlay-inner.is-pos-bottom { justify-content: flex-end; }

/* ═══════════════════════════════════════════════════════════
   VIDEO TESTIMONIAL BLOCK
═══════════════════════════════════════════════════════════ */
.vb-vidtest {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 12px;
}
.vb-vidtest-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}
.vb-vidtest:hover .vb-vidtest-bg { transform: scale(1.04); }
.vb-vidtest-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.vb-vidtest-play-btn {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.vb-vidtest:hover .vb-vidtest-play-btn {
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%) scale(1.1);
}
.vb-vidtest-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
}
.vb-vidtest-quote {
  font-style: italic;
  color: #fff;
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.vb-vidtest-author { display: flex; flex-direction: column; gap: 2px; }
.vb-vidtest-author strong { color: #fff; font-size: 0.95rem; font-weight: 700; }
.vb-vidtest-author span  { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

/* Lightbox */
.vb-vidtest-lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vbVidLbIn 0.18s ease;
}
@keyframes vbVidLbIn { from { opacity: 0; } to { opacity: 1; } }
.vb-vidtest-lb-inner {
  position: relative;
  width: 92%;
  max-width: 960px;
}
.vb-vidtest-lb-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.vb-vidtest-lb-close:hover { opacity: 1; }
.vb-vidtest-lb-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
}
.vb-vidtest-lb-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
   ═══════════════════════════════════════════════════════════ */

.vb-block-gallery { width: 100%; }

.vb-gallery {
  display: grid;
  /* grid-template-columns set inline by renderer: repeat(N,1fr) */
  gap: var(--vb-gal-gap, 8px);
}
.vb-gallery-item { overflow: hidden; border-radius: var(--vb-gal-radius, 4px); cursor: pointer; }
.vb-gallery-item img {
  width: 100%;
  height: var(--vb-gal-height, 180px);
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.vb-gallery-item:hover img { transform: scale(1.04); }
.vb-gallery-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(99,102,241,0.06);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
}
/* Gallery: tablet — collapse 3+ cols to 2 */
@media (max-width: 991px) {
  .vb-gallery[data-cols="3"],
  .vb-gallery[data-cols="4"],
  .vb-gallery[data-cols="5"] { grid-template-columns: repeat(2, 1fr) !important; }
}
/* Gallery: mobile — everything max 2 cols */
@media (max-width: 767px) {
  .vb-gallery[data-cols="2"],
  .vb-gallery[data-cols="3"],
  .vb-gallery[data-cols="4"],
  .vb-gallery[data-cols="5"] { grid-template-columns: repeat(2, 1fr) !important; }
}
/* Gallery: small mobile — always 1 col */
@media (max-width: 480px) {
  .vb-gallery { grid-template-columns: repeat(1, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════
   FRONTEND PAGE WRAPPER
   ═══════════════════════════════════════════════════════════ */

.com-aurabuilder-page { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   PREVIEW BAR
   ═══════════════════════════════════════════════════════════ */

.vb-preview-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #0f0f1a; color: #e2e8f0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px; font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  gap: 12px; box-shadow: 0 -4px 20px rgba(0,0,0,.4);
}
.vb-preview-bar-label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.vb-preview-bar-label::before { content: '👁'; }
.vb-preview-bar a {
  color: #a5b4fc; text-decoration: none; font-weight: 600;
  padding: 4px 12px; border: 1px solid #6366f1; border-radius: 6px; font-size: 12px;
}
.vb-preview-bar a:hover { background: #6366f1; color: #fff; }

/* ═══════════════════════════════════════════════════════════
   LIST BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-block-list { width: 100%; }

/* Anchor colour inherits — prevents browser default blue on list links */
.vb-block-list a,
.vb-list a,
.vb-list-icon-item a { color: inherit; text-decoration: none; }
.vb-block-list a:hover,
.vb-list a:hover,
.vb-list-icon-item a:hover { text-decoration: underline; opacity: 0.85; }

.vb-list {
  margin: 0;
  padding: 0 0 0 1.4em;
  line-height: 1.8;
}
.vb-list li { margin-bottom: 0.35em; }

/* Bullet */
.vb-list--bullet { list-style: disc; }

/* Ordered */
.vb-list--ordered { list-style: decimal; }

/* When the wrapper uses flex centering, pull bullets inside so they center properly */
[style*="align-items:center"] .vb-list--bullet,
[style*="align-items:flex-end"] .vb-list--bullet,
[style*="align-items:center"] .vb-list--ordered,
[style*="align-items:flex-end"] .vb-list--ordered {
  list-style-position: inside;
  padding-left: 0;
}

/* Center inline lists when inside a flex-centered wrapper */
[style*="align-items:center"] .vb-list--inline,
[style*="align-items:flex-end"] .vb-list--inline {
  /* justify-content: center; */
}

/* Check — replaces bullets with ✓ marks */
.vb-list--check { list-style: none; padding-left: 0; }
.vb-list--check li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding-left: 0;
}
.vb-list--check li::before {
  content: "✓";
  color: var(--vb-check-color, #6366f1) !important;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
  font-family: sans-serif;
}

/* Icon list — custom FA icon per item */
.vb-list--icon {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vb-list-icon-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 3px 0;
  line-height: 1.6;
}
.vb-list-icon-item i {
  margin-top: 0.15em; /* optical align with text cap height */
  flex-shrink: 0;
  text-align: center;
}

/* Inline list */
.vb-list--inline {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.2em;
  align-items: center;
}
.vb-list--inline li { margin-bottom: 0; }
.vb-list--icon.vb-list--inline .vb-list-icon-item { padding: 0; }

/* ═══════════════════════════════════════════════════════════
   TABLE BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-table-wrap { width: 100%; overflow-x: auto; }

.vb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.vb-table th,
.vb-table td {
  padding: 10px 14px;
  border: 1px solid rgba(128,128,128,0.2);
  text-align: left;
  vertical-align: top;
}
.vb-table thead th {
  background: rgba(99,102,241,0.08);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: inherit;
}
.vb-table--striped tbody tr:nth-child(odd) td {
  background: rgba(128,128,128,0.04);
}
.vb-table--striped tbody tr:hover td {
  background: rgba(99,102,241,0.06);
}
.vb-table--noborder th,
.vb-table--noborder td { border: none; }
/* Sub-layout cells: strip stray trailing margins so cell padding stays even. */
.vb-table td > :last-child,
.vb-table th > :last-child { margin-bottom: 0; }

/* Admin canvas placeholder */
.vb-table-placeholder {
  display: flex; align-items: center; gap: 10px;
  padding: 20px; background: rgba(99,102,241,0.06);
  border: 1px dashed rgba(99,102,241,0.3); border-radius: 8px;
  color: #94a3b8; font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   PRICING TABLE BLOCK
   ═══════════════════════════════════════════════════════════ */

.vb-pricing {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 0 0 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.vb-pricing:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-2px); }

.vb-pricing-badge {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
}

.vb-pricing-header {
  padding: 32px 28px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.vb-pricing-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  margin-bottom: 10px;
}
.vb-pricing-price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.vb-pricing-period {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.55;
  vertical-align: middle;
  letter-spacing: 0;
}
.vb-pricing-tagline {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 8px;
}

.vb-pricing-features {
  list-style: none;
  margin: 0;
  padding: 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vb-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.vb-pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  font-size: 10px;
}
.vb-pricing-check i { color: #fff; }

.vb-pricing-footer {
  padding: 0 28px;
}
.vb-pricing-footer .vb-btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── Social Icons ─────────────────────────────────── */
.vb-social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.vb-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.vb-social-link:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}
.vb-social-icons-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #f1f5f9;
  border-radius: 8px;
  color: #64748b;
  font-size: 13px;
  border: 1px dashed #cbd5e1;
}

/* ── Accordion style variants ── */
/* Padding/background live on .vb-accordion-inner so the grid height animation
   on .vb-accordion-content collapses fully (no leftover padding sliver). */
.vb-accordion--line .vb-accordion-item {
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.vb-accordion--line .vb-accordion-item:hover,
.vb-accordion--line .vb-accordion-item.is-open { box-shadow: none; border-color: transparent; border-bottom-color: #e2e8f0; }
.vb-accordion--line .vb-accordion-header { padding: 14px 0; background: transparent; }
.vb-accordion--line .vb-accordion-item.is-open > .vb-accordion-header { background: transparent; }
.vb-accordion--line .vb-accordion-lead { width: 28px; height: 28px; border-radius: 8px; }
.vb-accordion--line .vb-accordion-body { padding: 0 0 14px; }
.vb-accordion--boxed .vb-accordion-item,
.vb-accordion--card .vb-accordion-item { border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.vb-accordion--boxed .vb-accordion-header,
.vb-accordion--card .vb-accordion-header { padding: 16px 18px; background: #f8fafc; }
.vb-accordion--boxed .vb-accordion-body,
.vb-accordion--card .vb-accordion-body { padding: 0 18px 16px; }
.vb-accordion--solid .vb-accordion-item { margin-bottom: 8px; border-radius: 14px; overflow: hidden; border: none; }
.vb-accordion--solid .vb-accordion-header { padding: 16px 18px; transition: background 0.15s, color 0.15s; }
.vb-accordion--solid .vb-accordion-lead { background: rgba(255,255,255,0.18); color: inherit; }
.vb-accordion--solid .vb-accordion-body { padding: 14px 18px; background: #f8fafc; }

/* Centered check lists under centered section copy */
.jb-center-list .vb-block-list {
  display: flex;
  justify-content: center;
}
.jb-center-list .vb-list {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

/* ── Section video background ── */
.vb-section-video-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.vb-section-video-bg video,
.vb-section-video-bg iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: none;
}
.vb-section { position: relative; overflow: hidden; }
.vb-section-columns { position: relative; z-index: 2; }

/* Parallax background layer */
.vb-parallax-bg {
  position: absolute;
  inset: -30% 0;
  width: 100%;
  height: 160%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translateY(0);
  pointer-events: none;
}

/* ── Floating Element ───────────────────────────────────── */
.vb-float-block { pointer-events: auto; }
.vb-float-block img { display: block; max-width: 100%; }
.vb-float-preview { border: 1px dashed #94a3b8; border-radius: 6px; padding: 8px; background: rgba(99,102,241,0.04); }
.vb-float-badge { font-size: 11px; color: #6366f1; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }

/* ── Modal Popup ────────────────────────────────────────── */
.vb-modal-trigger { cursor: pointer; display: inline-block; }
.vb-modal-text-trigger { cursor: pointer; color: #6366f1; text-decoration: underline; text-underline-offset: 3px; }
.vb-modal-title { margin: 0 0 16px; font-size: 1.25rem; font-weight: 700; color: #1e293b; }
.vb-modal-content { box-sizing: border-box; }

/* ── Tabs ───────────────────────────────────────────────── */
.vb-tabs { width: 100%; }
.vb-tab-btn {
  background: none; border: none; cursor: pointer; padding: 10px 18px;
  font-size: 14px; font-weight: 500; color: #64748b;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap; line-height: 1.4;
}
.vb-tab-panel { display: none; }
/* Fade + subtle rise in each time a panel becomes active for smoother switching */
.vb-tab-panel.is-active {
  display: block;
  animation: vbTabFadeIn 0.28s ease both;
}
@keyframes vbTabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .vb-tab-panel.is-active { animation: none; }
}

/* Top layout */
.vb-tabs-top .vb-tabs-nav { display: flex; flex-wrap: wrap; gap: 0; }
.vb-tabs-top .vb-tabs-content { }

/* Sidebar layout */
.vb-tabs-sidebar { display: flex; gap: 0; align-items: flex-start; }
.vb-tabs-sidebar .vb-tabs-nav { display: flex; flex-direction: column; min-width: 180px; flex-shrink: 0; gap: 2px; }
.vb-tabs-sidebar .vb-tabs-content { flex: 1; min-width: 0; }

/* — Underline design */
.vb-tabs-underline.vb-tabs-top .vb-tabs-nav { border-bottom: 2px solid #e2e8f0; }
.vb-tabs-underline.vb-tabs-top .vb-tab-btn { border-bottom: 2px solid transparent; margin-bottom: -2px; border-radius: 4px 4px 0 0; }
.vb-tabs-underline.vb-tabs-top .vb-tab-btn.is-active { border-bottom-color: var(--vb-tabs-active-bg, #6366f1); color: var(--vb-tabs-active-text, var(--vb-tabs-active-bg, #6366f1)); }
.vb-tabs-underline.vb-tabs-top .vb-tabs-content { padding-top: 20px; }
.vb-tabs-underline.vb-tabs-sidebar .vb-tabs-nav { border-right: 2px solid #e2e8f0; padding-right: 0; }
.vb-tabs-underline.vb-tabs-sidebar .vb-tab-btn { border-right: 2px solid transparent; margin-right: -2px; border-radius: 4px 0 0 4px; text-align: left; width: 100%; }
.vb-tabs-underline.vb-tabs-sidebar .vb-tab-btn.is-active { border-right-color: var(--vb-tabs-active-bg, #6366f1); color: var(--vb-tabs-active-text, var(--vb-tabs-active-bg, #6366f1)); }
.vb-tabs-underline.vb-tabs-sidebar .vb-tabs-content { padding-left: 24px; }

/* — Pills design */
.vb-tabs-pills.vb-tabs-top .vb-tabs-nav { gap: 6px; padding-bottom: 12px; }
.vb-tabs-pills .vb-tab-btn { border-radius: 50px; padding: 8px 20px; }
.vb-tabs-pills .vb-tab-btn.is-active { background: var(--vb-tabs-active-bg, #6366f1); color: var(--vb-tabs-active-text, #fff); }
.vb-tabs-pills.vb-tabs-sidebar .vb-tabs-nav { gap: 6px; padding-right: 16px; }
.vb-tabs-pills.vb-tabs-sidebar .vb-tab-btn { text-align: left; width: 100%; }

/* — Boxed design */
.vb-tabs-boxed.vb-tabs-top .vb-tabs-nav { background: #f8fafc; border-radius: 12px 12px 0 0; padding: 6px 6px 0; gap: 4px; border-bottom: 1px solid #e2e8f0; }
.vb-tabs-boxed.vb-tabs-top .vb-tab-btn { border-radius: 8px 8px 0 0; padding: 9px 18px; margin-bottom: -1px; border: 1px solid transparent; border-bottom: none; }
.vb-tabs-boxed.vb-tabs-top .vb-tab-btn.is-active { background: var(--vb-tabs-active-bg, #fff); border-color: #e2e8f0; color: var(--vb-tabs-active-text, #1e293b); font-weight: 600; border-bottom-color: transparent; }
.vb-tabs-boxed.vb-tabs-top .vb-tabs-content { border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 12px 12px; padding: 20px; }
.vb-tabs-boxed.vb-tabs-sidebar .vb-tabs-nav { background: #f8fafc; border-radius: 12px; padding: 8px; gap: 4px; }
.vb-tabs-boxed.vb-tabs-sidebar .vb-tab-btn { border-radius: 8px; text-align: left; width: 100%; }
.vb-tabs-boxed.vb-tabs-sidebar .vb-tab-btn.is-active { background: var(--vb-tabs-active-bg, #fff); box-shadow: 0 1px 4px rgba(0,0,0,0.1); color: var(--vb-tabs-active-text, #1e293b); font-weight: 600; }
.vb-tabs-boxed.vb-tabs-sidebar .vb-tabs-content { padding-left: 20px; }

@media (max-width: 767px) {
  .vb-tabs-sidebar { flex-direction: column; }
  .vb-tabs-sidebar .vb-tabs-nav { min-width: 0; flex-direction: row; flex-wrap: wrap; width: 100%; }
  .vb-tabs-sidebar .vb-tabs-content { padding-left: 0 !important; padding-top: 16px; }
  .vb-tabs-underline.vb-tabs-sidebar .vb-tab-btn { border-right: none; border-bottom: 2px solid transparent; margin-right: 0; margin-bottom: -2px; }
  .vb-tabs-underline.vb-tabs-sidebar .vb-tabs-nav { border-right: none; border-bottom: 2px solid #e2e8f0; padding-right: 0; }
  .vb-tabs-underline.vb-tabs-sidebar .vb-tab-btn.is-active { border-right-color: transparent; border-bottom-color: var(--vb-tabs-active-bg, #6366f1); }
}

/* ── Suppress global a[target=_blank]::before icon across all Aura elements ── */
a[target="_blank"]::before,
a[target="_blank"]:before {
  content: none !important;
  padding: 0 !important;
  font-size: 0 !important;
  display: none !important;
}
.vb-social-icons { display: flex; flex-wrap: wrap; }

/* ── Slider (frontend) ── */
.vb-slider { position: relative; overflow: hidden; width: 100%; }
.vb-slider-slides { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); }
.vb-slider-slide {
  min-width: 100%; position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
}
.vb-slider-slide-inner {
  position: relative; z-index: 2; padding: 60px 48px; display: flex;
  flex-direction: column; gap: 16px; width: 100%;
}
.vb-slider-slide-inner.align-left  { align-items: flex-start; text-align: left; }
.vb-slider-slide-inner.align-center{ align-items: center;     text-align: center; }
.vb-slider-slide-inner.align-right { align-items: flex-end;   text-align: right; }
.vb-slider-slide-heading { font-size: clamp(24px,4vw,48px); font-weight: 700; line-height: 1.15; }
.vb-slider-slide-subtext { font-size: clamp(14px,1.5vw,18px); opacity: 0.88; max-width: 560px; }
.vb-slider-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.vb-slider-slide-bg-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* Sub-layout overlay rendered on top of slide background */
.vb-slider-slide-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.vb-slider-slide-overlay > .vb-row { margin-bottom: 0; }
.vb-slider-ctrl {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: rgba(0,0,0,0.35); color: #fff; border: none; border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; backdrop-filter: blur(4px);
}
.vb-slider-ctrl:hover { background: rgba(0,0,0,0.65); }
.vb-slider-ctrl--prev { left: 16px; }
.vb-slider-ctrl--next { right: 16px; }
.vb-slider-dots-row { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; z-index: 5; align-items: center; }
.vb-slider-dot-btn { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.vb-slider-dot-btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: 2px solid rgba(255,255,255,0.6); box-sizing: border-box; transition: background 0.2s, transform 0.2s, border-color 0.2s; }
.vb-slider-dot-btn:hover::before { background: rgba(255,255,255,0.75); }
.vb-slider-dot-btn.is-active::before { background: #fff; border-color: #fff; transform: scale(1.3); }
.vb-gallery-slider .vb-gallery-slider-media {
  position: absolute;
  inset: 0;
}
.vb-gallery-slider .vb-gallery-slider-media img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Carousel (frontend) ── */
.vb-carousel { position: relative; }
.vb-carousel-viewport { overflow: hidden; width: 100%; }
.vb-carousel-track { display: flex; transition: transform 0.4s ease; }
.vb-carousel-card {
  flex-shrink: 0; border-radius: 10px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
}
/* Sub-layout background layer */
.vb-carousel-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* Sub-layout content layer (sits above bg) */
.vb-carousel-card-content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.vb-carousel-card-content > .vb-row { margin-bottom: 0; }
/* Legacy card parts (backwards compat) */
.vb-carousel-card-img { width: 100%; display: block; object-fit: cover; position: relative; z-index: 1; }
.vb-carousel-card-body { padding: 16px; position: relative; z-index: 1; }
.vb-carousel-card-heading { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.vb-carousel-card-subtext { font-size: 13px; color: #64748b; margin-bottom: 10px; }
.vb-carousel-dots-row { display: flex; justify-content: center; gap: 2px; margin-top: 18px; align-items: center; }
.vb-carousel-dot-btn { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.vb-carousel-dot-btn::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.2); border: 2px solid rgba(0,0,0,0.2); box-sizing: border-box; transition: background 0.2s, transform 0.2s, border-color 0.2s, width 0.2s; }
.vb-carousel-dot-btn:hover::before { background: rgba(0,0,0,0.4); }
.vb-carousel-dot-btn.is-active::before { background: var(--vb-dot-color, currentColor); border-color: var(--vb-dot-color, currentColor); transform: scale(1.3); }

/* Dot style variants */
.vb-carousel-dot-btn.is-style-pill::before { border-radius: 10px; width: 10px; height: 4px; border: none; background: rgba(255,255,255,0.4); }
.vb-carousel-dot-btn.is-style-pill:hover::before { background: rgba(255,255,255,0.7); }
.vb-carousel-dot-btn.is-style-pill.is-active::before { width: 28px; background: var(--vb-dot-color, #fff); transform: none; }
.vb-carousel-dot-btn.is-style-line::before { border-radius: 2px; width: 20px; height: 2px; border: none; background: rgba(255,255,255,0.35); }
.vb-carousel-dot-btn.is-style-line.is-active::before { background: var(--vb-dot-color, #fff); width: 36px; transform: none; }

/* Arrow style variants */
.vb-carousel-nav.is-circle { border-radius: 50%; }
.vb-carousel-nav.is-pill { border-radius: 24px; width: auto; padding: 0 14px; height: 36px; }
.vb-carousel-nav { position: absolute; top: 40%; transform: translateY(-50%); z-index: 3;
  background: rgba(255,255,255,0.9); color: #1e293b; border: 1px solid #e2e8f0;
  border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center; transition: box-shadow 0.15s;
}
.vb-carousel-nav:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.vb-carousel-nav--prev { left: -8px; }
.vb-carousel-nav--next { right: -8px; }

/* ── Marquee (frontend) ── */
.vb-marquee { overflow: hidden; white-space: nowrap; }
.vb-marquee-track { display: inline-flex; animation: vb-marquee-scroll linear infinite; }
.vb-marquee--right .vb-marquee-track { animation-direction: reverse; }
.vb-marquee-item { display: inline-block; }
@keyframes vb-marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 〰 Shape Divider (frontend) */
.vb-block-shapedivider { padding: 0 !important; margin: 0 !important; line-height: 0; background: transparent !important; }
.vb-shapedivider { line-height: 0; overflow: hidden; }
.vb-shapedivider svg { display: block; width: 100%; }

/* ✦ Decorative Element (frontend) - kept for backwards compat */
.vb-block-decorative { height: 0 !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; pointer-events: none; }
.vb-block-decorative img { display: block; max-width: none; }
.vb-decorative-preview { position: relative; }
.vb-decorative-preview img { max-width: 100%; display: block; margin: 0 auto; }

/* ⬟ Shape Block (frontend) */
.vb-block-shape { padding: 8px 0; }
.vb-block-shape > div:not(.vb-block-shape) { display: inline-block; position: relative; }
.vb-block-shape svg { display: block; max-width: 100%; height: auto; }
.vb-shape-text-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; width: 80%; pointer-events: none; line-height: 1.3;
}

/* iFrame / Embed block */
.vb-block-iframe { width: 100%; }
.vb-block-iframe iframe { display: block; max-width: 100%; }

/* Article / Child Pages grid */
.vb-article-grid { width: 100%; }
.vb-article-card { background: #fff; border-radius: 8px; overflow: hidden; }
.vb-article-card a { text-decoration: none; color: inherit; }

/* Hover-reveal card variant */
.vb-article-card.is-hover { position: relative; overflow: hidden; }
.vb-article-card.is-hover img { display: block; width: 100%; object-fit: cover; }
.vb-card-hover-content {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.vb-article-card.is-hover.hover-pos-bottom .vb-card-hover-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  transform: translateY(12px);
}
.vb-article-card.is-hover.hover-pos-center .vb-card-hover-content {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  transform: scale(0.96);
}
.vb-article-card.is-hover:hover .vb-card-hover-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.vb-category-list,
.vb-tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.vb-category-list li,
.vb-tag-list li {
  margin: 0;
  padding: 0;
}
.vb-category-list--list,
.vb-category-list--tree,
.vb-tag-list.vb-category-list--list,
.vb-tag-list.vb-category-list--tree {
  gap: 6px;
}
.vb-category-list--list .vb-category-card,
.vb-category-list--tree .vb-category-card,
.vb-category-list--list .vb-tag-item,
.vb-category-list--tree .vb-tag-item {
  display: block;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 2px 0;
  overflow: visible;
}
.vb-category-list--tree .vb-category-link,
.vb-category-list--list .vb-category-link {
  font-weight: 500;
}
.vb-category-card {
  display: flex;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.vb-category-card-media {
  width: 160px;
  min-height: 120px;
  background: #f1f5f9;
  flex-shrink: 0;
}
.vb-category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vb-category-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  flex: 1;
}
.vb-category-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}
.vb-category-count {
  opacity: .65;
  font-size: .92em;
  margin-left: 6px;
}
.vb-category-desc {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}
.vb-category-btn {
  width: fit-content;
}
.vb-category-list .vb-category-link {
  color: inherit;
  text-decoration: none;
}
.vb-category-list .vb-category-link:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .vb-category-card {
    flex-direction: column;
  }
  .vb-category-card-media {
    width: 100%;
    min-height: 160px;
  }
}

/* ═══════════════════════════════════════════════════════════
   TEXT ANIMATIONS (vb-anim-* span classes)
   Applied by the FormatBar "✨ Animate" dropdown — wraps
   selected text in <span class="vb-anim vb-anim-xxx">.
   ═══════════════════════════════════════════════════════════ */

/* Base animation span style — keep typography aligned with parent text */
/* display:inline-block is required for transform-based animations to work on inline elements */
.vb-anim {
  display: inline-block;
  line-height: inherit;
  vertical-align: baseline;
}

/* Text FX wrappers applied from FormatBar */
.vb-tfx {
  line-height: inherit;
  vertical-align: baseline;
}
.vb-tfx.vb-tfx-glow {
  text-shadow: 0 0 0.2em currentColor, 0 0 0.55em currentColor;
}
.vb-tfx.vb-tfx-shadow {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

/* Typewriter — loop: type → hold → delete → repeat */
@keyframes vb-typewriter-loop {
  0%, 6%    { clip-path: inset(0 100% 0 0); }
  42%, 58%  { clip-path: inset(0 0 0 0); }
  94%, 100% { clip-path: inset(0 100% 0 0); }
}
@keyframes vb-cursor-blink {
  0%, 100% { border-color: currentColor; }
  50%       { border-color: transparent; }
}
.vb-anim.vb-anim-typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.08em solid currentColor;
  animation: vb-typewriter-loop 3.2s steps(30, end) infinite, vb-cursor-blink 0.72s step-end infinite;
}

/* Fade In */
@keyframes vb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.vb-anim.vb-anim-fade-in {
  opacity: 0;
  animation: vb-fade-in 1s ease forwards;
}

/* Slide Up */
@keyframes vb-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vb-anim.vb-anim-slide-up {
  opacity: 0;
  animation: vb-slide-up 0.7s ease forwards;
}

/* Bounce */
@keyframes vb-bounce {
  0%, 100% { transform: translateY(0); }
  25%       { transform: translateY(-8px); }
  75%       { transform: translateY(-4px); }
}
.vb-anim.vb-anim-bounce {
  animation: vb-bounce 0.8s ease infinite;
}

/* Wobble */
@keyframes vb-wobble {
  0%, 100% { transform: rotate(0deg); }
  15%       { transform: rotate(-6deg); }
  30%       { transform: rotate(5deg); }
  45%       { transform: rotate(-4deg); }
  60%       { transform: rotate(3deg); }
  75%       { transform: rotate(-2deg); }
}
.vb-anim.vb-anim-wobble {
  animation: vb-wobble 1.2s ease infinite;
}

/* Pulse */
@keyframes vb-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}
.vb-anim.vb-anim-pulse {
  animation: vb-pulse 1.4s ease-in-out infinite;
}

/* Shake */
@keyframes vb-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}
.vb-anim.vb-anim-shake {
  animation: vb-shake 0.6s ease 1;
}

/* ── Group Block ───────────────────────────────────────────────────────────── */
.vb-block-group .vb-group {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; /* overridden inline by Renderer for "inline" direction */
  gap: 0;
}
.vb-block-group .vb-group > .vb-block {
  margin-bottom: 0;
  padding: 0; /* Remove default .vb-block padding — group gap/item padding handles spacing */
}
/* Inline (row) direction — children sit side by side and wrap.
   Use 1 1 0% (NOT 0 1 auto) so items grow equally instead of claiming full width. */
.vb-block-group .vb-group[style*="flex-direction: row"] > .vb-block,
.vb-block-group .vb-group[style*="flex-direction:row"] > .vb-block {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
}

/* ── VB Utility Classes ────────────────────────────────────────────────────── */

/* Shadow */
.vb-shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06); }
.vb-shadow    { box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06); }
.vb-shadow-lg { box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08); }
.vb-shadow-xl { box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10); }

/* Rounded */
.vb-rounded-sm   { border-radius: 4px; }
.vb-rounded      { border-radius: 8px; }
.vb-rounded-lg   { border-radius: 16px; }
.vb-rounded-xl   { border-radius: 24px; }
.vb-rounded-full { border-radius: 9999px; }

/* Border */
.vb-border   { border: 1px solid rgba(0,0,0,0.10); }
.vb-border-2 { border: 2px solid rgba(0,0,0,0.10); }

/* Overflow / Width */
.vb-overflow-hidden { overflow: hidden; }
.vb-w-full          { width: 100%; }

/* Opacity */
.vb-opacity-25 { opacity: 0.25; }
.vb-opacity-50 { opacity: 0.50; }
.vb-opacity-75 { opacity: 0.75; }
.vb-opacity-90 { opacity: 0.90; }

/* Hover: lift */
.vb-hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.vb-hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }

/* Hover: scale */
.vb-hover-scale { transition: transform 0.2s ease; }
.vb-hover-scale:hover { transform: scale(1.03); }

/* Hover: glow */
.vb-hover-glow { transition: box-shadow 0.2s ease; }
.vb-hover-glow:hover { box-shadow: 0 0 24px rgba(99,102,241,0.45); }

/* Layout helpers */
.vb-d-flex         { display: flex; }
.vb-d-block        { display: block; }
.vb-d-inline       { display: inline; }
.vb-d-inline-block { display: inline-block; }
.vb-d-inline-flex  { display: inline-flex; }
.vb-d-grid         { display: grid; }

.vb-flex-row      { flex-direction: row; }
.vb-flex-col      { flex-direction: column; }
.vb-flex-wrap     { flex-wrap: wrap; }
.vb-flex-nowrap   { flex-wrap: nowrap; }

.vb-items-start   { align-items: flex-start; }
.vb-items-center  { align-items: center; }
.vb-items-end     { align-items: flex-end; }
.vb-items-stretch { align-items: stretch; }

.vb-justify-start   { justify-content: flex-start; }
.vb-justify-center  { justify-content: center; }
.vb-justify-end     { justify-content: flex-end; }
.vb-justify-between { justify-content: space-between; }
.vb-justify-around  { justify-content: space-around; }

.vb-flex-center  { display: flex; align-items: center; justify-content: center; }
.vb-flex-between { display: flex; align-items: center; justify-content: space-between; }

.vb-text-left   { text-align: left; }
.vb-text-center { text-align: center; }
.vb-text-right  { text-align: right; }

.vb-w-full  { width: 100%; }
.vb-w-auto  { width: auto; }
.vb-h-full  { height: 100%; }
.vb-h-auto  { height: auto; }

.vb-gap-0  { gap: 0; }
.vb-gap-1  { gap: 4px; }
.vb-gap-2  { gap: 8px; }
.vb-gap-3  { gap: 12px; }
.vb-gap-4  { gap: 16px; }
.vb-gap-6  { gap: 24px; }
.vb-gap-8  { gap: 32px; }

/* Text */
.vb-text-gradient {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vb-text-balance { text-wrap: balance; }

/* Visual */
.vb-bg-blur   { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.vb-bg-glass  { background: rgba(255,255,255,0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.18); }
.vb-bg-gradient { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }

/* Divider accent bar */
.vb-divider    { display: block; width: 48px; height: 3px; background: #6366f1; border-radius: 2px; }
.vb-divider-lg { display: block; width: 80px; height: 4px; background: #6366f1; border-radius: 2px; }

/* ──────────────────────────────────────────────────────────────────────────
   Aura Animate — drop-in replacement for AOS (Animate On Scroll).
   Self-hosted so we never load aos.js / aos.css from a CDN. Matches the
   AOS attribute API: data-aos="fade-up", data-aos-once="true",
   data-aos-duration="800", data-aos-delay="200".
   Triggered by a tiny IntersectionObserver in the renderer's init script,
   which adds the .aos-animate class when an element scrolls into view.
   ────────────────────────────────────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: var(--aos-d, 700ms);
  transition-delay: var(--aos-del, 0ms);
  transition-timing-function: cubic-bezier(.25, .46, .45, .94);
  will-change: opacity, transform;
}
[data-aos="fade-up"]    { transform: translate3d(0, 40px, 0); }
[data-aos="fade-down"]  { transform: translate3d(0, -40px, 0); }
[data-aos="fade-left"]  { transform: translate3d(40px, 0, 0); }
[data-aos="fade-right"] { transform: translate3d(-40px, 0, 0); }
[data-aos="zoom-in"]    { transform: scale(0.6); }
[data-aos="zoom-out"]   { transform: scale(1.4); }
[data-aos="flip-left"]  { transform: perspective(2500px) rotateY(-100deg); }
[data-aos="flip-right"] { transform: perspective(2500px) rotateY(100deg); }
/* Slide uses a fixed-pixel offset rather than 100% (% would be 100% of the
   element's own height). IntersectionObserver measures the transformed
   bounding box, so a tall section translated by its full height ends up
   completely outside the viewport and is never detected as intersecting —
   the animation would never fire on the live page. 120px gives a more
   dramatic slide than the 40px fade-* while keeping the visual box near
   the natural box so the observer always fires. */
[data-aos="slide-up"]   { transform: translate3d(0, 120px, 0); }
[data-aos="slide-down"] { transform: translate3d(0, -120px, 0); }
[data-aos].aos-animate  { opacity: 1; transform: none; }

/* Respect user preference: skip animations entirely. */
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
}

/* Alert block */
.vb-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 6px; border-width: 1px; border-style: solid; }
.vb-alert .fas { flex-shrink: 0; margin-top: 2px; font-size: 15px; }
.vb-alert-body { flex: 1; min-width: 0; }
.vb-alert-title { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.vb-alert-message { font-size: 14px; line-height: 1.5; }
.vb-alert-dismiss { background: none; border: none; cursor: pointer; padding: 0 0 0 8px; font-size: 18px; line-height: 1; flex-shrink: 0; opacity: .65; }
.vb-alert-dismiss:hover { opacity: 1; }
.vb-alert--info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.vb-alert--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.vb-alert--warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.vb-alert--danger  { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
