/* ============================================================================
   CTV City Template Rebuild — SLICE 1 (built alongside, NOT live for all cities)
   Every rule is scoped under the single root class .ctv-cityx. This stylesheet
   is enqueued ONLY when the rebuild Bricks template is the ACTIVE content
   template (see ctv_cityx_enqueue in inc/city-rebuild.php) so it follows the
   template's routing at flip time — never hard-pinned to post IDs.
   🔴 Deliberately uses NEITHER .ctv-detail-grid NOR .ctv-card. Relies only on
   the --ctv-* design tokens from ctv-global :root (loaded site-wide), which it
   does not modify.
   ========================================================================== */

.ctv-cityx {
  /* Normalized 2026-08-09 from 1120 to the design-system container token. The old
     1120 left the breadcrumb, sticky nav and orient strip 40px inboard of the 1200
     sections (page-chrome misalignment). Defended fallback keeps it at 1200 if the
     token is ever renamed/absent, rather than collapsing to auto. */
  --cx-max: var(--container-max, 1200px);
  --cx-gap: 28px;
  --cx-ink: var(--ctv-charcoal, #2b2b2b);
  --cx-muted: var(--ctv-slate, #555);
  --cx-line: rgba(0, 0, 0, 0.09);
  --cx-burgundy: var(--ctv-burgundy, #4a1020);
  /* K-10, 2026-09-10: the hex fallback here was a fourth gold appearing nowhere
     else in the palette, and it was dead code: --ctv-gold is defined in
     ctv-global.css, so the fallback was unreachable. The TOKEN stays, it is
     still used at the verdict rule and the season card. */
  --cx-gold: var(--ctv-gold);
  --cx-card: #fff;
  box-sizing: border-box;
  width: 100%;
}
.ctv-cityx *, .ctv-cityx *::before, .ctv-cityx *::after { box-sizing: border-box; }
.ctv-cityx img { max-width: 100%; height: auto; display: block; }

/* Shared inner width for the text bands */
/* 24px gutter (NOT the old clamp(16px,5vw,40px)=40px) so the breadcrumb + sticky
   nav content edge lands on the SAME left edge as every .ctv-cityx-section (24px)
   — width parity alone left them 16px inboard. See the --cx-max normalize note. */
.ctv-cityx__wrap { width: min(100%, var(--cx-max)); margin-inline: auto; padding-inline: 24px; }

/* ---- Breadcrumb (reused shortcode; just position it) ---- */
.ctv-cityx-breadcrumb { padding-block: 16px 4px; }

/* ---- 2. Hero band — burgundy is the DEFAULT (96/96). Photo is an enhancement. ---- */
.ctv-cityx-hero { background: var(--cx-burgundy); color: #fff; position: relative; overflow: hidden; }
.ctv-cityx-hero__inner { width: min(100%, var(--cx-max)); margin-inline: auto; padding: clamp(40px, 7vw, 84px) clamp(16px, 5vw, 40px); position: relative; z-index: 2; }
.ctv-cityx-hero__eyebrow { font-family: var(--font-ui, system-ui); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ctv-gold-tint-strong, #e8c9a0); margin: 0 0 14px; }
.ctv-cityx-hero__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 6vw, 62px); line-height: 1.02; margin: 0; color: #fff; }
.ctv-cityx-hero__chips { margin-top: 18px; }
.ctv-cityx-hero__chips:empty { display: none; }
.ctv-cityx-hero__standfirst { margin: 20px 0 0; max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
/* Photo variant: image behind a burgundy scrim so text stays legible. */
.ctv-cityx-hero--photo { background-size: cover; background-position: center; }
.ctv-cityx-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(40, 8, 18, 0.45), rgba(40, 8, 18, 0.82)); }

/* ---- 3. Overview: body + aside (own grid — NOT .ctv-detail-grid) ---- */
.ctv-cityx-overview { width: min(100%, var(--cx-max)); margin-inline: auto; padding: clamp(32px, 5vw, 56px) clamp(16px, 5vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ctv-cityx-overview__body { font-size: 18px; line-height: 1.65; color: var(--cx-ink); } /* item 3: body 17/1.7 -> 18/1.65 (--fs-body/--lh-body) */
.ctv-cityx-overview__body > :first-child { margin-top: 0; }
.ctv-cityx-aside { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ctv-cityx-aside > * { min-width: 0; }
@media (max-width: 860px) { .ctv-cityx-overview { grid-template-columns: 1fr; } .ctv-cityx-aside { order: 2; } }

/* Reused blocks placed into the rebuild, styled in-scope (the shortcodes are untouched). */
/* basecamp_verdict (16/96) — a pull-quote above long_description; self-suppresses when empty. */
.ctv-cityx-overview__body .ctv-verdict { margin: 0 0 26px; padding: 2px 0 2px 20px; border-left: 3px solid var(--cx-gold); }
.ctv-cityx-overview__body .ctv-verdict__body > :first-child { margin-top: 0; }
.ctv-cityx-overview__body .ctv-verdict__body > :last-child { margin-bottom: 0; }
.ctv-cityx-overview__body .ctv-verdict__body p { font-size: 18px; line-height: 1.65; color: var(--cx-ink); } /* item 3: verdict pull-quote body 17 -> 18/1.65 */
/* best_time_to_visit (96/96) prose in the aside — a small label + short paragraph, NOT a stat. */
.ctv-cityx-aside .ctv-besttime { margin: 0; }
.ctv-cityx-aside .ctv-besttime__heading { font-family: var(--font-ui, system-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cx-burgundy); margin: 0 0 6px; }
.ctv-cityx-aside .ctv-besttime__body { font-size: 14px; line-height: 1.55; color: var(--cx-muted); margin: 0; }

/* ---- Section shell + headings (rail / practical / within) ---- */
.ctv-cityx-section { width: min(100%, var(--cx-max)); margin-inline: auto; padding: clamp(28px, 4vw, 48px) clamp(16px, 5vw, 40px); }
.ctv-cityx-section + .ctv-cityx-section { padding-top: 0; }
.ctv-cityx-grouptitle { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 18px; color: var(--cx-burgundy); }
.ctv-cityx-railgroup + .ctv-cityx-railgroup { margin-top: clamp(28px, 4vw, 44px); }

/* ---- 4. Rail cards. NO-PHOTO CARD IS THE DESIGN: a solid block with a gold
   spine, name + meta. No empty aspect box, no placeholder graphic. ---- *//* No image: a real card, not a frame with a hole. Gold spine + a touch more air. */.ctv-cityx-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-ui, system-ui); font-size: 14px; font-weight: 600; color: var(--cx-burgundy); text-decoration: none; }
.ctv-cityx-all:hover { color: var(--ctv-gold-deep); }
.ctv-cityx-all::after { content: "\2192"; }

/* ---- 4b. Practical: count cards + POI (fifth card on Tier 1) ---- */
.ctv-cityx-countgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ctv-cityx-countcard { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 132px; padding: 20px; background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 12px; text-decoration: none; color: inherit; transition: box-shadow .18s ease, border-color .18s ease; }
.ctv-cityx-countcard:hover { box-shadow: 0 8px 20px rgba(40, 8, 18, 0.1); border-color: rgba(176, 141, 87, 0.5); }
.ctv-cityx-countcard__n { font-family: var(--font-serif); font-weight: 500; font-size: 34px; line-height: 1; color: var(--cx-burgundy); }
.ctv-cityx-countcard__label { font-family: var(--font-ui, system-ui); font-size: 14px; font-weight: 600; color: var(--cx-ink); }
.ctv-cityx-countcard__sub { font-family: var(--font-ui, system-ui); font-size: 12.5px; color: var(--cx-muted); line-height: 1.4; }
/* POI as the fifth count card (Tier 1) */
/* item 7 (2026-08-10): gold left accent removed (was border-left:3px solid var(--cx-gold));
   the POI count card now matches the other practical cards' uniform 1px border. */
.ctv-cityx-countcard--poi { border-left: 1px solid var(--cx-line); }

/* ---- 4c. POI promoted block (Tier 2) — designed at n=1: one item is a real block ---- */
.ctv-cityx-poi { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
/* item 8 (2026-08-10): gold top accent removed (was border-top:3px solid var(--cx-gold)). */
.ctv-cityx-poi__item { padding: 22px 22px 20px; background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 12px; }
.ctv-cityx-poi__type { font-family: var(--font-ui, system-ui); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ctv-gold-deep); margin: 0 0 8px; }
.ctv-cityx-poi__name { font-family: var(--font-serif); font-weight: 500; font-size: 21px; line-height: 1.18; color: var(--cx-ink); margin: 0; }
.ctv-cityx-poi__blurb { font-size: 15px; line-height: 1.6; color: var(--cx-muted); margin: 10px 0 0; }
.ctv-cityx-poi__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-family: var(--font-ui, system-ui); font-size: 13.5px; font-weight: 600; color: var(--cx-burgundy); text-decoration: none; }
.ctv-cityx-poi__link:hover { color: var(--ctv-gold-deep); }
.ctv-cityx-poi__link::after { content: "\2197"; }

/* ---- 6. Within reach (reused shortcodes: text tiles, no photos) ---- */
.ctv-cityx-within :where(.ctv-city-radius, .ctv-nearest-basecamps) { min-width: 0; }

/* ---- 7. Closing band — static, no trip builder ---- */
.ctv-cityx-closing { background: var(--bg-band, #f6ede1); margin-top: clamp(24px, 4vw, 44px); }
/* CURRENTLY UNUSED — the slice-3 closing band emits no .ctv-cityx-closing__inner
   (see the all:unset reset below). Kept intentionally: when the MailerLite signup
   activates, the closing gains a second button and may want this wrapper back.
   Do not prune. */
.ctv-cityx-closing__inner { width: min(100%, var(--cx-max)); margin-inline: auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 5vw, 40px); text-align: center; }
.ctv-cityx-closing__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 3vw, 30px); color: var(--cx-burgundy); margin: 0 0 20px; }
.ctv-cityx-closing__links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ctv-cityx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-family: var(--font-ui, system-ui); font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--cx-burgundy); color: var(--cx-burgundy); background: transparent; transition: background .18s ease, color .18s ease; }
.ctv-cityx-btn:hover { background: var(--cx-burgundy); color: #fff; }
.ctv-cityx-btn--primary { background: var(--cx-burgundy); color: #fff; }
/* K-9, 2026-09-10: was var(--cx-gold) (#9A7030), which paints the #fff
   inherited from the rule above at 4.44:1. The button is 15px/600, which is
   NOT WCAG large text, so the bar is 4.5:1 and it failed by 0.06. Text-side
   fixes were tested and all fail, because the gold is mid-tone: #1A1A1A 3.92,
   #2B1A10 3.76, #4A1020 3.42. Only the background can move. --ctv-gold-deep
   gives 6.22:1, and ctv-global.css:67 already declares
   --color-accent-hover: var(--ctv-gold-deep), so this restores the design
   system's own hover convention rather than adding an exception. */
.ctv-cityx-btn--primary:hover { background: var(--ctv-gold-deep); border-color: var(--ctv-gold-deep); }

/* ============================================================================
   SLICE 2A — orientation strip, sticky section nav, aside additions, seasons,
   perfect day, FAQ. All render-only-if-populated (markup suppressed in PHP).
   ========================================================================== */
.ctv-cityx { --cx-navh: 54px; }

/* ---- Orientation strip (stay_for | best_months | walkable | known_for) ---- */
.ctv-cityx-orient { background: #fff; border-block: 1px solid var(--cx-line); }
.ctv-cityx-orient__inner { width: min(100%, var(--cx-max)); margin-inline: auto; padding: 16px clamp(16px, 5vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 28px; }
.ctv-cityx-orient__cell { display: flex; flex-direction: column; gap: 3px; }
.ctv-cityx-orient__label { font-family: var(--font-ui, system-ui); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cx-muted); }
.ctv-cityx-orient__val { font-family: var(--font-ui, system-ui); font-size: 15px; font-weight: 600; color: var(--cx-ink); }

/* ---- Sticky section nav. z-index 20: sits above page content (hero, cards,
   map thumbnail) and below the map's interactive modal (which opens far higher).
   Scoped smooth-scroll via :has so it never leaks to the ~700 entity pages. ---- */
.ctv-cityx-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--cx-line); }
.ctv-cityx-nav__inner { display: flex; gap: 4px; align-items: center; height: var(--cx-navh); overflow-x: auto; scrollbar-width: none; }
.ctv-cityx-nav__inner::-webkit-scrollbar { display: none; }
.ctv-cityx-nav__link { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-family: var(--font-ui, system-ui); font-size: 13.5px; font-weight: 600; color: var(--cx-muted); text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.ctv-cityx-nav__link:hover { background: var(--bg-band, #f6ede1); color: var(--cx-burgundy); }
:root:has(.ctv-cityx) { scroll-behavior: smooth; }
.ctv-cityx [id^="cx-"] { scroll-margin-top: calc(var(--cx-navh) + 14px); }

/* ---- Aside additions: know_before_you_go + good_for ---- */
.ctv-cityx-aside__label { display: block; font-family: var(--font-ui, system-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cx-burgundy); margin: 0 0 8px; }
.ctv-cityx-kbyg__item { margin-bottom: 12px; }
.ctv-cityx-kbyg__item:last-child { margin-bottom: 0; }
.ctv-cityx-kbyg__t { display: block; font-family: var(--font-ui, system-ui); font-size: 14px; font-weight: 600; color: var(--cx-ink); }
.ctv-cityx-kbyg__b { display: block; font-size: 13.5px; line-height: 1.5; color: var(--cx-muted); margin-top: 2px; }
.ctv-cityx-goodfor__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ctv-cityx-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--bg-band, #f6ede1); font-family: var(--font-ui, system-ui); font-size: 13px; font-weight: 600; color: var(--cx-burgundy); }

/* ---- Seasons ---- */
.ctv-cityx-seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.ctv-cityx-season { padding: 20px; background: #fff; border: 1px solid var(--cx-line); border-radius: 12px; border-top: 3px solid var(--cx-gold); }
.ctv-cityx-season__tag { display: inline-block; font-family: var(--font-ui, system-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ctv-gold-deep); margin: 0 0 6px; }
.ctv-cityx-season__name { font-family: var(--font-serif); font-weight: 500; font-size: 20px; margin: 0; color: var(--cx-ink); }
.ctv-cityx-season__note { font-size: 14.5px; line-height: 1.6; color: var(--cx-muted); margin: 8px 0 0; }

/* ---- Perfect day ---- */
.ctv-cityx-perfectday { display: flex; flex-direction: column; }
.ctv-cityx-slot { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--cx-line); }
.ctv-cityx-slot:first-child { border-top: 0; padding-top: 0; }
.ctv-cityx-slot__label { font-family: var(--font-ui, system-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ctv-gold-deep); padding-top: 3px; }
.ctv-cityx-slot__title { font-family: var(--font-serif); font-weight: 500; font-size: 19px; margin: 0; color: var(--cx-ink); }
.ctv-cityx-slot__text { font-size: 15px; line-height: 1.65; color: var(--cx-muted); margin: 6px 0 0; }
@media (max-width: 640px) { .ctv-cityx-slot { grid-template-columns: 1fr; gap: 6px; } }

/* ---- FAQ (visible Q&A; the FAQPage JSON-LD sits inline, unstyled) ---- */
.ctv-cityx-faq__item { padding: 18px 0; border-top: 1px solid var(--cx-line); }
.ctv-cityx-faq__item:first-of-type { border-top: 0; padding-top: 0; }
.ctv-cityx-faq__q { font-family: var(--font-serif); font-weight: 500; font-size: 19px; margin: 0 0 8px; color: var(--cx-ink); }
.ctv-cityx-faq__a { font-size: 15.5px; line-height: 1.65; color: var(--cx-muted); }
.ctv-cityx-faq__a p { margin: 0 0 10px; }
.ctv-cityx-faq__a p:last-child { margin-bottom: 0; }

/* ============================================================================
   SLICE 3 — the editorial layer. Exact values from CityPage.dc.html (§1) + the
   mockup. Uses --font-serif (real token). Overrides earlier slice-1/2A rules.
   ========================================================================== */
.ctv-cityx { --cx-golddeep: var(--ctv-gold-deep); }

/* §1 Section container + universal header */
.ctv-cityx-section { max-width: 1200px; margin: 0 auto; padding: 88px 24px 0; width: auto; }
.ctv-cityx-hd { margin: 0; }
.ctv-cityx-hd__eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ctv-gold-deep); margin: 0; }
.ctv-cityx-hd__rule { width: 48px; height: 2px; background: var(--ctv-gold); border: 0; margin: 14px 0 16px; }
.ctv-cityx-hd__h2 { font-family: var(--font-serif); font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ctv-charcoal); font-weight: 600; margin: 0; }
.ctv-cityx-hd__sub { font-family: var(--font-ui); font-size: 16px; line-height: 1.6; color: var(--ctv-slate); margin: 12px 0 28px; max-width: 640px; }
.ctv-cityx-hd__h2 + .ctv-cityx-countgrid, .ctv-cityx-hd__h2 + .ctv-cityx-dtiles, .ctv-cityx-hd__h2 + .ctv-cityx-seasons, .ctv-cityx-hd__h2 + .ctv-cityx-drivegrid, .ctv-cityx-hd__h2 + .ctv-cityx-faq__list { margin-top: 28px; }

/* §2 Hero eyebrow colour + orientation strip (4 cells restored) */
.ctv-cityx-hero__eyebrow { color: #E7D6B6; }
.ctv-cityx-orient { background: var(--ctv-linen); border: 0; border-radius: 0; }
.ctv-cityx-orient__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ctv-linen); }
.ctv-cityx-orient__cell { background: var(--ctv-white); padding: 22px 24px; }
.ctv-cityx-orient__label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ctv-slate); margin-bottom: 7px; }
.ctv-cityx-orient__val { font-family: var(--font-serif); font-size: 22px; color: var(--ctv-charcoal); font-weight: 600; }
@media (max-width: 720px) { .ctv-cityx-orient__inner { grid-template-columns: repeat(2, 1fr); } }

