/* City homepage (/groningen, /utrecht, /leeuwarden), design of 5 November 2026 (HomeDesktop2 / HomeMobiel2).
   Loaded only on that page (home.ts). Tokens and spacing from veld.css; the lesson card itself is lessonCard. */

/* heading band: kop, lead and "Probeer: …" (the search bar sits in the header right above it) */
.hr-hero .lead { max-width: 40ch; }
.hr-try { margin: var(--s-3) 0 0; color: var(--on-pitch-2); font-size: .9375rem; }
/* a city without its own skyline drawing: as much room under the text as above it, so the band is balanced */
.hr-hero.is-plain .wrap { padding-bottom: 34px; }
@media (min-width: 768px) { .hr-hero.is-plain .wrap { padding-top: 44px; padding-bottom: 44px; } }
.veld .hr-try a { color: var(--on-pitch); text-decoration: underline; text-underline-offset: 3px; }
.hr-try a:hover { text-decoration-thickness: 2px; }

/* the choices above the row: icon over label, underline on the chosen one */
.hr-sec { border-top: 0; padding-top: var(--s-5); }
/* overflow-y hidden: otherwise the row itself scrolls a little up and down under a mouse wheel */
.hr-cats { display: flex; gap: var(--s-4); overflow-x: auto; overflow-y: hidden; margin: 0 calc(-1 * var(--gut)) var(--s-6); padding: 0 var(--gut); border-bottom: 1px solid var(--hair); scrollbar-width: none; }
.hr-cats::-webkit-scrollbar { display: none; }
.veld a.hr-cat { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--s-2); min-width: 72px; padding: 0 var(--s-1) var(--s-3); border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-2); font-weight: 600; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.hr-cat svg { opacity: .8; }
.veld a.hr-cat:hover { color: var(--text); border-bottom-color: var(--fill-strong); }
.veld a.hr-cat[aria-current="true"] { color: var(--text); border-bottom-color: var(--text); }
.hr-cat[aria-current="true"] svg { opacity: 1; }
@media (min-width: 1100px) { .hr-cats { margin-left: 0; margin-right: 0; padding: 0; gap: var(--s-5); } }
.hr-sec[aria-busy="true"] [data-hr-list] { opacity: .5; transition: opacity .15s; }

/* the row: every card the same size; photo on top when the lesson has a good one, else the sport's name */
.hr-shelf { --shelf-w: 224px; align-items: stretch; }
@media (min-width: 768px) { .hr-shelf { --shelf-w: 260px; } }
.shelf.hr-shelf > li.lc.lc-shelf { padding: 0; overflow: hidden; position: relative; }
.shelf.hr-shelf > li.lc.lc-shelf .lc-th,
.hr-tile { display: block; order: -1; width: 100%; height: 140px; aspect-ratio: auto; margin: 0; border-radius: 0; flex: 0 0 auto; }
@media (min-width: 768px) { .shelf.hr-shelf > li.lc.lc-shelf .lc-th, .hr-tile { height: 160px; } }
.shelf.hr-shelf > li.lc.lc-shelf .lc-th img { transition: transform .35s ease; }
.hr-tile { display: flex; align-items: flex-end; padding: var(--s-4); box-sizing: border-box; background: var(--accent-soft); color: var(--pitch); font: 700 2.5rem/.9 var(--display); letter-spacing: -.01em; overflow: hidden; overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 768px) { .hr-tile { font-size: 2.5rem; } }
@media (prefers-color-scheme: dark) { .hr-tile { color: var(--accent-ink); background: var(--fill); } }
.shelf.hr-shelf > li.lc.lc-shelf .lc-b { padding: var(--s-3) var(--s-4) var(--s-4); }
.shelf.hr-shelf > li.lc.lc-shelf .lc-when { font-size: 1.125rem; font-weight: 700; line-height: 1.1; }
.shelf.hr-shelf > li.lc.lc-shelf .lc-when .lc-dur { font-size: .875rem; font-weight: 600; }
.shelf.hr-shelf > li.lc.lc-shelf a.lc-t { font-size: 1rem; margin-top: var(--s-1); }
.shelf.hr-shelf > li.lc.lc-shelf > .heart { top: var(--s-2); right: var(--s-2); background: var(--surface); border-radius: 50%; }

