/* =========================================================
   MARCUS SCIENCE GROUP
   NEWS PAGE
   ========================================================= */

:root {
    --news-green: #42b96c;
    --news-dark: #0a151b;
    --news-ink: #17201e;
    --news-muted: #687572;
    --news-light: #f4f7f5;
    --news-border: #e3ebe7;
    --news-white: #ffffff;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--news-ink);
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.news-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.news-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 18px;
}

.news-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;
}

.news-nav-left,
.news-nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.news-nav-right {
    justify-content: flex-end;
}

.news-nav a,
.news-dropdown button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--news-ink);
}

.news-nav a {
    transition:
        color .25s ease,
        transform .25s ease;
}

.news-nav a:hover {
    color: var(--news-green);
    transform: translateY(-1px);
}

.news-dropdown {
    position: relative;
}

.news-dropdown button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.news-dropdown button.active {
    color: var(--news-green);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.news-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;
}

.news-dropdown:hover .news-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
}

.news-dropdown-menu a:hover {
    background: #f1f7f3;
}


/* =========================================================
   BRAND
   ========================================================= */

.news-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.news-brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #10202d;

    overflow: hidden;
}

.news-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.news-brand-text strong {
    font-size: 15px;
    font-weight: 800;
}

.news-brand-text small {
    margin-top: 5px;
    color: #8d9795;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   HERO
   ========================================================= */

.news-hero {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 145px 24px 85px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #07161d 0%,
            #103a42 55%,
            #0b242d 100%
        );
}

.news-hero::before {
    content: "";

    position: absolute;

    width: 560px;
    height: 560px;

    top: -240px;
    right: -130px;

    border-radius: 50%;

    background:
        rgba(66,185,108,.13);

    filter: blur(25px);

    animation:
        newsGlow 9s ease-in-out infinite alternate;
}

.news-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    bottom: -220px;
    left: -100px;

    border-radius: 50%;

    background:
        rgba(66,185,108,.08);

    filter: blur(20px);
}

@keyframes newsGlow {

    from {
        transform:
            translate3d(0,0,0)
            scale(1);
    }

    to {
        transform:
            translate3d(30px,20px,0)
            scale(1.08);
    }

}

.news-hero-content {
    position: relative;
    z-index: 2;

    width: min(820px,100%);
}

.news-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;
}

.news-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(48px,6vw,78px);

    line-height: .98;

    letter-spacing: -4px;

    font-weight: 800;
}

.news-hero h1 span {
    display: block;
    color: var(--news-green);
}

