/* Search results, /search-results/ and the state/city archives (spec C, Round 3).
   Loaded for page => 'search' after sl-category.css, whose cards, chips and
   typeahead it reuses; the search pill has its own rules here (.sl-sr__form), so
   the category hero's pill can change without moving this one.
   Desktop: the search band sits under the header and stays with it; results on
   the left, a sticky dark map on the right, both starting under the band. Phones:
   no nav row; back arrow + a summary that opens the search sheet; the map is an
   overlay under the search bar behind the floating Map button. */

.sl-sr { --sl-sr-gutter: clamp(16px, 3vw, 48px); --sl-sr-bar-h: 93px; background: var(--sl-sand); }

/* ------------------------------------------------------------ search band */
.sl-sr__bar {
  position: sticky; top: var(--sl-header-h); z-index: 50;
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  padding: 14px var(--sl-sr-gutter); background: var(--sl-sand); border-bottom: 1px solid var(--sl-line);
}
.sl-sr__back, .sl-sr__sum { display: none; }

.sl-sr__form {
  position: relative; flex: 0 1 1100px; min-width: 0; box-sizing: border-box;
  display: flex; align-items: center; height: 64px; margin: 0; padding: 0 7px 0 0;
  border: 1px solid var(--sl-line-strong); border-radius: var(--sl-r-pill); background: var(--sl-white);
  box-shadow: 0 1px 2px rgba(16, 25, 33, .05), 0 6px 18px rgba(16, 25, 33, .06);
  transition: border-color var(--sl-t) ease, box-shadow var(--sl-t) ease;
}
.sl-sr__form:focus-within { border-color: var(--sl-teal); box-shadow: 0 0 0 3px rgba(29, 90, 102, .14), 0 6px 18px rgba(16, 25, 33, .06); }

/* Category: a text button and its menu (opens under the pill's left edge, as the Location menu) */
.sl-sr__cat { flex: 0 0 auto; }
.sl-sr__catbtn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; margin: 0 0 0 10px; padding: 0 14px;
  border: 0; border-radius: var(--sl-r-pill); background: transparent; color: var(--sl-ink);
  font: 700 16px/1 var(--sl-font-body); white-space: nowrap; cursor: pointer; transition: background var(--sl-t) ease;
}
.sl-sr__catbtn:hover, .sl-sr__catbtn[aria-expanded="true"] { background: #F3F7F6; }
.sl-sr__caticon { display: none; }
.sl-sr__chev { width: 7px; height: 7px; margin: -4px 2px 0 2px; border-right: 2px solid var(--sl-ink); border-bottom: 2px solid var(--sl-ink); transform: rotate(45deg); }
.sl-sr__div { flex: 0 0 auto; width: 1px; height: 32px; background: var(--sl-line); }
.sl-sr__cat + .sl-sr__div { margin-left: 10px; }
.sl-sr__catmenu, .sl-sr__form > .sl-wmenu { top: calc(100% + 10px); left: 0; }
.sl-sr__catmenu {
  position: absolute; z-index: 70; box-sizing: border-box; width: min(420px, 100%); padding: 10px;
  border: 1px solid var(--sl-line); border-radius: 22px; background: var(--sl-white); box-shadow: 0 26px 60px rgba(16, 25, 33, .6);
}
.sl-sr__catmenu[hidden] { display: none; }
.sl-sr__menuhead { margin: 0; padding: 10px 12px 4px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sl-muted); }
.sl-sr__catopt {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 9px 12px; border: 0; border-radius: 14px;
  background: transparent; color: var(--sl-ink); font-family: var(--sl-font-body); text-align: left; cursor: pointer;
}
.sl-sr__catopt:hover, .sl-sr__catopt:focus-visible, .sl-sr__catopt[aria-selected="true"] { background: #F3F7F6; outline: 0; }
.sl-sr__catopt-tile {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--sl-mist); color: var(--sl-teal);
}
.sl-sr__catopt[aria-selected="true"] .sl-sr__catopt-tile { background: var(--sl-mist-2); }
.sl-sr__catopt-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sl-sr__catopt-label { font-size: 16px; font-weight: 700; line-height: 1.3; }
.sl-sr__catopt-note { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--sl-muted); }
.sl-sr__catopt-check { flex: 0 0 auto; display: flex; color: var(--sl-teal); }

