/* Places pages: [place_entity] and [place_hub].
 *
 * Built on the theme's own tokens (--ink, --sky, --adv-btn, --r-md …) so these
 * pages read as part of breaks.com rather than a bolted-on microsite.
 *
 * SPECIFICITY RULE, and it is not optional. The theme sets
 *   .entry-content a         { color: var(--ink); }            (0,1,1)
 *   .entry-content p > a     { color: var(--sky); underline; } (0,1,2)
 * so every rule below carries at least TWO classes. A single-class rule like
 * `.pl-cta` loses to `.entry-content p > a` and the theme quietly repaints it —
 * which is how the concierge button shipped as blue underlined text on a dark
 * navy block.
 *
 * The page content sits in `.entry-content`, capped at 760px. Blocks that need
 * more room opt in with `.pl-bleed`.
 */

/* The theme caps .entry-content at 760px and pads it 64px top, on top of
   .page-header's own 32px bottom. For a page that is mostly tables, maps and
   two-column blocks that is both too narrow and too far from its own H1, so the
   whole wrap widens once and pulls up — one left edge for every block, rather
   than the two competing ones you get from bleeding only the media. */
.pl-wrap {
  --pl-gap: 28px;
  width: min(1100px, calc(100vw - 48px));
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: -34px;
}

/* Long-form text still needs a readable measure inside that wider column. */
.pl-wrap .pl-lede,
.pl-wrap .pl-summary p,
.pl-wrap .pl-compare p,
.pl-wrap .pl-prov p { max-width: 74ch; }

/* Retained so the markup keeps working; the wrap itself is now the wide one. */
.pl-wrap .pl-bleed { width: auto; margin-left: 0; transform: none; }

.pl-wrap .pl-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------------ links */

.pl-wrap .pl-a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 28%, transparent);
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.pl-wrap .pl-a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.pl-wrap .pl-a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

/* --------------------------------------------------------------- crumbs */

.pl-wrap .pl-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin: 0 0 24px;
}
.pl-wrap .pl-crumbs .pl-a { color: var(--muted); border-bottom-color: transparent; }
.pl-wrap .pl-crumbs .pl-a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.pl-wrap .pl-sep { color: var(--line); }
.pl-wrap .pl-here { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- hero */

.pl-wrap .pl-hero {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px;
  margin-bottom: 12px;
}
.pl-wrap .pl-hero-media {
  margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: var(--bg-soft); box-shadow: var(--shadow-md);
}
.pl-wrap .pl-hero-media img {
  width: 100%; height: 100%; min-height: 300px; max-height: 400px;
  object-fit: cover; margin: 0; border-radius: 0;
}
.pl-wrap .pl-credit {
  position: absolute; right: 0; bottom: 0;
  font-size: 10px; letter-spacing: .02em; line-height: 1;
  padding: 6px 9px; color: #fff;
  background: rgba(12, 37, 64, .62); border-top-left-radius: var(--r-sm);
}
.pl-wrap .pl-credit-a { color: #fff; text-decoration: underline; }

/* The identity card: the verdict, beside the photograph. */
.pl-wrap .pl-ident {
  display: flex; flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.pl-wrap .pl-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sky-ink); margin: 0 0 14px;
}
.pl-wrap .pl-score { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.pl-wrap .pl-score-num {
  font-size: 60px; font-weight: 800; letter-spacing: -.045em; line-height: .9;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.pl-wrap .pl-score-of { font-size: 17px; font-weight: 700; color: var(--muted); }
.pl-wrap .pl-score-sub {
  font-size: 13px; color: var(--muted); margin: 8px 0 0;
  font-variant-numeric: tabular-nums;
}

.pl-wrap .pl-ident-meta {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px;
  margin: 20px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line);
  font-size: 14px;
}
.pl-wrap .pl-ident-meta dt {
  color: var(--muted); font-size: 12px; text-transform: uppercase;
  letter-spacing: .06em; font-weight: 700; align-self: center;
}
.pl-wrap .pl-ident-meta dd { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.45; }

/* ---------------------------------------------------------------- button */

.pl-wrap .pl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: auto; padding: 13px 20px;
  background: var(--adv-btn); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  border: 0; border-radius: var(--r-pill); text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: background .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}

.pl-wrap .pl-btn:hover {
  background: var(--adv-btn-hover); color: #fff;
  box-shadow: var(--shadow-cta-hover); transform: translateY(-1px);
}
.pl-wrap .pl-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------------------------------------------------------- photo strip */

.pl-wrap .pl-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 40px;
}
.pl-wrap .pl-shot { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft); }
.pl-wrap .pl-shot img {
  width: 100%; height: 116px; object-fit: cover; margin: 0; border-radius: 0;
  transition: transform .4s var(--ease);
}
.pl-wrap .pl-shot:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------- typography */

