/*
 * Boat Rentals city page (build spec city-page-build-spec-for-matt.md, 18 Nov 2026).
 * Template: template-parts/sl/city-page.php. Loaded after sl-search.css (the list,
 * pager, map, drawer) and sl-state.css (the hero), by inc/sl-city.php.
 * Tokens: ink #101921, teal #1D5A66, body #4A5C60, lime #D9FD6F, off-white #F9F8F5,
 * card outline #DDE2E0, control border #D6DBD8.
 * Milestone 2 adds where to boat, rules, when to go, FAQ, also in, nearby and guides;
 * the FAQ, Also in tiles and guide cards reuse the state page's styles (sl-state.css).
 */

.sl-cy { --sl-cy-ctl: #D6DBD8; background: var(--sl-white); color: var(--sl-ink); overflow-x: clip; }

/* ------------------------------------------------------------ hero */
.sl-cy-hero .sl-st-hero__in { min-height: 0; padding-top: clamp(24px, 2.6vw, 40px); padding-bottom: clamp(40px, 4.4vw, 64px); gap: 0; }
.sl-cy-hero .sl-st-hero__body { gap: 0; padding-top: clamp(40px, 5vw, 80px); max-width: 1000px; }
.sl-cy-hero__h { max-width: none; }
.sl-cy-hero__intro { margin: 18px 0 0; max-width: 660px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; font-weight: 500; color: #F2F4F3; text-wrap: pretty; }
.sl-cy-hero__intro p { margin: 0; }
.sl-cy-hero--short .sl-st-hero__body { padding-top: clamp(20px, 2.4vw, 36px); }
.sl-cy-hero--short .sl-st-hero__in { padding-bottom: clamp(28px, 3vw, 44px); }
.sl-cy-hero--short .sl-cy-hero__h { font-size: clamp(34px, 3.6vw, 54px); }

/* Stats: label (lime, 14/700) over value (white, Bricolage); dividers between; a stat with no data isn't printed. */
.sl-cy-stats { margin: clamp(26px, 3vw, 44px) 0 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px 0; }
.sl-cy-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; padding: 0 clamp(20px, 2.4vw, 36px); }
.sl-cy-stat:first-child { padding-left: 0; }
.sl-cy-stat + .sl-cy-stat { border-left: 1px solid rgba(255, 255, 255, .22); }
.sl-cy-stat dt { font-size: 14px; font-weight: 700; color: var(--sl-lime); white-space: nowrap; }
.sl-cy-stat dd { margin: 0; font-family: var(--sl-font-display); font-weight: 700; font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -0.03em; color: var(--sl-white); }
.sl-cy-stat--wide dd { padding-bottom: 4px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.015em; }

/* ------------------------------------------------------------ list + map */
.sl-cy-list { --sl-sr-bar-h: 0px; background: var(--sl-sand); scroll-margin-top: var(--sl-header-h); }
.sl-cy-list .sl-sr__layout {
  max-width: 1480px; margin: 0 auto; box-sizing: border-box; padding: 0 clamp(16px, 2.6vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 36%); column-gap: clamp(20px, 2.2vw, 32px);
}
.sl-cy-list .sl-sr__main { padding: clamp(20px, 2.4vw, 32px) 0 clamp(48px, 5vw, 80px); }
.sl-cy-list.is-nomap .sl-sr__layout, .sl-cy-list:not(:has(.sl-sr__map)) .sl-sr__layout { grid-template-columns: minmax(0, 1fr); }
.sl-cy-list.is-nomap .sl-sr__main, .sl-cy-list:not(:has(.sl-sr__map)) .sl-sr__main { max-width: none; }
.sl-cy-list.is-fullmap .sl-sr__layout { grid-template-columns: minmax(0, 1fr); }

/* The map: an inset card, sticky under the header. */
.sl-cy-list .sl-sr__map {
  top: calc(var(--sl-header-h) + 16px); margin: clamp(20px, 2.4vw, 32px) 0;
  height: calc(100vh - var(--sl-header-h) - 32px); height: calc(100dvh - var(--sl-header-h) - 32px);
  border-radius: 16px; box-shadow: 0 0 0 1px rgba(16, 25, 33, .08);
}

/* Count line (H2, Bricolage 20/700) and the toolbar on one row. */
.sl-cy-toolbar { gap: 12px 16px; }
.sl-cy-count { font-size: 20px; line-height: 1.2; }
.sl-cy-tools { gap: 10px; }

/* Pills: 42px, fully round, white, 1px #D6DBD8, Manrope 14/700 ink, soft shadow on hover. */
.sl-cy-pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  height: 42px; padding: 0 18px; border: 1px solid var(--sl-cy-ctl); border-radius: var(--sl-r-pill); background: var(--sl-white);
  color: var(--sl-ink); font: 700 14px/1 var(--sl-font-body); white-space: nowrap; cursor: pointer; transition: box-shadow var(--sl-t) ease;
}
.sl-cy-pill:hover, .sl-cy-sort:hover .sl-cy-pill, .sl-cy-sort:focus-within .sl-cy-pill { box-shadow: 0 4px 14px rgba(16, 25, 33, .12); }
.sl-cy-pill svg { flex: 0 0 auto; stroke-width: 1.95; }
.sl-cy-pill--filters .sl-sr__badge { margin-left: 2px; }
.sl-cy .sl-sr__maptoggle { display: inline-flex; }

