/* ============================================================
   Vector Space — Summer Chess Club (kwvector.space/chess)
   Chess-only components. Tokens and the shared vs-* component
   library live in site.css (loaded first); this file only adds
   the pieces unique to the chess page (light schedule calendar,
   day-detail panel, special-event cards, family estimator,
   the "best value" pricing variant, header pill).
   ============================================================ */

/* Page wrapper: dark page edge with the faint conic "board" texture, matching
   the design mock. */
.vs-chess-page {
  background-color: var(--surface-page);
  background-image: repeating-conic-gradient(rgba(18, 48, 38, 0.028) 0% 25%, transparent 0% 50%);
  background-size: 84px 84px;
  min-height: 100vh;
}

/* Header "Chess Club" pill next to the logo */
.vs-chess-pill {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brand);
  background: var(--green-100);
  border: 1px solid var(--green-200);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.vs-chess-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

/* Generic chess section rhythm */
.vs-chess-section .vs-section { padding-top: 88px; padding-bottom: 24px; }
.vs-chess-section--pad .vs-section { padding-top: 80px; padding-bottom: 80px; }

/* Hero caption chip ("1. e4 — THE GAME BEGINS") reuses .vs-caption from site.css */

/* Cursor-brightened chessboard across the hero — a canvas drawing the same
   42px checkerboard as the .vs-chess-page conic texture, aligned to it so
   the board continues seamlessly into the section below
   (frontend/chess-hero.js). Sits under the hero content; never intercepts
   input. The hero drops .vs-dotgrid — the board replaces the dots.

   Seam: the hero's green eases out over its last 84px — exactly two board
   rows, thanks to the bottom-edge snap in chess-hero.js — revealing the
   page's light checkered background behind it. The multi-stop ramp
   approximates a smoothstep: a plain two-stop gradient has an abrupt
   start/end (mach bands) and reads as a shadow line, not a fade. Keep the
   band height a multiple of the 42px CELL in chess-hero.js so it stays
   grid-aligned. The rgba stops are --green-900 (#123026) with alpha — update
   them if that token ever changes. */
.vs-chess-page .vs-hero {
  background: linear-gradient(
    to bottom,
    var(--green-900) calc(100% - 84px),
    rgba(18, 48, 38, 0.93) calc(100% - 70px),
    rgba(18, 48, 38, 0.74) calc(100% - 56px),
    rgba(18, 48, 38, 0.50) calc(100% - 42px),
    rgba(18, 48, 38, 0.26) calc(100% - 28px),
    rgba(18, 48, 38, 0.07) calc(100% - 14px),
    rgba(18, 48, 38, 0) 100%
  );
}
.vs-chess-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 84px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 84px), transparent);
}

/* ===== Schedule (light calendar + dark detail panel) ===== */
.vs-chess-schedule {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}
.vs-chess-cal-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.vs-chess-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.vs-chess-cal-head h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-lg); }
.vs-chess-cal-tabs { display: flex; gap: 4px; background: var(--surface-sunken); border-radius: 10px; padding: 4px; }
.vs-chess-cal-tab {
  border: none; cursor: pointer; padding: 8px 14px; border-radius: 8px;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-sm);
  background: transparent; color: var(--text-muted);
  transition: background var(--dur-base), color var(--dur-base), box-shadow var(--dur-base);
}
.vs-chess-cal-tab.is-active { background: var(--white); color: var(--text-strong); box-shadow: var(--shadow-sm); }

.vs-chess-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.vs-chess-cal-weekdays span {
  text-align: center; font-family: var(--font-mono); font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps); color: var(--text-faint);
}
.vs-chess-cal-weeks { display: flex; flex-direction: column; gap: 6px; }
.vs-chess-cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.vs-chess-cal-cell {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: clamp(46px, 5vw, 60px); border-radius: 10px;
  font-family: var(--font-mono); font-size: var(--text-sm);
  -webkit-appearance: none; appearance: none; padding: 0;
  transition: background var(--dur-base), box-shadow var(--dur-base), border-color var(--dur-base);
}
.vs-chess-cal-cell--blank { visibility: hidden; }
.vs-chess-cal-cell--closed { color: var(--text-faint); background: transparent; border: none; }
.vs-chess-cal-cell--open {
  cursor: pointer; font-weight: var(--weight-medium); color: var(--text-strong);
  background: var(--green-50); border: 1px solid var(--green-200);
}
.vs-chess-cal-cell--open.has-event { border-color: var(--nano-600); }
/* A special event on a non-club day (e.g. a pre-season social): clickable +
   dotted, but on a plain card surface so it reads as "not a regular club day". */