/* Where and Company name */
.sl-sr__field {
  flex: 1 1 0; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  margin: 4px 8px; padding: 0 clamp(12px, 1.8vw, 28px); border-radius: var(--sl-r-pill); cursor: text;
  transition: background var(--sl-t) ease;
}
.sl-sr__field:hover { background: #F1F0EC; }
.sl-sr__label { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--sl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-sr__field input {
  width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; outline: 0; background: transparent;
  color: var(--sl-ink); font: 400 16px/1.3 var(--sl-font-body); text-overflow: ellipsis;
}
.sl-sr__field input::placeholder { color: #6A7A7C; opacity: 1; }
.sl-sr__go {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 0; padding: 0;
  border: 0; border-radius: var(--sl-r-pill); background: var(--sl-lime); color: var(--sl-ink); cursor: pointer;
  transition: background var(--sl-t) ease;
}
.sl-sr__go:hover { background: var(--sl-lime-hover); }
.sl-sr__go svg { stroke-width: 1.73; }

/* Filters, beside the pill */
.sl-sr__filters {
  position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 64px; padding: 0 18px; border: 1px solid var(--sl-line-strong); border-radius: var(--sl-r-pill); background: var(--sl-white);
  color: var(--sl-ink); font: 700 14px/1 var(--sl-font-body); cursor: pointer; transition: box-shadow var(--sl-t) ease;
}
.sl-sr__filters:hover { box-shadow: 0 4px 14px rgba(16, 25, 33, .12); }
.sl-sr__filters svg { stroke-width: 1.95; }
.sl-sr__showing { white-space: nowrap; }

/* ------------------------------------------------------------ layout */
.sl-sr__layout { display: grid; grid-template-columns: minmax(600px, 1fr) minmax(0, 1fr); align-items: start; }
.sl-sr__main { min-width: 0; padding: 24px var(--sl-sr-gutter) clamp(40px, 5vw, 64px); }
.sl-sr.is-nomap .sl-sr__layout,
.sl-sr:not(:has(.sl-sr__map)) .sl-sr__layout { grid-template-columns: minmax(0, 1fr); }
.sl-sr.is-nomap .sl-sr__map { display: none; }
.sl-sr.is-nomap .sl-sr__main,
.sl-sr:not(:has(.sl-sr__map)) .sl-sr__main { width: 100%; max-width: var(--sl-max); margin-inline: auto; }
/* Full-width map: the results step aside until the toggle is pressed again. */
.sl-sr.is-fullmap .sl-sr__layout { grid-template-columns: minmax(0, 1fr); }
.sl-sr.is-fullmap .sl-sr__main { display: none; }

/* ------------------------------------------------------------ toolbar */
.sl-sr__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.sl-sr__heading { min-width: 0; }
.sl-sr__h1 {
  margin: 0; font-family: var(--sl-font-display); font-weight: 700; font-size: 20px;
  line-height: 24px; letter-spacing: -0.015em; color: var(--sl-ink);
}
.sl-sr__sub { margin: 4px 0 0; font-size: var(--sl-fs-sm); font-weight: 500; color: var(--sl-muted); }
.sl-sr__sub[hidden] { display: none; }
.sl-sr__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.sl-sr__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 1px solid var(--sl-line); border-radius: var(--sl-r-pill); background: var(--sl-white);
  color: var(--sl-ink); font: 700 var(--sl-fs-sm)/1 var(--sl-font-body); cursor: pointer;
  transition: box-shadow var(--sl-t) ease;
}
.sl-sr__btn:hover { box-shadow: 0 4px 14px rgba(16, 25, 33, .12); }
.sl-sr__btn--filters { display: none; }   /* phones: the band's Filters button is hidden, this one shows */
.sl-sr__badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--sl-r-pill); background: var(--sl-teal); color: var(--sl-white); font-size: 12px; font-weight: 800;
}

