/* Server-rendered listing bindings for the original prototype styles. */
body[data-page="list"] .search-result-header { margin-top: var(--ehk-cms-header-h, 128px); }
body[data-page="list"] .search-result-header .view-by { flex-wrap: wrap; gap: .5rem; }
body[data-page="list"] .view-by .selected-tags { margin: 0; overflow-wrap: anywhere; max-width: 100%; }
body[data-page="list"] .ehk-clear-filters { display: inline-block; padding: .5rem; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
body[data-page="list"] .search-result-toggle summary.link { display: block; cursor: pointer; list-style: none; padding-bottom: 1.5rem; }
body[data-page="list"] .search-result-toggle summary::-webkit-details-marker { display: none; }
body[data-page="list"] .search-result-toggle summary .widget-title { font-size: 1.1rem; }
body[data-page="list"] .search-result-toggle details:not([open]) summary i { transform: rotate(180deg); }
body[data-page="list"] .search-result-toggle fieldset { margin: 0; min-width: 0; }
body[data-page="list"] .custom-control-label { cursor: pointer; }
body[data-page="list"] .ehk-filter-actions { text-align: center; margin-bottom: 2rem; }
body[data-page="list"] :is(#ehk-sidebar, .ehk-results-col, #ehk-active-tags)[hidden],
body[data-page="list"] :is(#ehk-sidebar, .ehk-results-col) [hidden] { display: none !important; }
body[data-page="list"] #ehk-list[aria-busy="true"] { opacity: .55; }
body[data-page="list"] #ehk-search-status { min-height: 1.5em; text-align: center; }
body[data-page="list"] #ehk-search-error { padding: 1rem; border: 1px solid var(--line, #ddd); border-radius: 9px; }
body[data-page="list"] #ehk-search-error a { display: block; padding-top: .75rem; }
:is(body[data-page="list"], .ehk-favourites-page, .ehk-venue-results) .ehk-card-body { min-width: 0; }
:is(body[data-page="list"], .ehk-favourites-page, .ehk-venue-results) .ehk-card-body h2 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; margin: 0 0 .3rem; line-height: 1.3; overflow-wrap: anywhere; }
:is(body[data-page="list"], .ehk-favourites-page, .ehk-venue-results) .ehk-card-body h2 a { color: var(--text); }
:is(body[data-page="list"], .ehk-favourites-page, .ehk-venue-results) .ehk-card-body h2 a:hover { color: var(--brand-ink); }
.ehk-venue-photo > img[data-venue-cover] { position: absolute; inset: 0; }
.ehk-venue-photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: var(--muted); font-size: .85rem; padding: 1rem; }
.ehk-venue-photo-placeholder > i { font-size: 2.5rem; opacity: .6; }
.ehk-venue-photo.has-cover .ehk-venue-photo-placeholder { display: none; }
:is(body[data-page="list"], .ehk-favourites-page, .ehk-venue-results) .ehk-empty h2 { font-size: 1.35rem; }
body[data-page="list"] .ehk-list-empty-icon { font-size: 2.5rem; color: var(--brand-ink); margin-bottom: 1.25rem; }
.ehk-venue-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-block: 2rem; }
body[data-page="list"] :is(summary, a, button, input, select):focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }
@media (max-width: 991px) {
    body[data-page="list"] .search-result-header { margin-top: 0; }
    body[data-page="list"]:not(.ehk-list-enhanced) .ehk-sidebar { display: block; }
    body[data-page="list"] #body-content .ehk-results-col { margin-bottom: 0; }
    body.ehk-filters-open .ehk-filter-actions { display: none; }
}
@media (max-width: 767px) {
    :is(body[data-page="list"], .ehk-favourites-page, .ehk-venue-results) .ehk-venue-pagination .btn { padding-inline: 1rem; }
}
.ehk-results-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ehk-sort-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; max-width: 100%; }
.ehk-sort-form label { margin: 0; }
.ehk-sort-form .form-control { width: auto; max-width: 100%; }
@media (max-width: 767px) {
    .ehk-sort-form { width: 100%; }
    .ehk-sort-form .form-control { flex: 1; min-width: 0; }
}

