/*
 * coastal.css: GH #4576, the CTH coastal pages.
 *
 * WHY its own file, linked after planning-areas.css: only a brand with coastal tiers
 * (CTH) links the pair (the nav, on every page of that brand), so these rules reach
 * CTH alone. planning-areas.css carries the compact header, chips and the compact
 * search toolbar; this file swaps its palette for a coastal one, turns its split view
 * back into a full-width page (.cth-wide) and styles what is CTH's own: the search
 * pages' quick search band, distance strip, "Change region" list and vertical coast
 * (views/coastal_fragments.go and coastal_map.go write the class names). Owner
 * 2026-11-29: the CTH home is a search page, so its band and county column are gone.
 */

/* Owner 2026-11-28 ("in the style of CVSDH"): the same paper-and-ink structure, the
   colours of the coast: sand paper, deep sea ink, a sunset accent for highlights.
   GH #4576 (owner 2026-11-28, verbatim: "cth layout still sucks, try harder"; UX
   review: one hue for an ordered scale): WHY one sand ramp, deep at the shore and
   paling inland: the tiers are one ordered quantity, which one hue stepping in
   lightness reads as order, where the former sand-to-sage ran two hues. The owner's
   "for cth, the ocean is blue, the coast should not be blue" keeps blue for the sea
   alone. The strip's blocks and the matrix columns read these same five, and the
   darkest still holds the ink text above 6:1. */
:root {
  --pa-bg: #f8f5ee;
  --pa-line: #e2dccd;
  --pa-muted: #5f6b6d;
  --pa-ink: #1f2a2e;
  --pa-accent: #134a6b;
  /* WHY (owner 2026-11-29, verbatim: "review all sites for aligment, spacing, deadzones,
     etc"): the label colour on this --pa-accent fill (_global.css .btn-r66-primary),
     declared beside the accent it pairs with; white on the sea ink is 9.5:1. */
  --pa-accent-ink: #fff;
  --pa-gold: #d08a3c;
  --cth-sea: #5f9ab0;
  --cth-t1: #cfa76c;
  --cth-t2: #dcbc8a;
  --cth-t3: #e7cfa8;
  --cth-t4: #efdfc4;
  --cth-t5: #f6eedf;
}
.pa-search-go:hover,
.pa-search-go:focus {
  background: #0d3650;
}

/* GH #4576, owner 2026-11-28, verbatim: "this cth design is still wonky, very
   inefficient use of screen space". CTH has no real map, so its pages keep the split's
   class names (for planning-areas.css's compact header and toolbar) but not its layout:
   no one-viewport body with an inner scroller, no two-column grid; the page scrolls
   normally and the listings take the full width. WHY these selectors: each outranks or
   equals the planning-areas.css rule it undoes, and this file loads after it. */
body:has(> .pa-split.cth-wide) {
  display: block;
  height: auto;
  overflow: visible;
}
body:has(> .pa-split.cth-wide) > .pa-split {
  display: block;
}
.cth-wide > .pa-split-list {
  overflow: visible;
}
/* WHY a cap: planning-areas.css sets the column's containers to width auto (they sat in
   a half-width column); full-bleed at 1920px would stretch the heading and toolbar rows
   across the screen, so they stop at 1440px, centred. */
.cth-wide .pa-split-list .container {
  max-width: 1440px;
}

/* The search pages' distance strip: the ocean's edge, then one band per tier, nearest
   the sea darkest. Phone first: a compact row that scrolls sideways, so the cards
   follow right under it. */
