/* 
    Start of style resets. Used to clear some styling existing on template that can interfere with new style.
    Not really needed if new template is to be created.
*/
body {
    background: #FFFFFF;
}

.xanadu .showBlock {
    box-shadow: none;
}

@media (min-width: 1400px) {
    .xanadu .showBlock {
        max-width: 1280px;
    }
}

.xanadu .showBlock:nth-child(2) {
    padding: 40px 55px;
    padding-top: 0;
}

@media (max-width: 768px) {
    .xanadu .showBlock:nth-child(2) {
        padding: 0 24px;
        padding-bottom: 40px;
    }
}

.xanadu .showBlock:nth-child(2) .showContent {
    overflow: visible;
}

.xanadu .showBlock .showContent {
    padding: 0;
}

.xanadu .showBanner .sectionTitle h1.sectionHeading  {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-weight: 900;
    line-height: 100%;
}

@media (min-width: 769px) {
    .xanadu .showBanner .sectionTitle h1.sectionHeading  {
        font-size: 48px;
    }
}

.xanadu .showBanner .sectionTitle h1.sectionHeading .deemphasise  {
    display: none;
}

.xanadu .showBanner .sectionTitle .sub-title {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    line-height: 100%; /* 32px */
}

@media (min-width: 769px) {
    .xanadu .showBanner .sectionTitle .sub-title {
        font-size: 32px;
    }
}

.xanadu .showBlock .event-listing .event-listing-events {
    padding-top: 112px;
}

@media (max-width: 768px) {
    .xanadu .showBlock .event-listing .event-listing-events {
        padding-top: 104px;
        padding-bottom: 40px;
    }
}

.xanadu .showBlock .event-listing .synopsis {
    margin: 0;
    display: none;
}

.xanadu .showBlock .event-listing .view-toggles {
    margin: 0;
    display: none;
}

.xanadu .showBlock .event-listing .event-listing-events {
    margin: 0;
    display: block;
}

.xanadu .showBlock p {
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 150%; /* 24px */
    margin-bottom: 40px;
}

/* Intermediate intro paragraphs get smaller gap; last one keeps 40px */
.xanadu .showBlock .intro-section p {
    margin-bottom: 16px;
}

.xanadu .showBlock .intro-section p:last-of-type {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .xanadu .showBlock p {
        font-size: 14px;
        margin: 0 16px;
        line-height: 175%;
        padding-bottom: 24px;
    }
}

hr {
    border: none;
    border-top: 1px dashed #D7D7D7;
    margin: 40px 0;
}

@media (max-width: 768px) {
    hr {
        margin: 24px 0;
    }
}

/* End of style resets. */

/* Containers - Start */
.page-navigation-container {
    margin-top: -112px;
    position: absolute;
    left: 0;
    width: 100%;
    background: #FFF;
    box-shadow: 0px 16px 16px 0px rgba(0, 0, 0, 0.10);
}

@media (max-width: 768px) {
    .page-navigation-container {
        margin-top: -104px;
    }
}

.series-container {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .series-container {
        margin-bottom: 36px;
    }
}

.series-container:last-child {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .series-container {
        margin-bottom: 64px;
    }
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 52px;
    width: 100%;
}

@media (max-width: 768px) {
    .filters-container {
        grid-template-columns: 1fr;
        margin-bottom: 64px;
    }
}

.three-column-container {
    display: flex;
    gap: 40px;
    padding-top: 8px;
    margin-bottom: 80px;
    width: 100%;
}

.three-column-container > * {
    width: calc((100% - 80px) / 3);
}

@media (max-width: 768px) {
    .three-column-container {
        flex-direction: column;
        padding: 0 24px;
        margin-top: 24px;
    }

    .three-column-container > * {
        width: 100%;
    }
}

/* Containers - End */

/* Page Navigation - Start */
/* .page-navigation {
    display: flex;
    gap: 56px;
    justify-content: space-between;
    font-family: "Inter", sans-serif;
    padding: 16px;
    width: 100%;
    margin: 0 auto;
} */

