.hc-venues { padding-block: 48px; }
.package-option[id] { scroll-margin-top: 110px; }
.hc-carousel-controls, .hc-venue-track { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.hc-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.hc-carousel-controls p { color: var(--sf-muted, #567183); font-size: 13px; }
.hc-carousel-controls [data-card-controls]:not([hidden]) { display: flex; gap: 8px; }
.hc-carousel-controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #dce5ed; border-radius: 50%; background: white; color: #0b3042; font-size: 20px; transition: background .2s, color .2s; }
.hc-carousel-controls button:hover:not(:disabled) { color: white; background: #0b3042; }
.hc-carousel-controls button:disabled { opacity: .35; cursor: default; }
.hc-sports-controls { width: min(1232px, calc(100% - 48px)); }
[data-card-track][data-drag-ready] { cursor: grab; user-select: none; }
[data-card-track][data-drag-ready] a { cursor: grab; }
[data-card-track][data-dragging], [data-card-track][data-dragging] * { cursor: grabbing; }
[data-card-track][data-dragging] { scroll-snap-type: none !important; scroll-behavior: auto !important; }
[data-card-track]:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.hc-sports-track { overscroll-behavior-inline: contain; scroll-padding-inline: 24px; }
.tc-card { position: relative; padding: 0; overflow: hidden; }
.tc-cover { position: relative; display: block; flex: none; aspect-ratio: 1.9; overflow: hidden; background: #0b3042; isolation: isolate; }
.tc-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #071e2d24, transparent 40%, #071e2d99); pointer-events: none; }
.tc-cover-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tc-cover:hover .tc-cover-image { transform: scale(1.04); }
.tc-thumbnail { position: absolute; top: 14px; left: 14px; z-index: 1; width: 58px; height: 58px; border: 3px solid white; border-radius: 50%; overflow: hidden; box-shadow: 0 3px 14px #071e2d33; background: #0b3042; }
.tc-avatar-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.tc-image-label, .tc-profile-hint { position: absolute; z-index: 1; bottom: 13px; color: white; font-size: 10px; font-weight: 650; line-height: 1.4; }
.tc-image-label { left: 14px; padding: 5px 9px; border-radius: 20px; background: #071e2dcc; }
.tc-profile-hint { right: 16px; padding-block: 5px; }
.tc-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 18px; }
.tc-body > div:first-child { min-height: 62px; }
.tc-body > div:first-child h3 { font-size: 20px; line-height: 1.3; }
.tc-body > div:nth-child(2) { align-content: start; min-height: 56px; }
.tc-cover:focus-visible { outline-offset: -5px; }
@media (max-width: 600px) {
    .tc-body { padding: 16px; }
    .tc-thumbnail { width: 50px; height: 50px; }
    .tc-body > div:first-child h3 { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .tc-cover-image { transition: none; }
    .tc-cover:hover .tc-cover-image { transform: none; }
}
@media (max-width: 639px) {
    .hc-sports-track { scroll-padding-inline: 16px; }
}
.hc-venue-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; padding: 4px 0 16px; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: thin; scrollbar-color: #b9cad9 #eaf0f5; overscroll-behavior-inline: contain; }
.hc-venue-slide { min-width: 0; display: flex; scroll-snap-align: start; }
.hc-venue-card { width: 100%; border-color: #dce5ed; box-shadow: 0 5px 18px #0b304204; }
.hc-venue-card > a:first-child { height: 170px; flex: none; }
.hc-venue-card > a:first-child span { backdrop-filter: none; background-color: #0b3042d9; }
.hc-venue-card:hover { transform: none; }
.hc-card-body { padding: 18px; display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; }
.hc-card-heading { display: flex; gap: 8px; justify-content: space-between; align-items: start; min-height: 67px; }
.hc-card-heading > div { min-width: 0; }
.hc-card-heading h3 { font-size: 19px; line-height: 1.3; white-space: normal; overflow: visible; text-overflow: clip; min-height: 2.6em; letter-spacing: -.35px; }
.hc-card-heading p { margin-top: 4px; font-size: 12px; line-height: 1.5; }
.hc-card-heading > span { font-size: 10px; background: #f3f6fa; border-radius: 6px; padding: 3px 6px; }
.hc-card-sports { display: flex; flex-wrap: wrap; align-content: start; gap: 6px; min-height: 58px; }
.hc-card-sports > span { font-size: 11px; line-height: 1.45; padding: 5px 9px; height: fit-content; background: #eaf2ff; color: #1d4ed8; }
.hc-card-details { display: flex; flex-direction: column; gap: 5px; min-height: 62px; color: #567183; font-size: 12px; line-height: 1.5; }
.hc-card-details > span { align-items: start; }
.hc-card-details svg { margin-top: 3px; flex: none; }
.hc-card-facilities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 10px; border-block: 1px solid #edf1f5; min-height: 48px; }
.hc-card-facilities > span { font-size: 10px; }
.hc-card-footer { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.hc-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; min-height: 29px; }
.hc-card-price > span { font-size: 11px; }
.hc-card-price > span:nth-child(2) { font-size: 23px; letter-spacing: -.5px; }
.hc-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hc-card-actions a { padding: 8px 10px; min-height: 42px; height: auto; font-size: 13px; line-height: 1.3; white-space: normal; text-align: center; }
.hc-card-links { display: flex; justify-content: space-between; gap: 10px; padding-top: 1px; }
.hc-card-links a { width: auto; min-height: 34px; height: auto; border: 0; padding-inline: 0; font-size: 11px; line-height: 1.4; gap: 6px; color: #567183; }
.hc-card-links a:hover { color: #1d4ed8; }
.hc-card-links svg { width: 16px; height: 16px; }
.hc-venue-track > a { width: auto; min-width: 0; border-radius: 18px; scroll-snap-align: start; padding: 28px; }
.hc-venue-track > a span:last-child { color: #b8d3ed; }
.hc-venue-track:focus-visible, .hc-carousel-controls button:focus-visible, .hc-card-actions a:focus-visible, .hc-card-links a:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }

@supports (grid-template-rows: subgrid) {
    .hc-venue-track { grid-template-rows: 170px repeat(5, auto); row-gap: 12px; }
    .hc-venue-slide, .hc-venue-card { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 6; }
    .hc-card-body { display: contents; }
    .hc-card-body > * { margin-inline: 18px; }
    .hc-card-heading { margin-top: 6px; }
    .hc-card-heading, .hc-card-heading h3, .hc-card-sports, .hc-card-details { min-height: 0; }
    .hc-card-footer { margin-top: 0; margin-bottom: 18px; }
    .hc-venue-track > a { grid-row: 1 / span 6; }
}

/* Each directory row shares the same content rhythm and bottom-aligned actions. */
.vd-card-image { flex: none; }
.vd-card-title { min-height: 2.6em; }
.vd-card-title h2 { overflow-wrap: anywhere; }
.vd-location { min-height: 1.55em; }
.vd-tags { align-content: start; min-height: 54px; }
.vd-lessons { min-height: 3.3em; }
.vd-card-actions a { line-height: 1.4; text-align: center; }
.vd-show-map { min-height: 33px; }
@media (max-width: 1050px) {
    .hc-venue-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 760px) {
    .hc-venues { padding-block: 30px; }
    .hc-carousel-controls, .hc-venue-track { width: calc(100% - 36px); }
    .hc-carousel-controls p { max-width: 210px; font-size: 12px; }
    .hc-venue-track { grid-auto-columns: calc(100% - 20px); gap: 12px; padding-bottom: 12px; }
    .hc-card-body { padding: 17px; gap: 10px; }
    .hc-card-heading h3 { font-size: 18px; }
    .hc-card-sports > span { font-size: 10px; }
    .hc-card-heading { min-height: 66px; }
    .hc-card-actions a { font-size: 12px; }
    .hc-card-facilities { gap: 6px; }
    .vd-card-title, .vd-tags, .vd-lessons { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hc-carousel-controls button { transition: none; }
}
