/**
 * HKBallet Season & Events — overrides on top of shop-filter.css
 * Only declares what is *different* from shop UI.
 */

/* ============================================================
   PAGE WRAPPER
============================================================ */
.tax-event-season .hkb-events-page .hkb-inner {
/*     max-width: 1320px; */
}

.hkb-events-page__title {
    font-size: var(--fs-heading-xxlarge);
    line-height: var(--lh-84);
    color: var(--clr-blue-100);
    padding: 120px 80px 28px 80px;
    margin: 0;
}

.hkb-events-page__desc {
    color: var(--clr-blue-100);
    max-width: 720px;
}

/* ============================================================
   SEASON BANNER
============================================================ */
.hkb-season-banner {
    margin-bottom: 40px;
}

.hkb-season-banner__hero {
    position: relative;
    min-height: 800px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 60px 80px;
    overflow: hidden;
}

.hkb-season-banner__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hkb-season-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.15) translateY(0);
    transform-origin: center center;
    will-change: transform;
}

.hkb-season-banner__hero--plain {
    background: var(--clr-blue-100);
    color: white;
}

.hkb-season-banner__name {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    font-size: var(--fs-heading-xxlarge);
    line-height: var(--lh-84);
    color: white;
    margin: 0 auto;
}

.hkb-season-banner__intro {
    padding: 80px;
    max-width: 1480px;
    margin: auto;
}

.hkb-season-banner__intro .hkb-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 90px;
}

.hkb-season-banner__title {
    font-size: var(--fs-heading-large);
    line-height: var(--lh-435);
    color: var(--clr-blue-100);
    margin: 0;
    letter-spacing: 0.25;
}

.term-tour .hkb-season-banner__title {
    font-size: 26px;
    line-height: 35px;
}

.hkb-season-banner__desc,
.hkb-season-banner__desc p {
    color: var(--clr-blue-100);
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    font-size: var(--fs-16);
    line-height: var(--lh-26);
}