.cth-strip {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0 0 10px;
  overflow-x: auto;
  border-radius: 8px;
}
.cth-strip-ocean {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--cth-sea);
  color: #ffffff;
  font: italic 600 16px/1.1 var(--pa-serif);
  white-space: nowrap;
}
.cth-strip-band {
  flex: 1 0 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
  padding: 6px 12px;
  border: 2px solid transparent;
  color: var(--pa-ink);
  text-decoration: none;
}
.cth-strip-band:nth-of-type(1) {
  background: var(--cth-t1);
}
.cth-strip-band:nth-of-type(2) {
  background: var(--cth-t2);
}
.cth-strip-band:nth-of-type(3) {
  background: var(--cth-t3);
}
.cth-strip-band:nth-of-type(4) {
  background: var(--cth-t4);
}
.cth-strip-band:nth-of-type(5) {
  background: var(--cth-t5);
}
.cth-strip-band:hover,
.cth-strip-band:focus {
  color: var(--pa-ink);
  text-decoration: underline;
}
.cth-strip-band:focus-visible {
  outline: 2px solid var(--pa-ink);
  outline-offset: -4px;
}
/* The page's own tier: an ink frame, the planning-area current-area rule's role. */
.cth-strip-band.cth-strip-on {
  border-color: var(--pa-ink);
}
.cth-strip-name {
  font: italic 600 17px/1.15 var(--pa-serif);
  white-space: nowrap;
}
.cth-strip-stat {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* NOTE (GH #4587): the airfield pages' runway strip reuses the coastal strip; its edge
   is the runway, set in ink rather than the sea's blue. */
.cth-strip-ocean.cth-strip-runway {
  background: var(--pa-ink);
}

/* NOTE (GH #4587): an airfield page's fact panel above its results: the facts as one
   wrapping row of label/value pairs, then the private-use caution and the noise
   disclosure in small print. */
.cth-airfield {
  margin: 0 0 12px;
}
.cth-airfield-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 6px;
}
.cth-airfield-facts dt {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cth-airfield-facts dd {
  margin: 0;
}
.cth-airfield-private {
  margin: 0 0 4px;
  font-weight: 600;
}
/* NOTE (owner 2026-11-29, verbatim: "move the disclaimer down below the results"): the
   disclosure closes the listings, spaced off the pagination above it. */
.cth-airfield-disclosure {
  margin: 16px 0 20px;
  font-size: 13px;
}

/* NOTE (GH #4587): the /airparks/ index: one line per airfield, its name the link,
   then its identifier, place and runway, and the homes near it. */
.cth-airparks-intro {
  max-width: 60em;
}
.cth-airparks-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.cth-airparks-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e5e5e5;
}
.cth-airparks-id {
  font-weight: 600;
}
.cth-airparks-facts,
.cth-airparks-homes {
  display: block;
  font-size: 13px;
}
.cth-airparks-homes {
  font-weight: 600;
}
/* NOTE (owner 2026-11-29, verbatim: "add Fiel, Pavement, and Length filters" then
   "Fuel"): the index's filter bar, four small selects on one row under the intro, then
   the count line. WHY flex with a basis and wrap: one row in the list column, two on a
   narrow phone, never a select squeezed past its label; width auto undoes Bootstrap's
   full-width form-control. */
.cth-airparks-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}
.cth-airparks-filters .form-control {
  flex: 1 1 9em;
  width: auto;
  min-width: 0;
}
.cth-airparks-count {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

/* The coastal page's heading block, spaced as the landing page's (12px, GH #4570): the
   H1 and "Change region" share one row, wrapping on a phone. */
.cth-coast-head {
  padding-top: 12px;
}
.cth-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 0 0 8px;
}
.cth-head-row .pa-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

/* "Change region": the summary is a quiet link-like button; the opened list overlays
   the page under it, so opening it never pushes the listings down. */
.cth-region {
  position: relative;
  flex: 0 0 auto;
  font-size: 14px;
}
.cth-region > summary {
  display: inline-block;
  min-height: 32px;
  padding: 5px 12px;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 999px;
  color: var(--pa-accent);
  cursor: pointer;
}
/* WHY a drawn caret: as an inline-block the summary loses its native disclosure
   triangle (and Safari's -webkit marker is hidden to match), yet it must still read as
   a control that opens. WHY list-style none: no browser draws a marker of its own beside
   the caret. WHY borders, not a glyph (owner 2026-11-29, verbatim: "review all sites for
   aligment, spacing, deadzones, etc"): the former "\25BE" caret drew as a missing-glyph
   box at the summary's right edge in DEV's 1366px capture (premerge-dba458bbf), its font
   stack having no U+25BE; a border triangle needs no font. */
