/* =====================================================================
   Ice Skating Near You: design system
   Navy and ice blue, with berry red and gold as festive accents.
   ===================================================================== */

:root {
  --navy: #0b3a75;
  --navy-900: #071f42;
  --blue: #1f7ae0;
  --blue-600: #1666c4;
  --ice: #e8f2fc;
  --ice-50: #f4f9fe;
  --berry: #e63950;
  --gold: #ffc845;
  --ink: #12233b;
  --ink-2: #3c4c63;
  --muted: #5f6f86;
  --line: #dde6f1;
  --white: #fff;
  --slate: #33475f;
  --slate-900: #1e2d40;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18, 35, 59, .06), 0 2px 8px rgba(18, 35, 59, .05);
  --shadow-md: 0 6px 22px rgba(18, 35, 59, .1);
  --wrap: 1200px;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* 18px body at 1.8 line height. Long paragraphs are split at sentence
   boundaries at build time (splitLongParagraphs in scripts/build.mjs) so
   none runs past three or four lines. */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 600; margin-top: 1.6em; }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.3rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
h2:first-child { margin-top: 0; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-mid { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-text b { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.brand-text span { font-size: .95rem; font-weight: 600; color: var(--blue); }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.main-nav a:hover { background: var(--ice); color: var(--navy); }
.main-nav a[aria-current="page"] { background: var(--ice); color: var(--navy); font-weight: 600; }
.nav-toggle { display: none; background: var(--ice); border: 0; color: var(--navy); padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .main-nav a { padding: 12px 14px; }
}

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-600); }
.btn-dark { background: var(--slate-900); color: #fff; }
.btn-dark:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ice); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-link { background: none; border: 0; padding: 0; color: var(--blue-600); text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------------- page head */
.page-head { background: linear-gradient(180deg, var(--ice-50), #fff); border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.page-head h1 { margin-bottom: .3em; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 760px; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b5c2d3; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.section { padding: 56px 0; }
.page-head + .section { padding-top: 34px; }
.section-tint { background: var(--ice-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--blue-600); margin: 0 0 6px; }
.eyebrow-light { color: #b9dcff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0 0 4px; }
.section-sub { color: var(--muted); font-size: .95rem; margin: 0; }
.section-actions { display: flex; gap: 8px; align-items: center; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-900) url(/assets/img/hero-poster.jpg) center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 31, 66, .86) 0%, rgba(7, 31, 66, .6) 50%, rgba(7, 31, 66, .25) 100%); }
.hero-inner { position: relative; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.4rem); margin: 0 0 .1em; }
.hero-sub { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; color: #cfe6ff; border-left: 3px solid var(--gold); padding-left: 12px; margin: 0 0 14px; }
.hero-copy { max-width: 560px; color: #e5f0fc; font-size: 1.02rem; }
.hero-search { display: flex; gap: 8px; max-width: 560px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow-md); }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font: inherit; font-size: 1rem; border-radius: 999px; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-popular { margin: 16px 0 0; font-size: .92rem; color: #d9e9fb; }
.hero-popular span { font-weight: 700; color: #fff; margin-right: 4px; }
.hero-popular a { color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
@media (max-width: 640px) { .hero { min-height: 520px; } .hero-search .btn { padding: 10px 16px; } }

.tagline-band { background: var(--slate); color: #e7eef7; text-align: center; padding: 30px 20px; font-style: italic; font-size: 1.08rem; }
.tagline-band p { max-width: 820px; margin: 0 auto; }
.tagline-band strong { color: #fff; }

/* ---------------------------------------------------------- cards/carousel */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 1.05rem; margin: 0 0 4px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--blue-600); }
.card-place, .card-rating { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.card-miles { display: inline-block; margin-left: 4px; font-weight: 600; color: var(--blue-600); }
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; }
.card-row > .card { scroll-snap-align: start; }
.card-row:empty { display: none; }
.carousel-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }

.explore-band { position: relative; color: #fff; padding: 90px 0; background: var(--navy-900) url(/assets/img/explore-bg.jpg) center/cover no-repeat; }
.explore-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 31, 66, .9), rgba(7, 31, 66, .55)); }
.explore-inner { position: relative; max-width: var(--wrap); }
.explore-inner h2 { color: #fff; max-width: 560px; margin-top: 0; }
.explore-inner p { max-width: 560px; color: #dbe9f8; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-bottom: 18px; }
.post-card .card-body p { font-size: .95rem; color: var(--ink-2); margin: 0; line-height: 1.65; }
.post-card .eyebrow { font-size: .7rem; }

/* ---------------------------------------------------------- state tiles */
.state-tiles { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.state-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.state-tile:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--ink); }
.state-tile img { width: 56px; height: 56px; margin-bottom: 6px; }
.state-tile b { font-size: .86rem; font-weight: 600; line-height: 1.25; }
.state-tile span { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.state-tile.is-empty { opacity: .55; }
.after-tiles { margin-top: 22px; }

.why { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.why-img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 800px) { .why { grid-template-columns: 1fr; gap: 24px; } }

.stats-band { background: var(--slate); color: #fff; padding: 46px 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.stats span { color: #c7d5e6; font-size: .9rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.chip-row-lg { gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--ice); color: var(--navy); font-size: .84rem; font-weight: 600; line-height: 1.6; text-decoration: none; border: 1px solid transparent; }
a.chip:hover { border-color: var(--blue); color: var(--blue-600); }
.chip span { font-weight: 500; color: var(--muted); }
.chip.is-active { background: var(--navy); color: #fff; }
.chip.is-active span { color: #c6dcf5; }
.chip-static { background: #f1f4f8; color: var(--ink-2); font-weight: 500; }
.chip-row-lg .chip { padding: 8px 16px; font-size: .92rem; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.filter-label { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* -------------------------------------------------------------------- FAQ */
.faq { margin: 24px 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; list-style: none; position: relative; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--blue); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item div { padding: 0 18px 4px; color: var(--ink-2); }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--slate-900); color: #c8d4e3; padding: 40px 0 28px; margin-top: 0; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.footer-brand b { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.footer-brand p { margin: 0; font-size: .9rem; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.footer-nav a { color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; }
.footer-nav a:hover { color: var(--gold); }
.social { gap: 10px !important; }
.social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.social a:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.footer-legal { font-size: .82rem; margin: 18px 0 0; color: #9fb0c5; }

/* ------------------------------------------------------------------ prose */
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose table { margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; line-height: 1.55; }
.prose th { background: var(--ice-50); }
.notice { background: var(--ice); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 1.4em; }
.notice p:last-child { margin: 0; }
.data-note { font-size: .86rem; color: var(--muted); }
.missing { color: var(--muted); font-style: italic; }
.byline { font-size: .9rem; color: var(--muted); }
.post-hero { margin: 0 0 18px; }
.post-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.toc { background: var(--ice-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 0 0 1.6em; }
.toc-title { font-weight: 700; margin: 0 0 4px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.related { margin-top: 2.4em; }
.guide-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.guide-list li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; background: #fff; line-height: 1.5; }
.guide-list a { font-weight: 600; display: block; }
.guide-list span { font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ hubs/tables */
.hub-hero { background: linear-gradient(180deg, var(--ice-50), #fff); padding: 26px 0 36px; border-bottom: 1px solid var(--line); }
.hub-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hub-hero-img img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 800px) { .hub-hero-inner { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 12px 0 18px; }
.data-table { font-size: .92rem; line-height: 1.5; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--ice-50); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.data-table tbody tr:hover { background: var(--ice-50); }
.data-table tfoot td, .data-table tfoot th { font-weight: 700; border-bottom: 0; }
.link-grid { list-style: none; padding: 0; margin: 10px 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; font-size: .95rem; }
.link-grid li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding: 4px 0; line-height: 1.5; }
.link-grid span { color: var(--muted); font-size: .85rem; }
.hub-intro { font-size: 1.04rem; color: var(--ink-2); max-width: 860px; }
.jump-links { font-size: .9rem; color: var(--muted); }
.hub-block { margin: 40px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.mini-list { padding-left: 1.3em; margin: 0; }
.mini-list li { margin-bottom: 8px; line-height: 1.5; }
.mini-list span, .compass-list span { display: block; font-size: .85rem; color: var(--muted); }
.compass-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compass-list li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; line-height: 1.5; }
.compass-list b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); }
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.photo-strip a { text-decoration: none; color: var(--ink-2); font-size: .82rem; line-height: 1.4; }
.photo-strip img { border-radius: var(--radius-sm); aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }
.crumb-links { font-size: .95rem; margin: 18px 0; }
.find-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.find-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.find-list a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; }
.find-list span { color: var(--muted); font-size: .9rem; }
.find-list p { font-size: .92rem; color: var(--ink-2); margin: 6px 0 0; line-height: 1.6; }

/* ------------------------------------------------------------ list tools */
.list-tools { background: var(--ice-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 10px 0 20px; }
.lt-search input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font: inherit; font-size: 1rem; background: #fff; }
.lt-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 10px; }
.lt-control { display: flex; flex-direction: column; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; gap: 2px; line-height: 1.4; }
.lt-control select { font: inherit; font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 10px; background: #fff; min-width: 150px; }
.lt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.lt-count { margin: 0; font-size: .9rem; color: var(--muted); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.view-toggle button { border: 0; background: transparent; padding: 6px 16px; font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.view-toggle button.is-active { background: var(--navy); color: #fff; }
.empty-state { background: var(--ice-50); padding: 18px; border-radius: var(--radius); }

/* ------------------------------------------------------------- entries */
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.entry { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.entry-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
.entry-rank { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.entry-title { font-size: 1.25rem; margin: 0; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { color: var(--blue-600); }
.entry-place { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.entry-distance { margin-left: 8px; font-weight: 600; color: var(--blue-600); }
.entry-grid { display: grid; grid-template-columns: 200px 1fr; gap: 18px; }
.entry-media img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--ice); }
.entry-rating { margin: 0 0 4px; font-size: .95rem; line-height: 1.5; }
.entry-reviews { color: var(--muted); margin-left: 6px; }
.entry-summary p { font-size: 1rem; margin: 0 0 .7em; }
.entry-facts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.entry-hours h4 { font-family: var(--font-body); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.entry-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.entry-ad { list-style: none; }
.status-flag { display: inline-block; background: #fff3e0; color: #8a4b00; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; margin: 0 0 6px; }
@media (max-width: 720px) {
  .entry { padding: 14px; }
  .entry-grid, .entry-facts { grid-template-columns: 1fr; }
  .entry-media { display: none; }
}

.stars { --percent: calc(var(--rating) / 5 * 100%); display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.stars::before { content: "\2605\2605\2605\2605\2605"; background: linear-gradient(90deg, var(--gold) var(--percent), #d5dde8 var(--percent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.fact-list { margin: 0; display: grid; gap: 8px; font-size: .92rem; line-height: 1.5; }
.fact-list > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.fact-list dt { font-weight: 600; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.fact-list dd { margin: 0; overflow-wrap: anywhere; }
.hours-list { margin: 0; font-size: .9rem; line-height: 1.55; }
.hours-list > div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; }

/* -------------------------------------------------------------------- ads
   Space is reserved before the ad loads so a late fill never pushes the
   content below it down. */
.ad-slot { margin: 28px auto; text-align: center; contain: layout; }
.ad-slot-display { min-height: 280px; }
.ad-slot-inFeed { min-height: 200px; margin: 0; }
.ad-slot-inArticle { min-height: 250px; }
.ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #95a3b6; margin-bottom: 4px; }
.ad-slot ins { min-height: inherit; }

/* ------------------------------------------------------------ listing page */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.detail-hero { margin: 0 0 18px; }
.detail-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--ice); }
.detail-hero figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.detail-side { position: sticky; top: 90px; }
.side-card { padding: 20px; }
.side-title { font-size: 1.2rem; margin: 0 0 14px; }
.side-note { font-size: .82rem; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.hours-table { max-width: 460px; font-size: .95rem; margin-bottom: 8px; }
.hours-table th, .hours-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.hours-table th { width: 140px; font-weight: 600; }
.rating-bars { max-width: 460px; display: grid; gap: 6px; font-size: .88rem; }
.bar-row { display: grid; grid-template-columns: 54px 1fr 56px; gap: 10px; align-items: center; line-height: 1.4; }
.bar { height: 10px; background: var(--ice); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold); }
.attr-list { padding-left: 1.2em; font-size: .95rem; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-side { position: static; } }

/* --------------------------------------------------------------- maps */
.map-shell { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ice); margin-bottom: 20px; }
.rink-map { width: 100%; height: 520px; }
.map-xl .rink-map { height: 620px; }
.map-list { columns: 2 280px; font-size: .95rem; padding-left: 1.4em; }
.map-list li { break-inside: avoid; line-height: 1.5; margin-bottom: 4px; }
.map-list span { color: var(--muted); font-size: .85rem; }
.leaflet-popup-content { font-family: var(--font-body); font-size: .9rem; line-height: 1.5; }

/* -------------------------------------------------------------- search */
.search-box { padding: 0; }
.search-page-form { max-width: none; border: 1px solid var(--line); box-shadow: none; }
.search-status { color: var(--muted); font-size: .92rem; margin: 12px 0 18px; }
.search-results { display: grid; gap: 10px; margin-bottom: 24px; }
.search-result { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; line-height: 1.5; }
.search-result h3 { margin: 2px 0; font-size: 1.05rem; }
.search-result p { margin: 0; font-size: .9rem; color: var(--muted); }
.search-kind { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); }
.hero-inner, .explore-inner { width: 100%; }
.eyebrow + h2, .eyebrow + h1 { margin-top: 0; }

/* -------------------------------------------------------------- blog hub */
.flush { padding: 0; }
.post-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.post-row { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 22px 20px; box-shadow: var(--shadow-sm); }
.post-row h2 { font-size: 1.2rem; margin: 0 0 4px; }
.post-row h2 a { color: var(--ink); text-decoration: none; }
.post-row h2 a:hover { color: var(--blue-600); }
.post-row-meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; line-height: 1.5; }
.post-row-meta a { color: var(--blue-600); }
.post-row-excerpt { font-size: .98rem; color: var(--ink-2); margin: 0 0 12px; line-height: 1.65; }
.pill-link { display: inline-block; background: var(--ice); color: var(--navy); font-size: .82rem; font-weight: 600; padding: 4px 14px; border-radius: 999px; text-decoration: none; }
.pill-link:hover { background: var(--navy); color: #fff; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 28px 0 0; }
.pager > :last-child { justify-self: end; }
.pager-label { font-size: .88rem; color: var(--muted); }
.blog-about { margin-top: 56px; }

/* ------------------------------------------------------------ /states/ list */
.tracking-line { font-size: 1.1rem; color: var(--ink-2); margin: 6px 0 26px; }
.tracking-line strong { color: var(--ink); }
.state-list { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.state-list a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; line-height: 1.3; height: 100%; transition: border-color .15s, box-shadow .15s; }
.state-list a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--navy); }
.state-list-n { color: var(--muted); font-size: .88rem; font-weight: 500; }
.states-more { max-width: none; }
@media (max-width: 1100px) { .state-list { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .state-list { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------- compact ranked entries */
.lt-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 12px; }
.lt-page-count { margin: 0; font-size: .9rem; color: var(--muted); }
.list-tools { background: var(--ice-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 22px; }
.lt-q { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font: inherit; font-size: .98rem; background: #fff; }
.lt-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: stretch; }
.lt-control { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 0 0 12px; font-size: .85rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.lt-control select { border: 0; min-width: 0; padding: 8px 10px 8px 0; font-weight: 600; font-size: .88rem; background: transparent; }
.lt-btn { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 14px; font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.lt-btn:hover { border-color: var(--blue); color: var(--blue-600); }
.lt-count { margin: 12px 0 0; font-size: .9rem; font-weight: 700; color: var(--ink); }
.entry { display: grid; grid-template-columns: 30px 130px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; }
.entry .entry-rank { width: 28px; height: 28px; font-size: .85rem; background: var(--blue); }
.entry-thumb img { width: 130px; height: 82px; object-fit: cover; border-radius: var(--radius-sm); background: var(--ice); }
.entry-title { font-size: 1.12rem; margin: 0 0 4px; }
.entry-line { margin: 0 0 2px; font-size: .9rem; line-height: 1.6; color: var(--ink-2); }
.entry-line a { color: var(--blue-600); }
.entry-hours { margin: 6px 0 4px; font-size: .86rem; line-height: 1.55; color: var(--ink-2); }
.entry-fit { margin: 0 0 4px; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.55; }
.entry-blurb { margin: 6px 0 8px; font-size: 1rem; line-height: 1.7; }
.entry .chip-row { margin: 4px 0 0; }
.entry .status-flag { margin: 4px 0; }
@media (max-width: 640px) {
  .entry { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .entry-thumb { display: none; }
}
.city-list { grid-template-columns: repeat(5, 1fr); margin-bottom: 8px; }
@media (max-width: 1100px) { .city-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .city-list { grid-template-columns: repeat(2, 1fr); } }
.plain-links { list-style: none; padding: 0; margin: 0; }
.plain-links li { border-bottom: 1px solid var(--line); padding: 8px 0; line-height: 1.5; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--ice); }
@media (max-width: 640px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------ generated lists */
.glance-list { padding-left: 1.4em; }
.glance-list li { margin-bottom: 4px; }
.glance-list span { color: var(--muted); font-size: .9rem; }
.prose .entries { padding-left: 0; }
.prose .entry { grid-template-columns: 30px 110px minmax(0, 1fr); gap: 14px; }
.prose .entry-thumb img { width: 110px; height: 70px; }
.entry-detail { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; }
.entry-detail p { font-size: .98rem; margin: 0 0 .7em; }

/* --------------------------------------------------------- featured rinks */
.featured-block { background: var(--ice-50); border-top: 1px solid var(--line); padding: 44px 0 52px; }
.featured-block h2 { margin: 0 0 4px; }
.featured-block .section-sub { margin-bottom: 18px; }
.featured-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.rink-card { position: relative; }
.card-badge { position: absolute; top: 10px; left: 10px; background: var(--berry); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.rink-card.is-partner { border-color: var(--berry); }

/* ----------------------------------------------------------- /find/ cards */
.find-list .find-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.find-media { display: block; aspect-ratio: 16 / 9; background: var(--ice); overflow: hidden; }
.find-media img { width: 100%; height: 100%; object-fit: cover; }
.find-body { padding: 14px 18px 18px; }
.find-list .find-title { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; }
