/* =========================================================
   SINGLE EVENT
========================================================= */

.wist-event-single {
    --event-navy: #082950;
    --event-blue: #267cf4;
    --event-yellow: #f4b900;
    --event-red: #f1c34e;
    --event-text: #62748e;
}


/* HERO */

.wist-event-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: var(--event-navy);
}

.wist-event-hero__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.wist-event-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 25, 55, .96) 0%,
            rgba(4, 25, 55, .76) 38%,
            rgba(4, 25, 55, .26) 72%,
            rgba(4, 25, 55, .08) 100%
        );
}

.wist-event-hero__container {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    padding: 190px 0 90px;
}

.wist-event-hero__content {
    max-width: 800px;
}

.wist-event-hero__eyebrow,
.wist-event-section-label {
    display: inline-block;

    color: var(--event-yellow);

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

    letter-spacing: .13em;
    text-transform: uppercase;
}

.wist-event-hero h1 {
    margin: 18px 0 24px;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(54px, 7vw, 96px);

    font-weight: 400;
    line-height: .98;

    letter-spacing: -.045em;
}

.wist-event-hero__meta {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 30px;
}

.wist-event-hero__meta span {
    padding: 10px 14px;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px 22px 12px 12px;

    color: #fff;

    background: rgba(255,255,255,.10);

    backdrop-filter: blur(14px);
}


/* BUTTONS */

.wist-event-hero__actions,
.wist-event-cta__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.wist-event-button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 0 22px;

    border-radius: 14px 28px 14px 14px;

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

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

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.wist-event-button:hover {
    transform: translateY(-4px);
}

.wist-event-button--primary {
    color: var(--event-navy);

    background:
        linear-gradient(
            135deg,
            #ffd64a,
            var(--event-yellow)
        );

    box-shadow:
        0 16px 34px rgba(244,185,0,.28);
}

.wist-event-button--glass {
    color: #fff;

    border:
        1px solid rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.10);

    backdrop-filter: blur(14px);
}

.wist-event-button--dark {
    color: #fff;

    background: var(--event-navy);
}


/* OVERVIEW */

.wist-event-overview {
    padding: 100px 0;
}

.wist-event-overview__container {
    width: min(1200px, calc(100% - 48px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(300px, .7fr);

    gap: 70px;
}

.wist-event-overview__body {
    margin-top: 20px;

    color: var(--event-text);

    font-size: 18px;
    line-height: 1.85;
}

.wist-event-overview__body p {
    margin: 0 0 22px;
}


/* DETAILS */

.wist-event-details {
    padding: 24px;

    border:
        1px solid rgba(8,41,80,.08);

    border-radius:
        24px 44px 24px 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(235,243,255,.85)
        );

    box-shadow:
        0 28px 70px rgba(8,41,80,.10);

    backdrop-filter: blur(20px);
}

.wist-event-details__item {
    padding: 16px 4px;

    border-bottom:
        1px solid rgba(8,41,80,.08);
}

.wist-event-details__item:last-child {
    border-bottom: 0;
}

.wist-event-details__item span,
.wist-event-details__item strong {
    display: block;
}

.wist-event-details__item span {
    margin-bottom: 5px;

    color: #8391a5;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.wist-event-details__item strong {
    color: var(--event-navy);

    font-size: 16px;
}


/* GALLERY */

.wist-event-gallery {
    padding: 20px 0 100px;
}

.wist-event-gallery__container {
    width: min(1200px, calc(100% - 48px));

    margin: 0 auto;
}

.wist-event-gallery__heading {
    margin-bottom: 24px;
}

.wist-event-gallery__grid {
    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap: 16px;
}

.wist-event-gallery__item {
    grid-column: span 4;

    height: 260px;

    overflow: hidden;

    border-radius:
        20px 38px 20px 20px;
}

.wist-event-gallery__item:nth-child(1),
.wist-event-gallery__item:nth-child(5) {
    grid-column: span 8;
}

.wist-event-gallery__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s cubic-bezier(.22,1,.36,1);
}

.wist-event-gallery__item:hover
.wist-event-gallery__image {
    transform: scale(1.06);
}


/* LOCATION */

.wist-event-location {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #f8fbff,
            #eef5ff
        );
}

.wist-event-location__container {
    width: min(1200px, calc(100% - 48px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    align-items: center;

    gap: 50px;
}

.wist-event-location__content h2 {
    margin: 14px 0 12px;

    color: var(--event-navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(36px, 4vw, 54px);

    font-weight: 400;
}

.wist-event-location__content p {
    margin: 0 0 24px;

    color: var(--event-text);

    font-size: 17px;
}

.wist-event-location__map {
    overflow: hidden;

    border-radius:
        24px 48px 24px 24px;

    box-shadow:
        0 30px 70px rgba(8,41,80,.12);
}

.wist-event-location__map iframe {
    width: 100%;
    height: 430px;

    display: block;

    border: 0;
}


/* CTA */

.wist-event-cta {
    padding: 70px 24px 110px;
}

.wist-event-cta__inner {
    width: min(1180px, 100%);

    margin: 0 auto;

    padding: 38px 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    overflow: hidden;

    border-radius:
        28px 56px 28px 28px;

    background:
        linear-gradient(
            135deg,
            #082950,
            #103c75
        );

    box-shadow:
        0 30px 80px rgba(8,41,80,.20);
}

.wist-event-cta h2 {
    margin: 10px 0 7px;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 38px;

    font-weight: 400;
}

.wist-event-cta p {
    margin: 0;

    color:
        rgba(255,255,255,.68);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .wist-event-overview__container,
    .wist-event-location__container {
        grid-template-columns: 1fr;
    }

    .wist-event-gallery__item,
    .wist-event-gallery__item:nth-child(1),
    .wist-event-gallery__item:nth-child(5) {
        grid-column: span 6;
    }

    .wist-event-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 640px) {

    .wist-event-hero {
        min-height: 610px;
    }

    .wist-event-hero__container {
        width: calc(100% - 32px);

        padding: 150px 0 70px;
    }

    .wist-event-hero h1 {
        font-size:
            clamp(46px, 13vw, 64px);
    }

    .wist-event-overview {
        padding: 70px 0;
    }

    .wist-event-overview__container,
    .wist-event-gallery__container,
    .wist-event-location__container {
        width:
            calc(100% - 28px);
    }

    .wist-event-gallery__item,
    .wist-event-gallery__item:nth-child(1),
    .wist-event-gallery__item:nth-child(5) {
        grid-column: span 12;

        height: 230px;
    }

    .wist-event-location {
        padding: 70px 0;
    }

    .wist-event-location__map iframe {
        height: 330px;
    }

    .wist-event-cta {
        padding:
            50px 14px
            80px;
    }

    .wist-event-cta__inner {
        padding: 28px 22px;
    }

    .wist-event-cta__actions {
        width: 100%;
    }

    .wist-event-button {
        width: 100%;
    }

}