.hkb-season-banner__trailer {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.hkb-season-banner__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hkb-season-banner__trailer-controls {
    position: absolute;
    right: 80px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hkb-season-banner__trailer-controls .hkb-season-banner__play-pause {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background-color: var(--clr-blue-100) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Toggle play/pause icons via data-state */
.hkb-season-banner__play-pause svg {
    display: block;
}

.hkb-season-banner__play-pause[data-state="playing"] .hkb-season-banner__icon-play {
    display: none;
}

.hkb-season-banner__play-pause[data-state="playing"] .hkb-season-banner__icon-pause {
    display: block;
}

.hkb-season-banner__play-pause[data-state="paused"] .hkb-season-banner__icon-play {
    display: block;
}

.hkb-season-banner__play-pause[data-state="paused"] .hkb-season-banner__icon-pause {
    display: none;
}

.hkb-season-banner__full-trailer {
    background-color: var(--clr-blue-100) !important;
    color: white !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: var(--fs-12);
    line-height: var(--lh-168);
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

/* ---- Full trailer popup ---- */
.hkb-season-banner__popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--clr-neutral-60);
    box-sizing: border-box;
    z-index: 10000;
}

.hkb-season-banner__popup.is-open {
    display: flex;
}

body.hkb-trailer-popup-open {
    overflow: hidden;
}

.hkb-season-banner__popup-dialog {
    position: relative;
    width: 85%;
    height: 80%;
    box-sizing: border-box;
}

.hkb-season-banner__popup-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hkb-season-banner__popup-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* ---- Custom control bar ---- */
.hkb-vbar {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 4px;
    background: transparent;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    z-index: 4;
    box-sizing: border-box;
}

.hkb-vbar__btn {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hkb-vbar__btn svg {
    width: 16px;
    height: 16px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.hkb-vbar__btn img {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.hkb-vbar__speed {
    width: auto;
    min-width: 30px;
    font-size: 13px;
    font-weight: 500;
}

.hkb-vbar__time {
    flex: 0 0 auto;
    min-width: 42px;
    text-align: center;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.hkb-vbar__range {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    margin: 0;
}

.hkb-vbar__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 0;
}

.hkb-vbar__range::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 0;
}

.hkb-vbar__volume {
    flex: 0 0 64px;
    width: 64px;
}

.hkb-vbar__progress {
    flex: 1 1 auto;
    min-width: 0;
    height: 8px;
}

/* Play/pause + mute icon swapping */
.hkb-vbar[data-state="playing"] .hkb-vbar__i-play,
.hkb-vbar[data-state="paused"] .hkb-vbar__i-pause {
    display: none;
}

.hkb-vbar.is-muted .hkb-vbar__i-vol,
.hkb-vbar:not(.is-muted) .hkb-vbar__i-muted {
    display: none;
}

/* Interview / podcast inline player: reveal the control bar only while the
   video is playing (data-state set by JS). Paused → hidden, centre play shows. */
.hkb-season-banner__trailer--interview .hkb-vbar {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hkb-season-banner__trailer--interview .hkb-vbar[data-state="playing"] {
    opacity: 1;
    visibility: visible;
}

.hkb-season-banner__popup-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 85px;
    height: 85px;
    padding: 0;
    border: 2px solid white;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hkb-season-banner__popup-play.is-hidden {
    display: none;
}

.hkb-season-banner__popup-play svg {
    display: block;
    margin-left: 5px;
    width: 40px;
    height: 40px;
}

.hkb-season-banner__popup-expand {
    display: none;
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 4;
}

.hkb-season-banner__popup-expand img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.hkb-season-banner__popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 10001;
}

.hkb-season-banner__popup-close svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================================
   PAGE TITLE (above filterbar)
============================================================ */
.hkb-events__title {
    font-size: var(--fs-heading-xxlarge);
    line-height: var(--lh-84);
    color: var(--clr-blue-100);
    margin: 120px 120px 28px 120px;
}

/* ============================================================
   FILTERBAR
============================================================ */
.hkb-filterbar--events .hkb-filterbar__btn {
    max-width: 260px;
    min-width: 0;
}

.hkb-filterbar--events .hkb-filterbar__btn .hkb-filterbar__btn-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    display: inline-block;
}

.hkb-events-wrapper .hkb-filterbar {
    padding: 28px 120px 28px;
}

.tax-event-category .hkb-events-wrapper .hkb-filterbar,
.tax-event-season .hkb-events-wrapper .hkb-filterbar,
.tax-event-location .hkb-events-wrapper .hkb-filterbar {
    padding: 28px 80px;
}

/* ============================================================
   FILTER — RADIO STYLES
============================================================ */
.hkb-filter__radios {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
}

.hkb-filter__radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: var(--fs-12);
    font-weight: 300;
    color: var(--clr-blue-100);
}

.hkb-filter__radio-label.is-hidden,
.hkb-filter__checkbox-label.is-hidden {
    display: none;
}

.hkb-filter__checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: var(--fs-12);
    line-height: var(--lh-168);
    font-weight: 300;
    color: var(--clr-blue-100);
    user-select: none;
}

.hkb-filter__checkbox-label input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hkb-filter__checkbox-custom {
    width: 14px;
    height: 14px;
    border: 1px solid var(--clr-blue-30);
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    background: white;
    transition: border-color .15s, background .15s;
}

.hkb-filter__checkbox-label input:checked + .hkb-filter__checkbox-custom {
    background: var(--clr-blue-100);
    border-color: var(--clr-blue-100);
}

.hkb-filter__checkbox-label input:checked + .hkb-filter__checkbox-custom::after {
    content: '';
    position: absolute;
    inset: 0.5px 0.5px 0 1px;
    background-color: white;
    mask-image: url('../img/checked.svg');
    -webkit-mask-image: url('../img/checked.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    opacity: 1;
    transition: opacity var(--transition);
}

.hkb-filter__season-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hkb-filter__season-clear {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--clr-blue-100);
    cursor: pointer;
    font-size: var(--fs-12);
    font-weight: 300;
    line-height: var(--lh-168);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hkb-filter__radio-label input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hkb-filter__radio-custom {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border: 1px solid var(--clr-blue-30);
    border-radius: 50%;
    flex: 0 0 16px;
    background: white;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
}

.hkb-filter__radio-label input[type="radio"]:checked+.hkb-filter__radio-custom,
.hkb-filter__radio-label input[type="radio"]:checked~.hkb-filter__radio-custom {
    background-color: var(--clr-blue-100) !important;
    background-image: none !important;
    box-shadow: inset 0 0 0 3px white !important;
}

.hkb-filter__see-more {
    background: none;
    border: 0;
    padding: 0 0 0 26px;
    text-align: left;
    color: var(--clr-blue-100) !important;
    text-decoration: underline;
    font-size: var(--fs-12);
    font-weight: 300;
    cursor: pointer;
    align-self: flex-start;
}

.hkb-filter__see-more:hover {
    color: var(--clr-blue-60) !important;
}

/* ============================================================
   EVENT LIST
============================================================ */
.hkb-events__results.is-loading {
    opacity: .5;
    pointer-events: none;
    transition: opacity .15s;
}

.hkb-events__empty {
    padding: 48px 0;
    text-align: center;
    font-size: var(--fs-16);
    line-height: var(--lh-168);
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    color: var(--clr-neutral-60);
}

.hkb-events__empty-template {
    margin: 80px 120px;
    text-align: center;
}

.tax-event-category .hkb-events__empty-template,
.tax-event-season .hkb-events__empty-template,
.tax-event-location .hkb-events__empty-template {
    margin: 28px 80px;
}

.hkb-events__empty-action {
    margin-top: 32px;
    display: flex;
    padding-bottom: 40px;
    align-items: center;
}

.hkb-events__empty-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: var(--fs-14);
    line-height: var(--lh-168);
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
}

/* ─── Year divider ─── */
.hkb-events__year-divider {
    margin: 28px 120px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    font-size: var(--fs-14);
    line-height: var(--lh-168);
    color: var(--clr-blue-100);
}

.tax-event-category .hkb-events__year-divider,
.tax-event-season .hkb-events__year-divider,
.tax-event-location .hkb-events__year-divider {
    margin: 28px 80px;
}

.hkb-events__year-divider::before,
.hkb-events__year-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50%;
    height: 0.5px;
    background: var(--clr-neutral-10);
}

