/* =============================================================================
   All The Venues — brand foundation (design tokens, self-hosted fonts,
   reusable components). Matches docs/atv-design-preview.html + ATV-VISUAL-SPECS.
   Loaded after Bootstrap so tokens + base typography win; component classes are
   prefixed .atv-* to coexist with Bootstrap (used by U2's listing/detail).
   ============================================================================= */

/* ---- Self-hosted fonts (no Google Fonts CDN — keeps CSP self-only) -------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;              /* variable latin subset */
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600 700;              /* variable latin subset */
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --navy:#0E1B2A; --blue:#6C93B7; --action:#426F94; --action-hover:#315B7C;
  --pearl:#F7F4EF; --sand:#C8B8A0; --ink:#0E1B2A; --muted:#5b6b7a;
  --line:#e4ded4; --card:#fff;
  --font-heading:'Cormorant Garamond', Georgia, serif;
  --font-body:'Inter', system-ui, -apple-system, Arial, sans-serif;
}

/* ---- Base typography (applies site-wide, incl. U2 pages) ------------------ */
body {
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, .serif {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .2px;
}
.atv-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Links are distinguished by colour/weight, not underlines. */
a { color: inherit; text-decoration: none; }
/* Keep a visible focus ring for keyboard users (accessibility). */
a:focus-visible,
button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Buttons ------------------------------------------------------------- */
.atv-btn {
  display: inline-block; background: var(--action); color: #fff;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; text-align: center; line-height: 1.2;
  font-family: var(--font-body);
}
.atv-btn:hover { background: var(--action-hover); color: #fff; }
.atv-btn--sm { padding: 9px 16px; font-size: 13px; }
.atv-btn--sand { background: var(--sand); color: var(--navy); }
.atv-btn--sand:hover { background: #b9a688; color: var(--navy); }
.atv-btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--action); }
.atv-btn--ghost:hover { background: #eef1f4; color: var(--action); }
/* Glassy ghost for use over a dark cover image (e.g. the provider hero). Only
   the RESTING state is overridden — a readable white label on a dark, blurred,
   subtly-bordered backdrop. Lower specificity than .atv-btn--ghost:hover, so
   the standard ghost hover is unchanged. Add alongside .atv-btn--ghost. */
.atv-btn--glass {
  background: rgba(14, 27, 42, .48);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

/* ---- Chips + badges ------------------------------------------------------ */
.atv-chip {
  font-size: 12px; color: var(--navy); background: #eef1f4; border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 20px; display: inline-flex; gap: 5px; align-items: center;
}
.atv-badge {
  background: var(--sand); color: #5a4a30; font-size: 11px; font-weight: 600;
  letter-spacing: .5px; padding: 4px 10px; border-radius: 6px;
}
.atv-badge--partner { background: #e7eef4; color: var(--action); }

/* ---- Header / nav -------------------------------------------------------- */
.site-header { background: var(--navy); color: #fff; }
.site-header .atv-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 20px; flex-wrap: wrap;
}
/* Header lockup: brand icon + serif wordmark. */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-lockup__icon { height: 52px; width: auto; display: block; }
.brand-lockup__word {
  font-family: var(--font-heading); font-weight: 600; font-size: 26px;
  line-height: 1; letter-spacing: .4px; color: #fff; white-space: nowrap;
}
/* Own class (not Bootstrap's .mark, which adds a highlight background):
   "Venues" is a text-colour change only, no background fill. */
.brand-lockup__accent { color: var(--sand); background: none; }
/* "ATV" abbreviation shows on mobile only (see breakpoint below). */
.brand-lockup__word--abbr { display: none; }
.main-nav { display: flex; gap: 24px; list-style: none; font-size: 14px; color: #d7dde3; margin: 0; padding: 0; }
.main-nav a { color: #d7dde3; }
.main-nav a:hover { color: #fff; }
.site-header .right { display: flex; align-items: center; gap: 16px; }
.shortlist { font-size: 14px; color: #fff; display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.shortlist .n { background: var(--sand); color: var(--navy); font-weight: 600; border-radius: 20px; padding: 1px 9px; font-size: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; line-height: 0; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---- Hero ---------------------------------------------------------------- */
.atv-hero { position: relative; color: #fff; background: var(--navy); }
.atv-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  /* Navy gradient overlay, deepened on the text (left) side for legibility. */
  background-image:
    linear-gradient(90deg, rgba(14,27,42,.94) 0%, rgba(14,27,42,.6) 55%, rgba(14,27,42,.3) 100%),
    url('../img/hero.webp');
}
.atv-hero .atv-wrap { position: relative; padding: 74px 24px 88px; }
.atv-hero h1 { font-size: 54px; line-height: 1.06; max-width: 640px; color: #fff; }
.atv-hero h1 em { font-style: italic; color: var(--sand); }
.atv-hero p.sub { margin-top: 18px; font-size: 17px; color: #d7dde3; max-width: 560px; }

/* ---- Guided search card -------------------------------------------------- */
.atv-search {
  background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 24px 18px;
  margin-top: 32px; max-width: 840px; box-shadow: 0 24px 60px rgba(14,27,42,.35);
}
.atv-search .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.atv-search .top b { font-size: 16px; font-family: var(--font-body); }
.atv-fields { display: grid; grid-template-columns: repeat(4,1fr) auto; gap: 14px; align-items: end; }
.atv-field--wide { grid-column: 1 / -1; margin-bottom: 14px; }
.atv-field input[type="search"] { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font-size: 14px; color: var(--ink); background: #fbfaf7; font-family: var(--font-body); }
.atv-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.atv-field select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font-size: 14px; color: var(--ink); background: #fbfaf7; font-family: var(--font-body);
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6b7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.atv-search .atv-btn { height: 44px; }
.atv-assist { margin-top: 14px; font-size: 13.5px; color: var(--action); }
.atv-assist a { font-weight: 600; color: var(--action); }

/* ---- Sections ------------------------------------------------------------ */
.atv-sec { padding: 54px 0; }
.atv-sec--tight { padding-top: 0; }
.atv-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.atv-sec h2 { font-size: 32px; }
.atv-sec .link { font-size: 14px; color: var(--action); font-weight: 600; }
.atv-sub2 { color: var(--muted); font-size: 15px; margin: 4px 0 26px; }

/* ---- Event types --------------------------------------------------------- */
.atv-types { display: grid; grid-template-columns: repeat(7,1fr); gap: 14px; margin-top: 22px; }
.atv-type {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 8px;
  text-align: center; color: var(--navy); display: block;
}
.atv-type:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(14,27,42,.08); color: var(--navy); }
.atv-type svg { width: 24px; height: 24px; color: var(--blue); }
.atv-type span { display: block; margin-top: 10px; font-size: 13px; color: var(--navy); font-weight: 500; }

/* ---- Venue card (branded; used on home + U2 listing/detail) --------------- */
.atv-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.atv-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: 0 10px 26px rgba(14,27,42,.08);
  display: flex; flex-direction: column; height: 100%;
  position: relative;   /* anchors the heart toggle (a sibling of the img link) */
}
.atv-card__img { height: 220px; background: var(--navy) center/cover no-repeat; position: relative; display: block; }
.atv-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atv-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; z-index: 2; }
/* Heart is a real toggle button (add/remove shortlist). Button reset + circular. */
.atv-card__heart {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0; padding: 0; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  -webkit-appearance: none; appearance: none; transition: color .15s, background .15s;
}
.atv-card__heart:hover { background: #fff; }
.atv-card__heart svg { width: 16px; height: 16px; }
.atv-card__heart.is-saved { color: #c0392b; }
.atv-card__heart.is-saved svg { fill: currentColor; }

/* Venue-detail "Save to shortlist" ghost button saved state. */
.atv-save.is-saved { color: #c0392b; border-color: #e2b6ad; }
.atv-save.is-saved svg { fill: currentColor; }
.atv-card__body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }
.atv-card__body h3 { font-size: 22px; margin-bottom: 2px; }
.atv-card__body h3 a { color: var(--ink); }
.atv-card__addr { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.atv-card__chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.atv-card__desc { font-size: 13.5px; color: #40525f; margin-bottom: 14px; flex: 1 1 auto; }
.atv-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.atv-card__foot .link { font-size: 13px; color: var(--action); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.atv-card__foot .link svg { width: 14px; height: 14px; }
.atv-card__foot .spend { font-size: 12px; color: var(--muted); }
.atv-card__acts { display: inline-flex; align-items: center; gap: 12px; }
.atv-card__enq { font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--sand); border-radius: 7px; padding: 5px 12px; white-space: nowrap; }
.atv-card__enq:hover { background: #b9a688; }
.atv-chip svg { width: 13px; height: 13px; }

/* ---- How it works -------------------------------------------------------- */
.atv-how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.atv-how .atv-wrap { padding: 48px 24px; }
.atv-how h2 { font-size: 32px; text-align: center; margin-bottom: 30px; }
.atv-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.atv-step { text-align: center; padding: 0 10px; }
.atv-step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--sand);
  font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.atv-step b { font-family: var(--font-heading); font-size: 21px; font-weight: 600; display: block; margin-bottom: 5px; }
.atv-step p { font-size: 13.5px; color: var(--muted); }

/* ---- Trust row ----------------------------------------------------------- */
.atv-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; padding: 44px 0; }
.atv-trust .t { display: flex; gap: 14px; }
.atv-trust .t .ic {
  color: var(--sand); background: var(--navy); width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.atv-trust .t .ic svg { width: 22px; height: 22px; }
.atv-trust .t b { font-family: var(--font-heading); font-size: 20px; font-weight: 600; display: block; }
.atv-trust .t p { font-size: 13px; color: var(--muted); }

/* ---- Provider band ------------------------------------------------------- */
.atv-band {
  background: var(--navy); color: #fff; border-radius: 16px; margin: 8px 0 56px;
  padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.atv-band h3 { font-size: 26px; color: #fff; }
.atv-band p { color: #c7d0d8; font-size: 14px; margin-top: 6px; max-width: 560px; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #9fb0be; padding: 52px 0 28px; }
.site-footer__top {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer__brand .brand-stacked { display: inline-block; }
.site-footer__brand .brand-stacked img { height: 84px; width: auto; display: block; }
.site-footer__brand p { font-size: 13px; color: #9fb0be; margin-top: 14px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; color: #c7d0d8; margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { font-size: 14px; line-height: 1.35; color: #9fb0be; }
.footer-col a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 22px;
}
.site-footer__bottom .copy { font-size: 13px; color: #8195a5; }
.site-footer .soc { display: flex; gap: 14px; color: #c7d0d8; align-items: center; }
.site-footer .soc a { color: #c7d0d8; display: inline-flex; }
.site-footer .soc a:hover { color: #fff; }
.site-footer .soc svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- Responsive (mirrors the preview breakpoints) ------------------------ */
@media (max-width: 900px) {
  /* Bar: brand pinned left; Enquire then the hamburger grouped at the right. */
  .site-header .atv-wrap { gap: 12px; }
  .brand-lockup { margin-right: auto; }
  .site-header .right { order: 1; gap: 10px; }
  .nav-toggle { display: inline-flex; align-items: center; order: 2; }
  .shortlist { display: none; }              /* declutter — non-functional on mobile */
  /* Links hidden until the toggle opens a full-width panel below the bar. */
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; order: 3; width: 100%;
    gap: 0; margin: 6px 0 2px; padding: 4px 12px; border-radius: 12px;
    background: rgba(255, 255, 255, .05);
  }
  .main-nav.open li + li { border-top: 1px solid rgba(255, 255, 255, .09); }
  .main-nav.open a { display: block; padding: 13px 4px; font-size: 15px; color: #eef2f6; }
  .atv-hero h1 { font-size: 40px; }
  .atv-fields { grid-template-columns: 1fr 1fr; }
  .atv-fields .atv-btn { grid-column: 1 / -1; }
  .atv-types { grid-template-columns: repeat(3,1fr); }
  .atv-cards { grid-template-columns: 1fr; }
  .atv-steps { grid-template-columns: 1fr; }
  .atv-trust { grid-template-columns: 1fr; }
  .atv-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .atv-fields { grid-template-columns: 1fr; }
  .atv-types { grid-template-columns: repeat(2,1fr); }
  .atv-hero h1 { font-size: 34px; }
  /* Mobile header: brand icon + "ATV" abbreviation (V in sand). */
  .brand-lockup__word--full { display: none; }
  .brand-lockup__word--abbr { display: inline; }
  .brand-lockup__icon { height: 44px; }
}

/* ---- Enquiry form -------------------------------------------------------- */
.atv-enq { background: var(--pearl); padding: 40px 0 64px; }
.atv-enq__wrap { display: flex; justify-content: center; }
.atv-enq__card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(14,27,42,.10); padding: 32px 36px; width: 100%; max-width: 760px;
}
.atv-enq__head h1 { font-size: 32px; margin-bottom: 6px; }
.atv-enq__intro { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.atv-enq__venues { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* Read-only selected-venue context (Mode A) */
.atv-enq__context {
  background: #fbf7ef; border: 1px solid var(--sand); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 20px;
}
.atv-enq__context-label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.atv-enq__venue-list { list-style: none; margin: 0; padding: 0; }
.atv-enq__venue-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 3px 0; }
.atv-enq__venue-name { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--navy); }
.atv-enq__venue-loc { font-size: 13px; color: var(--muted); }
.atv-enq__venue-loc::before { content: "· "; }
.atv-enq__alert {
  background: #f7e7e5; border: 1px solid #e5c3bf; color: #8f3b33;
  padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 18px;
}

/* Progress indicator */
.atv-enq__progress { list-style: none; display: flex; gap: 8px; margin: 0 0 22px; padding: 0; }
.atv-enq__progress li {
  flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  padding: 8px 10px; border-radius: 8px; background: #f4f1ea; border: 1px solid var(--line);
}
.atv-enq__progress li span {
  width: 24px; height: 24px; border-radius: 50%; background: #d8dee4; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; flex: 0 0 auto;
}
.atv-enq__progress li.is-active { color: var(--navy); border-color: var(--sand); background: #fbf7ef; }
.atv-enq__progress li.is-active span { background: var(--sand); color: var(--navy); }
.atv-enq__progress li.is-done span { background: var(--action); color: #fff; }

/* Fields */
.atv-enq-step { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.atv-enq-step legend { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 14px; padding: 0; }
.atv-enq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.atv-field--full { grid-column: 1 / -1; }
.atv-enq label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.atv-enq .req { color: #b4534a; }
.atv-enq .opt { color: var(--muted); font-weight: 400; }
.atv-enq input[type=text], .atv-enq input[type=email], .atv-enq input[type=tel],
.atv-enq input[type=password], .atv-enq input[type=date], .atv-enq select, .atv-enq textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font-size: 14px; font-family: var(--font-body); color: var(--ink); background: #fbfaf7;
}
.atv-enq textarea { resize: vertical; }
.atv-enq .is-invalid { border-color: #b4534a; background: #fdf6f5; }
.atv-enq-err { color: #b4534a; font-size: 12.5px; margin-top: 5px; }

.atv-enq-consent { margin-top: 18px; }
.atv-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); font-weight: 400; }
.atv-check input { margin-top: 3px; flex: 0 0 auto; }
.atv-check span { font-weight: 400; }
.atv-enq__reassure { color: var(--muted); font-size: 13px; margin-top: 16px; }

/* Honeypot — off-screen, not display:none (some bots skip hidden fields). */
.atv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Nav buttons */
.atv-enq-nav { display: flex; gap: 12px; margin-top: 24px; }
.atv-enq-nav--center { justify-content: center; }
/* Base (no-JS): every step is visible and only Submit shows. Next/Back are
   revealed by JS in stepper mode. Nothing here hides a step by default, so a
   missing/blocked/erroring app.js still leaves the whole form usable. */
.step-back, .step-next { display: none; }
.step-submit { display: inline-block; }

/* Stepper mode — added by app.js ONLY after it confirms it can drive the
   form. Hides inactive steps; the active step (and, as a safety net, the
   first step) stays visible. */
.is-stepper .atv-enq-step:not(.is-active) { display: none; }

/* Success */
.atv-enq__success { text-align: center; }
.atv-enq__tick { display: inline-flex; color: var(--action); }
.atv-enq__tick svg { width: 56px; height: 56px; }
.atv-enq__ref {
  font-size: 15px; color: var(--muted); margin: 18px 0; line-height: 1.6;
}
.atv-enq__ref strong { font-size: 22px; color: var(--navy); letter-spacing: .5px; }
.atv-enq__success .atv-enq-nav { justify-content: center; }

@media (max-width: 560px) {
  .atv-enq__card { padding: 24px 18px; }
  .atv-enq-grid { grid-template-columns: 1fr; }
  .atv-enq__progress { flex-direction: column; }
  .atv-enq-nav { flex-direction: column-reverse; }
  .atv-enq-nav .atv-btn { width: 100%; }
}

/* ---- Become a Venue Partner (/become-a-venue-partner) -------------------- */
/* Hero: venue photo under the navy gradient, mirroring the homepage .atv-hero. */
.atv-bvp-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.atv-bvp-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image:
    linear-gradient(90deg, rgba(14,27,42,.92) 0%, rgba(14,27,42,.62) 60%, rgba(14,27,42,.42) 100%),
    radial-gradient(120% 140% at 85% 12%, rgba(108,147,183,.38), rgba(14,27,42,0) 55%),
    url('../img/hero.webp');
}
.atv-bvp-hero__wrap { position: relative; z-index: 1; padding: 56px 24px 48px; }
.atv-bvp-hero__eyebrow {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--sand); font-weight: 600; margin: 0;
}
.atv-bvp-hero__title { font-size: 46px; line-height: 1.06; margin: 10px 0 14px; max-width: 16ch; color: #fff; }
.atv-bvp-hero__lede { font-size: 17px; color: #c6d0d9; max-width: 60ch; }

.atv-bvp-body { padding-bottom: 56px; }

/* Value cards — overlap the hero. position/z-index keep them fully on top of
   the hero's gradient (they are DOM siblings after the hero, so raising their
   stacking context lifts them above it without clipped tops). */
.atv-bvp-vals { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: -32px 0 8px; }
.atv-bvp-val {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px; box-shadow: 0 8px 22px rgba(14,27,42,.07);
}
.atv-bvp-val__icon { width: 24px; height: 24px; color: var(--action); }
.atv-bvp-val h3 { font-size: 20px; margin: 10px 0 6px; color: var(--navy); }
.atv-bvp-val p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Form */
.atv-bvp-formsec { padding: 34px 0 10px; }
.atv-bvp-formwrap {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; max-width: 760px; box-shadow: 0 8px 22px rgba(14,27,42,.06);
}
.atv-bvp-formwrap h2 { font-size: 26px; margin-bottom: 4px; color: var(--navy); }
.atv-bvp-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.atv-bvp-req { color: #b5462f; }
.atv-bvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* .atv-field/.atv-field--full styling for text-like inputs (search-only styling
   in the hero card doesn't cover these types). Scoped to the partner form. */
.atv-bvp-formwrap .atv-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.atv-bvp-formwrap .atv-field label { font-size: 13px; font-weight: 600; color: var(--navy); margin: 0; }
.atv-bvp-formwrap .atv-field input,
.atv-bvp-formwrap .atv-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
  font-size: 14px; font-family: var(--font-body); color: var(--ink); background: #fff;
}
.atv-bvp-formwrap .atv-field textarea { min-height: 96px; resize: vertical; }
.atv-bvp-formwrap .atv-field [aria-invalid="true"] { border-color: #b5462f; }
.atv-bvp-err { color: #b5462f; font-size: 12.5px; margin: 0; }
.atv-bvp-formerr {
  background: #fbeae6; border: 1px solid #e6b8ad; color: #8a331f;
  border-radius: 8px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 18px;
}
.atv-bvp-check {
  display: flex; gap: 10px; align-items: flex-start; font-size: 13px;
  color: var(--muted); grid-column: 1 / -1;
}
.atv-bvp-check input { margin-top: 3px; flex: 0 0 auto; }
.atv-bvp-check a { color: var(--action); }
.atv-bvp-check--err span { color: #8a331f; }
.atv-bvp-full { grid-column: 1 / -1; }
.atv-bvp-actions { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.atv-bvp-fine { font-size: 12px; color: var(--muted); }
/* Image-permission statement on the partner form (full-width, muted). */
.atv-bvp-imgnote { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 2px 0 0; }

/* Contact page: the form card overlaps the become-partner-style navy hero
   (same technique as the partner value cards). */
.atv-contact-formsec { position: relative; z-index: 3; margin-top: -44px; padding-top: 0; }
.atv-contact-formwrap { margin-left: auto; margin-right: auto; }

@media (max-width: 820px) {
  .atv-bvp-vals { grid-template-columns: 1fr; margin-top: -24px; }
  .atv-bvp-grid { grid-template-columns: 1fr; }
  .atv-bvp-hero__title { font-size: 34px; }
  .atv-bvp-formwrap { padding: 24px 18px; }
}

/* ---- Shortlist (/shortlist) --------------------------------------------- */
.atv-sl { background: var(--pearl); padding: 8px 0 56px; }
.atv-sl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 28px 0 6px; }
.atv-sl-head h1 { font-size: 34px; }
.atv-sl-sub { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 56ch; }
.atv-sl-head__cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.atv-sl-bar {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px;
  margin: 10px 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.atv-sl-bar__t { font-size: 14px; color: var(--navy); }
.atv-sl-bar__t b { font-weight: 600; }
.atv-sl-bar__acts { display: inline-flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.atv-sl-clear { font-size: 13px; color: var(--muted); cursor: pointer; align-self: center; }
.atv-sl-clear:hover { color: #c0392b; }
.atv-sl-note { font-size: 13px; color: var(--muted); margin: -8px 0 16px; }
.atv-sl-grid { padding-bottom: 8px; }
.atv-sl-item { display: flex; flex-direction: column; }   /* let the card fill the grid cell */
.atv-sl-item > .atv-card { flex: 1 1 auto; }

/* Empty state */
.atv-sl-empty { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 48px 24px; margin: 20px 0 40px; }
.atv-sl-empty__icon { display: inline-flex; color: var(--sand); }
.atv-sl-empty__icon svg { width: 34px; height: 34px; }
.atv-sl-empty h2 { font-size: 26px; margin: 12px 0 6px; }
.atv-sl-empty p { font-size: 14px; color: var(--muted); max-width: 44ch; margin: 0 auto 18px; }
.atv-sl-empty__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Toast (remove + undo, shortlist full) — fixed bottom-center, self-managed by JS. */
.atv-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px);
  display: inline-flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  background: var(--navy); color: #fff; font-size: 13.5px; padding: 11px 16px; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(14,27,42,.28); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 1000;
}
.atv-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.atv-toast__undo { color: var(--sand); font-weight: 600; cursor: pointer; }
.atv-toast__undo:hover { color: #fff; }

@media (max-width: 600px) {
  .atv-sl-head h1 { font-size: 28px; }
}

/* ---- Info / legal prose (/about, /terms-of-use, /privacy-policy, …) ------ */
.atv-legal { max-width: 760px; margin: 8px auto 8px; padding: 36px 0 64px; color: var(--ink); }
.atv-legal h1 { font-family: var(--font-heading); font-weight: 600; font-size: 40px; line-height: 1.1; margin-bottom: 18px; }
.atv-legal h2 { font-family: var(--font-heading); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 34px 0 10px; }
.atv-legal h3 { font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 1.25; margin: 22px 0 8px; }
.atv-legal p { font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
.atv-legal ul { margin: 0 0 18px; padding-left: 22px; }
.atv-legal li { font-size: 15.5px; line-height: 1.7; margin-bottom: 7px; }
.atv-legal a { color: var(--action); text-decoration: underline; text-underline-offset: 2px; }
.atv-legal a:hover { color: var(--action-hover); }
.atv-legal strong { font-weight: 600; color: var(--navy); }
/* The "Last updated" line is the first italic paragraph — render it muted. */
.atv-legal h1 + p em,
.atv-legal em { color: var(--muted); font-style: italic; }
.atv-legal h1 + p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

@media (max-width: 600px) {
  .atv-legal { padding: 24px 0 48px; }
  .atv-legal h1 { font-size: 32px; }
}

/* ---- Admin shell --------------------------------------------------------- */
.admin-body { background: var(--pearl); }
.admin-shell { display: flex; min-height: 100vh; align-items: stretch; }

.admin-sidebar {
  background: var(--navy); color: #d7dde3; width: 232px; flex: 0 0 232px;
  padding: 20px 14px; display: flex; flex-direction: column; gap: 8px;
}
.admin-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; padding: 6px 8px 16px; }
.admin-brand img { height: 34px; width: auto; }
.admin-brand span { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav__item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  color: #c7d0d8; font-size: 14px; font-weight: 500;
}
.admin-nav__item svg { width: 18px; height: 18px; flex: 0 0 auto; }
.admin-nav__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav__item.is-active { background: var(--action); color: #fff; }

.admin-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--line); padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.admin-topbar__title { font-size: 24px; margin: 0; }
.admin-topbar__right { display: flex; align-items: center; gap: 14px; }
.admin-topbar__user { font-size: 14px; color: var(--muted); display: inline-flex; gap: 6px; align-items: baseline; }
.admin-topbar__name { color: var(--navy); font-weight: 600; }
.admin-topbar__role { color: var(--muted); font-weight: 400; }
.admin-topbar .atv-btn { display: inline-flex; align-items: center; gap: 6px; }
.admin-topbar .atv-btn svg { width: 15px; height: 15px; }

.admin-content { padding: 28px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 18px rgba(14,27,42,.05);
}
.stat-card:hover { border-color: var(--sand); }
.stat-card__icon {
  width: 40px; height: 40px; border-radius: 10px; background: #eef1f4; color: var(--action);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.stat-card__icon svg { width: 20px; height: 20px; }
.stat-card__value { font-family: var(--font-heading); font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-card__label { font-size: 13px; color: var(--muted); }

.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.admin-panel--center { text-align: center; }
.admin-panel__title { font-size: 22px; margin-bottom: 8px; }
.admin-panel--center .atv-btn { margin-top: 14px; }

@media (max-width: 820px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-basis: auto; flex-direction: column; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav__item { padding: 8px 10px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-topbar { padding: 14px 18px; }
  .admin-content { padding: 18px; }
}
@media (max-width: 480px) {
  .admin-stats { grid-template-columns: 1fr; }
}

/* ---- Admin: lead inbox --------------------------------------------------- */
.admin-nav__item { position: relative; }
.admin-nav__badge {
  margin-left: auto; background: var(--sand); color: var(--navy); font-size: 11px;
  font-weight: 700; border-radius: 20px; padding: 1px 8px; min-width: 20px; text-align: center;
}
.admin-nav__item.is-active .admin-nav__badge { background: #fff; color: var(--action); }

.lead-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.lead-toolbar__counts { font-size: 14px; color: var(--muted); }

.lead-filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.lead-filters input[type=search], .lead-filters input[type=date], .lead-filters select {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px;
  font-family: var(--font-body); color: var(--ink); background: #fbfaf7;
}
.lead-filters input[type=search] { min-width: 220px; flex: 1 1 220px; }
.lead-filters__date { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* Table */
.lead-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.lead-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lead-table thead th {
  text-align: left; padding: 12px 14px; background: #f4f1ea; color: var(--muted);
  font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap;
}
.lead-table thead th a.sort-link { color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.lead-table thead th a.sort-link:hover { color: var(--action); }
.lead-table thead th a.sort-link.is-sorted { color: var(--navy); }
.lead-table tbody td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.lead-table tbody tr:hover { background: #fbfaf7; }
.lead-ref { font-family: var(--font-body); font-weight: 600; color: var(--action); }
.lead-contact { font-size: 13px; }
.lead-contact--sub { color: var(--muted); font-size: 12px; }

/* Badges */
.lead-status, .lead-mode { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.lead-status--new       { background: #fbeecb; color: #8a6d1b; }
.lead-status--reviewed  { background: #e7eef4; color: #345b78; }
.lead-status--forwarded { background: #dce8f2; color: var(--action); }
.lead-status--accepted  { background: #d7ecdd; color: #1f6a41; }
.lead-status--contacted { background: #e2e9f0; color: #345b78; }
.lead-status--won       { background: #cdebd6; color: #16663b; }
.lead-status--lost      { background: #f1dcda; color: #8f3b33; }
.lead-status--closed    { background: #e6e2da; color: #6b6357; }
.lead-status--spam      { background: #f7d9d5; color: #a12f24; }
.lead-mode--venue    { background: #e7eef4; color: var(--action); }
.lead-mode--assisted { background: #efe7d8; color: #7a6a45; }
.lead-mode--partner  { background: #e5e0ef; color: #5b4a86; }
.lead-mode--partner-signup { background: #d9ede4; color: #2f6b52; }
.lead-mode--contact  { background: #f0e3d6; color: #8a5a2b; }

.lead-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.lead-page { padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--action); background: #fff; }
.lead-page.is-active { background: var(--action); color: #fff; border-color: var(--action); }
.lead-page--nav { font-weight: 600; }
.lead-pagination { align-items: center; }
.lead-pagination__gap { padding: 6px 4px; color: var(--muted); font-size: 13px; }
.lead-pagination__info { margin-left: auto; color: var(--muted); font-size: 12.5px; }

/* Detail */
.lead-back { color: var(--action); font-weight: 600; font-size: 14px; }
.lead-flash { border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.lead-flash--success { background: #d7ecdd; color: #1f6a41; border: 1px solid #b6dcc2; }
.lead-flash--error   { background: #f7e7e5; color: #8f3b33; border: 1px solid #e5c3bf; }
.lead-detail { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.lead-detail__main { display: flex; flex-direction: column; gap: 18px; }
.lead-detail__side { display: flex; flex-direction: column; gap: 18px; }
.lead-detail__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.lead-detail__head .admin-panel__title { margin: 0; }
.lead-detail__section { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin: 18px 0 8px; }
.lead-detail__row { display: flex; gap: 12px; padding: 5px 0; border-bottom: 1px solid #f1ede5; font-size: 14px; }
.lead-detail__k { flex: 0 0 150px; color: var(--muted); }
.lead-detail__v { flex: 1 1 auto; color: var(--ink); word-break: break-word; }
.lead-venues, .lead-routing { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.lead-venues li, .lead-routing li { padding: 6px 0; border-bottom: 1px solid #f1ede5; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lead-detail__side .atv-field { margin-bottom: 10px; }
.lead-detail__side select, .lead-detail__side textarea, .lead-detail__side input[type=email] {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font-size: 14px;
  font-family: var(--font-body); background: #fbfaf7; color: var(--ink);
}

@media (max-width: 980px) { .lead-detail { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  /* Table → stacked cards */
  .lead-table-wrap { border: 0; background: transparent; overflow: visible; }
  .lead-table thead { display: none; }
  .lead-table, .lead-table tbody, .lead-table tr, .lead-table td { display: block; width: 100%; }
  .lead-table tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 6px 4px; }
  .lead-table td { border: 0; padding: 6px 14px; display: flex; justify-content: space-between; gap: 12px; }
  .lead-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 12px; flex: 0 0 auto; }
}

/* =============================================================================
   Venue pages — listing (/venues) + detail (/venues/{slug})
   ============================================================================= */
.venues-crumb { font-size: 13px; color: var(--muted); padding: 16px 0; }
.venues-crumb b { color: var(--navy); font-weight: 500; }
.venues-crumb a:hover { color: var(--action); }

.venues-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 2px 0 18px; }
.venues-head h1 { font-size: 34px; }
.venues-head__cnt { font-size: 14px; color: var(--muted); }
.venues-head__right { display: flex; align-items: center; gap: 12px; }
.venues-filter-toggle { display: none; }

.venues-sort { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px 5px 12px; }
.venues-sort__lbl { font-size: 13px; color: var(--muted); }
.venues-sort select { border: 0; background: transparent; font-size: 13px; color: var(--navy); font-family: var(--font-body); padding: 3px 4px; }
.venues-sort__go { border: 0; background: var(--action); color: #fff; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 5px 10px; cursor: pointer; }

/* Active filter chips */
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 2px 0 18px; }
.active-chips__lbl { font-size: 12px; color: var(--muted); }
.active-chip { background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 12.5px; padding: 5px 11px; border-radius: 20px; display: inline-flex; gap: 8px; align-items: center; }
.active-chip:hover { border-color: var(--action); color: var(--action); }
.active-chip span { color: var(--muted); font-size: 14px; line-height: 1; }
.active-chips__clear { font-size: 12.5px; color: var(--action); font-weight: 600; margin-left: 2px; }

/* Layout */
.venues-layout { display: grid; grid-template-columns: 272px 1fr; gap: 26px; padding-bottom: 50px; align-items: start; }
.venues-filters { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: sticky; top: 18px; }
.venues-filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.venues-filters__head b { font-family: var(--font-heading); font-size: 19px; }
.venues-filters__head a { font-size: 12px; color: var(--action); }
.fgroup { border-top: 1px solid var(--line); padding: 12px 0; }
.fgroup__t { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.fopt { font-size: 13px; color: var(--muted); padding: 5px 0 0; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.fopt input { accent-color: var(--action); }
/* Keyword search input (sidebar) — matches .fsel minus the select chevron. */
.fsearch { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 13px; color: var(--ink); background: #fbfaf7; font-family: var(--font-body); margin-top: 4px; }
.fsel { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 13px; color: var(--ink); background: #fbfaf7; font-family: var(--font-body);
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6b7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; margin-top: 4px; }
.venues-filters__apply { width: 100%; margin-top: 14px; }

/* Horizontal result card */
.venue-row { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 232px 1fr; box-shadow: 0 8px 22px rgba(14,27,42,.07); margin-bottom: 18px; }
.venue-row__img { position: relative; min-height: 190px; background: var(--navy); display: block; }
.venue-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue-row__badge { position: absolute; top: 12px; left: 12px; }
.venue-row__body { padding: 16px 18px; position: relative; }
.venue-row__heart { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px; }
.venue-row__heart svg { width: 20px; height: 20px; }
.venue-row__heart:hover { color: var(--action); }
.venue-row__heart.is-saved { color: #c0392b; }
.venue-row__heart.is-saved svg { fill: currentColor; }
.venue-row__title { font-size: 23px; margin-bottom: 1px; }
.venue-row__title a { color: var(--ink); }
.venue-row__title a:hover { color: var(--action); }
.venue-row__addr { font-size: 13px; color: var(--muted); margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venue-row__chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.venue-row__chips svg { width: 13px; height: 13px; }
.venue-row__desc { font-size: 13.5px; color: #40525f; margin-bottom: 12px; max-width: 600px; }
.venue-row__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 11px; gap: 12px; flex-wrap: wrap; }
.venue-row__spend { font-size: 12px; color: var(--muted); }
.venue-row__actions { display: inline-flex; gap: 12px; align-items: center; }
.venue-row__link { font-size: 13px; color: var(--action); font-weight: 600; }
.venue-row__enquire { font-size: 13px; color: #fff; background: var(--action); padding: 6px 14px; border-radius: 6px; font-weight: 600; }
.venue-row__enquire:hover { background: var(--action-hover); color: #fff; }

.venues-empty { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 48px 24px; text-align: center; }
.venue-pager { display: flex; gap: 6px; justify-content: center; padding: 8px 0; flex-wrap: wrap; }
.venue-pager__i { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); background: #fff; padding: 0 8px; }
.venue-pager__i.is-active { background: var(--action); color: #fff; border-color: var(--action); }
.venue-pager__i:hover { border-color: var(--action); color: var(--action); }
.venue-pager__i.is-active:hover { color: #fff; }

/* ---- Detail ---- */
.vd-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0 14px; flex-wrap: wrap; }
.vd-top .venues-crumb { padding: 0; }
.vd-top__acts { display: flex; gap: 10px; }
.vd-top__acts .atv-btn svg { width: 15px; height: 15px; vertical-align: -2px; }

/* Definite grid-row height + absolutely-positioned images so a portrait /
   oversized image can never expand the gallery past its bounds. */
.vd-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 380px; gap: 10px; margin-bottom: 22px; }
.vd-gallery--single { grid-template-columns: 1fr; }
.vd-gallery__main, .vd-gallery__thumb { position: relative; border-radius: 14px; overflow: hidden; min-height: 0; background: var(--navy); }
.vd-gallery__thumb { border: 0; padding: 0; cursor: pointer; }
.vd-gallery__main img, .vd-gallery__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-gallery__badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.vd-gallery__col { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; }
.vd-gallery__more { position: absolute; inset: 0; background: rgba(14,27,42,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; }

.vd-head { display: flex; justify-content: space-between; align-items: flex-start; margin: 22px 0 4px; gap: 16px; }
.vd-head h1 { font-size: 38px; }
.vd-head__addr { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.vd-head__addr svg { width: 15px; height: 15px; }

.vd-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: 18px 0 24px; font-size: 14px; position: sticky; top: 0; background: var(--pearl); z-index: 5; padding-top: 12px; overflow-x: auto; }
.vd-tab { padding: 0 0 12px; color: var(--muted); white-space: nowrap; }
.vd-tab.is-active { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--action); }
.vd-tab:hover { color: var(--navy); }

.vd-body { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding-bottom: 40px; align-items: start; }
.vd-content h2 { font-size: 26px; margin: 4px 0 10px; }
.vd-content h2 + .venue-richtext, .vd-content .venue-richtext { font-size: 14.5px; color: #40525f; margin-bottom: 18px; }
.vd-sub { font-size: 15px; font-weight: 600; color: var(--navy); margin: 14px 0 6px; }
.tabs-js .vd-panel:not(.is-active) { display: none; }

.vd-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin: 4px 0 20px; }
.vd-highlights div { font-size: 13.5px; color: var(--navy); display: flex; gap: 9px; align-items: center; }
.vd-highlights svg { width: 16px; height: 16px; color: var(--action); flex: 0 0 auto; }

.vd-layouts { width: 100%; border-collapse: collapse; font-size: 14px; }
.vd-layouts th { text-align: left; padding: 10px 12px; background: #f4f1ea; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.vd-layouts td { padding: 10px 12px; border-top: 1px solid var(--line); }
.ta-r { text-align: right; }
.vd-loc { font-size: 14.5px; margin-bottom: 4px; }
.vd-loc a { display: inline-flex; align-items: center; gap: 6px; }
.vd-loc a svg { width: 15px; height: 15px; }
.vd-map { margin-top: 12px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.vd-map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Image lightbox — self-hosted full-screen viewer (hidden until JS opens it). */
.vd-gallery__main img { cursor: zoom-in; }
.vd-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 44px 20px; background: rgba(11,20,32,.92); }
.vd-lightbox.is-open { display: flex; }
.vd-lightbox__img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.4); }
.vd-lightbox__close { position: absolute; top: 16px; right: 22px; width: 42px; height: 42px; font-size: 30px; line-height: 1;
  color: #fff; background: none; border: 0; cursor: pointer; }
.vd-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0;
  border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.vd-lightbox__nav:hover { background: rgba(255,255,255,.3); }
.vd-lightbox__nav--prev { left: 18px; }
.vd-lightbox__nav--next { right: 18px; }
.vd-lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #d7dde3; font-size: 13px; }

.vd-keypanel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.vd-keypanel h4 { font-size: 20px; margin-bottom: 8px; }
.vd-krow { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; padding: 8px 0; border-top: 1px solid var(--line); }
.vd-krow .k { color: var(--muted); }
.vd-krow .v { color: var(--navy); font-weight: 500; text-align: right; }
.vd-krow--link { justify-content: flex-start; }
.vd-krow--link a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.vd-krow--link a:hover { color: var(--navy); }
.vd-krow--link a svg { width: 14px; height: 14px; }
.vd-enqbar { background: var(--navy); color: #fff; border-radius: 12px; padding: 18px; margin-top: 16px; }
.vd-enqbar h4 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.vd-enqbar p { font-size: 13px; color: #c7d0d8; margin-bottom: 12px; }
.vd-enqbar .atv-btn { width: 100%; }

.vd-similar { padding: 6px 0 54px; }
.vd-similar h2 { font-size: 30px; }

@media (max-width: 900px) {
  .venues-layout { grid-template-columns: 1fr; }
  .venues-filters { display: none; position: static; margin-bottom: 18px; }
  .venues-filters.is-open { display: block; }
  .venues-filter-toggle { display: inline-block; }
  .venue-row { grid-template-columns: 1fr; }
  .venue-row__img { min-height: 200px; }
  .vd-body { grid-template-columns: 1fr; }
  .vd-side { order: -1; }
  .vd-gallery { grid-template-columns: 1fr; grid-template-rows: 260px auto; }
  .vd-gallery__col { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 120px; }
}
@media (max-width: 560px) {
  .venues-head { flex-direction: column; align-items: flex-start; }
  .vd-head h1 { font-size: 30px; }
  .vd-highlights { grid-template-columns: 1fr; }
}

.lead-hint { font-size: 12.5px; color: var(--muted); }

/* =============================================================================
   Venue Provider pages — /providers listing + /providers/{slug}
   (reuses .venues-layout / .venues-filters / .active-chips / .venue-pager)
   ============================================================================= */
.partners-sub { font-size: 14px; color: var(--muted); max-width: 560px; margin-top: 4px; }
.fopt__n { margin-left: auto; color: #a9b3bd; font-size: 12px; }
.partner-search { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 13px; background: #fbfaf7; font-family: var(--font-body); color: var(--ink); }

/* Verified badge variant (blue) — Featured stays sand (.atv-badge base). */
.atv-badge--verified { background: #e7eef3; color: var(--action); }

/* Seeded cover gradients (rare no-image fallback). Class-based, never an inline
   style, so the strict CSP (style-src 'self') is satisfied. Shared by cards +
   the single-provider hero. */
.cover-grad--0 { background-image: linear-gradient(135deg, #24425e, #0E1B2A); }
.cover-grad--1 { background-image: linear-gradient(135deg, #3a4a5c, #16222f); }
.cover-grad--2 { background-image: linear-gradient(135deg, #2d5040, #12241b); }
.cover-grad--3 { background-image: linear-gradient(135deg, #4a3a2c, #241a12); }
.cover-grad--4 { background-image: linear-gradient(135deg, #3b3a5c, #171626); }
.cover-grad--5 { background-image: linear-gradient(135deg, #264a4a, #0f2222); }

/* ---- Image-led provider cards ------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(14,27,42,.07); display: flex; flex-direction: column; }
.pcard__cover { display: block; height: 150px; position: relative; background: var(--navy) center / cover no-repeat; }
.pcard__cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__badge { position: absolute; top: 12px; left: 12px; }
.pcard__count { position: absolute; bottom: 12px; right: 12px; background: rgba(14,27,42,.72); color: #fff; font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 20px; }
.pcard__type { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(14,27,42,.12); display: flex; align-items: center; justify-content: center; position: absolute; left: 16px; bottom: -18px; }
.pcard__type svg { width: 24px; height: 24px; color: var(--action); }
.pcard__body { padding: 26px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: 22px; line-height: 1.15; }
.pcard__body h3 a { color: var(--ink); }
.pcard__tl { font-size: 12.5px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; flex-wrap: wrap; }
.pcard__tl svg { width: 13px; height: 13px; color: var(--blue); margin-right: 4px; vertical-align: -2px; }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.pcard__vn { font-size: 12.5px; color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.pcard__vn--verified svg { width: 14px; height: 14px; color: var(--action); }
.pcard__lk { font-size: 13px; color: var(--action); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pcard__lk svg { width: 13px; height: 13px; }

/* ---- Single provider: cover + avatar header ----------------------------- */
.phero { position: relative; border-radius: 18px; overflow: hidden; margin: 6px 0 0; box-shadow: 0 10px 30px rgba(14,27,42,.12); }
.phero__cover { height: 230px; position: relative; background: var(--navy) center / cover no-repeat; }
.phero__cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.phero__cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,27,42,.15) 0%, rgba(14,27,42,.78) 100%); }
.phero__badges { position: absolute; top: 18px; left: 22px; display: flex; gap: 8px; z-index: 2; }
.phero__info { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.phero__id { display: flex; gap: 16px; align-items: flex-end; }
.phero__type { width: 62px; height: 62px; border-radius: 16px; background: #fff; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phero__type svg { width: 30px; height: 30px; color: var(--action); }
.phero__txt h1 { font-size: 34px; color: #fff; line-height: 1.05; }
.phero__meta { font-size: 13px; color: #e7ecf1; margin-top: 5px; display: flex; gap: 14px; flex-wrap: wrap; }
.phero__meta svg { width: 14px; height: 14px; color: var(--sand); margin-right: 5px; vertical-align: -2px; }
.phero__acts { display: flex; gap: 10px; flex-shrink: 0; }
.phero__acts .atv-btn { white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.phero__acts .atv-btn svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 3px; }
.phero__subbar { display: flex; justify-content: flex-end; padding: 12px 2px 0; }
.phero__subbar a { font-size: 13px; color: var(--action); font-weight: 600; }
.vd-krow .v svg { width: 14px; height: 14px; color: var(--action); vertical-align: -2px; }

@media (max-width: 820px) {
  .pgrid { grid-template-columns: 1fr; }
  .phero__cover { height: 200px; }
  .phero__info { flex-direction: column; align-items: flex-start; }
  .phero__acts { width: 100%; }
  .phero__acts .atv-btn { flex: 1; text-align: center; }
}
@media (max-width: 480px) {
  .phero__txt h1 { font-size: 27px; }
  .phero__type { width: 52px; height: 52px; }
  .phero__type svg { width: 26px; height: 26px; }
}

/* ---- Admin: venue management ---------------------------------------------- */
.lead-status--published     { background: #cdebd6; color: #16663b; }
.lead-status--draft         { background: #e6e2da; color: #6b6357; }
.lead-status--pending       { background: #fbeecb; color: #8a6d1b; }
.lead-status--needs_changes { background: #f1dcda; color: #8f3b33; }
.lead-status--archived      { background: #e6e2da; color: #6b6357; }

.admin-form .admin-panel { margin-bottom: 18px; }
.admin-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.admin-form .atv-field { margin-bottom: 14px; }
.admin-form .atv-field--full { grid-column: 1 / -1; }
.admin-form label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.admin-form .req { color: #b4534a; }
.admin-form input[type=text], .admin-form input[type=number], .admin-form input[type=email],
.admin-form select, .admin-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
  font-size: 14px; font-family: var(--font-body); background: #fbfaf7; color: var(--ink);
}
.admin-form textarea { resize: vertical; }
.admin-form .is-invalid { border-color: #b4534a; background: #fdf6f5; }
.admin-form .atv-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; margin-bottom: 6px; }
.admin-form .atv-check input { width: auto; }
.admin-form__actions { display: flex; gap: 12px; margin: 4px 0 44px; }

/* ---- Users & roles (U4) -------------------------------------------------- */
.lead-status--active   { background: #d7ecdd; color: #1f6a41; }
.lead-status--disabled { background: #e6e2da; color: #6b6357; }
.lead-flash--temp { background: #fbeecb; color: #8a6d1b; border: 1px solid #ecd9a6; }
.temp-pw { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(0,0,0,.06); border-radius: 5px; padding: 2px 8px; font-size: 14px; letter-spacing: .5px; }
.user-you { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--action); background: #e7eef3; border-radius: 5px; padding: 1px 7px; vertical-align: 1px; }

/* ---- Venue image manager (U4b) ------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-2 { margin-top: 12px; }
.atv-btn--danger { background: #b4534a; color: #fff; border: 1px solid #b4534a; }
.atv-btn--danger:hover { background: #9c443c; }
.img-mgr .img-upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.img-mgr .img-upload input[type=file] { font-size: 13px; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 14px; }
.img-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.img-card.is-primary { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.img-card__thumb { position: relative; border-radius: 8px; overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3; }
.img-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-card__badge { position: absolute; top: 8px; left: 8px; background: var(--action); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 5px; }
.img-card__alt { display: flex; gap: 6px; }
.img-card__alt input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; font-size: 12.5px; font-family: var(--font-body); color: var(--ink); }
.img-card__acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.img-card__acts form { margin: 0; }

@media (max-width: 700px) { .admin-form__grid { grid-template-columns: 1fr; } }

/* =============================================================================
   Event Types page — /event-types (editorial mosaic). All visuals here; the
   markup carries no inline styles (strict CSP). Reuses .cover-grad--N for the
   image-missing fallback.
   ============================================================================= */
.atv-et-intro { text-align: center; padding: 52px 0 12px; }
.atv-et-eyebrow { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--action); font-weight: 600; }
.atv-et-intro h1 { font-size: 46px; line-height: 1.05; margin: 10px 0 12px; }
.atv-et-intro p { font-size: 16px; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* Locations quick-jump chips (reuses the Event Types mosaic for tiles). */
.atv-loc-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; }
.atv-loc-chips a { font-size: 13px; color: var(--action); background: #fff; border: 1px solid var(--line); padding: 7px 15px; border-radius: 20px; }
.atv-loc-chips a:hover { background: #eef1f4; }

.atv-et-bridge { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 22px; margin: 22px 0 2px; box-shadow: 0 6px 16px rgba(14,27,42,.05); }
.atv-et-bridge p { font-size: 14px; color: var(--muted); }
.atv-et-bridge p b { color: var(--navy); font-weight: 600; }
.atv-et-bridge__btn { white-space: nowrap; }

.atv-et-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; padding: 34px 0 10px; }
.atv-et-tile { position: relative; border-radius: 18px; overflow: hidden; display: block; background-color: var(--navy); box-shadow: 0 8px 24px rgba(14,27,42,.08); border: 1px solid var(--line); transition: transform .28s ease, box-shadow .28s ease; }
.atv-et-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,27,42,.16); }
.atv-et-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.atv-et-tile:hover .atv-et-tile__img { transform: scale(1.06); }
.atv-et-tile__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.atv-et-tile__icon svg { width: 54px; height: 54px; }
.atv-et-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,27,42,.82) 0%, rgba(14,27,42,.35) 38%, rgba(14,27,42,0) 66%); }
.atv-et-tile__label { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; z-index: 2; }
.atv-et-tile__label h3 { font-size: 30px; line-height: 1.05; letter-spacing: .3px; color: #fff; }
.atv-et-tile__label p { font-size: 13.5px; color: #e4ebf1; margin-top: 5px; max-width: 34ch; opacity: .92; }
.atv-et-tile__count { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(14,27,42,.60); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,.18); }

.atv-et-tile--hero { grid-column: span 8; min-height: 420px; }
.atv-et-tile--tall { grid-column: span 4; min-height: 420px; }
.atv-et-tile--quad { grid-column: span 3; min-height: 250px; }

/* smaller tiles: descriptor reveals on hover (desktop); headings only on mobile */
.atv-et-tile--quad .atv-et-tile__label p { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: opacity .25s ease, max-height .25s ease, margin-top .25s ease; }
.atv-et-tile--quad:hover .atv-et-tile__label p { max-height: 64px; opacity: .92; margin-top: 5px; }

.atv-et-cta { margin: 40px 0 60px; background: var(--navy); border-radius: 18px; color: #fff; padding: 38px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.atv-et-cta h2 { font-size: 30px; line-height: 1.1; color: #fff; }
.atv-et-cta p { font-size: 14px; color: #c6d0d9; margin-top: 6px; max-width: 52ch; }
.atv-et-cta__btn { white-space: nowrap; }

@media (max-width: 820px) {
  .atv-et-mosaic { grid-template-columns: repeat(2, 1fr); }
  .atv-et-tile--hero, .atv-et-tile--tall, .atv-et-tile--quad { grid-column: span 2; min-height: 230px; }
  .atv-et-intro h1 { font-size: 36px; }
  .atv-et-tile--quad .atv-et-tile__label p { display: none; }
}

/* =============================================================================
   404 — branded not-found (Coastal UAE). Inline-SVG icon, brand.css only.
   ============================================================================= */
.atv-404 { padding: 72px 0 96px; }
.atv-404__inner { text-align: center; max-width: 620px; margin: 0 auto; }
.atv-404__icon svg { width: 56px; height: 56px; color: var(--sand); }
.atv-404__code { font-family: var(--font-heading); font-size: 64px; line-height: 1; color: var(--action); margin: 8px 0 4px; }
.atv-404__title { font-size: 30px; margin-bottom: 10px; }
.atv-404__sub { color: var(--muted); font-size: 16px; margin: 0 auto 26px; max-width: 46ch; }
.atv-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.atv-404__actions .atv-btn svg { width: 16px; height: 16px; vertical-align: middle; margin-left: 4px; }

/* =============================================================================
   Event×city SEO landing pages — /venues/{event}-in-{emirate} (.atv-lp-*)
   Reuses .atv-cards for the results grid. Coastal UAE tokens; no CDN/inline.
   ============================================================================= */
.atv-lp-intro { text-align: center; padding: 30px 0 8px; }
.atv-lp-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--action); font-weight: 600; }
.atv-lp-intro h1 { font-size: 40px; line-height: 1.06; margin: 10px 0 12px; }
.atv-lp-intro p { font-size: 16px; color: var(--muted); max-width: 660px; margin: 0 auto; }
.atv-lp-count { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 6px 16px; }
.atv-lp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

.atv-lp-results { padding: 34px 0 6px; }
.atv-lp-results__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.atv-lp-results__head h2 { font-size: 26px; }
.atv-lp-viewall { font-size: 13px; color: var(--action); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.atv-lp-viewall svg { width: 14px; height: 14px; }

.atv-lp-links { padding: 34px 0 6px; }
.atv-lp-links h2 { font-size: 26px; }
.atv-lp-links__sub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.atv-lp-links__group { margin-bottom: 18px; }
.atv-lp-links__group h3 { font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.atv-lp-pills { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.atv-lp-pills a { font-size: 13px; color: var(--action); background: #fff; border: 1px solid var(--line); padding: 7px 15px; border-radius: 20px; }
.atv-lp-pills a:hover { background: #eef1f4; }

.atv-lp-faq { padding: 34px 0 6px; max-width: 820px; }
.atv-lp-faq h2 { font-size: 26px; margin-bottom: 16px; }
.atv-lp-faq__item { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 4px 18px; margin-bottom: 10px; }
.atv-lp-faq__item summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15px; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.atv-lp-faq__item summary::-webkit-details-marker { display: none; }
.atv-lp-faq__item summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--action); line-height: 1; }
.atv-lp-faq__item[open] summary::after { content: "\2212"; }
.atv-lp-faq__item p { font-size: 14.5px; color: #40525f; padding: 0 0 16px; margin: 0; }

.atv-lp-cta { margin: 40px 0 60px; background: var(--navy); border-radius: 18px; color: #fff; padding: 38px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.atv-lp-cta h2 { font-size: 30px; line-height: 1.1; color: #fff; }
.atv-lp-cta p { font-size: 14px; color: #c6d0d9; margin-top: 6px; max-width: 52ch; }

@media (max-width: 600px) {
  .atv-lp-intro h1 { font-size: 32px; }
  .atv-lp-results__head { align-items: flex-start; }
}

/* ===========================================================================
   Admin Reports (/admin/reports) — ported from docs/atv-reports-preview.html.
   Bars start at width:0 / columns at height:0; assets/js/app.js fills from
   data-pct (CSP bans inline styles). Uses the existing brand tokens.
   =========================================================================== */
.rep-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.rep-field { display: flex; flex-direction: column; gap: 4px; }
.rep-field label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); }
.rep-filters input, .rep-filters select { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: var(--font-body); color: var(--ink); background: #fbfaf7; }
.rep-field--grow input { min-width: 200px; }
.rep-actions { display: flex; gap: 8px; margin-left: auto; align-items: flex-end; }

.rep-togglebar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.rep-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; }
.rep-toggle b { font-weight: 600; }
.rep-switch { width: 38px; height: 22px; border-radius: 20px; background: #d7dde3; position: relative; flex: 0 0 auto; transition: background .15s; }
.rep-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s; }
.rep-switch.is-on { background: var(--action); }
.rep-switch.is-on::after { left: 18px; }
.rep-note { color: var(--muted); font-size: 12.5px; }
.rep-note--block { margin-top: 8px; display: block; }

.rep-banner { display: flex; align-items: center; gap: 10px; background: #fbeecb; color: #8a6d1b; border: 1px solid #ecd9a6; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 20px; }
.rep-banner svg { width: 16px; height: 16px; flex: 0 0 auto; }

.rep-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 6px 18px rgba(14,27,42,.05); }
.kpi__value { font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.kpi__slash { font-size: 15px; color: var(--muted); }
.kpi__label { font-size: 12px; color: var(--muted); }
.kpi__sub { font-size: 11.5px; color: var(--action); font-weight: 600; }

.rep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 20px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel__title { font-size: 20px; }
.panel__csv { font-size: 12px; color: var(--action); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.panel__csv svg { width: 14px; height: 14px; }

.rtable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rtable th { text-align: left; padding: 8px 10px; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .3px; border-bottom: 1px solid var(--line); }
.rtable td { padding: 9px 10px; border-top: 1px solid #f0ece3; vertical-align: middle; }
.rtable tr:first-child td { border-top: none; }
.rtable .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 600; width: 64px; }
.rtable .pct { text-align: right; color: var(--muted); font-size: 12px; width: 52px; font-variant-numeric: tabular-nums; }
.barcell { width: 42%; }
.bar { height: 10px; border-radius: 6px; background: var(--action); min-width: 3px; width: 0; }
.bar--sand { background: var(--sand); }
.bar--blue { background: var(--blue); }
.bar-track { background: #f0ece3; border-radius: 6px; overflow: hidden; }

.spark { display: flex; align-items: flex-end; gap: 5px; height: 120px; padding: 6px 2px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.spark__col { flex: 1; background: var(--action); border-radius: 4px 4px 0 0; min-height: 3px; height: 0; position: relative; }
.spark__col:hover { background: var(--action-hover); }
.spark__labels { display: flex; gap: 5px; }
.spark__labels span { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted); }

.tabsub { font-size: 12px; color: var(--muted); margin: -6px 0 14px; }
.lenswrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lens h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.lens p { font-size: 12px; color: var(--muted); margin: 0 0 10px; }

@media (max-width: 1080px) { .rep-kpis { grid-template-columns: repeat(3, 1fr); } .rep-grid, .lenswrap { grid-template-columns: 1fr; } }
@media (max-width: 820px)  { .rep-kpis { grid-template-columns: 1fr 1fr; } .rep-actions { margin-left: 0; } }

/* ---- Venue layouts + floor-area (detail) & layout editor ----------------- */
.vd-layout-name { display: flex; align-items: center; gap: 8px; }
.vd-layout-ico { width: 18px; height: 18px; flex: 0 0 auto; color: var(--action); }
.vd-area { display: inline-flex; align-items: center; gap: 8px; }
.vd-area-toggle {
  border: 1px solid var(--line); background: #fff; color: var(--action);
  border-radius: 6px; font-size: 11px; font-weight: 600; padding: 1px 7px; cursor: pointer;
}
.vd-area-toggle:hover { background: #eef1f4; }
/* Admin layout-capacity editor */
.layout-label { display: flex; align-items: center; gap: 6px; }
.layout-ico { width: 18px; height: 18px; flex: 0 0 auto; color: var(--action); }