.news-hero p {
    max-width: 680px;

    margin: 28px auto 0;

    color:
        rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   MAIN
   ========================================================= */

.news-main {
    padding: 105px 0 115px;

    background: #ffffff;
}

.news-heading {
    max-width: 760px;

    margin-bottom: 60px;
}

.news-label {
    margin-bottom: 17px;

    color: var(--news-green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;
}

.news-heading h2 {
    margin: 0;

    font-size:
        clamp(38px,4.5vw,58px);

    line-height: 1;

    letter-spacing: -3px;
}

.news-heading h2 span {
    color: var(--news-green);
}

.news-heading p {
    max-width: 650px;

    margin: 22px 0 0;

    color: var(--news-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   FEATURED NEWS
   ========================================================= */

.news-featured {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    min-height: 380px;

    margin-bottom: 22px;

    overflow: hidden;

    border-radius: 26px;

    background: var(--news-dark);

    box-shadow:
        0 20px 50px rgba(10,30,40,.10);
}

.news-featured-visual {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b242d,
            #102f35
        );
}

.news-featured-visual::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        rgba(66,185,108,.13);

    filter: blur(10px);

    animation:
        featuredPulse 8s ease-in-out infinite alternate;
}

@keyframes featuredPulse {

    from {
        transform:
            scale(1);
    }

    to {
        transform:
            scale(1.18)
            translate(20px,-10px);
    }

}

.news-featured-number {
    position: absolute;

    top: 28px;
    left: 30px;

    color:
        rgba(255,255,255,.55);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;
}

.news-featured-symbol {
    position: relative;
    z-index: 2;

    color:
        rgba(255,255,255,.9);

    font-size:
        clamp(60px,8vw,110px);

    font-weight: 800;

    letter-spacing: -8px;
}

.news-featured-content {
    padding: 58px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.news-meta {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.news-meta span {
    padding: 7px 11px;

    border-radius: 999px;

    color: #ffffff;

    background:
        rgba(66,185,108,.16);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}

.news-meta time {
    color:
        rgba(255,255,255,.42);

    font-size: 10px;

    font-weight: 700;
}

.news-featured-content h3 {
    max-width: 650px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(30px,3.2vw,48px);

    line-height: 1.02;

    letter-spacing: -2.5px;
}

.news-featured-content p {
    max-width: 650px;

    margin: 23px 0 28px;

    color:
        rgba(255,255,255,.58);

    font-size: 13px;

    line-height: 1.75;
}

.news-read-more {
    align-self: flex-start;

    color:
        var(--news-green);

    font-size: 12px;

    font-weight: 800;
}

.news-read-more:hover {
    color: #ffffff;
}


/* =========================================================
   NEWS GRID
   ========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 18px;
}

.news-card {
    min-height: 315px;

    padding: 30px;

    border:
        1px solid
        var(--news-border);

    border-radius: 22px;

    background: #ffffff;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.news-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(66,185,108,.45);

    box-shadow:
        0 20px 45px
        rgba(10,30,40,.08);
}

.news-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.news-card-top span {
    color:
        var(--news-green);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}

.news-card-top small {
    color:
        #9aa5a1;

    font-size: 10px;

    font-weight: 800;
}

.news-card-date {
    margin-top: 42px;

    color:
        #89938f;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}

.news-card h3 {
    margin: 12px 0 12px;

    font-size: 23px;

    line-height: 1.12;

    letter-spacing: -1px;
}

.news-card p {
    margin: 0;

    color:
        var(--news-muted);

    font-size: 13px;

    line-height: 1.7;
}

.news-card a {
    display: inline-block;

    margin-top: 22px;

    color:
        var(--news-green);

    font-size: 12px;

    font-weight: 800;
}

.news-card a:hover {
    color:
        var(--news-ink);
}


/* =========================================================
   CTA
   ========================================================= */

.news-cta {
    padding: 90px 0;

    background:
        var(--news-light);
}

.news-cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 60px 50px;

    border-radius: 30px;

    background:
        var(--news-dark);

    box-shadow:
        0 20px 55px
        rgba(10,30,40,.12);
}

.news-cta-box h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(36px,4vw,54px);

    line-height: 1;

    letter-spacing: -2.5px;
}

.news-cta-box h2 span {
    color:
        var(--news-green);
}

.news-cta-box p {
    max-width: 620px;

    margin: 20px 0 0;

    color:
        rgba(255,255,255,.62);

    font-size: 14px;

    line-height: 1.7;
}

.news-cta-button {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 24px;

    border-radius: 12px;

    color:
        #ffffff;

    background:
        var(--news-green);

    font-size: 13px;

    font-weight: 800;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.news-cta-button:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 13px 28px
        rgba(66,185,108,.22);
}


/* =========================================================
   FOOTER
   ========================================================= */

.news-footer {
    padding-top: 75px;

    color: #ffffff;

    background:
        #081117;
}

.news-footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 55px;
}

.news-footer-brand {
    font-size: 20px;

    font-weight: 800;
}

.news-footer p {
    color:
        rgba(255,255,255,.55);

    font-size: 13px;

    line-height: 1.7;
}

.news-footer h4 {
    margin: 0 0 18px;

    font-size: 13px;
}

.news-footer a {
    display: block;

    margin-bottom: 11px;

    color:
        rgba(255,255,255,.58);

    font-size: 12px;
}

.news-footer a:hover {
    color:
        var(--news-green);
}

.news-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) {

    .news-featured {
        grid-template-columns:
            1fr;
    }

    .news-featured-visual {
        min-height:
            250px;
    }

    .news-grid {
        grid-template-columns:
            1fr;
    }

    .news-cta-box {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .news-footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 700px) {

    .news-header {
        padding-top: 10px;
    }

    .news-nav {
        width:
            calc(100% - 20px);

        min-height:
            66px;

        padding:
            0 16px;
    }

    .news-nav-left,
    .news-nav-right {
        gap:
            10px;
    }

    .news-nav a,
    .news-dropdown button {
        font-size:
            10px;
    }

    .news-brand-text {
        display:
            none;
    }

    .news-brand-mark {
        width:
            38px;

        height:
            38px;
    }

    .news-hero {
        min-height:
            500px;

        padding:
            135px 20px 70px;
    }

    .news-hero h1 {
        font-size:
            clamp(
                42px,
                11vw,
                58px
            );

        letter-spacing:
            -2.5px;
    }

    .news-hero p {
        font-size:
            14px;
    }

    .news-main {
        padding:
            75px 0;
    }

    .news-featured-content {
        padding:
            38px 25px;
    }

    .news-featured-content h3 {
        font-size:
            31px;
    }

    .news-card {
        min-height:
            auto;

        padding:
            25px;
    }

    .news-cta {
        padding:
            65px 0;
    }

    .news-cta-box {
        padding:
            45px 25px;
    }

    .news-cta-button {
        width:
            100%;
    }

    .news-footer-grid {
        grid-template-columns:
            1fr;

        gap:
            30px;
    }

    .news-container {
        width:
            calc(100% - 32px);
    }

}