.vs-chess-cal-cell--event {
  cursor: pointer; font-weight: var(--weight-medium); color: var(--text-strong);
  background: var(--surface-card); border: 1px solid var(--nano-600);
}
.vs-chess-cal-cell--event.is-selected,
.vs-chess-cal-cell--event.is-selected:hover {
  color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: var(--ring);
}
.vs-chess-cal-cell--open.is-selected,
.vs-chess-cal-cell--open.is-selected:hover {
  color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: var(--ring);
}
.vs-chess-cal-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; }

.vs-chess-cal-legend {
  display: flex; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
}
.vs-chess-cal-legend span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--text-2xs);
  letter-spacing: var(--tracking-mono); color: var(--text-muted);
}
.vs-chess-cal-legend .swatch { width: 14px; height: 14px; border-radius: 5px; background: var(--green-50); border: 1px solid var(--green-200); }
.vs-chess-cal-legend .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nano-600); }

/* dark day-detail panel */
.vs-chess-detail {
  position: relative;
  background: var(--green-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  color: #fff;
  overflow: hidden;
}
.vs-chess-detail > * { position: relative; }
.vs-chess-detail__weekday {
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--green-300);
}
.vs-chess-detail__date {
  font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl);
  margin: 6px 0 18px; color: #fff; letter-spacing: var(--tracking-tight);
}
.vs-chess-detail__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-on-dark); margin-bottom: 18px;
}
.vs-chess-detail__chip-icon { display: flex; }
.vs-chess-detail__chip-icon i, .vs-chess-detail__chip-icon svg { width: 18px; height: 18px; }
.vs-chess-detail__chip span:last-child {
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: #fff;
}
.vs-chess-detail__title { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-lg); margin-bottom: 8px; }
.vs-chess-detail__note { font-size: var(--text-sm); color: var(--green-200); line-height: 1.6; margin: 0 0 20px; }
.vs-chess-detail__note p { margin: 0 0 12px; }
.vs-chess-detail__note p:last-child { margin-bottom: 0; }
.vs-chess-detail__note strong { color: var(--white); font-weight: var(--weight-semibold); }
.vs-chess-detail__hours {
  display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--text-sm);
  color: #fff; padding: 12px 0; border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark); margin-bottom: 20px;
}
.vs-chess-detail__hours i, .vs-chess-detail__hours svg { width: 18px; height: 18px; color: var(--nano-500); }

/* Visit card typography (per the chess mock): mono-caps kicker labels over
   sans bodies — the inverse of the main site's location card (display
   titles + mono bodies), whose classes the markup otherwise reuses. Only
   the email address stays mono. */
.vs-chess-visit-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
/* One body size across the card — hierarchy comes from color (strong vs
   body), never from a size change, so the card doesn't read as a jumble of
   type scales. */
.vs-chess-visit-body { font-size: var(--text-base); color: var(--text-strong); line-height: 1.6; }
.vs-chess-visit-body .sub { color: var(--text-body); }
.vs-chess-visit-body--quiet { color: var(--text-body); max-width: 36ch; }
.vs-chess-visit-body--mono { font-family: var(--font-mono); }

/* Visit panel photo (the mock's entrance shot fills the rounded map panel) */
.vs-chess-visit-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A live map can be toggled on/off over the photo via a frosted overlay button
   (same overlay aesthetic as .vs-location-map__chip). */
.vs-chess-map-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: saturate(0.92); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.vs-location-map.is-map-on .vs-chess-map-frame { opacity: 1; pointer-events: auto; }
.vs-chess-map-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 7px 13px; box-shadow: var(--shadow-md);
  font-family: var(--font-mono); font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--green-900); cursor: pointer;
  transition: background var(--dur-base), box-shadow var(--dur-base);
}
.vs-chess-map-toggle:hover { background: #fff; box-shadow: var(--shadow-lg); }
.vs-chess-map-toggle__on, .vs-chess-map-toggle__off { display: inline-flex; align-items: center; gap: 7px; }
.vs-chess-map-toggle__off { display: none; }
.vs-location-map.is-map-on .vs-chess-map-toggle__on { display: none; }
.vs-location-map.is-map-on .vs-chess-map-toggle__off { display: inline-flex; }
.vs-chess-map-toggle i, .vs-chess-map-toggle svg { width: 14px; height: 14px; }

/* ===== Gallery mosaic (matches the mock's 2fr/1fr/1fr layout) ===== */
.vs-chess-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 14px;
  margin-top: 28px;
}
.vs-chess-gallery .vs-tile { position: relative; overflow: hidden; border-radius: 14px; }
.vs-chess-gallery .vs-tile--g1 { grid-row: span 2; }
.vs-chess-gallery .vs-tile--g4 { grid-column: span 2; }
.vs-chess-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .vs-chess-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; grid-template-rows: none; }
  .vs-chess-gallery .vs-tile--g1, .vs-chess-gallery .vs-tile--g4 { grid-column: span 2; grid-row: auto; }
}