/* §1 Overview lead paragraph + aside stays two-column but full-width inside section */
.ctv-cityx-overview { width: auto; max-width: none; margin: 0; padding: 0; }
.ctv-cityx-overview__body .ctv-cityx-lead { font-family: var(--font-serif); font-size: 23px; line-height: 1.45; color: var(--ctv-charcoal); margin: 0 0 20px; }
.ctv-cityx-overview__body > p { font-family: var(--font-ui); font-size: 18px; line-height: 1.65; color: var(--ctv-slate); }

/* §3 Rail cards *//* item 1: badge TEXT uses the label token, the DOT (::before) keeps the brand
   token. Open text stays on its brand value (spec: Open/Closed unchanged), so its
   dot == text and needs no override. Seasonal decouples: text #7E5620, dot #B07A2C. *//* §3 Things to do — 2:1:1 MOSAIC (alignment pass item 7; was 3 equal tiles).
   Explicit tracks (not auto-fill) are deliberate: a SINGLE tile lands in the 2fr
   track and stays ~50% wide + left-aligned rather than stretching to 100%
   (Check 7.3, tested against Sublimity #2212). */
.ctv-cityx-dtiles { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
/* Count-driven fallback (item 1, 2026-08-09): below 3 tiles the 2fr 1fr 1fr size
   relationship has no meaning, so degrade. 1 tile spans the whole container; 2
   tiles are equal columns; 3+ keeps the base mosaic. data-tiles is set in PHP.
   min-height/scrim/title on .ctv-cityx-dtile are unchanged in every case. */
.ctv-cityx-dtiles[data-tiles="1"] { grid-template-columns: 1fr; }
.ctv-cityx-dtiles[data-tiles="2"] { grid-template-columns: repeat(2, 1fr); }
.ctv-cityx-dtile { position: relative; display: block; border-radius: 6px; overflow: hidden; min-height: 340px; background: #1a1012; background-size: cover; background-position: center; text-decoration: none; }
.ctv-cityx-dtile__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,16,18,0) 40%, rgba(26,10,14,0.78) 100%); }
.ctv-cityx-dtile__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.ctv-cityx-dtile__meta { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #E7D6B6; margin-bottom: 6px; }
.ctv-cityx-dtile__title { display: block; font-family: var(--font-serif); font-size: 24px; line-height: 1.15; color: var(--ctv-cream); font-weight: 600; }
/* Mobile stack — attribute selectors listed so they cannot out-specify this rule. */
@media (max-width: 860px) { .ctv-cityx-dtiles, .ctv-cityx-dtiles[data-tiles="1"], .ctv-cityx-dtiles[data-tiles="2"] { grid-template-columns: 1fr; } }

/* §6 Practical count grid (4 cards) + POI compact block below */
.ctv-cityx-countgrid { grid-template-columns: repeat(4, 1fr); }
.ctv-cityx-poiblock { margin-top: 36px; }
.ctv-cityx-poiblock__label { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ctv-gold-deep); margin: 0 0 14px; }
@media (max-width: 860px) { .ctv-cityx-countgrid { grid-template-columns: repeat(2, 1fr); } }