.cth-region > summary {
  list-style: none;
}
.cth-region > summary::-webkit-details-marker {
  display: none;
}
.cth-region > summary::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 5px solid currentColor;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.cth-region[open] > summary {
  border-color: var(--pa-accent);
}
.cth-region-list {
  position: absolute;
  left: 0;
  z-index: 20;
  width: 300px;
  max-width: calc(100vw - 30px);
  max-height: 60vh;
  overflow-y: auto;
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(31, 42, 46, 0.15);
}
.cth-region-list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--pa-ink);
  text-decoration: none;
}
.cth-region-list a:hover,
.cth-region-list a:focus {
  background: var(--pa-bg);
  text-decoration: underline;
}
.cth-region-list a.cth-region-on {
  font-weight: 700;
  color: var(--pa-accent);
}
/* A region with nothing counted at this distance: last and greyed, still a link. */
.cth-region-empty a {
  color: var(--pa-muted);
}

/* GH #4576 (owner 2026-11-29, verbatim: "too much deadspace"): from tablet width the
   CTH logo (badge plus COMPASS wordmark, one 600x191 image) is 88px tall, not the
   shared 376px-wide cap's 120px. WHY: the one-line tabs sit centred beside it
   (planning-areas.css), so every pixel of logo height past theirs was a blank band
   under the tabs; the logo's text stays legible at 88px. The phone header keeps its
   wrapped row and width-capped logo. Owner 2026-11-29, verbatim, of a page under the
   stacked header: "this layout is discomboluated": WHY every page, not only the split
   pages: planning-areas.css now gives every page the same one-band header, so the logo
   keeps one size across CTH's pages. Equal specificity to that file's 80px rule; this
   file links after it, so 88px wins. */
@media (min-width: 768px) {
  body > .logo-menu-wrapper img.mainlogo {
    width: auto;
    height: 88px;
  }
}

/* A tier the fill counts empty for this area: no link (views/coastal_fragments.go
   writeCoastalStrip), its tint kept, the name muted. Owner 2026-11-29: an empty tier's
   search would open on the nearest wider tier, not the one clicked. */
.cth-strip-band.cth-strip-empty,
.cth-strip-band.cth-strip-empty:hover {
  color: #8a8270;
  text-decoration: none;
  cursor: default;
}

/* ---- Search pages: the quick search band -----------------------------------------
   Owner 2026-11-29 ("Make it look exatly like search results"): the CTH home is a
   search page, so the quick search the home band carried heads every CTH search page
   (views/coastal_fragments.go writeCoastalSearchBand). GH #4576 (owner: "cth layout
   still sucks, try harder"): WHY one wrapping row: the tabs, the field and its
   controls share one line where the width allows and wrap under each other otherwise,
   so the band takes one row at 1440px and the field is always visible. */
.cth-search-band {
  padding-bottom: 8px;
}
.cth-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  min-width: 0;
}
.cth-band > .pa-quick-search {
  flex: 1 1 760px;
  min-width: 0;
  margin: 0;
}
/* The form is one wrapping row: the tabs, then the active pane's controls. */
.cth-band #SearchForm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
/* The Find a Home tab and Sell My Home link as one quiet segmented control in the row. */
.cth-home-tabs {
  flex: 0 0 auto;
  display: flex;
  margin: 0;
  border: 1px solid var(--pa-line);
  border-radius: 6px;
  overflow: hidden;
}
.cth-home-tabs > li {
  float: none;
  margin: 0;
}
.cth-home-tabs > li > a.lead,
.cth-home-tabs > li.active > a.lead,
.cth-home-tabs > li.active > a.lead:hover,
.cth-home-tabs > li.active > a.lead:focus {
  margin: 0;
  padding: 11px 12px;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--pa-accent);
  background: var(--pa-panel);
}
.cth-home-tabs > li.active > a.lead,
.cth-home-tabs > li.active > a.lead:hover,
.cth-home-tabs > li.active > a.lead:focus {
  background: var(--pa-accent);
  color: #ffffff;
}
/* Owner 2026-11-29, verbatim: "review all sites for aligment, spacing, deadzones, etc":
   WHY display contents on the tab pane and its wrapper: the field, Near Me Now and More
   filters become items of the form's own row beside the tabs, so every line of the row
   is centred on its own. Nested, the pane wrapped inside itself (More filters alone on a
   second line) and the two-line pane, centred against the one-line tabs, put the field
   27px above the toggle (DEV 1366px, run premerge-dba458bbf). */
