/* Promo category template (category Meta Data: PageTemplate = promo) */
body:has(.promo-cat) {
    background-color: #f9fafd !important;
    /* global body overflow-x:hidden makes body a scroll container and breaks position:sticky; clip hides overflow without that */
    overflow-x: clip !important;
}

.promo-cat {
    --promo-cat-bg: #f9fafd;
}


/* Funex spacing utilities are 16px-root (mt-20 = 32px), so Figma's 20px stays here */
.promo-cat__container {
    /*max-width: 1224px;*/
    /*padding: 20px 16px;*/
    margin-top: 115px !important;
    background: #f5f7fa;
}

.promo-cat__banner {
    margin-top: 20px;
    border-radius: 16px;
}

.promo-cat__filters {
    gap: 10px;
    margin-top: 8px;
    padding: 12px 0;
    /* sticks just below the fixed header; --promo-cat-sticky-top is set from the header height in JS */
    position: sticky;
    top: var(--promo-cat-sticky-top, 0px);
    z-index: 20;
}

    /* full-bleed background behind the bar so cards scroll underneath it */
    .promo-cat__filters::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        z-index: -1;
        background: #ffffff;
        transition: box-shadow .2s ease;
    }

    .promo-cat__filters.is-stuck::before {
        box-shadow: 0 8px 16px -10px rgba(18, 35, 63, .35);
    }

.promo-cat__pill {
    height: 36px;
    padding: 0 24px;
    border: 1px solid #8593a6;
    background: #fff;
    color: #14233a;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    font-family: inherit;
    cursor: pointer;
}

    .promo-cat__pill.is-active {
        background: #12233f;
        border-color: #12233f;
        color: #fff;
        font-weight: 600;
        box-shadow: 0 2px 2.5px rgba(32, 40, 91, 0.15);
    }

.promo-cat__pill:focus-visible,
.promo-cat a.promo-cat__btn:focus-visible {
    outline: 2px solid #0035c5;
    outline-offset: 2px;
}

.promo-cat__group {
    margin-top: 20px;
}

.promo-cat .total-no-events {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.4;
    color: #44536a;
    font-weight:500;
}


/* Bootstrap's .d-flex is display:flex !important and would override the hidden attribute */
.promo-cat__card[hidden] {
    display: none !important;
}

.promo-cat p.promo-cat__empty {
    margin: 32px 0 40px;
    font-size: 15px;
    color: #51596b;
}

.promo-cat h2.promo-cat__state-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: #14233a;
    letter-spacing: -0.02em;
}

    /* "1 event" next to the state name */
    .promo-cat .promo-cat__state-count {
        margin-left: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #51596b;
        white-space: nowrap;
    }

.promo-cat__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.promo-cat__card {
    box-sizing: border-box;
    min-height: 132.4px;
    padding: 8px;
    border: 1.5px solid #e3e8ef;
    border-radius: 18px;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
    overflow:hidden;
}

/*.promo-cat__card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 158px;
    width: 1px;
    height: 76px;
    background: #e3e9ef;
    transform: translateY(-50%);
}*/

.promo-cat__logo {
    position: relative;
    margin: 0;
    height: 156px;
    width: 100%;
    border-radius: 13px;
    display: grid;
    place-items: center;
    padding: 18px 24px 40px;
    overflow: hidden;
    background: radial-gradient(200px 120px at 0% 0%, rgba(231, 0, 4, .07), rgba(231, 0, 4, 0) 70%), radial-gradient(220px 140px at 100% 100%, rgba(0, 112, 177, .10), rgba(0, 112, 177, 0) 70%), #F5F8FB;
}

    .promo-cat__logo::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(0, 112, 177, .12) 1px, transparent 1.6px);
        background-size: 16px 16px;
        -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .2));
        mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .2));
    }

    .promo-cat__logo img {
        position: relative;
        max-width: 80%;
        max-height: 74px;
        object-fit: contain;
        transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    }
.promo-cat__body {
    min-width: 0;
    width:100%;
    padding:8px 2px;
}

.promo-cat h3.promo-cat__name {
    font-size: 16px;
    font-weight: 600 !important;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: #14233a;
}

.promo-cat p.promo-cat__location {
    margin: 12px 0;
    font-size: 12px;
    line-height: 1.1;
    color: #51596b;
}

.promo-cat a.promo-cat__btn {
    padding: 7px 12px;
    border-radius: 8px;
    background: #0035c5;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.24);
    font-size: 14px;
    line-height: 21px;
}

