* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  font-size: 18px;
  background: #fffef0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */
.vb-nav {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #fffef0;
  border-bottom: 0.5px solid #e0e0e0;
  position: relative;
}

.vb-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  flex-shrink: 0;
}

.vb-studs {
  display: flex;
  gap: 3px;
}

.vb-stud {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* ── Nav menu wrapper (desktop) ──────────────────────────────────────── */
.vb-nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.vb-navlinks {
  display: flex;
  gap: 2px;
}

.vb-navlink {
  font-size: 18px;
  color: #666;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.vb-navlink:hover {
  background: #f5f4d8;
  color: #111;
}

.vb-lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 14px;
  background: #f0eed8;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.vb-lang-sep {
  display: none;
}

/* ── Hamburger button (hidden on desktop) ────────────────────────────── */
.vb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.vb-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.vb-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.vb-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.vb-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.vb-lang-btn {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 0.1s;
}

.vb-lang-btn:hover {
  color: #555;
}

.vb-lang-active {
  background: #fff;
  color: #111;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

.vb-cta {
  padding: 7px 16px;
  border-radius: 99px;
  background: #E24B4A;
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.vb-cta:hover {
  background: #c73e3d;
  color: #fff;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.vb-btn-p {
  padding: 10px 24px;
  border-radius: 99px;
  background: #E24B4A;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.vb-btn-p:hover {
  background: #c73e3d;
  color: #fff;
}

.vb-btn-s {
  padding: 10px 22px;
  border-radius: 99px;
  background: none;
  color: #111;
  border: 0.5px solid #ccc;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.vb-btn-s:hover {
  background: #fffef0;
  color: #111;
}

.vb-btn-green {
  padding: 10px 24px;
  border-radius: 99px;
  background: #1D9E75;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.vb-btn-green:hover {
  background: #178560;
  color: #fff;
}

.vb-btn-sm {
  padding: 5px 14px;
  border-radius: 99px;
  background: none;
  color: #666;
  border: 0.5px solid #ccc;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.vb-btn-sm:hover {
  background: #fffef0;
  color: #111;
}

/* ── Hero row ────────────────────────────────────────────────────────── */
.vb-hero-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

#three-js-container {
  flex: 1;
  height: 560px;
  background: #f5f4d8;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.vb-hero {
  flex: 0 0 50%;
  padding: 40px 24px 32px;
  text-align: center;
  background: #fffef0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  background: #FAEEDA;
  color: #633806;
  font-size: 16px;
  margin-bottom: 16px;
  border: 0.5px solid #FAC775;
}

.vb-badge-icon {
  font-size: 14px;
}

.vb-h1 {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #111;
}

.vb-h1 span {
  color: #E24B4A;
}

.vb-p {
  font-size: 20px;
  color: #666;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 36px;
}

.vb-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ── Bricks row ──────────────────────────────────────────────────────── */
.vb-bricks {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
  padding: 0 24px 32px;
  background: #fffef0;
}

.vb-brick-card {
  width: 56px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.vb-brick-card::before,
.vb-brick-card::after {
  content: '';
  width: 14px;
  height: 7px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.1);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  position: absolute;
  top: -5px;
}

.vb-brick-card::before { left: 8px; }
.vb-brick-card::after  { right: 8px; }

.vb-brick-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ── Divider ─────────────────────────────────────────────────────────── */
.vb-divider {
  height: 0.5px;
  background: #e0e0e0;
  margin: 0 24px;
}

/* ── How it works ────────────────────────────────────────────────────── */
.vb-how {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #fffef0;
}

.vb-step {
  background: #f5f4d8;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.vb-step-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vb-step-n {
  width: 56px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  position: relative;
  flex-shrink: 0;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.vb-step-n::before,
.vb-step-n::after {
  content: '';
  width: 14px;
  height: 7px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.1);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  position: absolute;
  top: -5px;
}

.vb-step-n::before { left: 8px; }
.vb-step-n::after  { right: 8px; }

.vb-step-t {
  font-size: 17px;
  font-weight: 500;
  color: #111;
  margin-bottom: 4px;
}

.vb-step-d {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* ── Upload area ─────────────────────────────────────────────────────── */
.vb-upload-area {
  margin: 0 24px;
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  background: #fffef0;
  cursor: pointer;
  display: block;
}

.vb-upload-area:hover {
  border-color: #E24B4A;
  background: #f7f6d0;
}

.vb-upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FAEEDA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 26px;
  color: #633806;
}

.vb-upload-t {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #111;
}

.vb-upload-s {
  font-size: 17px;
  color: #666;
}

.vb-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.vb-tag {
  font-size: 15px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #fffef0;
  color: #666;
  border: 0.5px solid #e0e0e0;
}

/* ── Generate / submit button ────────────────────────────────────────── */
.vb-gen {
  display: block;
  width: calc(100% - 48px);
  margin: 16px 24px 24px;
  padding: 11px;
  background: #E24B4A;
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.vb-gen:hover {
  background: #c73e3d;
}

/* ── Content page layout ─────────────────────────────────────────────── */
.vb-content {
  padding: 24px;
  background: #fffef0;
  min-height: calc(100vh - 51px);
}

.vb-page-h1 {
  font-size: 26px;
  font-weight: 500;
  color: #111;
  margin-bottom: 12px;
}

.vb-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vb-col {
  min-width: 0;
}

/* ── Stat line ───────────────────────────────────────────────────────── */
.vb-stat {
  font-size: 18px;
  color: #555;
  margin-bottom: 6px;
}

.vb-stat strong {
  color: #111;
  font-weight: 500;
}

/* ── Action bar ──────────────────────────────────────────────────────── */
.vb-action-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}

/* ── Section header ──────────────────────────────────────────────────── */
.vb-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.vb-section-label {
  font-size: 17px;
  font-weight: 500;
  color: #111;
}

/* ── Tables ──────────────────────────────────────────────────────────── */
.vb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.vb-table th {
  text-align: left;
  padding: 8px 12px;
  background: #f5f4d8;
  border-bottom: 0.5px solid #e0e0e0;
  font-weight: 500;
  color: #111;
  font-size: 16px;
}

.vb-table td {
  padding: 8px 12px;
  border-bottom: 0.5px solid #f0f0f0;
  color: #333;
}

.vb-table tr:hover td {
  background: #f7f6d0;
}

/* ── Summary box ─────────────────────────────────────────────────────── */
.vb-summary-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.vb-summary-title {
  font-size: 17px;
  font-weight: 500;
  color: #111;
}

.vb-summary-sub {
  font-size: 15px;
  color: #888;
}

/* ── Forms ───────────────────────────────────────────────────────────── */
.vb-form-group {
  margin-bottom: 16px;
}

.vb-label {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: #111;
  margin-bottom: 6px;
}

.vb-input {
  width: 100%;
  padding: 8px 12px;
  border: 0.5px solid #ccc;
  border-radius: 8px;
  font-size: 18px;
  font-family: inherit;
  color: #111;
}

.vb-input:focus {
  outline: none;
  border-color: #E24B4A;
}

.vb-form-hint {
  font-size: 16px;
  color: #666;
  margin-top: 4px;
}

/* ── Color swatch ────────────────────────────────────────────────────── */
.color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── Layer slider ────────────────────────────────────────────────────── */
.vb-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.vb-slider-label {
  font-size: 17px;
  color: #666;
  white-space: nowrap;
}

input[type="range"].vb-slider {
  flex: 1;
  accent-color: #E24B4A;
}

.vb-hint {
  font-size: 16px;
  color: #999;
  margin-top: 6px;
}

/* ── Floating color panel ────────────────────────────────────────────── */
.vb-panel {
  position: fixed;
  display: none;
  z-index: 1050;
  width: 220px;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.vb-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 0.5px solid #e0e0e0;
  font-size: 17px;
  font-weight: 500;
  color: #111;
}

.vb-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #999;
  line-height: 1;
  padding: 0;
}