/* §4 A perfect day — full-bleed burgundy panel */
.ctv-cityx-pday { background: var(--ctv-burgundy); border-radius: var(--radius-lg); padding: 48px 44px; } /* item 12: 6px -> --radius-lg (10px) */
.ctv-cityx-pday__eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ctv-gold-on-dark); margin: 0; }
.ctv-cityx-pday__h2 { font-family: var(--font-serif); font-size: 36px; line-height: 1.15; color: var(--ctv-cream); font-weight: 600; margin: 14px 0 0; }
.ctv-cityx-pday__intro { font-family: var(--font-ui); font-size: 16px; line-height: 1.6; color: rgba(253,246,238,0.82); margin: 14px 0 0; max-width: 640px; }
.ctv-cityx-pday__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 32px; }
/* item 12: times #C9A45C over rgba(201,164,92,0.4). #C9A45C is the live token
   --ctv-gold-on-dark; the rule colour is that token at 40% alpha (color-mix),
   so nothing is hardcoded (Amendment 1). */
.ctv-cityx-slot__time { display: block; font-family: var(--font-serif); font-size: 15px; color: var(--ctv-gold-on-dark); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--ctv-gold-on-dark) 40%, transparent); }
.ctv-cityx-slot__title { font-family: var(--font-serif); font-size: 20px; color: var(--ctv-cream); font-weight: 600; margin: 0 0 8px; }
.ctv-cityx-slot__text { font-family: var(--font-ui); font-size: 15px; line-height: 1.55; color: rgba(253,246,238,0.75); margin: 0; }
@media (max-width: 860px) { .ctv-cityx-pday__grid { grid-template-columns: repeat(2, 1fr); } .ctv-cityx-pday { padding: 36px 24px; } }

