/* =========================================================
   EVENT VIEW PAGE
========================================================= */

.event-view-page {
    background: #fff;
}

/* =========================================================
   HERO
========================================================= */

.event-view-hero {
    position: relative;

    padding: 45px 0 75px;

    background:
        linear-gradient(
            135deg,
            #00152F,
            #062D5A
        );

    overflow: hidden;
}

.event-view-hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    top: -220px;

    border: 1px solid rgba(242,182,50,.18);

    border-radius: 50%;
}

.event-view-breadcrumb {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 55px;

    color: rgba(255,255,255,.55);

    font-size: 12px;
}

.event-view-breadcrumb a {
    color: rgba(255,255,255,.7);

    text-decoration: none;
}

.event-view-breadcrumb a:hover {
    color: #F2B632;
}

.event-view-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 150px;

    align-items: center;

    gap: 60px;
}

.event-view-hero-content {
    max-width: 900px;
}

.event-view-category {
    display: inline-block;

    margin-bottom: 20px;

    padding: 7px 13px;

    background: rgba(242,182,50,.12);

    border-left: 3px solid #F2B632;

    color: #F2B632;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.event-view-hero h1 {
    margin: 0;

    color: #fff;

    font-family: 'Playfair Display', serif;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;
}

.event-view-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 35px;

    margin-top: 38px;
}

.event-meta-item {
    display: flex;
    align-items: center;

    gap: 12px;
}

.event-meta-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(242,182,50,.4);

    color: #F2B632;

    font-size: 14px;
}

.event-meta-item small {
    display: block;

    margin-bottom: 3px;

    color: rgba(255,255,255,.45);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.event-meta-item strong {
    display: block;

    color: #fff;

    font-size: 14px;

    font-weight: 500;
}

/* =========================================================
   DATE
========================================================= */

.event-view-date-card {
    width: 150px;
    height: 170px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: #D99A00;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.event-view-date-card span {
    color: #001B3D;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.event-view-date-card strong {
    margin: 2px 0;

    color: #fff;

    font-family: 'Playfair Display', serif;

    font-size: 70px;

    line-height: 1;
}

.event-view-date-card small {
    color: rgba(255,255,255,.8);

    font-size: 12px;
}

/* =========================================================
   CONTENT
========================================================= */

.event-view-content {
    padding: 90px 0 110px;
}

.event-view-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 310px;

    gap: 70px;

    align-items: start;
}

/* =========================================================
   FEATURED IMAGE
========================================================= */

.event-view-featured-image {
    margin: 0 0 45px;

    width: 100%;

    overflow: hidden;

    background: #EEF5FF;
}

.event-view-featured-image img {
    display: block;

    width: 100%;

    max-height: 650px;

    object-fit: cover;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.event-view-description {
    color: #344054;

    font-size: 17px;

    line-height: 1.9;
}

.event-view-description p {
    margin-bottom: 22px;
}

.event-view-description h2,
.event-view-description h3 {
    margin-top: 35px;
    margin-bottom: 15px;

    color: #001B3D;

    font-family: 'Playfair Display', serif;
}

.event-view-description img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   GALLERY
========================================================= */

.event-view-gallery {
    margin-top: 70px;

    padding-top: 55px;

    border-top: 1px solid #e7ebf1;
}

.event-gallery-heading {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 30px;

    margin-bottom: 30px;
}

.event-gallery-heading h2 {
    margin: 0;

    color: #001B3D;

    font-family: 'Playfair Display', serif;

    font-size: 36px;
}

.event-photo-count {
    color: #7A8494;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

/* =========================================================
   GALLERY GRID
========================================================= */

.event-gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.event-gallery-item {
    position: relative;

    display: block;

    width: 100%;
    height: 210px;

    padding: 0;

    overflow: hidden;

    border: 0;

    background: #EEF5FF;

    cursor: pointer;
}

.event-gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease,
        filter .35s ease;
}

.event-gallery-item:hover img {
    transform: scale(1.05);

    filter: brightness(.78);
}

.event-gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    background: rgba(0,27,61,.35);

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .5px;

    opacity: 0;

    transition: opacity .3s ease;
}

.event-gallery-item:hover .event-gallery-overlay {
    opacity: 1;
}

.gallery-view-icon {
    font-size: 17px;
}

/* =========================================================
   BACK LINK
========================================================= */

.event-view-back {
    margin-top: 60px;

    padding-top: 30px;

    border-top: 1px solid #e7ebf1;
}

.event-view-back a {
    color: #001B3D;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.event-view-back a span {
    margin-right: 8px;

    transition: margin .2s ease;
}

.event-view-back a:hover {
    color: #D99A00;
}

.event-view-back a:hover span {
    margin-right: 13px;
}

/* =========================================================
   SIDEBAR
========================================================= */

.event-view-sidebar {
    position: sticky;

    top: 30px;
}

.event-sidebar-card {
    padding: 30px;

    background: #F7F9FC;

    border-top: 4px solid #D99A00;
}