.vb-panel-close:hover {
  color: #111;
}

.vb-panel-body {
  padding: 12px 14px;
}

.vb-panel-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.vb-panel-label {
  font-size: 16px;
  color: #999;
  width: 54px;
  flex-shrink: 0;
}

.vb-swatch-sm {
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 3px;
  flex-shrink: 0;
  display: inline-block;
}

.vb-hex {
  font-size: 16px;
  color: #666;
  font-family: monospace;
}

/* ── Examples ────────────────────────────────────────────────────────── */
.vb-examples {
  padding: 40px 24px 56px;
  background: #fffef0;
}

.vb-examples-hero {
  text-align: center;
  margin-bottom: 36px;
}

.vb-examples-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  background: #FAEEDA;
  color: #633806;
  font-size: 16px;
  margin-bottom: 12px;
  border: 0.5px solid #FAC775;
}

.vb-examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.vb-example-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  text-decoration: none;
  color: inherit;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

/* Colored top accent bar cycling through LEGO brand colors */
.vb-example-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 1;
}

.vb-examples-grid > .vb-example-card:nth-child(4n+1)::before { background: #E24B4A; }
.vb-examples-grid > .vb-example-card:nth-child(4n+2)::before { background: #378ADD; }
.vb-examples-grid > .vb-example-card:nth-child(4n+3)::before { background: #EF9F27; }
.vb-examples-grid > .vb-example-card:nth-child(4n+4)::before { background: #1D9E75; }

/* Matching pastel backgrounds for each card's 3D preview */
.vb-examples-grid > .vb-example-card:nth-child(4n+1) .vb-example-thumb { background: #fef2f2; }
.vb-examples-grid > .vb-example-card:nth-child(4n+2) .vb-example-thumb { background: #eff6ff; }
.vb-examples-grid > .vb-example-card:nth-child(4n+3) .vb-example-thumb { background: #fffbeb; }
.vb-examples-grid > .vb-example-card:nth-child(4n+4) .vb-example-thumb { background: #f0fdf4; }

.vb-example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

.vb-example-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

.vb-example-info {
  padding: 12px 14px 16px;
}

.vb-example-name {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 3px;
}

.vb-example-meta {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 10px;
}

.vb-example-link {
  font-size: 16px;
  padding: 6px 14px;
}

/* ── Scrollable table wrapper ────────────────────────────────────────── */
.vb-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── 3D model viewer ─────────────────────────────────────────────────── */
.vb-model-viewer {
  width: 100%;
  height: 500px;
}

/* ── Form section (add_model padding) ────────────────────────────────── */
.vb-form-section {
  padding: 0 24px;
  margin-top: 16px;
}

/* ── Make-order box ──────────────────────────────────────────────────── */
.vb-make-order-box {
  max-width: 480px;
  margin: 60px auto;
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {
  .vb-btn-p, .vb-btn-s, .vb-btn-green, .vb-cta,
  a.vb-btn-p, a.vb-btn-s, a.vb-btn-green, .vb-btn-sm { display: none; }
}

/* ── Responsive: tablet ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .vb-hero-row {
    flex-direction: column;
  }

  .vb-hero {
    flex: none;
    height: auto;
    width: 100%;
  }

  #three-js-container {
    flex: none;
    width: 100%;
    height: 300px;
  }

  .vb-model-viewer {
    height: 380px;
  }

  .vb-how {
    grid-template-columns: 1fr;
  }

  .vb-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vb-examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive: hamburger menu ──────────────────────────────────────── */
@media (max-width: 640px) {
  .vb-hamburger {
    display: flex;
  }

  .vb-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fffef0;
    border-bottom: 0.5px solid #e0e0e0;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 0 12px;
    z-index: 200;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .vb-nav-menu.is-open {
    display: flex;
  }

  .vb-navlinks {
    flex-direction: column;
    gap: 0;
  }

  .vb-navlink {
    font-size: 17px;
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 0.5px solid #f0eed8;
    white-space: normal;
  }

  .vb-lang-switcher {
    margin-left: 20px;
    margin-top: 12px;
  }
}

/* ── Responsive: mobile ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .vb-nav {
    padding: 10px 14px;
  }

  .vb-brand {
    font-size: 17px;
  }

  #three-js-container {
    height: 220px;
  }

  .vb-hero {
    padding: 28px 16px 24px;
  }

  .vb-h1 {
    font-size: 26px;
  }

  .vb-btns {
    flex-direction: column;
    align-items: center;
  }

  .vb-how {
    padding: 16px;
    gap: 10px;
  }

  .vb-content {
    padding: 16px;
  }

  .vb-upload-area {
    margin: 0 16px;
    padding: 24px 16px;
  }

  .vb-gen {
    width: calc(100% - 32px);
    margin: 12px 16px 20px;
  }

  .vb-model-viewer {
    height: 260px;
  }

  .vb-form-section {
    padding: 0 16px;
  }

  .vb-make-order-box {
    margin-top: 32px;
  }

  .vb-examples {
    padding: 24px 14px 40px;
  }

  .vb-examples-hero {
    margin-bottom: 24px;
  }

  .vb-examples-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vb-example-card:hover {
    transform: none;
  }
}

/* ── Blog ─────────────────────────────────────────────────── */
.vb-blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0;
}

.vb-blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.vb-blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vb-blog-card {
  display: block;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.vb-blog-card:hover {
  border-color: #378ADD;
  box-shadow: 0 4px 18px rgba(55,138,221,.10);
}

.vb-blog-card-body {
  margin-bottom: 14px;
}

.vb-blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 8px;
}

.vb-blog-excerpt {
  font-size: 0.95rem;
  color: #52525b;
  line-height: 1.55;
}

.vb-blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: #a1a1aa;
}

.vb-blog-empty {
  margin-top: 48px;
}

.vb-blog-post-header {
  margin-bottom: 32px;
}

.vb-blog-post-header .vb-btn-sm {
  margin-bottom: 16px;
  display: inline-block;
}

.vb-blog-post-header .vb-blog-meta {
  margin-top: 8px;
}

.vb-blog-post-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #27272a;
}

.vb-blog-post-body p {
  margin: 0 0 1.1em;
}

.vb-blog-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vb-textarea {
  resize: vertical;
  font-family: inherit;
  min-height: 240px;
}

.vb-input-error {
  border-color: #ef4444 !important;
}

.vb-form-error {
  color: #ef4444;
}

.vb-media-upload {
  cursor: pointer;
  position: relative;
}

.vb-media-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.vb-upload-area--over {
  border-color: #378ADD;
  background: #eff6ff;
}

.vb-media-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.vb-media-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 140px;
}

.vb-media-thumb img,
.vb-media-thumb video {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  background: #f4f4f5;
}

.vb-media-thumb-token {
  font-size: 0.8rem;
  font-weight: 700;
  color: #378ADD;
  font-family: monospace;
}

.vb-media-thumb-name {
  font-size: 0.75rem;
  color: #71717a;
  word-break: break-all;
  text-align: center;
}

.vb-blog-inline-media {
  display: block;
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

video.vb-blog-inline-media {
  max-width: 640px;
}

.vb-blog-media {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.vb-blog-media-item img,
.vb-blog-media-item video {
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

.vb-blog-media-item video {
  max-width: 640px;
}

@media (max-width: 600px) {
  .vb-blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .vb-blog-card {
    padding: 18px 16px;
  }

  .vb-blog-media-item video {
    max-width: 100%;
  }
}

/* ── About ────────────────────────────────────────────────── */
.vb-about {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 60px;
}

.vb-about-hero {
  margin-bottom: 8px;
}

.vb-about-hero .vb-h1 {
  margin-bottom: 16px;
}

.vb-about-section {
  padding: 8px 0;
}

.vb-about-h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  margin-bottom: 20px;
}

.vb-about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vb-about-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 20px;
}

.vb-about-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.vb-about-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.vb-about-card-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
}

.vb-about-cta {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.vb-about-cta .vb-about-h2 {
  margin-bottom: 0;
}

.vb-about .vb-p {
  max-width: none;
  margin: 0;
  text-align: justify;
}

.vb-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vb-contact-form .vb-form-group {
  width: 100%;
}

.vb-textarea {
  resize: vertical;
  min-height: 120px;
}

.vb-contact-success {
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  font-size: 16px;
}

.vb-contact-error {
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  font-size: 15px;
  margin-bottom: 12px;
}

.vb-about-cta .vb-p {
  margin: 0;
}

@media (max-width: 640px) {
  .vb-about-cards {
    grid-template-columns: 1fr;
  }

  .vb-about {
    padding: 32px 16px 48px;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
.vb-footer {
  border-top: 0.5px solid #e0e0e0;
  background: #fffef0;
  margin-top: auto;
}

.vb-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.vb-footer-links {
  display: flex;
  gap: 4px;
}

.vb-footer-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}

.vb-footer-link:hover {
  background: #f5f4d8;
  color: #111;
}

.vb-footer-copy {
  font-size: 13px;
  color: #999;
}

@media (max-width: 480px) {
  .vb-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px;
  }

  .vb-footer-links {
    flex-wrap: wrap;
  }
}