/* §5 Seasons — month eyebrow */
.ctv-cityx-seasons { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ctv-cityx-season { background: var(--ctv-white); border: 1px solid var(--ctv-linen); border-radius: 6px; padding: 24px 26px; border-top: 1px solid var(--ctv-linen); }
.ctv-cityx-season__months { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ctv-slate); margin: 0 0 8px; }
.ctv-cityx-season__name { font-family: var(--font-serif); font-size: 22px; color: var(--ctv-charcoal); font-weight: 600; margin: 0 0 10px; }
.ctv-cityx-season__note { font-family: var(--font-ui); font-size: 15px; line-height: 1.55; color: var(--ctv-slate); margin: 0 0 14px; }
.ctv-cityx-season__tag { display: inline-block; background: var(--ctv-gold-tint); color: var(--ctv-burgundy); font-family: var(--font-ui); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 860px) { .ctv-cityx-seasons { grid-template-columns: repeat(2, 1fr); } }

/* §6 Within reach — drive-time cards + dark town tiles */
.ctv-cityx-drivegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ctv-cityx-drive { background: var(--ctv-white); border: 1px solid var(--ctv-linen); border-radius: 6px; padding: 20px 24px; }
.ctv-cityx-drive__label { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ctv-gold-deep); margin-bottom: 10px; }
.ctv-cityx-drive__names { font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--ctv-slate); }
.ctv-cityx-towns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.ctv-cityx-town { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; border-radius: 6px; padding: 20px; background: linear-gradient(180deg, #2a1a1e, #1a1012); text-decoration: none; }
.ctv-cityx-town__name { font-family: var(--font-serif); font-size: 22px; color: var(--ctv-cream); font-weight: 600; }
.ctv-cityx-town__meta { font-family: var(--font-ui); font-size: 13px; color: rgba(253,246,238,0.75); margin-top: 4px; }
@media (max-width: 860px) { .ctv-cityx-drivegrid, .ctv-cityx-towns { grid-template-columns: repeat(2, 1fr); } }

/* §7 FAQ list */
.ctv-cityx-faq__list { }
.ctv-cityx-faq__item { padding: 28px 0; border-top: 1px solid var(--ctv-linen); }
.ctv-cityx-faq__item:first-child { border-top: 0; padding-top: 0; }
.ctv-cityx-faq__q { font-family: var(--font-serif); font-size: 22px; color: var(--ctv-charcoal); font-weight: 600; margin: 0 0 10px; }
.ctv-cityx-faq__a, .ctv-cityx-faq__a p { font-family: var(--font-ui); font-size: 16px; line-height: 1.65; color: var(--ctv-slate); }

/* §8 Closing — burgundy panel, no buttons */
.ctv-cityx-closing { background: var(--ctv-burgundy); border-radius: 6px; padding: 48px 44px; margin-top: 0; }
.ctv-cityx-closing__inner { all: unset; } /* inert today (no __inner rendered); paired with the kept rule above for the future signup-button layout */
.ctv-cityx-closing__eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ctv-gold-on-dark); margin: 0; }
.ctv-cityx-closing__h2 { font-family: var(--font-serif); font-size: 36px; line-height: 1.15; color: var(--ctv-cream); font-weight: 600; margin: 14px 0 0; }
.ctv-cityx-closing__body { font-family: var(--font-ui); font-size: 16px; line-height: 1.6; color: rgba(253,246,238,0.82); margin: 14px 0 0; max-width: 640px; }