.promo-cat a.promo-cat__btn:focus {
    background: #002a9e;
}

/* Whole card is clickable */
.promo-cat a.promo-cat__btn::after {
    content: "";
    position: absolute;
    inset: 0;
}

@media (max-width: 991.98px) {
    .promo-cat__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body:has(.promo-cat) {
        background-color: #f4f6fb !important;
    }

    .promo-cat {
        --promo-cat-bg: #f4f6fb;
    }

    .promo-cat.fx-insidepage__wrapper {
        background-image:
            url("//res.cloudinary.com/funex/image/upload/f_auto,q_40/v1796064237/promo-bg-mobile-top_zgtxg2.png"),
            url("//res.cloudinary.com/funex/image/upload/f_auto,q_40/v1796064238/promo-bg-mobile-bottom_fjjjqn.png");
        background-position: center top, center bottom;
    }

    .promo-cat__filters {
        gap: 7px;
        margin-right: -16px;
        padding: 10px 16px 10px 15px;
        /* the bar is already full-bleed here (negative margins), so paint the white on the bar itself:
           a scroll container's own background stays put while the ::before would scroll away with the pills */
        background: #ffffff;
        overflow-x: auto;
        scrollbar-width: none;
        margin-left: -15px;
        margin-top: 0;
    }

    .promo-cat__filters::-webkit-scrollbar {
        display: none;
    }

    .promo-cat__filters::before {
        display: none;
    }

    .promo-cat__filters.is-stuck {
        box-shadow: 0 8px 16px -10px rgba(18, 35, 63, .35);
    }

    .promo-cat h2.promo-cat__state-title {
        margin-bottom: 12px;
        font-size: 18.1px;
        font-weight: 700;
        line-height: 22.8px;
        color: #171923;
    }

    .promo-cat .promo-cat__state-count {
        margin-left: 6px;
        font-size: 12.5px;
    }

    .promo-cat__grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .promo-cat__card {
        min-height: 104px;
        padding: 8px;
    }

    .promo-cat__card::before {
        left: 145px;
        background: #cbd2df;
    }

   

    .promo-cat h3.promo-cat__name {
        min-height: 0;
        font-size: 13.9px;
        line-height: 16.52px;
        color: #171923;
    }

    .promo-cat p.promo-cat__location {
        margin: 5.7px 0 10px;
        font-size: 11.4px;
        line-height: 15px;
    }

    .promo-cat a.promo-cat__btn {
        padding: 0 8px;
        font-size: 13px;
        line-height: 31.2px;
        box-shadow: 0 2px 2px rgba(23, 28, 73, 0.16);
    }
}


/*css by ankita form holiday-events*/

h4 {
    margin: 0
}

.promo-cat__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    /* section background = admin banner (set inline as --promo-cat-hero-bg); the square feature image is a separate right column */
    background: var(--promo-cat-hero-bg, none) center right/cover no-repeat;
}

.promo-cat__hero-content {
    position: relative;
    flex: 1 1;
    min-width: 0;
    max-width: 600px;
}

/* right column: rectangular feature image (separate from the section background) */
.promo-cat__hero-media {
    position: relative;
    flex: 0 1 510px;
    min-width: 0;
    border: solid 4px #fff;
    border-radius: 29px;
}

    .promo-cat__hero-media img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 3; /* landscape rectangle; change here for a different shape */
        object-fit: cover;
        border-radius: 24px;
        box-shadow: 0 24px 48px rgba(0,0,0,.3);
    }


.promo-cat__hero-inner {
    position: relative;
    display: flex;
    gap: 48px;
    align-items: center;
    min-height: 440px;
    padding-top: 58px;
    padding-bottom: 40px;
    justify-content: space-between;
}

.promo-cat__hero :focus-visible {
    outline-color: #fff
}

.promo-cat__search :focus-visible {
    outline-color: #0B84D6
}

.bc [aria-current] {
    color: #fff;
    font-weight: 600
}

.promo-cat__hero-content h1 {
    margin-top: 12px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.04;
    color: #fff;
    letter-spacing: -.03em
}

    .promo-cat__hero-content h1 span {
        display: block;
        color: #FF9A9C
    }

.promo-cat__hero .promo-cat__hero-lede {
    margin-top: 12px;
    font-size: 17px;
    color: #D5DEE9;
    max-width: 520px;
    font-weight: 400;
}

.promo-cat__search {
    display: flex;
    gap: 8px;
    margin-top: 22px;
    padding: 8px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(0,0,0,.28)
}