.hkb-events__year-divider::before {
    left: 0;
}

.hkb-events__year-divider::after {
    right: 0;
}

.hkb-events__year-divider span {
    font-size: var(--fs-14);
    font-weight: 300;
    line-height: var(--lh-168);
    color: var(--clr-neutral-60);
    background: white;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

/* ─── Month group ─── */
.hkb-events__month {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    margin: 0 120px 80px 40px;
    align-items: start;
}

.hkb-events__month-label {
    color: var(--clr-blue-100);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hkb-events__month-num {
    font-size: var(--fs-heading-xlarge);
    line-height: var(--lh-55);
}

.hkb-events__month-name {
    font-size: var(--fs-26);
    line-height: 35px;
    text-transform: uppercase;
}

.hkb-events__month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 80px;
}

.hkb-events__flat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 20px;
    padding: 28px 80px 0;
    margin-bottom: 80px;
}

/* Spacing around year dividers */
.hkb-events__year-divider+.hkb-events__month,
.hkb-events__year-divider+.hkb-events__flat-grid {
    padding-top: 40px;
}

.hkb-events__month:has(+ .hkb-events__year-divider),
.hkb-events__flat-grid:has(+ .hkb-events__year-divider) {
    padding-bottom: 40px;
    margin-bottom: 0;
}