/* trailing space before footer */
.ctv-cityx > .ctv-cityx-section:last-of-type { padding-bottom: 88px; }

/* No-photo card: the status chip renders in the body (static, not overlaid). */
/* ============================================================================
   SLICE 3 HARDENING — measured-defect fixes (overrides the rules above).
   ========================================================================== */
/* 1. Hero — FULL-BLEED (alignment pass 2026-08-09, item A; reverses the slice-3
   contained box on Jeff's call). This is the ONE full-bleed mechanism, shared
   with the parchment band (.ctv-cityx-band, appended below): the OUTER is full
   viewport width — it is NOT a .ctv-cityx-section, so the 1200 cap never reaches
   it — and carries the background + scrim; the INNER is the 1200 container
   (margin:0 auto) whose 24px gutter puts H1 on the SAME left edge as every
   entity single. Parameterised by background + padding only. H1 stays 64/600. */
.ctv-cityx-hero { background: var(--ctv-burgundy); padding: 0; overflow: hidden; position: relative; }
/* width:100% (NOT the slice-1 min(100%,--cx-max=1120)) so max-width:1200 governs
   and the inner matches the .ctv-cityx-section 1200 container exactly — otherwise
   H1 sits 40px inboard of the card grid's left edge. */
.ctv-cityx-hero__inner { background: transparent; width: 100%; max-width: 1200px; margin: 0 auto; border-radius: 0; min-height: 520px; padding: 32px 24px; position: relative; z-index: 2; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; }
/* Photo variant: resolved image (set inline on the outer as background-image)
   fills the full-bleed band; a burgundy scrim keeps text legible. Resolver
   returns '' today (0/96) so this path is dormant but correct for when it lands. */
.ctv-cityx-hero--photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.ctv-cityx-hero--photo::before { content: ""; display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(40,12,20,0.12) 0%, rgba(30,9,15,0.68) 100%); }
.ctv-cityx-hero__title { font-family: var(--font-serif); font-size: 64px; line-height: 1.02; letter-spacing: -0.02em; font-weight: 600; color: var(--ctv-cream); margin: 0 0 14px; }
.ctv-cityx-hero__eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #E7D6B6; margin: 0 0 14px; }
.ctv-cityx-hero__standfirst { color: rgba(253,246,238,0.9); }
.ctv-cityx-hero__chips .ctv-role-chip { display: inline-flex; align-items: center; background: rgba(253,246,238,0.16); color: #E7D6B6; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 640px) { .ctv-cityx-hero__title { font-size: 44px; } .ctv-cityx-hero__inner { min-height: 380px; } }

/* 2 + 5. Section padding-top: all 88 (undo slice-1's 0), first-under-nav 72
   (alignment pass item 5: overview rhythm 48 -> 72, reference value). */
.ctv-cityx-section + .ctv-cityx-section { padding-top: 88px; }
.ctv-cityx-nav + .ctv-cityx-section { padding-top: 72px; }

/* 3. Aside is a card; the map bleeds flush to the top edge.
   🔴 BOUND TO THE MAP, NOT TO POSITION. This was `> :first-child`, which is a
   STRUCTURAL selector — so on any city where [ctv_city_map] suppresses (no
   entities to pin, so nothing to map) the 200px crop landed on whatever happened
   to be first instead, which is .ctv-glance. Nothing clips today (the deepest
   glance anywhere is 3 rows and stays under 200px), but it pinned the glance to a
   dead 200px box on already-sparse pages, and a 4th row or a longer appellations
   list would have started cutting content silently.
   :first-child is RETAINED as a guard, not as the binding: the -26px top margin
   only makes sense flush against the card's top edge, so if the map ever stops
   being first the crop should stop applying rather than pull it into a sibling. */
.ctv-cityx-aside { background: var(--ctv-white); border: 1px solid var(--ctv-linen); border-radius: 6px; box-shadow: 0 2px 8px rgba(74,16,32,0.06); padding: 26px 28px; }
.ctv-cityx-aside > .ctv-citymap:first-child { margin: -26px -28px 22px; height: 200px; border-radius: 6px 6px 0 0; overflow: hidden; }
.ctv-cityx-aside > .ctv-citymap:first-child img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 4. Entity cards: no spine; photo block always (placeholder when no image); chip on photo *//* 6. Perfect-day slot stacks; panel grid is 4 equal columns */
.ctv-cityx-slot { display: block; grid-template-columns: none; }
.ctv-cityx-pday__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .ctv-cityx-pday__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ============================================================================
   ALIGNMENT PASS 2026-08-09 — design-system reconciliation (items 6, 8, 9, 10,
   11, 13 + Amendment 2 full-bleed mechanism). Overrides the rules above.
   ========================================================================== */

/* --- Amendment 2: the ONE full-bleed band, SAME mechanism as the hero ---------
   OUTER (.ctv-cityx-band) is full viewport width — it is NOT a .ctv-cityx-section,
   so the 1200 cap never reaches it — and carries the background + hairline borders;
   INNER (.ctv-cityx-band__inner) is the 1200 container (margin:0 auto) with the
   band padding. Item 6's "Where to eat" parchment band is the first user. */
.ctv-cityx-band { width: 100%; }
.ctv-cityx-band__inner { max-width: 1200px; margin: 0 auto; }
.ctv-cityx-band--parchment { background: var(--ctv-parchment); border-top: 1px solid var(--ctv-linen); border-bottom: 1px solid var(--ctv-linen); margin-top: 88px; }
.ctv-cityx-band--parchment > .ctv-cityx-band__inner { padding: 80px 24px; }
/* The section that follows the parchment band is not an adjacent .ctv-cityx-section
   sibling, so it keeps its base 88px top from the section shell — the band's own
   border-bottom + the next section's 88px give the rhythm. No extra rule needed. */

/* --- item 8: "See all N" affordance on the practical count cards -------------- */
.ctv-cityx-countcard__seeall { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ctv-gold-deep); }
.ctv-cityx-countcard__seeall::after { content: "\2192"; }
/* Non-navigable cards (no facet URL) render as <div> and omit the affordance in PHP. */