/* ===== Special-event cards ===== */
.vs-chess-events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.vs-chess-eventcard {
  cursor: pointer; background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px;
  transition: box-shadow var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
}
.vs-chess-eventcard:hover { box-shadow: var(--shadow-md); border-color: var(--green-300); transform: translateY(-3px); }
.vs-chess-eventcard__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.vs-chess-eventcard__icon {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: var(--radius-md); background: var(--green-50);
}
.vs-chess-eventcard__icon i, .vs-chess-eventcard__icon svg { width: 24px; height: 24px; }
.vs-chess-eventcard__date { text-align: right; font-family: var(--font-mono); }
.vs-chess-eventcard__weekday { font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); color: var(--text-accent); }
.vs-chess-eventcard__daynum { font-size: var(--text-lg); color: var(--text-strong); line-height: 1.1; }
.vs-chess-eventcard__label {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--text-muted);
}
.vs-chess-eventcard__label .dot { width: 8px; height: 8px; border-radius: 50%; }
.vs-chess-eventcard h3 { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-md); margin: 0 0 8px; }
/* Note holds the event's rich HTML (Event.description) — keep its line breaks,
   bold, and paragraph/admission/schedule structure rather than a run-on blob.
   On the card it's clamped to a few lines (line-wise, so nothing is cut
   mid-word or mid-tag — the full text still rides in the DOM and shows in the
   calendar day-detail popover, which isn't clamped); cards stay roughly square. */
.vs-chess-eventcard__note {
  font-size: var(--text-sm); color: var(--text-muted); line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6;
  overflow: hidden;
}
.vs-chess-eventcard__note p { margin: 0 0 10px; }
.vs-chess-eventcard__note p:last-child { margin-bottom: 0; }
.vs-chess-eventcard__note strong { color: var(--text-strong); font-weight: var(--weight-semibold); }
.vs-chess-events-empty { color: var(--text-muted); font-size: var(--text-sm); margin-top: 8px; }

/* ===== Pricing "best value" variant (reuses .vs-price) ===== */
/* overflow:visible overrides the base .vs-price (which hides overflow for the
   main site's dark featured card) so the "Best value" ribbon, sitting at
   top:-12px, isn't clipped by the card's top edge. */
.vs-price--best { border: 1.5px solid var(--nano-600); box-shadow: var(--glow-nano); overflow: visible; }
.vs-price__ribbon {
  position: absolute; top: -12px; left: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--nano-500); color: var(--on-accent);
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill);
}
.vs-price__type {
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--text-muted);
}
.vs-price__desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.55; margin: 6px 0 4px; }

/* ===== Family membership card + estimator ===== */
.vs-chess-family {
  margin-top: 18px; background: var(--green-900); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr;
}
.vs-chess-family__info { padding: 34px; position: relative; }
.vs-chess-family__info::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 20px 20px;
}
.vs-chess-family__info > * { position: relative; }
.vs-chess-family__info .vs-eyebrow { color: var(--nano-500); }
.vs-chess-family__info h3 { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-xl); margin: 10px 0; color: #fff; }
.vs-chess-family__info p { font-size: var(--text-sm); color: var(--green-200); line-height: 1.6; max-width: 44ch; margin: 0 0 20px; }
.vs-chess-family__info p .rate { color: #fff; font-family: var(--font-mono); }
.vs-chess-family__info p .rate--kid { color: var(--nano-500); }
.vs-chess-family__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.vs-chess-family__tag {
  font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--green-200);
  background: rgba(255,255,255,0.08); border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm); padding: 6px 10px;
}
.vs-chess-estimator {
  background: rgba(255,255,255,0.04); border-left: 1px solid var(--border-on-dark);
  padding: 34px; display: flex; flex-direction: column; justify-content: center;
}
.vs-chess-estimator__title {
  font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--green-300); margin-bottom: 16px;
}
.vs-chess-est-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vs-chess-est-row__label { color: #fff; font-size: var(--text-sm); }
.vs-chess-est-row__label .sub { color: var(--green-300); font-size: var(--text-2xs); }
.vs-chess-stepper { display: flex; align-items: center; gap: 12px; }
.vs-chess-step-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-on-dark);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.vs-chess-step-btn:hover { border-color: var(--nano-500); }
.vs-chess-step-val { font-family: var(--font-mono); font-size: var(--text-md); color: #fff; width: 18px; text-align: center; }
.vs-chess-est-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--border-on-dark); margin-top: 4px;
}
.vs-chess-est-total__label { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--green-300); }
.vs-chess-est-total__value { font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: var(--text-2xl); color: var(--nano-500); }
.vs-chess-estimator .vs-btn { margin-top: 20px; }

