/* =========================================================
   EVENTS ARCHIVE
========================================================= */

.events-archive {
    background: #fff;
}


/* HERO */

.events-archive-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(0, 27, 61, .95),
            rgba(0, 27, 61, .70)
        ),
        url("<?= ASSETS_URL ?>images/campus/hero.jpg")
        center / cover no-repeat;
}

.events-archive-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(0, 27, 61, .92),
            rgba(0, 27, 61, .55)
        );
}

.events-archive-hero .container {
    position: relative;
    z-index: 2;
}

.events-archive-hero-content {
    max-width: 760px;
    padding: 70px 0;
}

.events-archive-eyebrow {
    display: block;
    margin-bottom: 18px;

    color: #F2B632;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.events-archive-hero h1 {
    margin: 0 0 20px;

    color: #fff;

    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
}

.events-archive-hero p {
    max-width: 650px;
    margin: 0;

    color: rgba(255,255,255,.85);

    font-size: 18px;
    line-height: 1.8;
}


/* MAIN SECTION */

.events-archive-section {
    padding: 100px 0;
}

.events-archive-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;

    margin-bottom: 55px;
}

.section-label {
    display: block;

    margin-bottom: 12px;

    color: #D99A00;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.events-archive-heading h2 {
    margin: 0;

    color: #001B3D;

    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 52px);
}

.events-archive-heading p {
    max-width: 400px;

    margin: 0;

    color: #687486;

    line-height: 1.8;
}


/* GRID */

.events-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}


/* CARD */

.event-archive-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e7ebf1;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.event-archive-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 50px rgba(0, 27, 61, .10);
}


/* IMAGE */

.event-archive-image {
    position: relative;

    display: block;

    height: 300px;

    overflow: hidden;

    background: #eef5ff;
}

.event-archive-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.event-archive-card:hover
.event-archive-image img {
    transform: scale(1.04);
}


/* CATEGORY */

.event-archive-category {
    position: absolute;

    left: 20px;
    bottom: 20px;

    padding: 8px 13px;

    background: #001B3D;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* CONTENT */

.event-archive-content {
    display: flex;
    gap: 24px;

    padding: 28px;
}


/* DATE */

.event-archive-date {
    flex: 0 0 65px;

    height: 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: #EEF5FF;

    border-left: 4px solid #D99A00;
}

.event-date-day {
    color: #001B3D;

    font-family: 'Playfair Display', serif;
    font-size: 27px;
    font-weight: 700;

    line-height: 1;
}

.event-date-month {
    margin-top: 5px;

    color: #667085;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .5px;
    text-transform: uppercase;
}


/* MAIN */

.event-archive-main {
    flex: 1;
}

.event-archive-main h3 {
    margin: 0 0 10px;

    font-family: 'Playfair Display', serif;
    font-size: 25px;
    line-height: 1.25;
}

.event-archive-main h3 a {
    color: #001B3D;
    text-decoration: none;
}

.event-archive-main h3 a:hover {
    color: #D99A00;
}


.event-archive-location {
    margin-bottom: 12px;

    color: #687486;

    font-size: 13px;
}

.event-archive-location span {
    margin-right: 4px;
}


.event-archive-main p {
    margin: 0 0 20px;

    color: #687486;

    font-size: 14px;
    line-height: 1.7;
}


/* FOOTER */

.event-archive-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding-top: 16px;

    border-top: 1px solid #edf0f4;
}

.event-gallery-count {
    color: #7a8494;

    font-size: 12px;
    font-weight: 600;
}

.event-read-more {
    color: #001B3D;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .5px;

    text-decoration: none;
}

.event-read-more span {
    display: inline-block;

    margin-left: 6px;

    transition: transform .2s ease;
}

.event-read-more:hover {
    color: #D99A00;
}

.event-read-more:hover span {
    transform: translateX(4px);
}


/* EMPTY */

.events-empty {
    padding: 100px 30px;

    text-align: center;

    background: #F7F9FC;

    border: 1px solid #e7ebf1;
}

.events-empty-icon {
    margin-bottom: 20px;

    color: #D99A00;

    font-size: 50px;
}

.events-empty h3 {
    margin-bottom: 10px;

    color: #001B3D;

    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.events-empty p {
    margin: 0;

    color: #687486;
}


/* CTA */

.events-archive-cta {
    padding: 70px 0;

    background: #001B3D;
}

.events-archive-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.events-archive-cta h2 {
    margin: 0 0 10px;

    color: #fff;

    font-family: 'Playfair Display', serif;
    font-size: 40px;
}

.events-archive-cta p {
    margin: 0;

    color: rgba(255,255,255,.7);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 25px;

    background: #D99A00;

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-decoration: none;

    white-space: nowrap;

    transition: .25s ease;
}

.btn-gold:hover {
    background: #F2B632;
    color: #001B3D;
}


/* RESPONSIVE */

@media (max-width: 992px) {

    .events-archive-grid {
        grid-template-columns: 1fr;
    }

    .events-archive-heading {
        align-items: start;
        flex-direction: column;
    }

}


@media (max-width: 768px) {

    .events-archive-hero {
        min-height: 350px;
    }

    .events-archive-section {
        padding: 70px 0;
    }

    .event-archive-image {
        height: 250px;
    }

    .events-archive-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 576px) {

    .events-archive-grid {
        gap: 25px;
    }

    .event-archive-content {
        gap: 15px;
        padding: 20px;
    }

    .event-archive-date {
        flex-basis: 55px;
        height: 62px;
    }

    .event-date-day {
        font-size: 23px;
    }

    .event-archive-main h3 {
        font-size: 21px;
    }

    .event-archive-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}