.sl-sr__sort { display: flex; align-items: center; gap: 8px; margin: 0; }
.sl-sr__sort label { font-size: var(--sl-fs-sm); font-weight: 600; color: var(--sl-muted); white-space: nowrap; }
.sl-sr__sort select {
  -webkit-appearance: none; appearance: none; height: 40px; padding: 0 34px 0 16px; cursor: pointer;
  border: 1px solid var(--sl-line); border-radius: var(--sl-r-pill);
  background: var(--sl-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23101921' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 14px center;
  color: var(--sl-ink); font: 700 var(--sl-fs-sm)/1 var(--sl-font-body); transition: box-shadow var(--sl-t) ease;
}
.sl-sr__sort select:hover { box-shadow: 0 4px 14px rgba(16, 25, 33, .12); }

.sl-sr__seg { display: inline-flex; padding: 3px; border: 1px solid var(--sl-line); border-radius: var(--sl-r-pill); background: var(--sl-white); }
.sl-sr__seg button {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 32px; padding: 0;
  border: 0; border-radius: var(--sl-r-pill); background: transparent; color: var(--sl-ink); cursor: pointer;
}
.sl-sr__seg button svg { width: 16px; height: 16px; }
.sl-sr__seg button[aria-pressed="true"] { background: var(--sl-mist); }

/* Active filter chips */
.sl-sr__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.sl-fchip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 12px;
  border-radius: 8px; background: var(--sl-mist); color: var(--sl-teal);
  font-size: var(--sl-fs-xs); font-weight: 700; text-decoration: none;
}
.sl-fchip span { font-size: 16px; line-height: 1; color: var(--sl-teal); }
.sl-root .sl-fchip:hover { background: var(--sl-mist-2); color: var(--sl-teal); }
.sl-sr__clear { font-size: var(--sl-fs-xs); font-weight: 700; color: var(--sl-teal); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ results grid */
.sl-sgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: clamp(14px, 1.6vw, 22px); margin: 18px 0 0; padding: 0; list-style: none;
}
/* Beside the map (design): 2 columns, 3 at 1100-1279, 2 at 1280-1439, 3 from 1440, 4 from 2200. */
@media (min-width: 961px) {
  .sl-sr:not(.is-nomap) .sl-sgrid:not(.sl-sgrid--group) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .sl-sr:not(.is-nomap) .sl-sgrid:not(.sl-sgrid--group) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1440px) {
  .sl-sr:not(.is-nomap) .sl-sgrid:not(.sl-sgrid--group) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 2200px) {
  .sl-sr:not(.is-nomap) .sl-sgrid:not(.sl-sgrid--group) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sl-sgrid > li { display: flex; min-width: 0; }
.sl-sgrid .sl-card { flex: 1 1 auto; border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 25, 33, .06), 0 0 0 1px #D6DBD8; }
.sl-sgrid .sl-card:hover,
.sl-sgrid > li.is-hot .sl-card { box-shadow: 0 14px 30px rgba(16, 25, 33, .12), 0 0 0 1px #D6DBD8; transform: none; }
.sl-sgrid .sl-card:hover .sl-card__title a,
.sl-sgrid > li.is-hot .sl-card__title a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sl-sgrid .sl-card__body { padding: 14px 16px 18px; gap: 4px; }
.sl-sgrid .sl-card__title { font-size: 18px; line-height: 1.3; }
/* Two lines, not one: names that differ only at the end ("Freedom Boat Club – Anacortes")
   read the same when cut to one line (UI test, 23 Oct). */
.sl-sgrid .sl-card__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sl-sgrid .sl-card__meta { font-size: var(--sl-fs-base); font-weight: 500; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-sgrid .sl-card__desc { margin-top: 8px; font-size: var(--sl-fs-sm); font-weight: 400; line-height: 1.5; }
/* Feature chips close the card, under the description (design, Oct 2026). */
.sl-sgrid .sl-card__chips { order: 1; margin-top: auto; padding-top: 14px; }

/* List layout (desktop and tablet): photo left, text right */
@media (min-width: 761px) {
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) { grid-template-columns: minmax(0, 1fr); }
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) .sl-card { flex-direction: row; border-radius: 18px; }
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) .sl-card__media {
    flex: 0 0 clamp(240px, 45%, 480px); min-height: 360px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--sl-line);
  }
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) .sl-card__body {
    padding: clamp(16px, 1.8vw, 24px) clamp(16px, 2vw, 26px); gap: 12px; justify-content: center;
  }
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) .sl-card__title {
    font-family: var(--sl-font-display); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.2; letter-spacing: -0.02em;
  }
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) .sl-card__chips { order: 0; margin-top: 0; padding-top: 0; }
  .sl-sr.is-list .sl-sgrid:not(.sl-sgrid--group) .sl-card__desc { order: 1; margin-top: 0; max-width: 62ch; font-size: var(--sl-fs-md); line-height: 1.55; }
}
@media (min-width: 1200px) {
  .sl-sr.is-list:not(.is-nomap) .sl-sr__layout { grid-template-columns: minmax(800px, 1fr) minmax(0, 1fr); }
}