/* Select styled to match .vs-field__box inputs */
.vs-select {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base); color: var(--text-strong);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 11px 14px; outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.vs-select:focus { border-color: var(--brand); box-shadow: var(--ring); }

/* ===== In-form family-size control (light theme) ===== */
/* Shown only when "Family membership" is selected, so members set their family
   size without scrolling back to the pricing card's estimator. */
.vs-chess-famsize { display: none; flex-direction: column; gap: 12px;
  border: 1px solid var(--green-200); background: var(--green-50);
  border-radius: var(--radius-md); padding: 16px 18px; }
.vs-chess-famsize.is-shown { display: flex; }
.vs-chess-famsize__head { display: flex; flex-direction: column; gap: 2px; }
.vs-chess-famsize__title { font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-strong); }
.vs-chess-famsize__hint { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-mono); color: var(--text-muted); }
.vs-chess-famsize__row { display: flex; align-items: center; justify-content: space-between; }
.vs-chess-famsize__label { font-size: var(--text-sm); color: var(--text-body); }
.vs-chess-famsize__label .sub { color: var(--text-faint); font-size: var(--text-2xs); }
.vs-chess-famsize__stepper { display: flex; align-items: center; gap: 12px; }
.vs-chess-famsize__btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-strong);
  background: var(--surface-card); color: var(--text-strong); font-size: 17px; line-height: 1; cursor: pointer;
  transition: border-color var(--dur-base), background var(--dur-base); }
.vs-chess-famsize__btn:hover { border-color: var(--brand); background: var(--green-100); }
.vs-chess-famsize__val { font-family: var(--font-mono); font-size: var(--text-md); color: var(--text-strong); width: 18px; text-align: center; }
.vs-chess-famsize__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--green-200); }
.vs-chess-famsize__total-label { font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }
.vs-chess-famsize__total-value { font-family: var(--font-mono); font-weight: var(--weight-medium); font-size: var(--text-lg); color: var(--brand-strong); }

/* The Membership chooser is the single green element (no separate summary box):
   styled to echo the old green readout while staying an interactive <select>. */
.vs-select--pass {
  background: var(--green-50); border-color: var(--green-200);
  font-family: var(--font-display); font-weight: var(--weight-semibold); color: var(--text-strong);
}
.vs-select--pass:focus { border-color: var(--brand); }
.vs-chess-fieldnote { font-size: var(--text-xs); color: var(--text-muted); margin: 0; }

/* ===== Footer payment acceptance ===== */
/* "We accept Visa/Mastercard" row in the (dark) footer. The brand SVGs are
   coloured/black, so each sits on a small white chip to read against the dark
   green; mirrors the eastbrid.ge footer treatment. */
.vs-footer__payments {
  position: relative;
  max-width: 1080px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vs-footer__payments-label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--green-200);
}
.vs-footer__pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 7px;
  background: var(--white);
  border-radius: var(--radius-sm);
}
.vs-footer__pay-chip img { display: block; height: 16px; width: auto; }

/* ===== Legal pages (club terms & code of conduct, refund policy) ===== */
.vs-legal { max-width: 760px; margin: 0 auto; padding: 96px 32px 80px; }
.vs-legal__head { margin-bottom: 36px; }
.vs-legal__head h1 { font-size: var(--text-2xl); margin: 10px 0 8px; }
.vs-legal__updated { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }
.vs-legal section { margin-top: 32px; }
.vs-legal h2 {
  font-size: var(--text-lg);
  margin: 0 0 12px;
  color: var(--text-strong);
}
.vs-legal p { margin: 0 0 12px; color: var(--text-body); line-height: 1.7; }
.vs-legal ul { margin: 0 0 12px; padding-left: 20px; color: var(--text-body); line-height: 1.7; }
.vs-legal li { margin-bottom: 6px; }
.vs-legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.vs-legal a:hover { color: var(--green-700); }
.vs-legal__footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .vs-chess-schedule { grid-template-columns: 1fr; }
  .vs-chess-events-grid { grid-template-columns: 1fr; }
  .vs-chess-family { grid-template-columns: 1fr; }
  .vs-chess-estimator { border-left: none; border-top: 1px solid var(--border-on-dark); }
}
@media (max-width: 720px) {
  .vs-chess-section .vs-section { padding-left: 20px; padding-right: 20px; }
  .vs-legal { padding-top: 72px; padding-left: 20px; padding-right: 20px; }
}