/* Sort: a native select laid over the pill, so it stays a real control. */
.sl-cy-sort { position: relative; display: inline-flex; margin: 0; }
.sl-cy-sort__pre { color: #5A6B6E; font-weight: 600; }
.sl-cy-sort__val { margin-left: -4px; }
.sl-cy-sort__sel {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 0; font: 700 14px/1 var(--sl-font-body);
}
.sl-cy-sort:focus-within .sl-cy-pill { outline: 2px solid var(--sl-teal); outline-offset: 2px; }

/* Grid: 3 columns beside the map at 1200+, 2 at 961-1199 (map 40%), auto-fill with the map hidden. */
.sl-cy-list .sl-sgrid { margin-top: clamp(16px, 1.8vw, 24px); gap: 28px 16px; }
@media (min-width: 1200px) {
  .sl-cy-list:not(.is-nomap) .sl-cy-grid:not(.sl-sgrid--group) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (min-width: 961px) and (max-width: 1199px) {
  .sl-cy-list .sl-sr__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
  .sl-cy-list:not(.is-nomap) .sl-cy-grid:not(.sl-sgrid--group) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
.sl-cy-list.is-nomap .sl-cy-grid, .sl-cy-list:not(:has(.sl-sr__map)) .sl-cy-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Pager: 44px round; the arrows get the control border. */
.sl-cy-list .sl-pager__step { box-shadow: 0 0 0 1px var(--sl-cy-ctl); }

/* ------------------------------------------------------------ map (milestone 3; assets/ds/sl-city-map.js) */
/* Leaflet + Esri dark grey. The box is its own stacking context so the controls sit over the map panes. */
.sl-cy-map__box { z-index: 0; background: #1B2733; }
.sl-cy-map .leaflet-container { font-family: var(--sl-font-body); background: #1B2733; }
.sl-cy-map .leaflet-control-attribution { font-size: 10.5px; background: rgba(16, 25, 33, .72); color: #A9BCC0; }
.sl-cy-map .leaflet-control-attribution a { color: #C8D3D5; }
.sl-cy-map .sl-sr__zoom { top: 12px; left: 12px; }
.sl-cy-map .sl-sr__zoom button { width: 44px; height: 44px; font-size: 22px; }
.sl-cy-map .sl-sr__zoom button:first-child { border-radius: 12px 12px 0 0; }
.sl-cy-map .sl-sr__zoom button:last-child { border-radius: 0 0 12px 12px; }
.sl-cy-map .sl-sr__move { height: 44px; }
.sl-cy-map .sl-sr__move:focus-within, .sl-cy-map .sl-sr__zoom button:focus-visible, .sl-cy-map .sl-sr__mapbig:focus-visible, .sl-cy-map .sl-sr__area:focus-visible { outline: 3px solid var(--sl-lime); outline-offset: 2px; }
.sl-cy-list .sl-sr__mapbig-off { display: none; }
.sl-cy-list .sl-sr__mapbig-on { display: block; }
.sl-cy-list.is-mapfull .sl-sr__mapbig-on { display: none; }
.sl-cy-list.is-mapfull .sl-sr__mapbig-off { display: block; }

/* Pins: a white teardrop with a dark boat; lime while hot. No outline, scale, bounce or animation. */
.sl-cpin { background: none; border: 0; }
.sl-cpin__drop {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; box-sizing: border-box;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sl-white); color: var(--sl-ink);
  box-shadow: -1px 1px 2px rgba(0, 0, 0, .3), -2px 2px 7px rgba(0, 0, 0, .22);
}
.sl-cpin__drop svg { transform: rotate(45deg); }
.sl-cpin.is-hot .sl-cpin__drop { background: var(--sl-lime); }
.sl-cpin:focus { outline: 0; }
.sl-cpin:focus-visible .sl-cpin__drop { outline: 3px solid var(--sl-white); outline-offset: 3px; }

/* The pin card (the search page's card; restyled site-wide in milestone 4). */
.sl-cy-pop { z-index: 5; }

/* Desktop full-screen map: covers the viewport until pressed again (or Escape). */
.sl-cy-list.is-mapfull .sl-sr__map {
  position: fixed; inset: 0; z-index: calc(var(--sl-z-header) + 15); margin: 0;
  height: auto; border-radius: 0; box-shadow: none;
}

/* ------------------------------------------------------------ content sections */
.sl-cy-sec { padding-block: clamp(56px, 6vw, 96px); background: var(--sl-white); }
.sl-cy-sec--sand { background: var(--sl-sand); }
.sl-cy-h2 { margin: 0; font-family: var(--sl-font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.03em; color: var(--sl-ink); }
.sl-cy-lead { margin: 12px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.55; color: var(--sl-muted); }

/* Rentals by boat type: name, count, arrow; each row filters this page's list. */
.sl-cy-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; }
.sl-cy-type {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 4px; box-sizing: border-box;
  border-bottom: 1px solid var(--sl-line); color: var(--sl-ink); text-decoration: none;
}
.sl-root .sl-cy-type, .sl-root .sl-cy-type:hover { color: var(--sl-ink); }
.sl-cy-type__name { flex: 1 1 auto; margin: 0; font-family: var(--sl-font-display); font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; color: inherit; }
.sl-cy-type__n { font-size: 15px; font-weight: 600; color: var(--sl-muted); white-space: nowrap; }
.sl-cy-type__arrow { flex: 0 0 auto; color: var(--sl-teal); transition: transform var(--sl-t) ease; }
.sl-cy-type:hover .sl-cy-type__name { text-decoration: underline; text-underline-offset: 3px; }
.sl-cy-type:hover .sl-cy-type__arrow { transform: translateX(3px); }

/* What it costs (only with confirmed prices). */
.sl-cy-costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; }
.sl-cy-cost { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 16px; background: var(--sl-white); box-shadow: 0 0 0 1px #DDE2E0; }
.sl-cy-cost h3 { margin: 0; font-family: var(--sl-font-display); font-size: 22px; letter-spacing: -0.015em; }
.sl-cy-cost p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--sl-muted); }
.sl-cy-cost__btn { margin-top: auto; font-weight: 700; color: var(--sl-teal); }

/* ------------------------------------------------------------ milestone 2 sections */
.sl-cy-h2--sm { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -0.025em; }
.sl-cy-h2--xs { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }
.sl-cy-lead__a { font-weight: 700; color: var(--sl-teal); text-decoration: underline; text-underline-offset: 3px; }
.sl-root .sl-cy-lead__a:hover { color: #0F3940; }
.sl-cy-types-sec { padding-top: 0; }   /* follows Where to boat on the same white */
.sl-cy-list + .sl-cy-types-sec, .sl-fdrawer + .sl-cy-types-sec { padding-top: clamp(56px, 6vw, 96px); }

/* Where to boat: 3-5 tiles; each links to its FAQ answer. */
.sl-cy-wtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(12px, 1.4vw, 18px); margin: clamp(22px, 2.6vw, 34px) 0 0; padding: 0; list-style: none; }
.sl-cy-wtile { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(18px, 1.8vw, 24px); border: 1px solid var(--sl-line); border-radius: 20px; background: var(--sl-white); }
.sl-cy-wtile__icon { width: 40px; height: 40px; border-radius: 12px; background: #EAF1F0; color: var(--sl-teal); display: flex; align-items: center; justify-content: center; }
.sl-cy-wtile__h { margin: 4px 0 0; font-family: var(--sl-font-display); font-weight: 700; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.15; letter-spacing: -0.02em; color: var(--sl-ink); text-wrap: balance; }
.sl-cy-wtile__p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sl-muted); text-wrap: pretty; }
.sl-cy-wtile__a { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--sl-teal); }
.sl-root .sl-cy-wtile__a:hover { color: #0F3940; text-decoration: underline; text-underline-offset: 3px; }
.sl-cy-wtile__a .sl-arr { width: 18px; height: 11px; transition: transform var(--sl-t) ease; }
.sl-cy-wtile__a:hover .sl-arr { transform: translateX(3px); }

/* Rules & licensing: 3 white cards on off-white. */
.sl-cy-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(20px, 2.4vw, 28px) 0 0; padding: 0; list-style: none; }
.sl-cy-rule { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(20px, 2vw, 28px); border-radius: 18px; background: var(--sl-white); }
.sl-cy-rule__h { margin: 0; font-family: var(--sl-font-display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; color: var(--sl-ink); text-wrap: balance; }
.sl-cy-rule__p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sl-muted); text-wrap: pretty; }
.sl-cy-rule__foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sl-cy-src { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--sl-muted); }
.sl-root .sl-cy-src:hover { color: var(--sl-ink); text-decoration: underline; text-underline-offset: 3px; }
.sl-cy-full { display: inline-flex; align-items: center; min-height: 24px; font-size: 15px; font-weight: 700; color: var(--sl-teal); }
.sl-root .sl-cy-full:hover { color: #0F3940; text-decoration: underline; text-underline-offset: 4px; }

/* When to go: dark, the H2 on two lines, BEST SEASON eyebrow over the season (not a pill). */
.sl-cy-when { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 6vw, 96px); background: var(--sl-ink); color: var(--sl-white); }
.sl-cy-when__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(217, 253, 111, .22) 0%, rgba(29, 90, 102, .14) 50%, rgba(29, 90, 102, 0) 75%); }
.sl-cy-when__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.sl-cy-when__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sl-cy-when__h { color: var(--sl-white); }
.sl-cy-season { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding-left: 16px; border-left: 3px solid var(--sl-lime); }
.sl-cy-season__k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #A9BCC0; }
.sl-cy-season__v { font-family: var(--sl-font-display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--sl-lime); }
.sl-cy-when__main { display: flex; flex-direction: column; gap: 18px; }
.sl-cy-when__p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: #E2E7E6; text-wrap: pretty; }
.sl-cy-when__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.sl-cy-when .sl-cy-src { font-size: 14px; color: #A9BCC0; }
.sl-root .sl-cy-when .sl-cy-src:hover { color: var(--sl-white); }
.sl-cy-when .sl-cy-full { font-size: 16px; color: var(--sl-lime); }
.sl-root .sl-cy-when .sl-cy-full:hover { color: var(--sl-lime); }
.sl-cy-when a:focus-visible { outline: 2px solid var(--sl-lime); outline-offset: 3px; }

/* FAQ: the state page's cards (sl-state.css .sl-st-faq), first item open; generated answers say so. */
.sl-cy-faq .sl-cat-faq__side { position: sticky; top: calc(var(--sl-header-h) + 34px); align-self: start; }
.sl-cy-faq .sl-faq__item { scroll-margin-top: calc(var(--sl-header-h) + 24px); }
.sl-cy-faq__gen { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #5A6B6E; }

/* Also in, Nearby. */
.sl-cy-also { padding-bottom: 0; }
.sl-cy-near { padding-block: clamp(48px, 5.6vw, 88px); }
.sl-cy-near--after { padding-top: clamp(40px, 4.4vw, 64px); }
.sl-cy-near__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.sl-cy-near__a {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; box-sizing: border-box;
  border: 1px solid var(--sl-cy-ctl); border-radius: var(--sl-r-pill); background: var(--sl-white);
  font-size: 15px; font-weight: 700; color: var(--sl-ink); transition: border-color var(--sl-t) ease, background var(--sl-t) ease;
}
.sl-root .sl-cy-near__a, .sl-root .sl-cy-near__a:hover { color: var(--sl-ink); }
.sl-cy-near__a:hover { border-color: var(--sl-ink); background: #F3F7F6; }
.sl-cy-near__n { font-weight: 600; color: var(--sl-muted); }

/* Guides: 4 across on the off-white. */
.sl-cy-guides .sl-st-blog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .sl-cy-guides .sl-st-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------ 960 */
@media (max-width: 960px) {
  .sl-cy-list .sl-sr__layout { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .sl-cy-list .sl-sr__main { padding: 24px var(--sl-gutter) 96px; }
  .sl-cy-list .sl-sr__map { margin: 0; border-radius: 0; box-shadow: none; }
  .sl-cy-list .sl-cy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .sl-cy .sl-sr__maptoggle { display: none; }
  /* Phones and tablets: Map opens the map over the whole screen (the page stays put underneath). */
  .sl-cy-list .sl-sr__map, .sl-cy-list.is-nomap .sl-sr__map { inset: 0; height: auto; z-index: calc(var(--sl-z-header) + 15); }
  .sl-cy-list.is-mapview .sl-sr__map { display: block; }
  .sl-cy-list.is-mapview .sl-sr__zoom { display: flex; }
  .sl-cy-list .sl-sr__mapbig { display: none; }
  /* The floating Map / List button (spec): 48px, ink, white icon; white with ink text while the map is open. */
  .sl-cy-fab {
    z-index: calc(var(--sl-z-header) + 16); gap: 10px; height: 48px; padding: 0 24px;
    font: 700 15px/1 var(--sl-font-body); box-shadow: 0 6px 20px rgba(16, 25, 33, .28);
    transition: opacity .2s ease, visibility .2s ease, background .15s ease;
  }
  .sl-cy-fab svg { color: currentColor; }
  .sl-cy-fab__map { display: inline-flex; }
  .sl-cy-fab__list { display: none; }
  .sl-cy-list.is-mapview .sl-cy-fab { background: var(--sl-white); color: var(--sl-ink); }
  .sl-cy-list.is-mapview .sl-cy-fab__map { display: none; }
  .sl-cy-list.is-mapview .sl-cy-fab__list { display: block; }
  .sl-cy-fab.is-away { opacity: 0; visibility: hidden; pointer-events: none; }
  .sl-cy-fab:focus-visible { outline: 3px solid var(--sl-lime); outline-offset: 3px; }
  .sl-cy-types { grid-template-columns: minmax(0, 1fr); }
  .sl-cy-costs { grid-template-columns: minmax(0, 1fr); }
  .sl-cy-rules { grid-template-columns: minmax(0, 1fr); }
  .sl-cy-when__in { grid-template-columns: minmax(0, 1fr); }
  .sl-cy-faq .sl-cat-faq__side { position: static; }
}

/* ------------------------------------------------------------ 760: phones */
@media (max-width: 760px) {
  .sl-cy-hero .sl-st-hero__crumbs { display: block; font-size: 13px; }   /* the state page hides them; the city page keeps them */
  .sl-cy-hero .sl-st-hero__in { padding-top: 18px; padding-bottom: 24px; }
  .sl-cy-hero .sl-st-hero__body { padding-top: 10px; }
  .sl-cy-hero__h, .sl-cy-hero--short .sl-cy-hero__h { font-size: 34px; }
  .sl-cy-hero__intro { margin-top: 10px; font-size: 16px; line-height: 1.5; }
  .sl-cy-stats { margin-top: 14px; gap: 12px 0; }
  .sl-cy-stat { gap: 6px; padding: 0 18px; }
  .sl-cy-stat dd { font-size: 24px; }
  .sl-cy-stat--wide { flex: 1 1 100%; padding-left: 0; border-left: 0 !important; }
  .sl-cy-stat--wide dd { font-size: 18px; padding-bottom: 0; }

  .sl-cy-list .sl-sr__main { padding-top: 20px; }
  .sl-cy-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sl-cy-tools { width: 100%; flex-wrap: nowrap; gap: 8px; }
  /* Filters: a 42px circle, the word kept for screen readers. */
  .sl-cy-pill--filters { width: 42px; padding: 0; }
  .sl-cy-pill--filters .sl-cy-pill__word {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .sl-cy-pill--filters .sl-sr__badge { position: absolute; top: -4px; right: -4px; margin: 0; }
  .sl-cy-sort__pre { display: none; }
  .sl-cy-sort__val { margin-left: 0; }
  .sl-cy-sort { margin-left: 0; }   /* sl-search.css pushes .sl-sr__sort right; this one sits beside Filters */
  .sl-cy-list .sl-sgrid { margin-top: 16px; }
}
@media (max-width: 599px) {
  .sl-cy-list .sl-cy-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sl-cy-guides .sl-st-blog { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .sl-cy *, .sl-cy-list * { transition: none !important; }
}

/* Headings from Matt's Miami review (25 Nov 2026): the filter panel's title is plain text (it was an H2),
   the Also in labels are H3s. Same look as before. */
.sl-fdrawer__title { margin: 0; font-family: var(--sl-font-display); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--sl-ink); }
.sl-cy-also .sl-st-acard__label.sl-cy-also__h { margin: 4px 0 0; font-family: inherit; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; letter-spacing: normal; color: inherit; }