.promo-cat__search input[type=search]::-webkit-search-cancel-button {
    cursor: pointer
}

/* festive hero */
.promo-cat__hero-fx {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden
}

.promo-cat__hero-flake {
    position: absolute;
    color: #fff
}

    .promo-cat__hero-flake svg {
        display: block;
        width: 100%;
        height: 100%
    }


.promo-cat__search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid #8593a6;
    border-radius: 14px;
    background: #fff;
    flex: 1 1 0;
    min-width: 0;
    transition: border-color .15s,box-shadow .15s
}

    .promo-cat__search-field--wide {
        flex: 1.35 1 0
    }

    .promo-cat__search-field:focus-within {
        border-color: #0070b1;
        box-shadow: 0 0 0 2px #0070b1
    }

    .promo-cat__search-field > svg {
        flex: 0 0 auto;
        color: #14233a;
    }

.promo-cat__search-input {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0
}

    .promo-cat__search-input label {
        font-size: 12.5px;
        font-weight: 600;
        color: #44536a;
        line-height: 1.25;
        margin-bottom: 0;
    }

    .promo-cat__search-input input {
        border: 0;
        outline: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        color: #14233a;
        width: 100%;
        min-width: 0;
        height: 26px;
        -webkit-appearance: none;
        appearance: none
    }

    .promo-cat__search-input input::placeholder {
        color: #677689;
        opacity: 1
    }

.tsv {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    background: #fff;
    font-weight: 600;
    font-size: 12.5px;
    color: #44536a;
    box-shadow: 0 1px 6px rgba(0,0,0,.18)
}

.tsv svg {
    color: #44536a;
}

 .tsv b {
    color: #D13A27;
    font-weight: 700;
}
.tloc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: #44536a;
    margin-bottom: 0;
}
.tpk {
    font-size: 14px;
    color: #44536a;
    font-weight: 400;
}

.tdv {
    position: relative;
    margin: 12px 0 12px;
    border-top: 1.5px dashed #D5DCE5;
    width: 100%;
}
    .tdv::before, .tdv::after {
        content: "";
        position: absolute;
        top: -7px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #f5f7fa;
        border: 1px solid #D5DCE5;
    }
.tdv::before {
    left: -17px;
}
.tdv::after {
    right: -17px;
}
.tft {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
}

.tpr {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-bottom:0;
}

    .tpr span {
        font-size: 12.5px;
        color: #44536a;
        font-weight: 400;
    }

    .tpr b {
        margin-top: 2px;
        font-size: 21px;
        font-weight: 700;
        color: #DB402C;
    }

    .tpr s {
        margin-top: 2px;
        font-size: 13px;
        color: #44536a;
        font-weight: 400;
    }

.tbtn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 9px;
    background: #003EAE;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: background .15s
}

.tbtn svg {
    transition: transform .2s ease;
}
.sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* Whole card is clickable: the Buy tickets link stretches over the card (.promo-cat__card is position: relative) */
.promo-cat__card .tbtn::after {
    content: "";
    position: absolute;
    inset: 0;
}

.tbtn:focus {
    background: #00318A;
    box-shadow: 0 6px 16px rgba(0, 62, 174, .32);
    color: #fff;
    text-decoration: none;
}

/* ALL hover effects live here: only devices with a real mouse/trackpad get them,
   so phones/tablets don't get "sticky" hover states after a tap */
@media (hover: hover) and (pointer: fine) {
    .promo-cat__search-field:hover:not(:focus-within) {
        border-color: #5B6B80;
    }

    .promo-cat a.promo-cat__btn:hover {
        background: #002a9e;
    }

    .promo-cat__card:hover .promo-cat__logo img {
        transform: scale(1.05);
    }

    .promo-cat__card:hover .tbtn {
        background: #003EAE;
    }

    .tbtn:hover {
        background: #00318A;
        box-shadow: 0 6px 16px rgba(0, 62, 174, .32);
        color: #fff;
        text-decoration: none;
    }

        .tbtn:hover svg {
            transform: translateX(3px);
        }
}