/* ------------------------------------------------------------ pagination */
.sl-pager { margin-top: clamp(28px, 3vw, 40px); }
.sl-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sl-pager__n, .sl-pager__step, .sl-pager__gap {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; box-sizing: border-box;
  border-radius: var(--sl-r-pill); color: var(--sl-muted); font-size: var(--sl-fs-base); font-weight: 700; text-decoration: none;
}
.sl-root .sl-pager__n:hover { background: var(--sl-white); color: var(--sl-ink); }
.sl-pager__n.is-current { background: var(--sl-white); color: var(--sl-teal); font-weight: 800; box-shadow: 0 0 0 1.5px var(--sl-teal), 0 2px 6px rgba(16, 25, 33, .08); }
.sl-pager__step { width: 44px; padding: 0; background: var(--sl-white); color: var(--sl-ink); box-shadow: 0 0 0 1px var(--sl-line); }
.sl-root .sl-pager__step:hover { color: var(--sl-ink); box-shadow: 0 0 0 1px var(--sl-ink); }
.sl-pager__gap { min-width: 28px; padding: 0; }

/* ------------------------------------------------------------ empty and nearby */
.sl-sr__empty {
  margin-top: 18px; padding: clamp(32px, 4vw, 56px) 24px; border: 1px dashed var(--sl-line-strong); border-radius: 20px;
  text-align: center;
}
.sl-sr__empty h2 { margin: 0 0 8px; font-family: var(--sl-font-display); font-size: 24px; letter-spacing: -0.02em; color: var(--sl-ink); }
.sl-sr__empty p { margin: 0 auto 18px; max-width: 46ch; color: var(--sl-muted); font-size: var(--sl-fs-base); }
.sl-sr__empty .sl-btn { height: 48px; padding: 0 28px; font-size: var(--sl-fs-md); font-weight: 700; }
.sl-sr__browse { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.sl-sr__near { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--sl-line); }
.sl-sr__empty + .sl-sr__near { border-top: 0; padding-top: 0; }
.sl-sr__nearhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sl-sr__nearhead h2 {
  margin: 0; font-family: var(--sl-font-display); font-weight: 700; font-size: clamp(20px, 1.7vw, 24px); color: var(--sl-ink);
}
.sl-sr__nearhead span { font-size: var(--sl-fs-sm); font-weight: 600; color: var(--sl-muted); }

/* ------------------------------------------------------------ map */
.sl-sr__map {
  position: sticky; top: calc(var(--sl-header-h) + var(--sl-sr-bar-h));
  height: calc(100vh - var(--sl-header-h) - var(--sl-sr-bar-h)); height: calc(100dvh - var(--sl-header-h) - var(--sl-sr-bar-h));
  background: #1B2733; overflow: hidden;
}
.sl-sr__mapbox { position: absolute; inset: 0; }
.sl-sr.is-busy .sl-sr__results { opacity: .55; transition: opacity var(--sl-t) ease; }