/* --- item 9: FAQ two-column grid (eyebrow+rule+H2 | Q&A list) ------------------
   The section's direct children are .ctv-cityx-hd (col 1), .ctv-cityx-faq__list
   (col 2) and the FAQPage <script> (display:none — NO track, asserted in verify).
   Zero the header->list adjacency margin so both columns top-align. */
.ctv-cityx-faq { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.ctv-cityx-faq > .ctv-cityx-hd__h2 + .ctv-cityx-faq__list,
.ctv-cityx-faq .ctv-cityx-faq__list { margin-top: 0; }
@media (max-width: 860px) { .ctv-cityx-faq { grid-template-columns: 1fr; gap: 32px; } }

/* --- item 11: descriptive photo-placeholder labels wrap centred --------------- */
/* --- item 10: closing CTA — ONE cream-primary button ("Read the region guide").
   🔴 SIGNUP SEAM: MailerLite is implemented but the FORM is not built and there is
   no live signup URL, so we ship NO signup button today. When the form lands, add
   a FIRST button `.ctv-cityx-cta__btn--primary` (cream) for signup and DEMOTE this
   region-guide button to the outlined secondary variant already defined below —
   do not link a guessed/disabled signup button in the meantime. */
.ctv-cityx-closing__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ctv-cityx-cta__btn { display: inline-flex; align-items: center; font-family: var(--font-ui); font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 4px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; }
/* Cream primary (editorial 4px radius, NOT a pill). The region-guide button wears
   this today; it becomes --secondary once a signup primary exists (see seam). */
.ctv-cityx-cta__btn--primary { background: var(--ctv-cream); color: var(--ctv-burgundy); }
/* Outlined secondary — defined now so the seam is a one-line class swap later. */
.ctv-cityx-cta__btn--secondary { background: transparent; border-color: rgba(253,246,238,0.55); color: var(--ctv-cream); }

/* --- item 13: motion §9 (tokens: --ease-out, --dur-*). Restrained, no bounce. */.ctv-cityx-countcard { transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.ctv-cityx-cta__btn { transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.ctv-cityx-cta__btn--primary:hover { background: color-mix(in srgb, var(--ctv-cream) 92%, var(--ctv-burgundy-deep)); color: var(--ctv-burgundy-deep); } /* §9.2 "darken to --ctv-burgundy-deep": cream fill darkens toward it, text goes to it (spec assumes a burgundy-fill primary; adapted for the cream fill — see report) */
.ctv-cityx-cta__btn--secondary:hover { background: rgba(253,246,238,0.08); }
.ctv-cityx-cta__btn:active { transform: scale(0.98); }
/* §9.3 focus ring. B9 (2026-08-22): this was gold at 18% alpha, which is FAINTER
   than the global ring that was itself measured at 1.54:1 against a 3:1
   requirement (WCAG 2.2 SC 1.4.11). At 18% it is essentially invisible, and it
   applied to every link and button across 96 city pages.

   Solid --ctv-gold measures 4.14:1 on cream and 3.42:1 on burgundy, so it clears
   the bar on both grounds this template uses. Still `outline` rather than
   box-shadow, deliberately, so it does not clobber a component's elevation
   shadow -- that part of the original reasoning was right and is kept. */
.ctv-cityx :is(a, button):focus-visible { outline: 3px solid var(--ctv-gold); outline-offset: 2px; }
/* §9.4 respect reduced motion (newly added — none existed in this stylesheet). */
@media (prefers-reduced-motion: reduce) {
  .ctv-cityx *, .ctv-cityx *::before, .ctv-cityx *::after { transition: none !important; }
  .ctv-cityx-cta__btn:active { transform: none; }
  :root:has(.ctv-cityx) { scroll-behavior: auto; }
}

/* ============================================================================
   MOBILE REVIEW FIXES 2026-08-10 (items 2,3,4,5,10,11a,11b + status temp chip).
   ========================================================================== */

/* item 6 support: Temporarily-Closed card chip (Open no longer rendered; Seasonal
   already styled above). TEXT on the label token, DOT on the brand token. *//* item 5: bold the At-a-glance labels — SCOPED to .ctv-cityx so the shared
   [ctv_city_glance] on the other 92 cities stays weight 400. */
.ctv-cityx .ctv-glance__key { font-weight: 600; }

/* item 2 (round 3): our "View the full map" ::after was REMOVED — the shared
   [ctv_city_map] shortcode already renders its own .ctv-citymap__cta (bottom-left),
   so ours was a desktop duplicate. The shared CTA is healthy at every reachable
   width (measured 132x27, inside the thumb); no scoped override added. */

/* item 11a: Within-reach tier now carries labelled Appellations / Towns rows. */
.ctv-cityx-drive__row { margin-top: 12px; }
.ctv-cityx-drive__row:first-of-type { margin-top: 12px; }
.ctv-cityx-drive__rlabel { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ctv-slate); margin-bottom: 3px; }

/* item 11b: "What's here" counts block in the aside — serif numeral + label rows. */
.ctv-cityx-whatishere { margin-top: 4px; }
.ctv-cityx-whatishere__row { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid var(--ctv-linen); }
.ctv-cityx-whatishere__row:first-of-type { border-top: 0; padding-top: 4px; }
.ctv-cityx-whatishere__n { font-family: var(--font-serif); font-weight: 600; font-size: 22px; line-height: 1; color: var(--ctv-burgundy); min-width: 1.6em; text-align: right; }
.ctv-cityx-whatishere__label { font-family: var(--font-ui); font-size: 14px; color: var(--cx-ink); }

/* item 10: perfect-day column misalignment. The per-slot border-top + 18px vertical
   padding (from the slice-2A list layout) rendered slot 1 nineteen px low in a
   multi-column grid because only :first-child was zeroed. Inside the panel the
   divider is the __time gold rule, so drop the slot border/padding entirely and let
   the grid gap space rows; align-items:start tops-aligns every cell in its row. */
.ctv-cityx-pday__grid { align-items: start; }
.ctv-cityx-pday__grid .ctv-cityx-slot { border-top: 0; padding: 0; }

/* item 2: mobile breadcrumb shows only "Back to {Region}" (.ctv-breadcrumbs__back).
   Hide the duplicate second-level trail + divider. SCOPED to .ctv-cityx; the shared
   breadcrumb on other pages and the BreadcrumbList JSON-LD are untouched. */
@media (max-width: 640px) {
  .ctv-cityx .ctv-breadcrumbs__divider,
  .ctv-cityx .ctv-breadcrumbs__trail { display: none; }
}

/* item 3: mobile section rhythm. Desktop is 72 (#cx-overview) / 88 (others). With the
   sticky nav removed the .ctv-cityx-nav + section selector no longer exists, so the
   overview top padding is re-anchored on #cx-overview directly. README §10 allows the
   drop to ~56 on mobile; overview goes to ~40. */
#cx-overview { padding-top: 72px; }
@media (max-width: 640px) {
  .ctv-cityx-section + .ctv-cityx-section { padding-top: 56px; }
  #cx-overview { padding-top: 40px; }
}

/* ============================================================================
   REVIEW ROUND 3 2026-08-10 (items 3, 4, 5). All scoped under .ctv-cityx.
   ========================================================================== */

/* item 3: air between the full-bleed hero and the facts strip (the contained-box
   reference got this free from its cream gutter; full-bleed removed it). */
.ctv-cityx-orient { margin-top: 32px; }
@media (max-width: 640px) { .ctv-cityx-orient { margin-top: 24px; } }

/* item 4: facts-strip labels — fuller desktop label, short mobile label (one hidden
   per breakpoint via display:none, so the hidden one leaves the a11y tree). Mobile
   cell padding tightens 22/24 -> 20/16 to buy the worst label its clearance at 360px.

   🔴 ROUND 4 item 2b REVERSES round 3's value bottom-alignment. `margin-top:auto` on
   the value was measuring 36.3px on Napa's "Stay for" cell, pushing "2 to 3 days" onto
   a second visual line because it was baseline-matched to the two-line "May, October,
   November" beside it. Bottom-align fixed wrapping LABELS (3 cities) but broke wrapping
   VALUES (every city with a long "best months"). Top-align in natural flow is the better
   default — mobile labels are all one line, and so are 93 of 96 desktop labels. The cells
   still stretch to equal height via the grid; only the value's position changed. */
.ctv-cityx-orient__label--m { display: none; }
@media (max-width: 640px) {
  .ctv-cityx-orient__label--d { display: none; }
  .ctv-cityx-orient__label--m { display: inline; }
  .ctv-cityx-orient__cell { padding: 20px 16px; }
}

/* item 5: invert At-a-glance emphasis — labels take the "Know before you go" tip-title
   style, values take the tip-body style. SCOPED to .ctv-cityx; the shared [ctv_city_glance]
   on the other 92 cities keeps its 13/600 key + 15/400 value. */
.ctv-cityx .ctv-glance__key { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ctv-charcoal); }
.ctv-cityx .ctv-glance__val { font-family: var(--font-ui); font-size: 13.5px; font-weight: 400; line-height: 1.5; color: var(--ctv-slate); }

/* ============================================================================
   REVIEW ROUND 4 2026-08-10 (items 1, 2, 4, 6). All scoped under .ctv-cityx.
   ========================================================================== */

/* item 1b: the WHY GO header carries no subline, so the H2's margin:0 put the
   Fraunces lede hard against it. 20px of air, scoped to the overview header only
   (every other section gets its gap from .ctv-cityx-hd__sub). */
.ctv-cityx #cx-overview .ctv-cityx-hd__h2 { margin-bottom: 20px; }

/* item 1c: the verdict now CLOSES the overview (item 1a reorder), so it needs to
   read as a labelled panel rather than an unattributed pull-quote. The left border
   is REMOVED — single-sided accents were taken off the cards last round for exactly
   this reason (they read as a quote bar, not a role). The eyebrow is a ::before on
   the shared .ctv-verdict markup, so inc/cities.php is untouched; the shortcode
   already carries aria-label="Our verdict", so the a11y name is unchanged and the
   pseudo-element is purely visual. Body drops to slate to match the other
   paragraphs (it was charcoal, which competed with the lede). */
.ctv-cityx .ctv-cityx-overview__body .ctv-verdict {
  margin: 28px 0 0;
  padding: 24px;
  border-left: 0;
  border-radius: 6px;
  background: var(--ctv-parchment);
}
.ctv-cityx .ctv-cityx-overview__body .ctv-verdict::before {
  content: "Our verdict";
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ctv-gold-deep);
  margin-bottom: 12px;
}
.ctv-cityx .ctv-cityx-overview__body .ctv-verdict__body p {
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ctv-slate);
}