/* card lift + underline: large screens with a mouse only */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
    .promo-cat__card:hover {
        box-shadow: 0 2px 6px rgba(18, 35, 63, .08), 0 16px 34px rgba(18, 35, 63, .14);
        transform: translateY(-2px);
    }

        .promo-cat__card:hover .tbtn {
            background: #00318A;
            box-shadow: 0 6px 16px rgba(0, 62, 174, .32);
            color: #fff;
        }

        .promo-cat__card:hover .promo-cat__name {
            text-decoration: underline;
            text-underline-offset: 2px;
        }
}
/* Holiday-events hero — tablet & mobile */
@media (max-width: 991.98px) {
    .promo-cat__container{
        margin-top:0 !important;
        padding:0 !important;
    }
    .mobile-group-pdg{
        padding-left:15px !important;
        padding-right:15px !important;
    }
    .promo-cat__hero {
        background: var(--promo-cat-hero-bg, none) center/cover no-repeat;
    }

    /* tablet: keep the two columns, just tighter with a smaller image */
    .promo-cat__hero-inner {
        gap: 28px;
        min-height: 360px;
        padding-top: 44px;
        padding-bottom: 32px;
    }

    .promo-cat__hero-content {
        max-width: none;
    }

    .promo-cat__hero-media {
        flex-basis: 340px;
    }

        .promo-cat__hero-media img {
            border-radius: 24px;
        }

    .promo-cat__hero-content h1 {
        font-size: 40px;
    }

    .promo-cat__hero .promo-cat__hero-lede {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    /* mobile: columns stack — the feature image on top, then the text/search, all over the background */
    .promo-cat__hero {
        background: var(--promo-cat-hero-bg-mobile, var(--promo-cat-hero-bg, none)) center/cover no-repeat;
    }

    .promo-cat__hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        min-height: 0;
        padding: 24px 16px 24px;
    }

    .promo-cat__hero-media {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        max-width: 480px;
        margin: 0;
    }

    .promo-cat__hero-media img {
        border-radius: 24px;
    }


    .promo-cat__hero-content h1 {
        margin-top: 0;
        font-size: 28px;
        line-height: 1.1;
    }
    .promo-cat__hero-content h1 span {
        display: inline;
    }
    .promo-cat__hero .promo-cat__hero-lede {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .promo-cat__search {
        margin-top: 18px;
        padding: 6px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(0,0,0,.26);
    }

    .promo-cat__search-field {
        min-height: 54px;
        gap: 10px;
        padding: 0 12px;
        border-radius: 12px;
    }

        .promo-cat__search-field > svg {
            width: 20px;
            height: 20px;
        }

    .promo-cat__search-input label {
        font-size: 12px;
    }

    /* keep 16px so iOS Safari doesn't zoom on focus */
    .promo-cat__search-input input {
        font-size: 16px;
        height: 24px;
    }

}

@media (max-width: 374.98px) {
    .promo-cat__hero-content h1 {
        font-size: 26px;
    }

    .promo-cat__hero-media {
        max-width: none;
    }
}

.tsv--m {
    display: none;
}


@media (max-width: 767.98px) {
    .promo-cat__card {
        display: grid !important;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-areas:
            "logo info"
            "dv   dv"
            "ft   ft";
        align-items: stretch !important;
        column-gap: 12px;
        min-height: 0;
        padding: 11px 13px 11px 13px;
    }

    .promo-cat__body {
        display: contents;
    }

    .promo-cat__logo {
        grid-area: logo;
        width: 100%;
        height: auto;
        min-height: 96px;
        padding: 12px;
        border-radius: 12px;
    }

        .promo-cat__logo img {
            max-width: 100%;
            max-height: 56px;
        }

        /* the badge moves to the right column */
        .promo-cat__logo .tsv {
            display: none;
        }

    .promo-cat__info {
        grid-area: info;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        padding: 2px 0;
    }

    .tloc {
        font-size: 12px;
        gap: 4px;
    }

        .tloc svg {
            flex-shrink: 0;
            width: 13px;
            height: 13px;
        }

    .tsv--m {
        position: static;
        display: inline-flex;
        align-self: flex-start;
        height: 24px;
        margin-top: 5px;
        padding: 0 8px;
        gap: 4px;
        font-size: 11.5px;
        background: #fff;
        box-shadow: none;
        border: solid 1px #0000002e;
    }

    /* full-width divider; notches centred on the card edges (card padding: 8px left, 10px right) */
    .tdv {
        grid-area: dv;
        margin: 10px 0;
    }

    .tdv::before {
        left: -15px;
    }

    .tdv::after {
        right: -17px;
    }

    /* footer row: price on the left, Buy tickets on the right */
    .tft {
        grid-area: ft;
        align-items: center;
        padding: 0 8px;
    }

    .tpr b {
        font-size: 18px;
    }

    .tbtn {
        height: 36px;
        padding: 0 12px;
    }
}