.event-sidebar-card h3 {
    margin: 0 0 28px;

    color: #001B3D;

    font-family: 'Playfair Display', serif;

    font-size: 25px;

    line-height: 1.3;
}

.sidebar-detail {
    display: flex;

    gap: 13px;

    padding: 18px 0;

    border-top: 1px solid #e3e7ed;
}

.sidebar-detail-icon {
    color: #D99A00;

    font-size: 14px;
}

.sidebar-detail small {
    display: block;

    margin-bottom: 4px;

    color: #8A94A3;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.sidebar-detail strong {
    display: block;

    color: #001B3D;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;
}

/* =========================================================
   CTA
========================================================= */

.event-sidebar-cta {
    margin-top: 25px;

    padding: 32px;

    background: #001B3D;
}

.event-sidebar-cta > span {
    color: #F2B632;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.event-sidebar-cta h3 {
    margin: 12px 0;

    color: #fff;

    font-family: 'Playfair Display', serif;

    font-size: 28px;
}

.event-sidebar-cta p {
    margin: 0 0 25px;

    color: rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.7;
}

.event-sidebar-cta a {
    color: #F2B632;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.event-sidebar-cta a span {
    margin-left: 6px;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.event-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 50px;

    background: rgba(0, 10, 25, .94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.event-lightbox.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

/* IMAGE CONTAINER */

.event-lightbox-content {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    max-width: min(1200px, 88vw);

    max-height: 90vh;
}

.event-lightbox-content img {
    display: block;

    max-width: 100%;

    max-height: 78vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow:
        0 25px 80px rgba(0,0,0,.45);
}

/* BOTTOM INFO */

.event-lightbox-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    gap: 30px;

    margin-top: 16px;
}

.event-lightbox-bottom span {
    color: rgba(255,255,255,.75);

    font-size: 12px;
}

.event-lightbox-title {
    overflow: hidden;

    color: rgba(255,255,255,.55) !important;

    text-align: right;

    white-space: nowrap;

    text-overflow: ellipsis;
}

/* CLOSE */

.event-lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 30px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.event-lightbox-close:hover {
    background: rgba(255,255,255,.18);

    border-color: rgba(255,255,255,.5);
}

/* ARROWS */

.event-lightbox-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    transform: translateY(-50%);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 72px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.2);

    background: rgba(255,255,255,.08);

    color: #fff;

    font-size: 50px;

    font-weight: 200;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.event-lightbox-arrow:hover {
    background: rgba(255,255,255,.18);

    border-color: rgba(255,255,255,.4);
}

.event-lightbox-prev {
    left: 25px;
}

.event-lightbox-next {
    right: 25px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .event-view-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .event-view-sidebar {
        position: static;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 20px;
    }

    .event-sidebar-cta {
        margin-top: 0;
    }

}

@media (max-width: 768px) {

    .event-view-hero {
        padding: 35px 0 60px;
    }

    .event-view-breadcrumb {
        margin-bottom: 40px;
    }

    .event-view-hero-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .event-view-date-card {
        width: 110px;
        height: 125px;
    }

    .event-view-date-card strong {
        font-size: 50px;
    }

    .event-view-meta {
        gap: 20px;

        flex-direction: column;
    }

    .event-view-content {
        padding: 60px 0 80px;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-gallery-item {
        height: 190px;
    }

    .event-view-sidebar {
        grid-template-columns: 1fr;
    }

    /* LIGHTBOX */

    .event-lightbox {
        padding: 25px;
    }

    .event-lightbox-content {
        max-width: 92vw;
    }

    .event-lightbox-content img {
        max-height: 72vh;
    }

    .event-lightbox-arrow {
        width: 45px;
        height: 55px;

        font-size: 38px;
    }

    .event-lightbox-prev {
        left: 10px;
    }

    .event-lightbox-next {
        right: 10px;
    }

    .event-lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 26px;
    }

}

@media (max-width: 576px) {

    .event-view-hero h1 {
        font-size: 38px;
    }

    .event-view-featured-image {
        margin-bottom: 30px;
    }

    .event-view-description {
        font-size: 16px;
    }

    .event-gallery-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .event-gallery-heading h2 {
        font-size: 30px;
    }

    .event-gallery-grid {
        grid-template-columns: 1fr;
    }

    .event-gallery-item {
        height: 240px;
    }

    /* MOBILE LIGHTBOX */

    .event-lightbox {
        padding: 15px;
    }

    .event-lightbox-content {
        max-width: 94vw;
    }

    .event-lightbox-content img {
        max-width: 94vw;
        max-height: 68vh;
    }

    .event-lightbox-bottom {
        gap: 10px;
    }

    .event-lightbox-bottom span {
        font-size: 11px;
    }

    .event-lightbox-arrow {
        top: auto;
        bottom: 35px;

        transform: none;

        width: 48px;
        height: 48px;

        border-radius: 50%;

        font-size: 34px;
    }

    .event-lightbox-prev {
        left: calc(50% - 60px);
    }

    .event-lightbox-next {
        right: calc(50% - 60px);
    }

}