/* Map controls: "Search as I move", Search this area (when it's off), full width, zoom */
.sl-sr__move {
  position: absolute; top: 12px; left: 50%; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid #2A3944; border-radius: var(--sl-r-pill); background: var(--sl-ink); color: var(--sl-sand);
  font: 700 13px/1 var(--sl-font-body); white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); cursor: pointer;
}
.sl-sr__move input { width: 16px; height: 16px; margin: 0; accent-color: var(--sl-teal-soft); cursor: pointer; }
.sl-sr__area {
  position: absolute; top: 62px; left: 50%; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 0; border-radius: var(--sl-r-pill); background: var(--sl-lime); color: var(--sl-ink);
  font: 700 13px/1 var(--sl-font-body); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); cursor: pointer;
}
.sl-sr__area:hover { background: var(--sl-lime-hover); }
.sl-sr__area[hidden] { display: none; }
.sl-sr__area.is-busy { opacity: .7; cursor: progress; }
.sl-sr__mapbig {
  position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid #2A3944; border-radius: 12px;
  background: var(--sl-ink); color: var(--sl-sand); cursor: pointer; transition: background var(--sl-t) ease, color var(--sl-t) ease;
}
.sl-sr__mapbig:hover { background: #1D2A34; color: var(--sl-lime); }
.sl-sr__mapbig-off, .sl-sr.is-fullmap .sl-sr__mapbig-on { display: none; }
.sl-sr.is-fullmap .sl-sr__mapbig-off { display: block; }
.sl-sr__zoom { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; flex-direction: column; }
.sl-sr__zoom button {
  width: 30px; height: 30px; margin: 0; padding: 0; border: 1px solid #2A3944; background: var(--sl-ink); color: var(--sl-sand);
  font: 400 20px/1 var(--sl-font-body); cursor: pointer; transition: background var(--sl-t) ease, color var(--sl-t) ease;
}
.sl-sr__zoom button:first-child { border-radius: 4px 4px 0 0; }
.sl-sr__zoom button:last-child { border-top: 0; border-radius: 0 0 4px 4px; }
.sl-sr__zoom button:hover { background: #1D2A34; color: var(--sl-teal-soft); }

/* Lime teardrop pins with the category icon */
.sl-spin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; }
.sl-spin__drop {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sl-lime); color: var(--sl-ink);
  box-shadow: -1px 1px 2px rgba(0, 0, 0, .3), -2px 2px 7px rgba(0, 0, 0, .22);
  transition: transform var(--sl-t-fast) ease, background var(--sl-t-fast) ease;
}
.sl-spin__drop svg { transform: rotate(45deg); }
.sl-spin:hover .sl-spin__drop { transform: rotate(-45deg) scale(1.1); }
.sl-spin.is-active, .sl-spin.is-selected { z-index: 5; }
.sl-spin.is-active .sl-spin__drop, .sl-spin.is-selected .sl-spin__drop { background: var(--sl-white); transform: rotate(-45deg) scale(1.18); }

/* The pin's card (an overlay drawn by sl-search.js; placed above the pin, or under it) */
.sl-pcard-wrap { position: absolute; z-index: 10; width: min(300px, calc(100vw - 24px)); }
.sl-pcard-wrap[hidden] { display: none; }
.sl-pcard { position: relative; overflow: hidden; border-radius: 18px; background: var(--sl-white); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); font-family: var(--sl-font-body); }
.sl-pcard__link { display: block; color: var(--sl-ink); text-decoration: none; }
.sl-pcard__media { display: block; aspect-ratio: 16 / 10; background: var(--sl-line); border-bottom: 1px solid var(--sl-line); }
.sl-pcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sl-pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.sl-pcard__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5A6B6E; }
.sl-pcard__title { font-size: 16px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-pcard__place { font-size: var(--sl-fs-sm); line-height: 1.4; color: var(--sl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-root .sl-pcard__link, .sl-root .sl-pcard__link:hover { color: var(--sl-ink); }
.sl-pcard__link:hover .sl-pcard__title { text-decoration: underline; text-underline-offset: 3px; }
.sl-pcard .sl-pcard__heart { position: absolute; top: 4px; right: 4px; }

.sl-sr__fab { display: none; }

/* ------------------------------------------------------------ filter drawer */
.sl-fdrawer__scrim { position: fixed; inset: 0; z-index: calc(var(--sl-z-drawer) - 1); background: rgba(16, 25, 33, .55); }
.sl-fdrawer__scrim[hidden], .sl-fdrawer[hidden] { display: none; }
.sl-fdrawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--sl-z-drawer); width: min(420px, 100vw);
  background: var(--sl-white); box-shadow: -20px 0 60px rgba(16, 25, 33, .25);
}
.sl-fdrawer__form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.sl-fdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--sl-line); }
.sl-fdrawer__head h2 { margin: 0; font-family: var(--sl-font-display); font-size: 22px; letter-spacing: -0.02em; color: var(--sl-ink); }
.sl-fdrawer__close {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--sl-r-pill); background: var(--sl-sand); color: var(--sl-ink); cursor: pointer;
}
.sl-fdrawer__close:hover { background: var(--sl-line); }
.sl-fdrawer__body { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; padding: 20px; }
.sl-fdrawer__body fieldset { margin: 0; padding: 0; border: 0; }
.sl-fdrawer__body legend {
  margin: 0; padding: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: var(--sl-track-eyebrow);
  text-transform: uppercase; color: var(--sl-muted);
}
.sl-fdrawer__opt {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 8px; border-radius: 10px;
  font-size: var(--sl-fs-md); font-weight: 600; color: var(--sl-ink); cursor: pointer; transition: background var(--sl-t) ease;
}
.sl-fdrawer__opt:hover { background: var(--sl-sand); }
.sl-fdrawer__opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--sl-ink); flex: 0 0 auto; }
.sl-fdrawer__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-top: 1px solid var(--sl-line); background: var(--sl-white);
}
.sl-fdrawer__foot .sl-sr__clear { display: inline-flex; align-items: center; height: 48px; font-size: 15px; }
.sl-fdrawer__foot .sl-btn { height: 52px; padding: 0 28px; font-size: var(--sl-fs-md); font-weight: 700; }
body.sl-noscroll { overflow: hidden; }