/* nothing left today: say when there is */
.hr-empty { padding: var(--s-7) 0; text-align: center; }
.hr-empty p { margin: 0; color: var(--text-2); }
.hr-empty .hr-empty-h { margin-bottom: var(--s-2); color: var(--text); font-size: 1.25rem; font-weight: 700; }
.veld .hr-empty a { color: var(--accent-ink); font-weight: 600; }

/* "Deze maand in <stad>": three cards, the first large on wide screens; a sideways row on the phone */
.hm-grid { scroll-padding-inline: var(--gut); list-style: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hm-grid::-webkit-scrollbar { display: none; }
.hm-grid > li { scroll-snap-align: start; min-width: 0; }
.veld a.hm-card { display: flex; flex-direction: column; gap: var(--s-2); color: var(--text); text-decoration: none; }
.hm-ph { display: block; height: 180px; border-radius: var(--r-pic); overflow: hidden; background: var(--fill); }
.hm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hm-tile { display: flex; align-items: flex-end; height: 100%; padding: var(--s-4); box-sizing: border-box; background: var(--accent-soft); color: var(--pitch); font: 700 2.5rem/.9 var(--display); letter-spacing: -.01em; }
@media (prefers-color-scheme: dark) { .hm-tile { color: var(--accent-ink); background: var(--fill); } }
.hm-lbl { margin-top: var(--s-1); color: var(--accent-ink); font-size: .8125rem; font-weight: 700; }
.hm-t { font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.hm-card:hover .hm-t { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .hm-grid { margin: 0; padding: 0; overflow: visible; grid-auto-flow: row; grid-auto-columns: auto; gap: var(--s-6); }
  .hm-n3 { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .hm-n3 > li:first-child { grid-row: span 2; }
  .hm-n3 > li:first-child .hm-ph { height: 440px; }
  .hm-n3 > li:first-child .hm-tile { font-size: 5rem; padding: var(--s-6); }
  .hm-n3 > li:first-child .hm-t { font: 700 2.25rem/1.05 var(--display); }
  .hm-n2 { grid-template-columns: 1fr 1fr; }
  .hm-n2 .hm-ph { height: 260px; }
  .hm-n1 { grid-template-columns: minmax(0, 640px); }
  .hm-n1 .hm-ph { height: 260px; }
}

/* the map as an invitation, next to the free padel court (only in cities with padel) */
.hk-duo { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .hk-duo { grid-template-columns: 3fr 2fr; gap: var(--s-6); } .hk-duo.hk-solo { grid-template-columns: 1fr; } }
.veld a.hk-map, .hk-padel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: var(--s-5); box-sizing: border-box; border-radius: 22px; overflow: hidden; color: var(--on-pitch); text-decoration: none; }
@media (min-width: 900px) { .hk-map, .hk-padel { min-height: 360px; padding: var(--s-7); } }
.hk-map { background: var(--pitch); }
.hk-padel { background: var(--text); gap: var(--s-2); }
@media (prefers-color-scheme: dark) { .hk-padel { background: var(--pitch-2); } }
.hk-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hk-lines { fill: none; stroke: var(--line); stroke-width: 2; }
.hk-dots { fill: var(--ball); }
.hk-body { position: relative; display: flex; flex-direction: column; gap: var(--s-2); }
.hk-map h2, .hk-padel h2 { margin: 0; color: var(--on-pitch); font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1; }
.hk-p { margin: 0; color: var(--on-pitch-2); font-size: 1rem; }
.hk-btn { align-self: flex-start; display: inline-flex; align-items: center; height: 46px; margin-top: var(--s-3); padding: 0 var(--s-5); border-radius: var(--r-pill); background: var(--on-pitch); color: var(--pitch); font-weight: 700; }
.hk-map:hover .hk-btn { text-decoration: underline; text-underline-offset: 3px; }
.hk-lbl { color: var(--ball); font-size: .875rem; font-weight: 700; }
.hk-slots { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin: var(--s-2) 0 0; }
.veld a.hk-slot { display: inline-flex; align-items: center; height: 46px; padding: 0 var(--s-5); border-radius: var(--r-pill); background: var(--on-pitch); color: var(--text); font-weight: 700; text-decoration: none; }
.hk-slot:hover { text-decoration: underline; text-underline-offset: 3px; }
.veld .hk-padel a.hk-other { color: var(--on-pitch); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
