/* =========================================================
   MARCUS SCIENCE GROUP
   PAST CONFERENCES PAGE
   ========================================================= */

:root {
    --past-green: #42b96c;
    --past-dark: #0a151b;
    --past-ink: #17201e;
    --past-muted: #687572;
    --past-light: #f4f7f5;
    --past-border: #e3ebe7;
    --past-white: #ffffff;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--past-ink);
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.past-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.past-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 18px;
}

.past-nav {
    width: min(930px, calc(100% - 48px));
    min-height: 78px;
    margin: 0 auto;

    background: rgba(255,255,255,.97);

    border-radius: 0 0 24px 24px;

    box-shadow:
        0 14px 35px rgba(10,30,40,.14);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 30px;
}

.past-nav-left,
.past-nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.past-nav-right {
    justify-content: flex-end;
}

.past-nav a,
.past-dropdown button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--past-ink);
}

.past-nav a {
    transition: color .25s ease, transform .25s ease;
}

.past-nav a:hover {
    color: var(--past-green);
    transform: translateY(-1px);
}

.past-dropdown {
    position: relative;
}

.past-dropdown button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.past-dropdown button.active {
    color: var(--past-green);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.past-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -18px;

    width: 220px;
    padding: 10px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 18px 40px rgba(10,30,40,.14);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}

.past-dropdown:hover .past-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.past-dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
}

.past-dropdown-menu a:hover {
    background: #f1f7f3;
}


/* =========================================================
   BRAND
   ========================================================= */

.past-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.past-brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #10202d;

    overflow: hidden;
}

.past-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.past-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.past-brand-text strong {
    font-size: 15px;
    font-weight: 800;
}

.past-brand-text small {
    margin-top: 5px;
    color: #8d9795;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   HERO
   ========================================================= */

.past-hero {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 145px 24px 85px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #07161d 0%,
            #103a42 55%,
            #0b242d 100%
        );
}

.past-hero::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    top: -240px;
    right: -120px;

    border-radius: 50%;

    background:
        rgba(66,185,108,.13);

    filter: blur(25px);
}

.past-hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -220px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(66,185,108,.08);

    filter: blur(20px);
}

.past-hero-content {
    position: relative;
    z-index: 2;

    width: min(820px,100%);
}

.past-eyebrow {
    display: inline-block;

    margin-bottom: 24px;

    padding: 9px 16px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius: 999px;

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.past-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(48px,6vw,78px);

    line-height: .98;

    letter-spacing: -4px;

    font-weight: 800;
}

.past-hero h1 span {
    color: var(--past-green);
}

.past-hero p {
    max-width: 680px;

    margin: 28px auto 0;

    color:
        rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   INTRO
   ========================================================= */

.past-intro {
    padding: 105px 0;
    background: #ffffff;
}

.past-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;
}

.past-label {
    margin-bottom: 17px;

    color: var(--past-green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.past-intro h2 {
    margin: 0;

    font-size:
        clamp(38px,4.5vw,58px);

    line-height: 1;

    letter-spacing: -3px;
}

.past-intro h2 span {
    color: var(--past-green);
}

.past-intro-grid p {
    margin: 0 0 20px;

    color: var(--past-muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   EVENTS
   ========================================================= */

.past-events {
    padding: 105px 0 115px;
    background: var(--past-light);
}

.past-heading {
    margin-bottom: 50px;
}

.past-heading h2 {
    margin: 0;

    font-size:
        clamp(38px,4.5vw,58px);

    line-height: 1;

    letter-spacing: -3px;
}

.past-heading h2 span {
    color: var(--past-green);
}

.past-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 20px;
}

.past-card {
    overflow: hidden;

    border:
        1px solid
        var(--past-border);

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 12px 35px
        rgba(10,30,40,.055);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.past-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px
        rgba(10,30,40,.11);
}

.past-card-image {
    position: relative;

    height: 225px;

    overflow: hidden;
}

.past-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: saturate(.8);

    transition:
        transform .7s ease;
}

.past-card:hover .past-card-image img {
    transform: scale(1.05);
}

.past-card-image span {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 10px;

    border-radius: 999px;

    color: #ffffff;

    background:
        rgba(10,21,27,.82);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}

.past-card-body {
    padding: 28px;
}

.past-category {
    color: var(--past-green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;
}

.past-card-body h3 {
    margin: 11px 0 14px;

    font-size: 22px;

    line-height: 1.16;

    letter-spacing: -.8px;
}

.past-card-body p {
    margin: 0;

    color: var(--past-muted);

    font-size: 14px;

    line-height: 1.65;
}

.past-meta {
    display: flex;

    gap: 8px;

    margin-top: 20px;

    color: #89938f;

    font-size: 10px;

    font-weight: 600;
}

.past-meta b {
    color: var(--past-green);
}


/* =========================================================
   MESSAGE
   ========================================================= */

.past-message {
    padding: 90px 0;

    background: #ffffff;
}

.past-message-box {
    padding: 70px 50px;

    text-align: center;

    border-radius: 30px;

    background: var(--past-dark);

    box-shadow:
        0 20px 55px
        rgba(10,30,40,.12);
}

.past-message-box h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(38px,4.8vw,60px);

    line-height: 1;

    letter-spacing: -3px;
}

.past-message-box h2 span {
    color: var(--past-green);
}

.past-message-box p {
    max-width: 650px;

    margin: 23px auto 30px;

    color:
        rgba(255,255,255,.62);

    font-size: 14px;

    line-height: 1.7;
}

.past-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 23px;

    border-radius: 12px;

    color: #ffffff;

    background: var(--past-green);

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.past-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(0,0,0,.18);
}


/* =========================================================
   FOOTER
   ========================================================= */

.past-footer {
    padding-top: 75px;

    color: #ffffff;

    background: #081117;
}

.past-footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.past-footer-brand {
    font-size: 20px;
    font-weight: 800;
}

.past-footer p {
    color:
        rgba(255,255,255,.55);

    font-size: 13px;

    line-height: 1.7;
}

.past-footer h4 {
    margin: 0 0 18px;

    font-size: 13px;
}

.past-footer a {
    display: block;

    margin-bottom: 11px;

    color:
        rgba(255,255,255,.58);

    font-size: 12px;
}

.past-footer a:hover {
    color: var(--past-green);
}

.past-footer-bottom {
    padding: 21px;

    text-align: center;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.42);

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .past-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .past-card:last-child {
        grid-column:
            1 / -1;
    }

    .past-footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 700px) {

    .past-header {
        padding-top: 10px;
    }

    .past-nav {
        width:
            calc(100% - 20px);

        min-height:
            66px;

        padding:
            0 16px;
    }

    .past-nav-left,
    .past-nav-right {
        gap: 10px;
    }

    .past-nav a,
    .past-dropdown button {
        font-size: 10px;
    }

    .past-brand-text {
        display: none;
    }

    .past-brand-mark {
        width: 38px;
        height: 38px;
    }

    .past-hero {
        min-height: 500px;

        padding:
            135px 20px 70px;
    }

    .past-hero h1 {
        font-size:
            clamp(42px,11vw,58px);

        letter-spacing: -2.5px;
    }

    .past-hero p {
        font-size: 14px;
    }

    .past-intro,
    .past-events {
        padding: 75px 0;
    }

    .past-intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .past-grid {
        grid-template-columns: 1fr;
    }

    .past-card:last-child {
        grid-column: auto;
    }

    .past-message {
        padding: 65px 0;
    }

    .past-message-box {
        padding:
            50px 25px;
    }

    .past-footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .past-container {
        width:
            calc(100% - 32px);
    }

}