/* ------------------------------------------------------------ phone search sheet */
.sl-sheet { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; background: var(--sl-white); }
.sl-sheet[hidden] { display: none; }
.sl-sheet__top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--sl-line); }
.sl-sheet__x {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: var(--sl-r-pill); background: #F3F7F6; color: var(--sl-ink); font: 400 22px/1 var(--sl-font-body); cursor: pointer;
}
.sl-sheet__title { margin: 0; font-family: var(--sl-font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--sl-ink); }
.sl-sheet__sp { width: 44px; }
.sl-sheet__form { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin: 0; }
.sl-sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 26px; padding: 20px 16px 28px; }
.sl-sheet__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sl-muted); }
.sl-sheet__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--sl-line); }
.sl-sheet__tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 68px; margin: 0; padding: 0;
  border: 0; background: none; color: var(--sl-muted); font: 600 13px/1.1 var(--sl-font-body); cursor: pointer;
}
.sl-sheet__tab[aria-selected="true"] { color: var(--sl-teal); font-weight: 800; box-shadow: inset 0 -3px 0 var(--sl-teal); }
.sl-sheet__fields { display: flex; flex-direction: column; gap: 8px; }
.sl-sheet__field {
  display: flex; flex-direction: column; justify-content: center; height: 60px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid var(--sl-line-strong); border-radius: 12px; background: var(--sl-white); cursor: text;
}
.sl-sheet__field:focus-within { border-color: var(--sl-teal); box-shadow: 0 0 0 3px rgba(29, 90, 102, .14); }
.sl-sheet__field span { font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--sl-ink); }
.sl-sheet__field input { width: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--sl-ink); font: 500 16px/1.35 var(--sl-font-body); }
.sl-sheet__field input::placeholder { color: #6A7A7C; opacity: 1; }
.sl-sheet__body > .sl-wmenu { margin-top: -10px; }
.sl-sheet__foot {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sl-line); background: var(--sl-white);
}
.sl-sheet__clear { padding: 0; border: 0; background: none; color: var(--sl-ink); font: 700 16px/1 var(--sl-font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sl-sheet__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; min-width: 160px; padding: 0 28px;
  border: 0; border-radius: var(--sl-r-pill); background: var(--sl-lime); color: var(--sl-ink); font: 700 17px/1 var(--sl-font-body); cursor: pointer;
}
.sl-sheet__go:hover { background: var(--sl-lime-hover); }

/* ------------------------------------------------------------ responsive */
@media (min-width: 761px) and (max-width: 1279px) {
  .sl-sr__catbtn { margin-left: 6px; padding: 0 10px 0 12px; font-size: 14px; font-weight: 600; }
  .sl-sr__filters { width: 64px; padding: 0; }
  .sl-sr__filters-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-sr__filters .sl-sr__badge { position: absolute; top: 6px; right: 6px; }
}
@media (min-width: 961px) and (max-width: 1279px) {
  .sl-sr__layout { grid-template-columns: minmax(0, 62%) minmax(0, 1fr); }
  .sl-sr__go { width: 44px; height: 44px; }
  .sl-sr__field { margin: 4px; padding: 0 12px; }
}
@media (max-width: 960px) {
  .sl-sr__layout { grid-template-columns: minmax(0, 1fr); }
  .sl-sr__main { width: 100%; max-width: none; }
  .sl-sr__maptoggle, .sl-sr__zoom, .sl-sr__mapbig { display: none; }
  /* The map: an overlay from the bottom of the search bar (measured: --sl-sr-mtop) to the bottom of the screen. */
  .sl-sr__map, .sl-sr.is-nomap .sl-sr__map {
    display: none; position: fixed; top: var(--sl-sr-mtop, var(--sl-header-h)); right: 0; bottom: 0; left: 0; z-index: 55; height: auto;
  }
  .sl-sr.is-mapview .sl-sr__map { display: block; }
  .sl-sr.is-mapview .sl-sr__bar { z-index: 57; }
  .sl-sr__fab {
    position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px;
    border: 0; border-radius: var(--sl-r-pill); background: var(--sl-ink); color: var(--sl-white);
    font: 700 var(--sl-fs-base)/1 var(--sl-font-body); box-shadow: 0 10px 28px rgba(16, 25, 33, .35); cursor: pointer;
  }
  .sl-sr__fab svg { color: var(--sl-teal-soft); stroke-width: 1.84; }
  body:has(.sl-sheet:not([hidden])) .sl-sr__fab { display: none; }
}
@media (max-width: 760px) {
  /* Search pages have no nav row on phones: back + summary is the header. */
  body:has([data-sl-search]) .sl-header { display: none; }
  .sl-sr__bar { top: 0; gap: 6px; padding: 10px var(--sl-gutter); border-bottom: 0; }
  .sl-sr__form, .sl-sr__filters { display: none; }
  .sl-sr__back {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px;
    border-radius: var(--sl-r-pill); color: var(--sl-ink);
  }
  .sl-root .sl-sr__back:hover { background: rgba(16, 25, 33, .06); color: var(--sl-ink); }
  .sl-sr__sum {
    flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 7px 0 8px; box-sizing: border-box;
    border: 1px solid var(--sl-line-strong); border-radius: var(--sl-r-pill); background: var(--sl-white); color: var(--sl-ink);
    box-shadow: 0 1px 2px rgba(16, 25, 33, .08), 0 4px 12px rgba(16, 25, 33, .05);
    font-family: var(--sl-font-body); text-align: left; cursor: pointer;
  }
  .sl-sr__sum-icon, .sl-sr__sum-go {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--sl-r-pill);
  }
  .sl-sr__sum-icon { background: var(--sl-mist); color: var(--sl-teal); }
  .sl-sr__sum-go { background: var(--sl-lime); color: var(--sl-ink); }
  .sl-sr__sum-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  .sl-sr__sum-where, .sl-sr__sum-what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sl-sr__sum-where { font-size: 15px; font-weight: 800; }
  .sl-sr__sum-what { font-size: 13px; font-weight: 500; color: var(--sl-muted); }
  .sl-sr__h1 { font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; }
  .sl-sr__showing { display: none; }
  /* Filters: icon only (the word stays for screen readers), count badge on its corner. */
  .sl-sr__btn--filters { position: relative; display: inline-flex; justify-content: center; width: 46px; padding: 0 14px; }
  .sl-sr__btn--filters > span:not(.sl-sr__badge) {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .sl-sr__btn--filters > .sl-sr__badge { position: absolute; top: -4px; right: -4px; }
  .sl-sr__sort { margin-left: auto; }
  .sl-sr__main { padding: 24px var(--sl-gutter) 88px; }
  .sl-sr__sort label, .sl-sr__seg { display: none; }
  .sl-sr__tools { width: 100%; }
  .sl-sgrid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sl-fdrawer__foot .sl-btn { flex: 1 1 auto; }
}

/* ------------------------------------------------------------ state/city archives (taxonomy.php) */
.sl-sr__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 10px; padding: 0; list-style: none; font-size: var(--sl-fs-xs); font-weight: 600; }
.sl-sr__crumbs li { display: inline-flex; align-items: center; color: var(--sl-muted); }
.sl-sr__crumbs li + li::before { content: "\203A"; margin: 0 8px; color: var(--sl-subtle); }
.sl-root .sl-sr__crumbs a { color: var(--sl-teal); }
.sl-root .sl-sr__crumbs a:hover { text-decoration: underline; }
.sl-sr__crumbs [aria-current] { color: var(--sl-ink); }