/* ============================================================
   EVENT CARD
============================================================ */
.hkb-event-card {
    position: relative;
}

.hkb-event-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hkb-event-card__media {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 2px;
}

.hkb-event-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.hkb-event-card__link:hover .hkb-event-card__media img {
    transform: scale(1.1);
}

.hkb-event-card__link:hover .hkb-event-card__title,
.hkb-event-card__link:hover .hkb-event-card__date,
.hkb-event-card__link:hover .hkb-event-card__loc {
    color: var(--clr-blue-60);
}

.hkb-event-card__badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--clr-blue-100);
    color: white;
    font-size: var(--fs-18);
    line-height: var(--lh-252);
    padding: 6px 14px;
}

.hkb-event-card__title {
    font-size: var(--fs-20);
    line-height: var(--lh-26);
    color: var(--clr-blue-100);
    margin: 16px 0 12px;
    transition: all 0.3s;
}

.hkb-event-card__date {
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    color: var(--clr-blue-100);
    font-size: var(--fs-16);
    line-height: var(--lh-26);
    margin: 0 0 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.hkb-event-card__loc {
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    color: var(--clr-blue-100);
    font-size: var(--fs-16);
    line-height: var(--lh-26);
    margin: 0;
    font-weight: 300;
    transition: all 0.3s;
}

.hkb-past-tours .hkb-event-card__title {
    font-size: var(--fs-18);
    line-height: var(--lh-252);
    margin: 12px 0 4px;
}

.hkb-past-tours .hkb-event-card__date,
.hkb-past-tours .hkb-event-card__loc {
    font-size: var(--fs-14);
    line-height: var(--lh-21);
}

/* ============================================================
   PAST TOUR HIGHLIGHTS
============================================================ */
.hkb-past-tours {
    margin: 80px 0;
    padding-left: 80px;
    padding-right: 80px;
}

.hkb-past-tours::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 80px 80px;
    background: var(--clr-neutral-10);
    opacity: .5;
}

.hkb-past-tours__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-right: 10px;
    /* padding: 0 80px; */
    margin-bottom: 40px;
}

.hkb-past-tours__title {
    font-size: var(--fs-heading-large);
    line-height: var(--lh-435);
    color: var(--clr-blue-100);
    margin: 0;
}

.hkb-past-tours__view-all {
    flex: 0 0 auto;
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    font-size: var(--fs-18);
    line-height: var(--lh-252);
    color: var(--clr-blue-100);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.hkb-past-tours__view-all:hover {
    color: var(--clr-blue-60);
}

.hkb-past-tours__arrow {
    display: inline-flex;
    align-items: center;
    color: inherit;
    transition: all 0.3s;
}

.hkb-past-tours__arrow svg {
    display: block;
    width: 22px;
    height: 22px;
}

.hkb-past-tours__row {
    display: flex;
    gap: 12px;
    /* padding: 0 80px 0 80px; */
    overflow-x: auto;
    /* scroll-snap-type: x mandatory; */
    /* scroll-padding-left: 80px; */
    -webkit-overflow-scrolling: touch;
    /* scrollbar-width: none; */
    /* cursor: grab; */
    /* user-select: none; */
    /* overflow: hidden; */
    /* scroll-padding-right: 80px; */
}

.hkb-past-tours__row.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.hkb-past-tours__row::-webkit-scrollbar {
    display: none;
}

.hkb-past-tours__row>* {
    flex: 0 0 calc((100% - 48px) / 4);
    scroll-snap-align: start;
}

.hkb-past-tours__row a,
.hkb-past-tours__row img {
    -webkit-user-drag: none;
    user-select: none;
}

.hkb-past-tours__row .hkb-event-card:last-child {
    margin-right: 80px;
}

.hkb-past-tours__dots {
    display: none;
}

/* ============================================================
   TOURABLE WORK WIDGET
============================================================ */
.hkb-tourable__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 40px;
}

