/* Existing Edem event styling, with booking-state additions. */
.upcoming-events-section {
    width: 100%;
    padding: 18px 30px 12px;
    box-sizing: border-box;
}

.upcoming-events-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.upcoming-event-card {
    position: relative;
    height: 592px;
    overflow: hidden;
    background: #191521;
}

.upcoming-event-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.upcoming-event-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.upcoming-event-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.08) 35%,
            rgba(0, 0, 0, 0.45) 62%,
            rgba(10, 5, 18, 0.92) 100%
        );
}

.upcoming-event-date {
    position: absolute;
    top: 0;
    left: 40px;

    z-index: 5;

    width: 103px;
    height: 118px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #3158f5;
    color: #ffe900;

    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;

    text-align: center;
}

.upcoming-event-date-day {
    display: block;

    font-size: 44px;
    line-height: 0.9;
    letter-spacing: -2px;
}

.upcoming-event-date-month {
    display: block;

    margin-top: 5px;

    font-size: 27px;
    line-height: 1;
}

.upcoming-event-content {
    position: absolute;

    left: 40px;
    right: 40px;
    bottom: 40px;

    z-index: 5;

    text-align: center;
    color: #fff;
}

.upcoming-event-title {
    margin: 0 0 18px;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 35px;
    line-height: 1.02;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: -1px;

    text-shadow: 0 2px 5px rgba(0, 0, 0, .4);
}

.upcoming-event-description {
    max-width: 320px;

    margin: 0 auto 42px;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;

    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.upcoming-event-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 160px;
    height: 51px;

    background: #ff0050;
    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
    text-transform: uppercase;

    transition: .2s ease;
}

.upcoming-event-button:hover {
    background: #e60048;
    color: #fff;
    transform: translateY(-2px);
}