.page-navigation {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 56px;
    row-gap: 16px;
    align-items: center;
    margin: 0 auto;
    padding: 16px;
    width: 100%;
    overflow-x: auto;
}

@media (min-width: 992px) {
    .page-navigation {
        max-width: 1170px;
        padding: 16px 56px;
    }
}

@media (min-width: 1400px) {
    .page-navigation {
        max-width: 1280px;
        padding: 16px 56px;
    }
}

@media (max-width: 768px) {
    .page-navigation {
        padding: 20px 16px;
        column-gap: 40px;
    }
}

.page-navigation .primary-link button {
    height: 40px;
    padding: 8px 32px;
    border-radius: 8px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}

@media (max-width: 768px) {
    .page-navigation .primary-link button {
        font-size: 14px;
    }
}

.page-navigation .back-link button {
    height: 40px;
    padding: 8px 32px;
    border-radius: 8px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    margin: 0;
}

.page-tabs {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    gap: 56px;
}

@media (max-width: 768px) {
    .page-tabs {
        gap: 40px;
    }
}

.page-tabs a {
    color: #555555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.page-tabs a:hover {
    color: #171717;
    text-decoration: underline;
}

.page-tabs a:active {
    color: #626262;
    text-decoration: underline;
}
/* Page Navigation - End */

/* Text Heading - Start */
.xanadu .showBlock h2.text-heading {
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 16px;
    margin-bottom: 32px;
    border-bottom: 4px solid #D7D7D7;
    width: max-content;
}

@media (max-width: 768px) {
    .xanadu .showBlock h2.text-heading {
        margin: 0 0 16px 0;
    }
}
/* Text Heading - End */

/* Thumbnail Heading - Start */
.thumbnail-heading {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    padding: 19px 16px;
    align-items: center;
    flex-shrink: 0;
    background: #085251;
    margin-bottom: 36px;
}

.thumbnail-heading img {
    width: 62px;
    margin-right: 26px;
}