.hkb-tourable__link {
    display: block;
    text-decoration: none;
    color: var(--clr-blue-100);
}

.hkb-tourable__media {
    position: relative;
    aspect-ratio: 44 / 59;
    border-radius: 2px;
    overflow: hidden;
}

.hkb-tourable__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s;
}

.hkb-tourable__link:hover .hkb-tourable__media img {
    transform: scale(1.1);
}

.hkb-tourable__badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--clr-blue-100);
    color: #fff;
    font-size: var(--fs-18);
    line-height: var(--lh-252);
    padding: 6px 14px;
}

.hkb-tourable__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    font-size: var(--fs-18);
    line-height: var(--lh-252);
    color: var(--clr-blue-100);
    transition: color 0.5s;
}

.hkb-tourable__link:hover .hkb-tourable__title {
    color: var(--clr-blue-60);
}

.hkb-tourable__arrow {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: inherit;
}

.hkb-tourable__arrow svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* ============================================================
   BREADCRUMBS
============================================================ */
.hkb-breadcrumbs {
    padding: 20px 80px !important;
    font-family: var(--ff-gotham) !important;
    letter-spacing: 0.5px;
    font-size: 14px !important;
    line-height: 18.2px !important;
    text-transform: uppercase !important;
    color: var(--clr-blue-100) !important;
}

@media (min-width: 1441px) {
    .hkb-breadcrumbs {
        max-width: 1480px;
        margin: 0 auto;

    }
}

@media (max-width: 1279px) {
    .hkb-breadcrumbs {

        padding: 0 40px 60px;

    }

    .hkb-past-tours {
        padding-left: 0;
        padding-right: 0;
    }
}

.hkb-breadcrumbs__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    /* Long trails scroll sideways instead of wrapping onto a new line.
       initNavScroll() (main.js) adds the shop-header "..." on the item
       clipped at the right edge, plus drag-to-scroll. */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.hkb-breadcrumbs__list::-webkit-scrollbar {
    display: none;
}

.hkb-breadcrumbs__list.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.hkb-breadcrumbs__item {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.hkb-breadcrumbs__item+.hkb-breadcrumbs__item::before {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 14px;
    background: url("../img/Slash.svg") no-repeat center / contain;
}

.hkb-breadcrumbs a {
    color: var(--clr-blue-60);
    text-decoration: none;
    transition: color 0.3s;
}

.hkb-breadcrumbs a:hover {
    color: var(--clr-blue-100);
}

.hkb-breadcrumbs__current {
    color: var(--clr-blue-100);
}
.hkb-breadcrumbs__ellipsis {
    display: none;
}

@media (max-width: 767px) {
    .hkb-breadcrumbs__list--mobile-collapsed {
        overflow-x: visible;
        cursor: default;
    }

    .hkb-breadcrumbs__list--mobile-collapsed .hkb-breadcrumbs__ellipsis {
        display: flex;
    }

    .hkb-breadcrumbs__list--mobile-collapsed .hkb-breadcrumbs__item--mobile-hidden {
        display: none;
    }
}
/* ============================================================
   PAST TOUR LIST
============================================================ */
.hkb-past-tour-list {
    /*     padding: 0 80px; */
}

.hkb-past-tour-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 80px;
}

/* Fullscreen: fill the screen and letterbox the video (no crop). Targets the
   inline interview player and the popup video. Each pseudo gets its own rule so
   an unknown selector can't invalidate the whole group. */
.hkb-season-banner__trailer--interview:fullscreen,
.hkb-season-banner__popup-video:fullscreen {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background: #000;
}

.hkb-season-banner__trailer--interview:-webkit-full-screen,
.hkb-season-banner__popup-video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
    background: #000;
}