.ehk-card-photo-link { position: absolute; inset: 0; z-index: 1; }
.ehk-card-photo-link img { width: 100%; height: 100%; object-fit: cover; }
.ehk-card-photo-link img[hidden], .ehk-venue-photo [hidden] { display: none !important; }
.ehk-venue-photo .ehk-card-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #283638; display: grid; place-items: center; cursor: pointer; opacity: 0; }
.ehk-venue-photo .ehk-card-prev { left: 10px; }
.ehk-venue-photo .ehk-card-next { right: 10px; }
.ehk-venue-photo:hover .ehk-card-nav, .ehk-venue-photo:focus-within .ehk-card-nav { opacity: 1; }
.ehk-venue-photo .ehk-card-counter { position: absolute; bottom: 10px; left: 10px; z-index: 2; background: #0009; color: #fff; padding: 3px 9px; border-radius: 12px; font-size: .75rem; }
.ehk-view-switch { display: flex; gap: 4px; border: 1px solid var(--line, #ddd); border-radius: 9px; padding: 4px; }
.ehk-view-switch a { padding: 7px 10px; border-radius: 6px; color: var(--text); white-space: nowrap; }
.ehk-view-switch [aria-current="true"] { background: var(--brand, #d44e82); color: #fff; }
#ehk-list.ehk-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
#ehk-list.ehk-results-grid .ehk-card-row { display: flex; flex-direction: column; margin: 0; }
#ehk-list.ehk-results-grid .ehk-card-img { width: 100%; height: auto; min-height: 0; flex: none; aspect-ratio: 3 / 2; }
#ehk-list.ehk-results-grid .ehk-card-body { flex: 1; width: 100%; }
#ehk-list.ehk-results-grid .ehk-card-foot { flex-wrap: wrap; margin-top: auto; }
#ehk-list.ehk-results-grid .ehk-empty { grid-column: 1 / -1; }
@media (hover: none) { .ehk-venue-photo .ehk-card-nav { opacity: 1; } }
@media (max-width: 767px) { #ehk-list.ehk-results-grid { grid-template-columns: minmax(0, 1fr); } }

.ehk-card-video { position: absolute; bottom: 12px; right: 12px; z-index: 2; color: #fff; background: #203b3acc; padding: 5px 10px; border-radius: 20px; font-size: .8rem; }
.ehk-card-video:hover, .ehk-card-video:focus { color: #fff; background: #203b3a; }

.ehk-sidebar .custom-control[hidden], .ehk-sidebar [data-filter-more][hidden] { display: none !important; }
.ehk-more-toggle { border: 0; background: transparent; color: var(--brand, #d44e82); font: inherit; text-align: left; padding: 8px 0; cursor: pointer; min-height: 44px; }
.ehk-more-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.ehk-card-photo-link { touch-action: pan-y pinch-zoom; }
.ehk-card-facts .ehk-card-price-includes { min-width: 0; max-width: 100%; }
.ehk-card-facts .ehk-card-price-includes i { flex: 0 0 1rem; color: #1f7a74; }
.ehk-card-price-includes span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ehk-sidebar .ehk-guest-band-disabled { opacity: .45; }
.ehk-sidebar .ehk-guest-band-disabled label { cursor: default; }
.ehk-sidebar .ehk-expected-guests input {
    width: 100%; background: #f7f7f8; border: 1px solid #e2e8e8;
    padding: 12px 16px; font-size: 16px; line-height: 24px; color: #595959; box-shadow: none;
}
.ehk-sidebar .ehk-expected-guests input:focus { border-color: #e2e8e8; outline: 3px solid #595959; outline-offset: 1px; box-shadow: none; }
.ehk-sidebar .ehk-expected-guests { margin-bottom: 14px; }
.ehk-sidebar .ehk-expected-guests > label { display: block; margin: 0 0 6px; font-size: 14.4px; font-weight: 600; color: #1f2629; }
.ehk-sidebar .ehk-expected-guests input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.ehk-sidebar .ehk-expected-guests input[type="number"]::-webkit-outer-spin-button,
.ehk-sidebar .ehk-expected-guests input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ehk-sidebar .ehk-expected-guests__help { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #5c6670; }
.ehk-sidebar .ehk-expected-guests__bands { margin: 14px 0 0; font-size: 13px; font-weight: 600; color: #5c6670; }