.cth-band .tab-content,
.cth-band #home.active {
  display: contents;
}
/* WHY 360px: the field keeps its whole "City, neighborhood, ZIP or address" placeholder
   beside the Search button (it was cut at ~180px); it grows into any width the row
   leaves, and min() lets a phone's narrower line hold it. */
.cth-band .pa-search {
  flex: 1 1 360px;
  min-width: min(360px, 100%);
  max-width: none;
}
.cth-near-me {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}
/* WHY margin-left auto: More filters ends the row at the column's right edge on any
   line it lands on, so its right-aligned panel always opens inside the column. */
.cth-band .pa-more {
  position: relative;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
}
/* The More filters fields drop down as one panel under the summary, right-aligned to
   it, so opening them covers the listings rather than pushing them down. */
.cth-more-panel {
  position: absolute;
  right: 0;
  z-index: 30;
  width: 640px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(31, 42, 46, 0.15);
}
/* GH #4576 (owner: "CTH map should [not] be there at all"): the band holds no map; the
   former #map_container rule is gone with it. search-map.js's status line (a Places or
   Near Me failure) takes its own full-width line under the row when it has text; WHY
   hidden when empty: an empty flex item still adds a 14px gap to the row. */
.cth-band #home > [role="status"] {
  flex: 0 0 100%;
}
.cth-band #home > [role="status"]:empty {
  display: none;
}

/* ---- Area pages: the split with the vertical coast ------------------------------
   GH #4576 (owner 2026-11-28, verbatim: "cth: once an area is selected, go into the
   zillow-like experience (CVSDH, SDCF), except the stylized map is a verticalized
   coast with salient scroll up/down only"): planning-areas.css lays out the split
   (.pa-split, one viewport, the listings column the one results scroller, the map
   stacked on top at 340px on a phone); these rules style only what is CTH's own, the
   vertical coast in the map column (views/coastal_map.go writeCoastalVerticalMap).
   The map column is a header naming the page's distance, then the coast's scroller
   between an up and a down control. */
#pa-map.cth-vmap {
  display: flex;
  flex-direction: column;
  background: var(--pa-bg);
}
.cth-vmap-head {
  flex: none;
  margin: 0;
  padding: 8px 14px;
  background: var(--pa-panel);
  border-bottom: 1px solid var(--pa-line);
  font: italic 600 18px/1.2 var(--pa-serif);
  color: var(--pa-accent);
}
.cth-vmap-body {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
}
/* WHY these: the coast scrolls up and down only (no sideways scroll, no pinch zoom:
   pan-y), and overscroll-behavior contain keeps a scroll that reaches either end from
   chaining into the page or the listings column. */
.cth-vmap-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
/* WHY height auto: the drawing keeps its viewBox's proportions at the column's width,
   so it is as tall as the coast needs and the scroller scrolls it. The pale sea is the
   drawing's background; the land is drawn over it. */
.cth-vmap-svg {
  display: block;
  width: 100%;
  height: auto;
  background: #d9e8ee;
}
.cth-vmap-land {
  fill: #f1ead9;
  stroke: #cfc3a6;
  stroke-width: 1;
}
/* A county's band is its whole row of the column, transparent until pointed at, so
   the whole band is the target. WHY fill transparent, not none: a none fill takes no
   pointer events. */
.cth-vmap-band {
  fill: transparent;
}
.cth-vmap-county:hover .cth-vmap-band,
.cth-vmap-county:focus .cth-vmap-band {
  fill: rgba(208, 138, 60, 0.14);
}
.cth-vmap-county:focus-visible {
  outline: none;
}
.cth-vmap-county:focus-visible .cth-vmap-band {
  stroke: var(--pa-ink);
  stroke-width: 2;
}
/* The page's county: lit in the sea ink, as SDCF outlines its page's area in navy. */
.cth-vmap-on .cth-vmap-band {
  fill: rgba(19, 74, 107, 0.12);
}
/* Each county's stretch thick in the shore's sand, neighbours alternating two sands
   (the home map's rule), the page's or pointed-at county in ink. */