/* Category intro: text left, photo right */
.sl-sr-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.sl-sr-intro__text .sl-cat-h2 { margin-top: 8px; }
.sl-sr-intro__lead { margin: 10px 0 0; font-family: var(--sl-font-display); font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.3; color: var(--sl-ink); }
.sl-sr-intro__text p:last-child { margin: 14px 0 0; max-width: 60ch; font-size: var(--sl-fs-md); line-height: 1.65; color: var(--sl-muted); }
.sl-sr-intro__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--sl-r-xl); }

/* Popular Destinations: photo tiles with the city name */
.sl-sr-dest { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; }
.sl-sr-dest__tile {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--sl-r-lg);
  background: var(--sl-line); color: var(--sl-white); text-decoration: none;
}
.sl-sr-dest__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--sl-t-slow) var(--sl-ease); }
.sl-sr-dest__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 25, 33, 0) 45%, rgba(16, 25, 33, .82) 100%); }
.sl-sr-dest__tile:hover img { transform: scale(1.04); }
.sl-sr-dest__label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.sl-sr-dest__state { font-size: 11px; font-weight: 800; letter-spacing: var(--sl-track-eyebrow); text-transform: uppercase; color: var(--sl-lime); }
.sl-sr-dest__city { font-family: var(--sl-font-display); font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; line-height: 1.2; }
.sl-sr-dest__sub { font-size: var(--sl-fs-xs); color: rgba(255, 255, 255, .8); }
.sl-root .sl-sr-dest__tile, .sl-root .sl-sr-dest__tile:hover { color: var(--sl-white); }   /* beats the site-wide link colour */
.sl-sr-dest__tile:hover .sl-sr-dest__city { text-decoration: underline; text-underline-offset: 3px; }