.upcoming-events-empty {
    padding: 50px 20px;

    text-align: center;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

@media (max-width: 991px) {

    .upcoming-events-section {
        padding: 20px;
    }

    .upcoming-events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .upcoming-event-card {
        height: 570px;
    }

    .upcoming-event-date {
        left: 25px;

        width: 92px;
        height: 108px;
    }

    .upcoming-event-date-day {
        font-size: 38px;
    }

    .upcoming-event-date-month {
        font-size: 24px;
    }

    .upcoming-event-content {
        left: 25px;
        right: 25px;
        bottom: 30px;
    }

    .upcoming-event-title {
        font-size: 30px;
    }

    .upcoming-event-description {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {

    .upcoming-events-section {
        padding: 15px;
    }

    .upcoming-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .upcoming-event-card {
        height: 560px;
    }

    .upcoming-event-date {
        left: 20px;

        width: 88px;
        height: 102px;
    }

    .upcoming-event-date-day {
        font-size: 36px;
    }

    .upcoming-event-date-month {
        font-size: 23px;
    }

    .upcoming-event-content {
        left: 20px;
        right: 20px;
        bottom: 30px;
    }

    .upcoming-event-title {
        font-size: 30px;
    }

    .upcoming-event-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

@media (max-width: 400px) {

    .upcoming-event-card {
        height: 530px;
    }

    .upcoming-event-date {
        left: 15px;

        width: 80px;
        height: 94px;
    }

    .upcoming-event-date-day {
        font-size: 32px;
    }

    .upcoming-event-date-month {
        font-size: 20px;
    }

    .upcoming-event-content {
        left: 15px;
        right: 15px;
        bottom: 25px;
    }

    .upcoming-event-title {
        font-size: 27px;
    }

    .upcoming-event-description {
        font-size: 15px;
    }
}

.events-page {
    width: 100%;
    padding: 0;
    margin: 0;
}

.events-container {
    width: 100%;
    margin: 0 auto;
}

.events-header {
    display: grid;

    grid-template-columns:
        170px
        minmax(300px, 1fr)
        300px
        270px;

    align-items: center;

    min-height: 54px;

    background: #120c1b;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    text-transform: uppercase;
}


.events-header > div {
    padding: 0 28px;
}



.event-row {
    display: grid;

    grid-template-columns:
        170px
        minmax(300px, 1fr)
        300px
        270px;

    align-items: center;

    min-height: 153px;

    margin-top: 24px;

    background: #282330;

    color: #ffffff;
}

.event-date {
    padding: 20px 28px;

    color: #fff000;

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;
}

.event-details {
    padding: 20px 28px;
}


.event-content {
    display: flex;
    align-items: center;

    gap: 26px;
}

.event-image {
    width: 72px;
    min-width: 72px;

    height: 116px;

    overflow: hidden;

    background: #15111c;
}


.event-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.event-title {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.3;

    font-weight: 700;
}


.event-description {
    color: #d5d0dc;
    text-align:center;
    font-size: 14px;
    line-height: 1.5;
}

.event-venue {
    padding: 20px 28px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
}

.event-tickets {
    padding: 20px 28px;
}


.book-now {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 169px;
    min-height: 52px;

    padding: 12px 20px;

    background: #3155f5;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none !important;

    text-transform: uppercase;

    transition: all 0.25s ease;
}


.book-now:hover {
    background-color: #ff0057;

    color: #ffffff !important;

    transform: translateY(-2px);
}

.mobile-label {
    display: none;
}

.no-events {
    padding: 50px 25px;

    background: #282330;

    color: #ffffff;

    text-align: center;

    font-size: 17px;
}

@media (max-width: 1100px) {

    .events-header,
    .event-row {

        grid-template-columns:
            140px
            minmax(250px, 1fr)
            200px
            190px;
    }


    .events-header > div,
    .event-row > div {

        padding-left: 18px;
        padding-right: 18px;
    }


    .event-content {
        gap: 16px;
    }


    .event-image {
        width: 65px;
        min-width: 65px;

        height: 105px;
    }


    .book-now {
        width: 150px;
    }

}

@media (max-width: 767px) {

    
    .events-header {
        display: none;
    }
    .event-row {
        display: block;

        min-height: 0;

        margin-top: 18px;

        padding: 20px;

        background: #282330;
    }


    .event-row > div {
        padding: 0;

        margin-bottom: 20px;
    }


    .event-row > div:last-child {
        margin-bottom: 0;
    }

    .mobile-label {
        display: block;

        margin-bottom: 8px;

        color: #aaa3b2;

        font-size: 12px;
        font-weight: 700;

        letter-spacing: 0.5px;

        text-transform: uppercase;
    }

    .event-date {
        font-size: 16px;
    }

    .event-content {
        align-items: flex-start;

        gap: 16px;
    }


    .event-image {
        width: 70px;
        min-width: 70px;

        height: 110px;
    }


    .event-title {
        font-size: 17px;
    }


    .event-description {
        font-size: 13px;
    }

    .event-venue {
        font-size: 16px;
    }

    .event-tickets {
        width: 100%;
    }


    .book-now {
        width: 100%;

        min-height: 50px;
    }

}

@media (max-width: 480px) {

    .event-row {
        padding: 16px;
    }


    .event-content {
        gap: 13px;
    }


    .event-image {
        width: 62px;
        min-width: 62px;

        height: 98px;
    }


    .event-title {
        font-size: 16px;
    }

}


.yolo-events .yolo-unavailable { cursor: default; opacity: .72; pointer-events: none; }
.yolo-events .yolo-event-placeholder { background: #191521; }
.yolo-events .yolo-event-placeholder .upcoming-event-content { top: 50%; bottom: auto; transform: translateY(-50%); }
.yolo-events .yolo-event-time { display: block; font-size: 14px; margin: 6px 0 12px; }
.yolo-booking-notice { padding: 24px; border: 1px solid currentColor; border-radius: 8px; }
.yolo-booking-event { margin-bottom: 24px; }
.yolo-quantity { margin-bottom: 28px; text-align: left; }
.yolo-quantity label { display: block; color: #333; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.yolo-quantity select { display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #ddd; border-radius: 5px; background: #fff; color: #333; font-size: 17px; }
.yolo-quantity select:focus-visible { outline: 2px solid #d90046; outline-offset: 2px; }
.yolo-quantity #yolo-quantity-note { margin: 10px 0 0; color: #555; font-size: 14px; line-height: 1.5; }
/* Stripe displays the final total for the selected group before payment. */
form:has(.yolo-quantity) a[id^="payment-details--"] { display: none; }
#post-12 .yolo-booking-event h2 {
    margin: 0 0 16px;
    text-align: center;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.3;
}
#post-12 .yolo-booking-event .yolo-booking-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    max-width: 560px;
    margin: 0 auto;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: rgba(24, 19, 33, .95);
    color: #fff;
    text-align: center;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.5;
}
#post-12 .yolo-booking-time { color: #ffe34c; font-size: 17px; white-space: nowrap; }

/* Paid bookings keep the fireworks, with a readable, centred confirmation. */
.yolo-booking-complete #post-12 .elementor-element-8f276d0 .elementor-heading-title {
    max-width: 960px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.12;
    text-align: center;
    text-transform: none;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .65);
}
.yolo-booking-complete #post-12 .elementor-element-52bddc0 .elementor-heading-title {
    margin: 18px 0 0;
    color: #ffe34c;
    font-size: clamp(19px, 2.3vw, 28px);
    line-height: 1.4;
    text-align: center;
    text-transform: none;
}
.yolo-booking-complete .yolo-booking-confirmation {
    box-sizing: border-box;
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 40px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    background: rgba(24, 19, 33, .95);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
    color: #f3f0f6;
    text-align: center;
    font-size: 18px;
    line-height: 1.65;
}
.yolo-booking-confirmation p { margin: 0 0 18px; color: inherit; }
.yolo-booking-confirmation .yolo-confirmation-lead { color: #fff; font-size: 21px; font-weight: 600; }
.yolo-booking-confirmation .yolo-confirmation-button {
    display: inline-block;
    margin-top: 8px;
    padding: 13px 24px;
    border-radius: 5px;
    background: #d90046;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}
.yolo-booking-confirmation .yolo-confirmation-button:hover { background: #b9003c; color: #fff; }
.yolo-booking-confirmation .yolo-confirmation-button:focus-visible { outline: 3px solid #ffe34c; outline-offset: 4px; }
@media (max-width: 767px) {
    .yolo-booking-complete .yolo-booking-confirmation { padding: 26px 20px; font-size: 16px; }
    .yolo-booking-confirmation .yolo-confirmation-lead { font-size: 19px; }
}

/* YOLO events set their price on the server; customers only choose group size. */
form:has(.yolo-quantity) [data-wpfs-amount-row="custom-amount"] { display: none !important; }
.yolo-quantity .yolo-unit-price { color: #222; font-weight: 700; margin: 0 0 16px; }