.cth-vmap-coast {
  fill: none;
  stroke: var(--cth-t1);
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.cth-vmap-county:nth-of-type(even) .cth-vmap-coast {
  stroke: #9c7742;
}
.cth-vmap-on .cth-vmap-coast,
.cth-vmap-county:hover .cth-vmap-coast {
  stroke: var(--pa-accent);
  stroke-width: 9;
}
.cth-vmap-leader {
  fill: none;
  stroke: #9c8f74;
  stroke-width: 1;
}
/* The label: the county in the headings' serif, its figure at the page's distance
   beneath, as SDCF's map labels name an area over its "N from $pK". WHY these sizes
   in drawing units: the drawing scales with the column, about 1.3 to 1.5x. */
.cth-vmap-name {
  font: italic 600 13px var(--pa-serif);
  fill: var(--pa-ink);
}
.cth-vmap-stat {
  font: 600 10px var(--pa-sans);
  fill: #4b4436;
}
.cth-vmap-on .cth-vmap-name {
  fill: var(--pa-accent);
}
.cth-vmap-empty .cth-vmap-name,
.cth-vmap-empty .cth-vmap-stat {
  fill: var(--pa-muted);
}
/* The salient scroll: an up and a down control over the coast's top and bottom edge,
   each gone at its end (the script disables it), and a soft shadow at both edges
   saying the coast runs on. */
/* Owner 2026-11-29, verbatim: "review all sites for aligment, spacing, deadzones, etc":
   on the CTH home (DEV 1366px, run premerge-dba458bbf) the up control was a blank white
   pill over the "San Luis Obispo" label. WHY at the left edge: that is the sea west of
   the westernmost point (coastalVMapLeft), and every label sits in the land column on
   the right, so the controls cover no label wherever the coast is scrolled. WHY font-size
   0 and a border triangle (::before): the "&#9650;" / "&#9660;" glyphs had no font in the
   capture and drew nothing; the triangle needs none, and the glyph stays in the markup
   while the aria-label names the control. */
.cth-vmap-up,
.cth-vmap-down {
  position: absolute;
  left: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  padding: 0;
  background: var(--pa-panel);
  border: 1px solid var(--pa-line);
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(31, 42, 46, 0.2);
  color: var(--pa-accent);
  font-size: 0;
  line-height: 1;
}
.cth-vmap-up::before,
.cth-vmap-down::before {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}
.cth-vmap-up::before {
  border-bottom: 8px solid currentColor;
}
.cth-vmap-down::before {
  border-top: 8px solid currentColor;
}
.cth-vmap-up {
  top: 8px;
}
.cth-vmap-down {
  bottom: 8px;
}
.cth-vmap-up:disabled,
.cth-vmap-down:disabled {
  visibility: hidden;
}
.cth-vmap-body::before,
.cth-vmap-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 18px;
  pointer-events: none;
}
.cth-vmap-body::before {
  top: 0;
  background: linear-gradient(rgba(31, 42, 46, 0.18), rgba(31, 42, 46, 0));
}
.cth-vmap-body::after {
  bottom: 0;
  background: linear-gradient(rgba(31, 42, 46, 0), rgba(31, 42, 46, 0.18));
}

/* The location line under the result count (SearchResultsModel.LocationNote): where
   the page searched and the distance it settled on, a pin before it (owner 2026-11-29,
   mocks E and C). */
.search-location-note {
  margin: 4px 0 0;
  color: var(--pa-accent);
}
.search-location-note::before {
  content: "\25CF";
  margin-right: 6px;
  color: #c0392b;
}
.search-location-change {
  font-weight: 600;
  text-decoration: underline;
}

/* Phone. WHY a 16px gutter: the brief's phone margin; Bootstrap's container gives
   15px. */