/* Blog & Tips */
.sl-sr-blog__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.sl-sr-blog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; list-style: none; }
.sl-sr-post { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--sl-r-lg); background: var(--sl-white); box-shadow: 0 1px 2px rgba(16, 25, 33, .06), 0 0 0 1px var(--sl-line-soft); }
.sl-sr-post__img { aspect-ratio: 16 / 9; background: var(--sl-line); }
.sl-sr-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sl-sr-post__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.sl-sr-post__cat { font-size: 11px; font-weight: 800; letter-spacing: var(--sl-track-eyebrow); text-transform: uppercase; color: var(--sl-teal); }
.sl-sr-post h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.sl-sr-post h3 a { color: var(--sl-ink); }
.sl-sr-post h3 a::after { content: ""; position: absolute; inset: 0; }
.sl-sr-post:hover h3 a { text-decoration: underline; text-underline-offset: 3px; }
.sl-sr-post__date { font-size: var(--sl-fs-xs); color: var(--sl-muted); }

/* Location FAQ citation */
.sl-sr-faq__src { margin-top: 10px; font-size: var(--sl-fs-xs); color: var(--sl-muted); }
.sl-sr-faq__src span { color: var(--sl-subtle); }

@media (max-width: 1080px) {
  .sl-sr-dest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sl-sr-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sl-sr-intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sl-sr-dest { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; margin-inline: calc(var(--sl-gutter) * -1); padding-inline: var(--sl-gutter); scrollbar-width: none; }
  .sl-sr-dest::-webkit-scrollbar { display: none; }
  .sl-sr-dest > li { flex: 0 0 58%; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .sl-sr-blog { grid-template-columns: minmax(0, 1fr); }
}