.thumbnail-heading h2 {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.thumbnail-heading .sub-title {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 24px;
}
/* Mobile: reduce series heading font size */
@media (max-width: 768px) {
    .xanadu .showBlock .thumbnail-heading h2,
    .xanadu .showBlock .thumbnail-heading .sub-title {
        font-size: 16px !important;
    }
}
/* Thumbnail Heading - End */

/* Game Bar - Start */
.game-bar {
    display: grid;
    grid-template-columns: 94px 1fr 72px;
    min-height: 112px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #D7D7D7;
    background: #FFF;
    margin-bottom: 24px;
    transition: box-shadow 1s;
    text-decoration: none;
}

.game-bar:hover {
    box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.game-bar .date {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-right: 1px solid #D7D7D7;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #171717;
    justify-content: center;
}

.game-bar .day-name {
    font-size: 10px;
}

.game-bar .day-number {
    font-size: 24px;
}

.game-bar .month-year {
    font-size: 12px;
}

.game-bar .game-details {
    padding: 24px;
    color: #171717;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-bar .game-details span {
    display: block;
}

.game-bar .game-details .name {
    font-size: 20px;
    font-weight: 500;
}

.game-bar .game-details .venue {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .game-bar .game-details .name {
        font-size: 16px;
    }
    
    .game-bar .game-details .venue {
        font-size: 14px;
    }
}

.game-bar i {
    padding: 24px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    color: #428226;
}

.game-bar:hover i {
    color: #3B7522;
}

.game-bar:active i{
    color: #679B51;
}

.game-bar:focus i {
    color: #428226;
}

@media (max-width: 768px) {
    .game-bar {
        grid-template-columns: 94px 1fr;
    }

    .game-bar i {
        display: none;
    }
}


/* Game Bar - End */

/* Thumbnail Card - Start */
.blue-card {
    border: 1px solid #DDF2FF;
    background: #F5FBFF;
}

.white-card {
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #D7D7D7;
}

.green-card {
    border: 1px solid #E1F4D9;
    background: #F5FCF2;
}

.yellow-card {
    border: 1px solid #FFF7D8;
    background: #FFFCF2;
}

.thumbnail-card {
    border-radius: 8px;
    border: 1px solid #DDF2FF;
    padding: 16px;
    font-family: "Inter", sans-serif;
    color: #000000;
    transition: box-shadow 1s;
    cursor: pointer;
}

.thumbnail-card:hover {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
}

.thumbnail-card img {
    width: 100%;
    margin-bottom: 16px;
}

.thumbnail-card h4 {
    margin: 0;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
}

.xanadu .showBlock .thumbnail-card p {
    padding-top: 16px;
    border-top: 1px dashed #D7D7D7;
    font-size: 14px;
    line-height: 150%; /* 21px */
}

@media (max-width: 768px) {
    .xanadu .showBlock .thumbnail-card p {
        padding-bottom: 0;
        margin: 0;
    }
}
/* Thumbnail Card - End */

/* Thumbnail Card Link - Start */
.thumbnail-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.thumbnail-card-link:hover .thumbnail-card {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
}

.thumbnail-card-link:hover {
    text-decoration: none;
    color: inherit;
}
/* Thumbnail Card Link - End */

/* Notice - Start */
p.notice {
    padding: 32px;
    margin-bottom: 40px;
}

.red-notice {
    border: 1px solid #FFDBDB;
    background: #FFEDED;
}

.blue-notice {
    border: 1px solid #DDF2FF;
    background: #F5FBFF;
}

.white-notice {
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #D7D7D7;
}

.green-notice {
    border: 1px solid #E1F4D9;
    background: #F5FCF2;
}

.yellow-notice {
    border: 1px solid #FFF7D8;
    background: #FFFCF2;
}
/* Notice - Start */

/* Game Filter - Start */
.filter-hide {
    display: none !important;
}

.xanadu .showBlock .game-filter-container {
    font-family: "Inter", sans-serif;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr max-content;
}

.xanadu .showBlock .game-filter-container .filter-label {
    grid-column: 1;
    grid-row: 1;
    padding: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    pointer-events: none;
}

.xanadu .showBlock .game-filter {
    grid-column: 1 / span 2;
    grid-row: 1/ span 2;
    padding: 20px;
    padding-top: 48px;
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #626262;
    vertical-align: bottom;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    color: #171717;
    background: none;
    box-shadow: none;
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
    cursor: pointer;
}

.xanadu .showBlock .game-filter-container i {
    grid-row: 1;
    grid-column: 2;
    padding: 20px 18px;
    height: 88px;
    color: #00497A;
    font-size: 14px;
}

/* For IE10 */
.xanadu .showBlock .game-filter::-ms-expand {
    display: none;
}

/* Disabled options greyed out for cascading filter logic */
.xanadu .showBlock .game-filter option:disabled {
    color: #BBBBBB;
}
/* Clear Filters - Start */
.clear-filters-container {
    margin-top: -40px;
    margin-bottom: 52px;
    text-align: right;
}

.clear-filters-link {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #00497A;
    text-decoration: underline;
    cursor: pointer;
}

.clear-filters-link:hover {
    color: #003558;
}

@media (max-width: 768px) {
    .clear-filters-container {
        margin-top: -44px;
        margin-bottom: 24px;
        padding: 0 24px;
        text-align: right;
    }

    .clear-filters-link {
        display: inline-block;
        padding: 10px 0;
    }
}
/* Clear Filters - End */

/* Game Filter - End */



/* Premium Modal - Start */
.premium-modal {
    font-family: "Inter", sans-serif;
}

.premium-modal .modal-content {
    padding: 40px;
}

.premium-modal .modal-header {
    padding: 0;
    padding-bottom: 32px;
    border-bottom: 1px dashed #D7D7D7;
}

.premium-modal .modal-title {
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
}

.premium-modal .modal-body {
    padding: 0;
    padding-top: 32px;
}

.premium-modal .modal-body p{
    margin: 0;
    margin-bottom: 32px;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.premium-modal .modal-body img{
    float: right;
    margin: 0;
    margin-left: 18px;
    margin-bottom: 18px;
    width: 252px;
}

.premium-modal .modal-footer{
    padding: 0;
    padding-top: 32px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
    border-top: 1px dashed #D7D7D7;
}

.premium-modal .modal-footer p{
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%; /* 21px */
    margin: 0;
}

.premium-modal .modal-footer a{
    text-decoration: none;
    color: #FFFFFF;
}

.premium-modal .modal-footer a:hover{
    color: #FFFFFF;
}

.premium-modal .modal-footer a:visited{
    color: #FFFFFF;
}

.premium-modal .modal-footer button{
    display: flex;
    padding: 16px 24px;
    align-items: center;
    gap: 24px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    width: max-content;
    border-radius: 8px;
    background: #001828;
}
/* Premium Modal - End */

/* Return to Top - Start */
.return-top {
    position: absolute;
    right: 10px;
    margin-top: -76px;
    text-decoration: none;
    background-color: #00497A;
    color: #FFFFFF;
    border: #00497A;
    margin-bottom: 40px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .xanadu .return-top {
        display: block !important;
        margin-top: 24px;
    }
}
/* Return to Top - End */

.sticky {
    position: fixed;
    z-index: 100;
    width: 100%;
    margin: 0;
    top: 0;
    left: 0;
}

/* ── WCAG AA — Screen-reader only utility ────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── WCAG AA — Visible focus indicators (WCAG 2.4.7 / 2.4.11) ───────────── */
/* Use :focus-visible so mouse users don't see the ring */
.game-bar:focus-visible,
.thumbnail-card-link:focus-visible,
.clear-filters-link:focus-visible,
.primary-link:focus-visible,
.page-tabs a:focus-visible,
.return-top:focus-visible {
    outline: 3px solid #085251;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Fallback for browsers that don't support :focus-visible */
.game-bar:focus:not(:focus-visible),
.thumbnail-card-link:focus:not(:focus-visible),
.clear-filters-link:focus:not(:focus-visible),
.primary-link:focus:not(:focus-visible),
.page-tabs a:focus:not(:focus-visible),
.return-top:focus:not(:focus-visible) {
    outline: none;
}

.game-bar:focus,
.thumbnail-card-link:focus,
.clear-filters-link:focus,
.primary-link:focus,
.page-tabs a:focus,
.return-top:focus {
    outline: 3px solid #085251;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Game filter selects — keep native focus ring but reinforce it */
.xanadu .showBlock .game-filter:focus-visible,
.xanadu .showBlock .game-filter:focus {
    outline: 3px solid #085251;
    outline-offset: 2px;
}

/* Sponsors Section - Start */
.sponsors-section {
    margin-top: 80px;
}

.sponsors-section hr {
    margin: 40px 0 24px;
}

.sponsors-tier-label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    text-align: center;
    margin-bottom: 24px !important;
}

.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 32px;
    margin-bottom: 8px;
}

/* Sponsor logo images — fixed bounding box (width AND height) per tier
   with object-fit: contain. Every logo in a tier sits in the same visual
   footprint so no logo appears disproportionately larger than another. */
.sponsor-logo {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

/* Principal — largest, centred */
.sponsors-principal {
    justify-content: center;
}
.sponsors-principal .sponsor-logo {
    width: 160px;
    height: 96px;
}

/* Platinum — 4 logos */
.sponsors-platinum .sponsor-logo {
    width: 136px;
    height: 80px;
}

/* Gold — 13 logos, box sized to fit one row at ~1170px content width
   (13 × 68px) + (12 × 16px gap) = 1076px ✓ */
.sponsors-gold .sponsor-logo {
    width: 68px;
    height: 50px;
}

/* Silver */
.sponsors-silver .sponsor-logo {
    width: 96px;
    height: 56px;
}

/* Social Impact */
.sponsors-social .sponsor-logo {
    width: 96px;
    height: 56px;
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 0 24px;
    }

    .sponsors-logos {
        gap: 12px 16px;
    }

    .sponsors-principal .sponsor-logo { width: 120px; height: 72px; }
    .sponsors-platinum .sponsor-logo  { width: 96px;  height: 56px; }
    .sponsors-gold .sponsor-logo      { width: 52px;  height: 38px; }
    .sponsors-silver .sponsor-logo    { width: 72px;  height: 44px; }
    .sponsors-social .sponsor-logo    { width: 72px;  height: 44px; }
}
/* Sponsors Section - End */

/* ── Mobile Filter Bar & Drawer ─────────────────────────────── Start ── */

/* Hide mobile UI on desktop */
.mobile-filter-bar,
#mobile_filter_drawer,
.mobile-read-more {
    display: none;
}

@media (max-width: 768px) {

    /* Hide desktop filters on mobile */
    #filters_section,
    .clear-filters-container {
        display: none !important;
    }

    /* ── Collapse intro text on mobile — intro paragraphs only ── */
    .intro-para {
        display: none !important;
    }

    .intro-para:first-of-type {
        display: -webkit-box !important;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
    }

    /* ── Mobile filter trigger bar ── */
    .mobile-filter-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 62px !important;
    }

    .mobile-filter-trigger {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 20px;
        height: 48px;
        min-width: 44px;
        border: none;
        box-shadow: 0 0 0 1.5px #626262;
        border-radius: 8px;
        background: transparent;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #171717;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
    }

    .mobile-filter-trigger:focus-visible {
        outline: 3px solid #085251;
        outline-offset: 3px;
    }

    .mobile-filter-trigger:active,
    .mobile-filter-trigger:focus,
    .mobile-filter-trigger:focus-visible {
        box-shadow: 0 0 0 2px #085251 !important;
        outline: none !important;
        opacity: 1 !important;
        background: transparent !important;
    }

    .mobile-filter-trigger i {
        font-size: 16px;
        color: #085251;
    }

    .mobile-filter-badge {
        background: #085251;
        color: #fff;
        border-radius: 12px;
        padding: 2px 8px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
    }

    .mobile-result-count {
        font-family: "Inter", sans-serif;
        font-size: 13px;
        color: #555555;
    }

    /* ── Read more button (mobile only) ── */
    .mobile-read-more {
        display: block;
        text-align: right;
        margin: 4px 0 16px;
        padding: 8px 0;
        min-height: 44px;
        background: none;
        border: none;
        width: 100%;
        font-family: "Inter", sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: #00497A;
        text-decoration: underline;
        cursor: pointer;
    }

    .mobile-read-more:focus-visible {
        outline: 3px solid #085251;
        outline-offset: 3px;
        border-radius: 2px;
    }

    /* ── About modal — Bootstrap overrides ── */
    .mobile-about-modal .modal-dialog {
        margin: 16px;
    }

    .mobile-about-modal .modal-content {
        border-radius: 8px;
        overflow: hidden;
    }

    .mobile-about-modal .modal-header {
        border-bottom: 1px dashed #D7D7D7;
        padding: 16px 20px;
    }

    .mobile-about-modal .modal-title {
        font-family: "Inter", sans-serif;
        font-size: 18px;
        font-weight: 700;
        color: #000000;
    }

    .mobile-about-modal .modal-body p {
        display: block !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
        font-family: "Inter", sans-serif !important;
        font-size: 14px !important;
        color: #171717 !important;
        line-height: 175% !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
    }

    .mobile-about-modal .modal-body p:last-child {
        margin-bottom: 0 !important;
    }

    /* ── Drawer overlay ── */
    #mobile_filter_drawer {
        position: fixed;
        inset: 0;
        z-index: 9999;
        flex-direction: column;
        justify-content: flex-end;
    }

    #mobile_filter_drawer.open {
        display: flex;
    }

    .mobile-drawer-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .mobile-drawer-panel {
        position: relative;
        z-index: 1;
        background: #FFFFFF;
        border-radius: 16px 16px 0 0;
        max-height: 88vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    #mobile_filter_drawer.open .mobile-drawer-panel {
        transform: translateY(0);
    }

    /* Reset CMS/Bootstrap styles that bleed into the drawer */
    .mobile-drawer-panel *,
    .mobile-drawer-panel *::before,
    .mobile-drawer-panel *::after {
        box-sizing: border-box;
    }

    .mobile-drawer-panel h3 {
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        width: auto !important;
        font-family: "Inter", sans-serif !important;
    }

    .mobile-drawer-panel label {
        display: block !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #555555 !important;
        margin-bottom: 6px !important;
        padding: 0 !important;
        float: none !important;
        width: auto !important;
        text-align: left !important;
        font-family: "Inter", sans-serif !important;
    }

    .mobile-drawer-panel select {
        display: block !important;
        width: 100% !important;
        padding: 13px 16px !important;
        border: 1px solid #626262 !important;
        border-radius: 8px !important;
        font-family: "Inter", sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #171717 !important;
        background: #ffffff !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        min-height: 48px !important;
        box-shadow: none !important;
        margin: 0 !important;
        height: auto !important;
        line-height: normal !important;
    }

    .mobile-drawer-panel button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-family: "Inter", sans-serif !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        text-decoration: none !important;
        line-height: normal !important;
    }

    .mobile-drawer-handle {
        width: 40px;
        height: 4px;
        background: #d7d7d7;
        border-radius: 2px;
        margin: 12px auto 0;
    }

    /* ── Drawer header ── */
    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px 0;
        margin-bottom: 20px;
    }

    .mobile-drawer-header h3 {
        font-family: "Inter", sans-serif;
        font-size: 18px;
        font-weight: 700;
        color: #000000;
        margin: 0;
    }

    .mobile-drawer-close {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: none;
        background: #f0f0f0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #171717;
        flex-shrink: 0;
    }

    .mobile-drawer-close:focus-visible {
        outline: 3px solid #085251;
        outline-offset: 3px;
    }

    /* ── Drawer filter items ── */
    .mobile-drawer-filters {
        padding: 0 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .mobile-filter-item label {
        display: block;
        font-family: "Inter", sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: #555555;
        margin-bottom: 6px;
    }

    .mobile-filter-item select {
        width: 100%;
        padding: 13px 16px;
        border: 1px solid #626262;
        border-radius: 8px;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #171717;
        background: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        min-height: 48px;
        box-sizing: border-box;
    }

    .mobile-filter-item select:focus {
        outline: 3px solid #085251;
        outline-offset: 2px;
    }

    .mobile-filter-item select option:disabled {
        color: #BBBBBB;
    }

    /* ── Drawer footer ── */
    .mobile-drawer-footer {
        padding: 16px 24px 32px;
        display: flex;
        gap: 12px;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-drawer-clear {
        flex: 1;
        padding: 0 16px;
        height: 48px;
        border: 1.5px solid #d7d7d7;
        border-radius: 8px;
        background: transparent;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #555555;
        cursor: pointer;
    }

    .mobile-drawer-apply {
        flex: 2;
        padding: 0 16px;
        height: 48px;
        border: none;
        border-radius: 8px;
        background: #085251;
        font-family: "Inter", sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #FFFFFF;
        cursor: pointer;
    }

    .mobile-drawer-clear:focus-visible,
    .mobile-drawer-apply:focus-visible {
        outline: 3px solid #085251;
        outline-offset: 3px;
    }

    /* ── Scroll lock when drawer is open ── */
    body.drawer-open {
        overflow: hidden;
    }

}

/* ── Mobile Filter Bar & Drawer ─────────────────────────────── End ── */

/* Big Bash League - Start */

/* Wider shield — overflows the header bar the same way as other shields */
.series-heading-wide {
    overflow: visible;
    align-items: center;
}

.series-heading-wide img {
    width: auto;
    height: 80px;
    margin-right: 16px;
    align-self: center;
    margin-top: -12px;
    margin-bottom: -12px;
}

/* Big Bash League - End */