@media (max-width: 767px) {
  /* The field takes its own full line on a phone (the tab pane around it is display
     contents, so only the field needs the basis). */
  .cth-band .pa-search {
    flex-basis: 100%;
  }
  /* Owner 2026-11-29 (option E on a phone, the mock's coastline at 13% "too faint, make
     it stronger"): the coast is no 340px panel above the results but a soft stylised
     coastline behind them, fixed while they scroll. WHY the same drawing: the page's
     county is still lit and centred by the scroll script. WHY only the coast strokes:
     the labels, leaders, land fill and controls would be noise under the cards. WHY
     pointer-events none: the results are the phone's targets; the strip and "Change
     region" choose the county there. */
  .cth-coast-split > .pa-split-map {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: none;
    border: 0;
    opacity: 0.35;
    pointer-events: none;
  }
  .cth-coast-split > .pa-split-map #pa-map.cth-vmap {
    height: 100%;
    background: none;
  }
  .cth-coast-split > .pa-split-list {
    position: relative;
    z-index: 1;
  }
  .cth-coast-split .cth-vmap-head,
  .cth-coast-split .cth-vmap-up,
  .cth-coast-split .cth-vmap-down,
  .cth-coast-split .cth-vmap-name,
  .cth-coast-split .cth-vmap-stat,
  .cth-coast-split .cth-vmap-leader,
  .cth-coast-split .cth-vmap-body::before,
  .cth-coast-split .cth-vmap-body::after {
    display: none;
  }
  .cth-coast-split .cth-vmap-svg {
    background: none;
  }
  .cth-coast-split .cth-vmap-land {
    fill: none;
    stroke: none;
  }
  .cth-coast-split .cth-vmap-on .cth-vmap-band {
    fill: none;
  }
}

/* Tablet and up: the strip's bands share the row (no scrolling at the five tiers) at
   about 90px tall, the region list opens under its summary's right edge, and the
   result cards fill the width at 360px or more each (see the card rule below). */
@media (min-width: 768px) {
  /* Owner 2026-11-29, verbatim: "review all sites for aligment, spacing, deadzones,
     etc": in the ~650px listings column beside a map the six blocks overran the row and
     the strip scrolled with its text cut ("Within 500 f", "$399k", "2684 from $16", the
     last band cut at the right; DEV 1366px, run premerge-dba458bbf). WHY wrap and a
     max-content minimum: a band never narrows below its own name and figure, and the
     bands that do not fit start a second row; where all fit (the full-width page) they
     still share the row in equal parts (basis 0). WHY overflow hidden: nothing overflows
     any more, and it keeps the strip's rounded corners on its blocks. */
  .cth-strip {
    flex-wrap: wrap;
    overflow: hidden;
  }
  .cth-strip-ocean {
    padding: 0 18px;
    font-size: 19px;
  }
  .cth-strip-band {
    flex: 1 1 0;
    min-width: max-content;
    min-height: 88px;
    padding: 10px 14px;
  }
  .cth-strip-name {
    font-size: 20px;
  }
  .cth-strip-stat {
    font-size: 14px;
  }
  .cth-region-list {
    left: auto;
    right: 0;
  }
  /* GH #4576 (DEV CI 913ca5bed, 2026-11-29, california/CTH/search-result-zip: "13 real
     image element(s) ... screenshot shows 169 photo-like region cell(s) (< floor
     195)"): WHY a 360px card minimum on both CTH layouts: a card's photo is a 3:2 box
     at the card's width, and the former 260px minimum packed 4 cards of about 323px
     a row on the full-width pages and 3 of about 299px beside the coast, so the photos
     painted smaller than SDCF/CVSDH's (2 of about 311px) and DMV's (3 of about 380px).
     At 360px the full-width page takes 3 cards of about 436px at 1366px (still 3 at the
     1440px cap) and the area page 2 of about 456px beside the coast; one rule, so the
     two CTH layouts show the same card. The coast strip and the map column are
     unchanged. */
  .cth-wide .pa-split-list .list-results .row,
  .cth-coast-split .pa-split-list .list-results .row {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
  /* GH #4576: on an area page the coast is a tall narrow drawing, so its column is
     narrower than SDCF's half (it would be mostly sea and paper there), and the
     listings column it leaves fills with the cards above. WHY this selector: it
     outranks planning-areas.css's split grid rule, which it narrows. */
  body:has(> .pa-split) > .pa-split.cth-coast-split {
    grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
  }
}