.hkb-season-banner__trailer--interview:fullscreen .hkb-season-banner__video,
.hkb-season-banner__popup-video:fullscreen video {
    object-fit: contain;
}

.hkb-season-banner__trailer--interview:-webkit-full-screen .hkb-season-banner__video,
.hkb-season-banner__popup-video:-webkit-full-screen video {
    object-fit: contain;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1279px)
============================================================ */
@media (max-width: 1279px) {
    .hkb-past-tours::before {
        margin: 0 40px 40px;
    }

    .hkb-past-tours__head {
        padding: 0 40px;
    }

    .hkb-past-tours__row {
        padding: 0 40px 0 40px;
        scroll-padding-left: 40px;
    }

    .hkb-past-tour-list {
        padding: 0 40px;
    }

    .hkb-breadcrumbs {
        padding: 20px 40px !important;
    }

    .hkb-tourable__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hkb-season-banner__trailer-controls {
        right: 40px;
    }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {

    /* Season banner */
    .hkb-season-banner__hero {
        padding: 60px 40px;
    }

    .hkb-season-banner__intro {
        padding: 80px 40px;
    }

    .hkb-season-banner__intro .hkb-inner {
        gap: 40px;
    }

    /* Page title */
    .hkb-events-page__title {
        padding: 80px 40px 28px 40px;
    }

    /* Events title */
    .hkb-events__title {
        margin: 80px 40px 40px 40px;
    }

    /* Year divider */
    .hkb-events__year-divider {
        margin: 28px 40px;
    }

    .tax-event-category .hkb-events__year-divider,
    .tax-event-season .hkb-events__year-divider,
    .tax-event-location .hkb-events__year-divider {
        margin: 28px 40px;
    }

    .hkb-events__empty-template,
    .tax-event-category .hkb-events__empty-template,
    .tax-event-season .hkb-events__empty-template,
    .tax-event-location .hkb-events__empty-template {
        margin: 28px 40px;
    }

    /* Month */
    .hkb-events__month {
        margin: 0 40px 80px 40px;
    }

    /* Grids — 2 col */
    .hkb-events__month-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hkb-events__flat-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 40px 0;
    }

    /* Filterbars */
    .hkb-events-wrapper .hkb-filterbar {
        padding: 0 40px 20px;
    }

    .tax-event-category .hkb-events-wrapper .hkb-filterbar,
    .tax-event-season .hkb-events-wrapper .hkb-filterbar,
    .tax-event-location .hkb-events-wrapper .hkb-filterbar {
        padding: 0 40px 20px;
    }

    /* Past tours */
    .hkb-past-tours {
        margin: 60px 0 80px;
    }

    .hkb-past-tours::before {
        margin: 0 40px 40px;
    }

    .hkb-past-tours__head {
        padding: 0 40px;
    }

    .hkb-past-tours__row {
        padding: 0 0 0 40px;
        scroll-padding-left: 40px;
    }

    .hkb-past-tours__row>* {
        flex-basis: calc((100% - 24px) / 2.2);
    }

    .hkb-past-tours__row .hkb-event-card:last-child {
        margin-right: 40px;
    }

    /* Past tour list */
    .hkb-past-tour-list__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .hkb-season-banner__trailer-controls {
        right: 20px;
        bottom: 8px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
============================================================ */
@media (max-width: 767px) {
.hkb-events__empty-clear {
    width: 100%;
}
    /* Season banner */
    .hkb-season-banner {
        margin-bottom: 20px;
    }
.hkb-events__empty-action{
    padding-bottom: 0px;
}
    .hkb-season-banner__trailer-controls {
        right: 10px;
        bottom: 8px;
    }

    .hkb-season-banner__popup-play svg {
        width: 30px;
        height: 30px;
    }

    .hkb-season-banner__hero {
        min-height: 300px;
        padding: 20px;
    }

    .hkb-season-banner__intro {
        padding: 40px 20px;
    }

    .hkb-season-banner__intro .hkb-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hkb-season-banner__name {
        --fs-heading-xxlarge: 32px;
        --lh-84: 40px;
    }

    .hkb-season-banner__title,
    .term-tour .hkb-season-banner__title {
        --fs-heading-large: 18px;
        --lh-435: 23.5px;
    }

    .hkb-season-banner__desc,
    .hkb-season-banner__desc p {
        --fs-16: 14px;
    }

    .tax-event-category .hkb-season-banner__intro {
        padding-bottom: 0;
    }

    /* Popup */
    .hkb-season-banner__popup-dialog {
        width: 100vw;
        height: 100vh;
        padding: 0;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hkb-season-banner__popup-play {
        width: 50px;
        height: 50px;
    }

    /* Page title */
    .hkb-events-page__title {
        padding: 40px 20px 10px;
        --fs-heading-xxlarge: 40px;
        --lh-84: 40px;
    }

    /* Events title */
    .hkb-events__title {
        --fs-heading-xxlarge: 40px;
        --lh-84: 40px;
        margin: 40px 20px 10px;
    }

    /* Filterbars */
    .hkb-events-wrapper .hkb-filterbar {
        padding: 20px 0 20px 20px;
    }

    .tax-event-category .hkb-events-wrapper .hkb-filterbar,
    .tax-event-season .hkb-events-wrapper .hkb-filterbar,
    .tax-event-location .hkb-events-wrapper .hkb-filterbar {
        padding: 20px 0 20px 20px;
    }

    .hkb-filterbar--events .hkb-filterbar__btn:last-of-type {
        margin-right: 20px;
    }

    .hkb-filterbar--events .hkb-dropdown__panel {
        margin: 0;
    }

    /* Year divider */
    .hkb-events__year-divider {
        margin: 28px 20px;
    }

    .hkb-events__year-divider::before,
    .hkb-events__year-divider::after {
        width: calc(50% - 65px);
    }

    .tax-event-category .hkb-events__year-divider,
    .tax-event-season .hkb-events__year-divider,
    .tax-event-location .hkb-events__year-divider {
        margin: 20px;
    }

    .hkb-events__empty-template {
        margin: 40px 20px;
    }

    .tax-event-category .hkb-events__empty-template,
    .tax-event-season .hkb-events__empty-template,
    .tax-event-location .hkb-events__empty-template {
        margin: 20px;
    }

    /* Divider spacing */
    .hkb-events__year-divider+.hkb-events__month,
    .hkb-events__year-divider+.hkb-events__flat-grid {
        padding-top: 20px;
    }

    .hkb-events__month:has(+ .hkb-events__year-divider),
    .hkb-events__flat-grid:has(+ .hkb-events__year-divider) {
        padding-bottom: 20px;
    }

    /* Month layout */
    .hkb-events__month {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 0 40px 20px;
    }

    .hkb-events__month-label {
        flex-direction: row;
        gap: 10px;
        align-items: baseline;
    }

    .hkb-events__month-num {
        --fs-heading-xlarge: 26px;
        --lh-55: 26px;
    }

    .hkb-events__month-name {
        --fs-26: 18px;
        line-height: 23.5px;
    }

    /* Month grid → horizontal scroll-snap */
    .hkb-events__month-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .hkb-events__month-grid::-webkit-scrollbar {
        display: none;
    }

    .hkb-events__month-grid>* {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    /* Flat grid */
    .hkb-events__flat-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        margin-bottom: 40px;
        gap: 40px;
    }

    /* Event card */
    .hkb-event-card:last-child {
        margin-right: 20px;
    }

    .tax-event-category .hkb-event-card:last-child {
        margin-right: 0;
    }

    .hkb-event-card__badge {
        --fs-18: 14px;
        --lh-252: 18.2px;
    }

    .hkb-event-card__title {
        --fs-20: 16px;
        --lh-26: 23px;
        margin: 16px 0 8px;
    }

    .hkb-event-card__date,
    .hkb-event-card__loc {
        --fs-16: 14px;
        --lh-26: 21px;
    }

    .hkb-past-tours .hkb-event-card__title {
        --fs-18: 16px;
        --lh-252: 23px;
        margin: 16px 0 8px;
    }

    /* Past tours */
    .hkb-past-tours {
        margin: 40px 0 48px;
    }

    .hkb-past-tours::before {
        margin: 0 20px 40px;
    }

    .hkb-past-tours__head {
        padding: 0 20px;
        margin-bottom: 40px;
        flex-direction: column;
        gap: 24px;
    }

    .hkb-past-tours__title {
        --fs-heading-large: 20px;
        --lh-435: 26px;
    }

    .hkb-past-tours__row {
        gap: 10px;
        padding: 0 0 0 20px;
        scroll-padding-left: 20px;
    }

    .hkb-past-tours__row>* {
        flex-basis: 80%;
    }

    .hkb-past-tours__row .hkb-event-card:last-child {
        margin-right: 20px;
    }

    /* Dots */
    .hkb-past-tours__dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 48px;
    }

    .hkb-past-tours__dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 1px solid var(--clr-blue-100);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        transition: var(--transition);
        -webkit-appearance: none;
        appearance: none;
    }

    .hkb-past-tours__dot.is-active {
        background: var(--clr-blue-100) !important;
        border-color: var(--clr-blue-100);
    }

    /* Tourable */
    .hkb-tourable__grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .hkb-tourable__title {
        gap: 8px;
        font-size: 14px;
        line-height: var(--lh-medium);
    }

    .hkb-tourable__badge {
        --fs-18: 14px;
        --lh-252: 18.2px;
    }

    .hkb-tourable__arrow svg {
        width: 16px;
        height: 16px;
    }

    /* Breadcrumbs */
    .hkb-breadcrumbs {
        padding: 20px !important;
        font-size: 12px !important;
        line-height: 16.8px !important;
    }

    .hkb-breadcrumbs__list,
    .hkb-breadcrumbs__item {
        gap: 8px;
    }

    /* Past tour list */
    .hkb-past-tour-list {
        padding: 0 20px;
    }

    .hkb-past-tour-list__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE PORTRAIT (≤ 767px, portrait only)
============================================================ */
@media (max-width: 767px) and (orientation: portrait) {
    .hkb-season-banner__trailer {
        aspect-ratio: 4 / 3;
    }

    .hkb-season-banner__popup-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        flex: 0 0 auto;
    }

    .hkb-season-banner__popup-video video {
        object-fit: cover;
    }

    .hkb-season-banner__popup.is-portrait .hkb-vbar {
        display: none;
    }

    .hkb-season-banner__popup.is-portrait .hkb-season-banner__popup-expand {
        display: flex;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE LANDSCAPE (≤ 767px, landscape only)
============================================================ */
@media (max-width: 767px) and (orientation: landscape) {
    .hkb-season-banner__popup-video {
        width: auto;
        height: 100%;
        aspect-ratio: 16 / 9;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .hkb-vbar {
        left: 12px;
        right: 12px;
        bottom: 10px;
        gap: 8px;
    }
}

/* ============================================================
   Season filter dropdown — now lists 15 seasons (post archive
   migration). Cap the panel and scroll internally so older
   seasons are reachable. data-lenis-prevent (already on panel)
   lets the wheel scroll inside; overscroll-behavior stops the
   scroll from chaining to the page.
============================================================ */
.hkb-filterbar--events .hkb-dropdown__panel {
    max-height: min(70vh, 460px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

/* HKB-591: "Select all" seasons hidden for launch (kept in the markup, not removed).
   Remove this rule to bring it back; select-all only covers the listed seasons anyway. */
.hkb-filter__season-select-all {
    display: none !important;
}