/* item 2a: the facts strip is white cells on a linen grid, and .ctv-cityx-orient__inner
   is ALSO linen — so its 24px horizontal padding rendered as a tan band down each side
   of the viewport. At <=640 the cells run to the edge instead; the cells keep their own
   20/16 padding, so the text never touches the edge. */
@media (max-width: 640px) {
  .ctv-cityx .ctv-cityx-orient__inner { padding-left: 0; padding-right: 0; }
}

/* item 4: rail header becomes the reference's two-column row — text left, outlined
   gold CTA right, bottom-aligned with the H2 block. Only .ctv-cityx-hd--cta (the
   three rails) is a flex row; every other section header keeps its original markup
   and layout. At <=640 it stacks and the CTA goes full-width for a 44px+ target. */
.ctv-cityx .ctv-cityx-hd--cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ctv-cityx .ctv-cityx-hd--cta .ctv-cityx-hd__sub { margin-bottom: 0; }
.ctv-cityx .ctv-cityx-hd__cta {
  flex: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ctv-gold-deep);
  border: 1px solid var(--ctv-gold);
  border-radius: 4px;
  padding: 12px 22px;
  text-decoration: none;
  white-space: nowrap;
}
.ctv-cityx .ctv-cityx-hd__cta:hover,
.ctv-cityx .ctv-cityx-hd__cta:focus-visible { background: var(--ctv-gold); color: var(--ctv-white); }
/* The rails' grid used to be spaced by .ctv-cityx-hd__sub's 28px bottom margin, which
   the flex row zeroes; put that gap back on the header itself. */