.pl-wrap .pl-lede {
  font-size: 19px; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 40px; max-width: 68ch;
}
.pl-wrap .pl-sec { margin: 0 0 44px; }
.pl-wrap .pl-h {
  font-size: 15px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.pl-wrap .pl-subh {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px; text-align: left;
}
.pl-wrap .pl-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }

/* ----------------------------------------- signature: source-by-source */

.pl-wrap .pl-cons-list { list-style: none; margin: 0; padding: 0; }
.pl-wrap .pl-cons-row {
  display: grid; grid-template-columns: 150px 44px 1fr 84px;
  align-items: center; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.pl-wrap .pl-cons-row:last-child { border-bottom: 0; }
.pl-wrap .pl-cons-src { color: var(--ink); font-weight: 600; }
.pl-wrap .pl-cons-rate {
  font-size: 19px; font-weight: 800; color: var(--ink);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.pl-wrap .pl-cons-bar {
  height: 8px; border-radius: var(--r-pill); background: var(--sky-soft); overflow: hidden;
}
.pl-wrap .pl-cons-fill {
  display: block; height: 100%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--sky) 0%, var(--sky-2) 100%);
}
.pl-wrap .pl-cons-n {
  text-align: right; font-size: 13px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- verdict */

.pl-wrap .pl-verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pl-gap); }
.pl-wrap .pl-col { padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line); }
.pl-wrap .pl-col-pro { background: var(--sky-soft); border-color: color-mix(in srgb, var(--sky) 18%, transparent); }
.pl-wrap .pl-col-con { background: var(--sand); border-color: color-mix(in srgb, var(--adv) 22%, transparent); }
.pl-wrap .pl-points { list-style: none; margin: 0; padding: 0; }
.pl-wrap .pl-points li {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  margin: 0 0 14px; padding-left: 18px; position: relative;
}
.pl-wrap .pl-points li:last-child { margin-bottom: 0; }
.pl-wrap .pl-points li strong { display: block; color: var(--ink); margin-bottom: 3px; font-weight: 700; }
.pl-wrap .pl-col-pro .pl-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sky);
}
.pl-wrap .pl-col-con .pl-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--adv-btn);
}

.pl-wrap .pl-summary p { font-size: 16px; line-height: 1.72; color: var(--ink-2); margin: 0 0 16px; }
.pl-wrap .pl-compare p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.pl-wrap .pl-compare strong { color: var(--ink); }

/* ------------------------------------------------------------- location */

.pl-wrap .pl-place-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--pl-gap); align-items: start; }
.pl-wrap .pl-map { margin: 0; }
.pl-wrap .pl-map-frame {
  display: block; position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none;
}
.pl-wrap .pl-map-frame img { width: 100%; height: auto; margin: 0; border-radius: 0; display: block; }
.pl-wrap .pl-map-open {
  position: absolute; left: 12px; top: 12px;
  font-size: 12px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .94); padding: 7px 12px;
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-4px); transition: all .18s var(--ease);
}
.pl-wrap .pl-map-frame:hover .pl-map-open,
.pl-wrap .pl-map-frame:focus-visible .pl-map-open { opacity: 1; transform: translateY(0); }
.pl-wrap .pl-map-cap { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.pl-wrap .pl-map-cap .pl-a { color: var(--muted); }

.pl-wrap .pl-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 22px; font-size: 14.5px; }
.pl-wrap .pl-facts dt {
  color: var(--muted); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .06em; font-weight: 700; padding-top: 2px;
}
.pl-wrap .pl-facts dd { margin: 0; color: var(--ink); line-height: 1.5; }

