/* =========================================================
   ALUMNI ACTIVITY DETAIL
========================================================= */

.activity-detail-page {
    background: var(--white);
}


/* =========================================================
   HERO
========================================================= */

.activity-detail-hero {
    min-height: 520px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(0, 27, 61, 0.05) 5%,
            rgba(0, 27, 61, 0.30) 42%,
            rgba(0, 27, 61, 0.97) 100%
        ),
        url("../../assets/images/alumni/activity-1.jpg")
        center / cover no-repeat;
}

.activity-detail-hero-content {
    width: 100%;
    padding: 90px 0 65px;
}

.activity-detail-label {
    display: inline-block;
    margin-bottom: 17px;

    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.activity-detail-hero h1 {
    max-width: 900px;
    margin: 0;

    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -1px;
}

.activity-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    margin-top: 25px;

    color: rgba(255,255,255,.82);
    font-size: 12px;
}


/* =========================================================
   INTRO
========================================================= */

.activity-detail-intro {
    padding: 100px 0;
    background: var(--white);
}

.activity-detail-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 90px;
    align-items: start;
}

.activity-detail-intro-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.activity-detail-intro h2 {
    margin: 18px 0 0;

    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.12;
}

.activity-detail-description {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.9;
}

.activity-detail-description p {
    margin: 0 0 22px;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.activity-highlight {
    padding: 85px 0;
    background: var(--light-blue);
}

.activity-highlight-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.activity-highlight-mark {
    color: var(--gold);
    font-family: "Playfair Display", serif;
    font-size: 70px;
    line-height: .5;
}

.activity-highlight p {
    margin: 25px 0 0;

    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.25;
}


/* =========================================================
   STORY
========================================================= */

.activity-story {
    padding: 100px 0;
    background: var(--cream);
}

.activity-story-inner {
    max-width: 900px;
    margin: auto;
}

.activity-story-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.activity-story h2 {
    margin: 0 0 30px;

    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.1;
}

.activity-story p {
    margin: 0 0 23px;

    color: #505866;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   GALLERY
========================================================= */

.activity-gallery {
    padding: 105px 0;
    background: var(--white);
}

.activity-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
    margin-bottom: 45px;
}

.activity-gallery-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.activity-gallery-header h2 {
    margin: 15px 0 0;

    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 43px;
    font-weight: 500;
    line-height: 1.1;
}

.activity-gallery-count {
    color: var(--gray-500);
    font-size: 11px;
    letter-spacing: 1px;
}


/* =========================================================
   FLEXIBLE GALLERY
========================================================= */

.activity-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 14px;
}

.activity-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--navy);
}

.activity-gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.activity-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform .5s ease,
        opacity .3s ease;
}

.activity-gallery-item:hover img {
    transform: scale(1.04);
    opacity: .9;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.activity-gallery-item::after {
    content: "VIEW PHOTO";

    position: absolute;
    left: 20px;
    bottom: 18px;

    color: var(--white);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;

    opacity: 0;
    transform: translateY(5px);

    transition: all .3s ease;
}

.activity-gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.activity-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 15, 35, .96);
}

.activity-lightbox.active {
    display: flex;
}

.activity-lightbox-image {
    max-width: 90vw;
    max-height: 85vh;

    object-fit: contain;

    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.activity-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.35);
    background: transparent;

    color: var(--white);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

.activity-lightbox-close:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.activity-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,27,61,.5);

    color: var(--white);

    font-size: 25px;

    cursor: pointer;
}

.activity-lightbox-arrow:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.activity-lightbox-prev {
    left: 25px;
}

.activity-lightbox-next {
    right: 25px;
}

.activity-lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    color: rgba(255,255,255,.7);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.activity-detail-navigation {
    padding: 70px 0;
    background: var(--navy);
}

.activity-detail-navigation-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
}

.activity-nav-link {
    color: var(--white);
    text-decoration: none;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.activity-nav-link:hover {
    color: var(--gold-light);
}

.activity-nav-link span {
    color: var(--gold-light);
    font-size: 15px;
    margin-left: 7px;
}

.activity-nav-back {
    color: rgba(255,255,255,.7);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .activity-detail-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .activity-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-gallery-item.large {
        grid-column: span 2;
    }

}

@media (max-width: 700px) {

    .activity-detail-hero {
        min-height: 470px;
    }

    .activity-detail-hero-content {
        padding: 70px 0 50px;
    }

    .activity-detail-intro,
    .activity-story,
    .activity-gallery {
        padding: 75px 0;
    }

    .activity-gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .activity-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .activity-gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .activity-detail-navigation-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 480px) {

    .activity-detail-hero h1 {
        font-size: 3rem;
    }

    .activity-detail-intro h2,
    .activity-story h2,
    .activity-gallery-header h2 {
        font-size: 35px;
    }

    .activity-lightbox {
        padding: 20px;
    }

    .activity-lightbox-arrow {
        width: 40px;
        height: 40px;
    }

    .activity-lightbox-prev {
        left: 10px;
    }

    .activity-lightbox-next {
        right: 10px;
    }

}