.ctv-cityx .ctv-cityx-hd--cta { margin-bottom: 28px; }
@media (max-width: 860px) {
  .ctv-cityx .ctv-cityx-hd--cta { flex-direction: column; align-items: stretch; gap: 20px; }
  .ctv-cityx .ctv-cityx-hd__cta { white-space: normal; text-align: center; align-self: flex-start; }
}
@media (max-width: 640px) {
  .ctv-cityx .ctv-cityx-hd__cta { align-self: stretch; min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* item 6: within-reach names are now links where the slug resolves to a published
   post; unresolved names stay plain text in the same position (see
   ctv_cityx_within_names). Underline on hover only, so a six-name row is not a wall
   of rules. */
/* NOT --ctv-gold-tint (#F1E6D2) — that token is a pale FILL and vanishes as a rule.
   This is --ctv-gold (#9A7030) at 40%. */
.ctv-cityx .ctv-cityx-drive__link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(154, 112, 48, 0.4); }
.ctv-cityx .ctv-cityx-drive__link:hover,
.ctv-cityx .ctv-cityx-drive__link:focus-visible { color: var(--ctv-gold-deep); border-bottom-color: var(--ctv-gold-deep); }

/* item 3: the map CTA was going missing on Jeff's phone. Round 3 established it is
   NOT a duplicate and NOT a @media rule in ctv-global (there is none touching
   .ctv-citymap), and at 500px it measures healthy and geometrically inside the
   thumb — neither of us can reach 390px, so this changes the MECHANISM rather than
   chasing the diagnosis further.

   At <=640 the CTA leaves absolute positioning and sits in NORMAL FLOW directly
   below the map image. In flow it cannot be clipped by the thumb's overflow:hidden
   (in-flow content grows the box instead of being cut by it), cannot be covered by
   anything painted over the image, and min-height 44px gives it the tap target
   README §10 asks for. It stays the SAME element inside the same <button>, so the
   modal trigger is unchanged and there is exactly ONE CTA by construction — not by
   a matching pair of show/hide media queries that could drift apart. Reasons the
   two-element version was rejected: [ctv_city_map] is shared (cannot be edited) and
   its JS reads a 27.7 KB JSON payload off the clicked element, so a second trigger
   costs either that payload again on every page or a new JS shim.

   🔴 ABOVE 640 NOTHING CHANGES — the shared bottom-left overlay is untouched. */
@media (max-width: 640px) {
  .ctv-cityx .ctv-citymap__cta {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 0;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
   item 3, ROUND 3 OF THE MAP CTA — THE ACTUAL CAUSE, in the ANCESTOR chain.

   Three attempts failed because each verified the CTA's own geometry and never
   walked up the tree. The button renders exactly where it was measured and is
   then CUT OFF by a grandparent:

     .ctv-citymap__cta    h 44px    overflow visible   bottom 2664.5
     .ctv-citymap__thumb  h 236.1px overflow hidden    bottom 2665.5  <- fine,
                                    height is DERIVED so the box grew with the
                                    in-flow button; nothing to fix here
     .ctv-citymap         h 200px   overflow HIDDEN    bottom 2629.4  <- CLIPPER
                                    35.1px of the button is cut

   🔴 The 200px is OURS, not shared. It comes from the aside's flush-top card
   treatment 60 lines up:
       .ctv-cityx-aside > :first-child { margin:-26px -28px 22px; height:200px;
                                         border-radius:6px 6px 0 0; overflow:hidden }
   That is a STRUCTURAL selector, not a map selector — which is exactly why three
   rounds of grepping "citymap" never found it. ctv-global.css sets no height on
   .ctv-citymap at all (only margin), so nothing shared needs overriding.

   The cap is correct and deliberate WHERE THE ASIDE IS THE NARROW SIDEBAR: it is
   what makes the map bleed flush to the card's top edge, and there the thumb is
   338x191 so the absolutely-positioned CTA sits comfortably inside 200px.

   🔴 The release is keyed to 860, NOT 640, because the breakpoint that matters is
   the one where .ctv-cityx-overview collapses to a single column and the aside
   goes FULL WIDTH. At that point the thumb hits its own max-width:640 and grows
   to ~361px tall, so the 200px cap crops the map AND clips the overlay. Measured
   before the fix: 120px clipped at 641, 148px at 700-860, correct again from 861
   where the grid returns to two columns. Keying this to 640 (the CTA-reflow
   breakpoint) left exactly that 641-860 band broken — a real off-by-one, since
   the two breakpoints answer different questions:
     640 = "is the CTA in flow?"        -> the reflow rule below
     860 = "is the aside full width?"   -> this height/overflow release
   Net effect: <=640 map ~192px with the CTA a full-width bar in flow beneath it;
   641-860 map ~361px with the overlay CTA visible bottom-left; >=861 completely
   unchanged, the 200px flush crop.

   Selector note: this MUST stay at least as specific as the flush-crop rule it
   overrides. That rule is now `.ctv-cityx-aside > .ctv-citymap:first-child`
   (0,3,0); matching it exactly and prefixing .ctv-cityx makes this (0,4,0), so
   the override wins on specificity rather than on source order — not on being
   further down the file.
   --------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .ctv-cityx .ctv-cityx-aside > .ctv-citymap:first-child { height: auto; overflow: visible; }
}