.pl-wrap .pl-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.pl-wrap .pl-hours caption { caption-side: top; }
.pl-wrap .pl-hours th, .pl-wrap .pl-hours td { padding: 6px 0; text-align: left; border-bottom: 1px solid var(--line); }
.pl-wrap .pl-hours th { color: var(--muted); font-weight: 600; width: 46px; }
.pl-wrap .pl-hours td { color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-wrap .pl-now th, .pl-wrap .pl-now td { color: var(--ink); font-weight: 700; }
.pl-wrap .pl-now th::after { content: " ·"; color: var(--adv); }

/* ------------------------------------------------------------- chips */

.pl-wrap .pl-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pl-wrap .pl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1; padding: 9px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; color: var(--ink-2); font-family: inherit;
}
.pl-wrap .pl-chip small { font-size: 11px; color: var(--muted); font-weight: 600; }
.pl-wrap .pl-chip-link { text-decoration: none; color: var(--sky); }
.pl-wrap .pl-chip-link:hover { border-color: var(--sky); color: var(--sky); }

/* ------------------------------------------------------- nearby / similar */

.pl-wrap .pl-rel-list { list-style: none; margin: 0; padding: 0; }
.pl-wrap .pl-rel {
  display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.pl-wrap .pl-rel:last-child { border-bottom: 0; }
.pl-wrap .pl-rel-dist {
  font-size: 15px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.pl-wrap .pl-rel-dist small { font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.pl-wrap .pl-rel-name { font-size: 15px; color: var(--ink); }
.pl-wrap .pl-rel-name small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pl-wrap .pl-rel-rate {
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------- ask */

.pl-wrap .pl-ask {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
  padding: 28px 30px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
}
.pl-wrap .pl-ask .pl-h { color: rgba(255, 255, 255, .62); border-bottom-color: rgba(255, 255, 255, .16); }
.pl-wrap .pl-qs { list-style: none; margin: 0; padding: 0; }
.pl-wrap .pl-qs li {
  font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .84);
  padding: 5px 0 5px 18px; position: relative;
}
.pl-wrap .pl-qs li::before { content: "?"; position: absolute; left: 0; color: var(--adv); font-weight: 700; }
.pl-wrap .pl-ask .pl-btn-cta { margin-top: 0; white-space: nowrap; }

/* --------------------------------------------------------- provenance */

.pl-wrap .pl-prov {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
}
.pl-wrap .pl-prov-h {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.pl-wrap .pl-prov p { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; }
.pl-wrap .pl-limits { margin-top: 10px; }
.pl-wrap .pl-limits summary {
  font-size: 12.5px; color: var(--muted); cursor: pointer;
  padding: 6px 0; list-style: revert;
}
.pl-wrap .pl-limits summary:hover { color: var(--ink); }
.pl-wrap .pl-limits ul { margin: 8px 0 0; padding-left: 18px; }
.pl-wrap .pl-limits li { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-bottom: 6px; }

/* ------------------------------------------------------------------ hubs */

.pl-wrap .pl-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px; list-style: none; margin: 0 0 32px; padding: 0;
}
.pl-wrap .pl-stats li {
  padding: 18px 20px; border-radius: var(--r-md);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.pl-wrap .pl-stats strong {
  display: block; font-size: 27px; font-weight: 800; letter-spacing: -.035em;
  line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.pl-wrap .pl-stats strong small { font-size: 14px; font-weight: 700; color: var(--muted); margin-left: 2px; }
.pl-wrap .pl-stats span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }

.pl-wrap .pl-cities {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin: 0 0 8px;
}
.pl-wrap .pl-city {
  display: block; padding: 24px 24px 22px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}
.pl-wrap .pl-city:hover {
  border-color: color-mix(in srgb, var(--sky) 45%, transparent);
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.pl-wrap .pl-city-n {
  display: block; font-size: 34px; font-weight: 800; letter-spacing: -.04em;
  line-height: 1; color: var(--sky); font-variant-numeric: tabular-nums;
}
.pl-wrap .pl-city-name { display: block; margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.pl-wrap .pl-city-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* board = toolbar + facets + table */
.pl-wrap .pl-board { margin: 0 0 44px; }
.pl-wrap .pl-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pl-wrap .pl-search-wrap { flex: 1 1 300px; display: block; }
.pl-wrap .pl-search {
  width: 100%; padding: 12px 16px; font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.pl-wrap .pl-search:focus {
  outline: 0; border-color: var(--sky);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 16%, transparent);
}
.pl-wrap .pl-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.pl-wrap .pl-facets { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.pl-wrap .pl-facet { cursor: pointer; transition: all .15s var(--ease); }
.pl-wrap .pl-facet:hover { border-color: var(--sky); color: var(--sky); }
.pl-wrap .pl-facet[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pl-wrap .pl-facet[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }

.pl-wrap .pl-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.pl-wrap .pl-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.pl-wrap .pl-table thead th {
  /* No position:sticky here — the header's scroll container only scrolls
     horizontally, so sticking to its top is a no-op that just confuses. */
  text-align: left; padding: 13px 16px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-soft);
  border-bottom: 1px solid var(--line); cursor: pointer; user-select: none;
}
.pl-wrap .pl-table thead th[aria-sort="ascending"]::after { content: " ↑"; color: var(--sky); }
.pl-wrap .pl-table thead th[aria-sort="descending"]::after { content: " ↓"; color: var(--sky); }
.pl-wrap .pl-table thead .pl-th-rank { cursor: default; width: 48px; }
.pl-wrap .pl-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pl-wrap .pl-table tbody tr:last-child td { border-bottom: 0; }
.pl-wrap .pl-table tbody tr:hover { background: var(--bg-soft); }
.pl-wrap .pl-rank { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: right; }
.pl-wrap .pl-place-cell { min-width: 220px; }
.pl-wrap .pl-place-link { font-weight: 700; color: var(--ink); border-bottom-color: transparent; }
.pl-wrap .pl-place-link:hover { color: var(--sky); border-bottom-color: var(--sky); }
.pl-wrap .pl-place-cell small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.pl-wrap .pl-num { text-align: right; font-variant-numeric: tabular-nums; }
.pl-wrap .pl-rate-cell { white-space: nowrap; }
.pl-wrap .pl-rate { font-weight: 700; color: var(--ink); }
.pl-wrap .pl-rate-bar {
  display: block; width: 56px; height: 4px; margin: 5px 0 0 auto;
  border-radius: var(--r-pill); background: var(--line); overflow: hidden;
}
.pl-wrap .pl-rate-bar span { display: block; height: 100%; background: var(--sky); border-radius: var(--r-pill); }
.pl-wrap .pl-reviews { color: var(--ink-2); }
.pl-wrap .pl-cat { color: var(--muted); font-size: 13px; white-space: nowrap; }
.pl-wrap .pl-empty { font-size: 14px; color: var(--muted); padding: 20px 4px 0; }

.pl-wrap .pl-seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.pl-wrap .pl-season p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .pl-wrap .pl-hero { grid-template-columns: 1fr; }
  .pl-wrap .pl-hero-media img { min-height: 240px; max-height: 300px; }
  .pl-wrap .pl-place-grid,
  .pl-wrap .pl-verdict-grid { grid-template-columns: 1fr; }
  .pl-wrap .pl-ask { grid-template-columns: 1fr; }
  .pl-wrap .pl-ask .pl-btn-cta { width: 100%; }
}

@media (max-width: 600px) {
  .pl-wrap { width: auto; margin-left: 0; transform: none; }
  .pl-wrap .pl-strip { grid-template-columns: repeat(3, 1fr); }
  .pl-wrap .pl-shot img { height: 84px; }
  .pl-wrap .pl-score-num { font-size: 48px; }
  .pl-wrap .pl-cons-row { grid-template-columns: 1fr 40px; gap: 6px 12px; }
  .pl-wrap .pl-cons-bar { grid-column: 1 / -1; }
  .pl-wrap .pl-cons-n { grid-column: 1 / -1; text-align: left; }
  .pl-wrap .pl-lede { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-wrap * { transition: none !important; }
  .pl-wrap .pl-shot:hover img { transform: none; }
  .pl-wrap .pl-city:hover { transform: none; }
}
