/*
Theme Name: HCP New Amsterdam Pharma - Flex Structure
Theme URI: https://hcp.newamsterdampharma.com/
Author: New Amsterdam Pharma
Author URI: https://www.newamsterdampharma.com/
Description: 100% Pixel-perfect WordPress theme with proper Webflow flex structure
Version: 2.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hcp-nap
Tags: medical, healthcare, resources, custom
*/

/* ==========================================
   CSS Variables (Exact from Webflow)
   ========================================== */

:root {
    --white: white;
    --secondary: #1a203f;
    --neutral--100: white;
    --neutral--800: #080f25;
    --accent--primary-1: #99071c;
    --secondary--color-4: #343b4f;
    --secondary--color-1: #101935;
    --general--shadow-01: #14142b0f;
    --color: #52181a;
    --neutral--500: #7e89ac;
    --general--shadow-03: #14142b1a;
    --neutral--400: #aeb9e1;
    --system--red-100: #ffeff0;
    --system--300: #ff5a65;
    --neutral--300: #d1dbf9;
    --general--shadow-02: #14142b14;
    --neutral--700: #212c4d;
    --neutral--600: #37446b;
    --clear: transparent;
    --tertiary: #ff8112;
    --new-blue: #2f5495;
    --neutral--200: #d9e1fa;
    --light-grade: #416ec9;
    --button-shadow--color-2: #4a3aff14;
    --site-padding-1440: 250px;
    --dark-grade: #184092;
}

/* ==========================================
   Base Styles & Reset
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 1.25rem;
}

@font-face {
    font-family: 'IvyPresto Headline';
    src: url('assets/fonts/Ivy-Presto-Headline-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, .heading, .mrc-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
}

@media screen and (max-width: 1920px) {
    html {
        font-size: calc(0.75rem + 0.41666666666666674vw);
    }
}

@media screen and (max-width: 1440px) {
    html {
        font-size: calc(0.75rem + 0.41666666666666663vw);
    }
}

@media screen and (max-width: 960px) {
    html {
        font-size: calc(0.7505197505197505rem + 0.4158004158004158vw);
    }
}

@media screen and (max-width: 479px) {
    html {
        font-size: calc(0.7497384937238494rem + 0.41841004184100417vw);
    }
}

body {
    background-color: var(--white);
    color: var(--secondary);
    font-family: "Lato", sans-serif;
    font-size: 1.25vw;
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================
   Webflow Wrapper Structure
   ========================================== */

.page_wrapper {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: static;
}

.main_wrapper {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: static;
}

.header_component {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ==========================================
   HCP Challenge/Gate Section
   ========================================== */

.challenge_section {
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    margin-right: 2.3vw;
    padding-left: 7.29167vw;
    padding-right: 7.29167vw;
    padding-bottom: 9vw;
    position: relative;
    z-index: 999;
    background-color: var(--white);
    justify-content: center;
    align-items: flex-start;
    height: auto;
    display: flex;
    overflow: hidden;
}

.challenge_section.hidden {
    display: none;
}

.challenge_content {
    padding: 4rem 0;
    border: 3px none var(--secondary);
    border-radius: 5px;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    max-width: 48rem;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: static;
    inset: 0%;
}

.challenge_text-wrap {
    margin-bottom: 1.5rem;
}

.challenge_text-confirm {
    margin-bottom: 16px;
    color: var(--secondary);
    font-family: Lato, sans-serif;
    font-size: 1.25vw;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .challenge_text-confirm {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .challenge_text-confirm {
        font-size: 14px;
    }
}

.challenge_button {
    text-align: center;
    border-radius: 0 0 0 1rem;
    width: 18.4896vw;
    margin-left: 0;
    margin-right: 0;
    padding: 1.14583vw 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    transition-property: none;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .challenge_button {
        padding: 12px 0;
        width: 220px;
    }
}

.challenge_button.yes-i-am {
    color: #fff;
    background-color: #2f5495;
    border: 2px #000f2c;
}

.challenge_button.yes-i-am:hover {
    border: 2px none var(--secondary);
    background-color: var(--tertiary);
    color: #fff;
}

.challenge_button.no-i-am-not {
    background-color: var(--color);
    color: #fff;
    border-style: none;
    border-color: #810517;
}

.challenge_button.no-i-am-not:hover {
    background-color: var(--accent--primary-1);
    color: #fff;
    border-color: #aa6c75;
}


.challenge_button-wrap {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.challenge_disclaimer {
    margin-top: 1rem;
    padding-top: 2rem;
    font-size: 1vw;
    line-height: 1.5;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .challenge_disclaimer{
        font-size: 10px;
    }
}

/* ==========================================
   Header Component
   ========================================== */

.header {
    background-image: linear-gradient(135deg, #fff9, #fff0 70%), url('assets/images/hero-interior.jpg');
    background-position: 0 0, 0%;
    background-repeat: repeat, no-repeat;
    background-size: auto, 102.5%;
    background-attachment: scroll, scroll;
    border-bottom-right-radius: 5.1rem;
    flex-direction: column;
    justify-content: space-between;
    width: 92.5vw;
    min-height: 20.8333vw;
    display: block;
    position: relative;
}

@media screen and (max-width: 991px) {
    .header {
        width: 100%;
    }
}

/* ==========================================
   Navigation Bar
   ========================================== */

.main-nav {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.7);
    justify-content: space-between;
    width: 100%;
    padding-left: 6.29167vw;
    padding-right: 7.29167vw;
    display: block;
    margin: 0;
}

.navcontainer {
    backdrop-filter: none;
    background-color: #0000;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1920px;
    padding-top: 14px;
    padding-bottom: 20px;
    display: flex;
    position: static;
}

.brand {
    flex: none;
    justify-content: flex-start;
    align-self: auto;
    width: 16vw;
    padding-top: 0.2vw;
    padding-left: 0;
    padding-right: 0;
    display: block;
    position: static;
}

@media screen and (max-width: 480px) {
    .brand {
        flex: none;
        width: 150px;
        padding-top: 5px;
        padding-left: 0;
    }
}

.newam-logo {
    height: 65px;
    width: 92vw;
    max-width: 100% !important;
}

/* ==========================================
   Top Navigation Menu
   ========================================== */

.nav {
    grid-column-gap: 0.83333vw;
    grid-row-gap: 1.33333vw;
    background-color: var(--clear);
    color: var(--white);
    letter-spacing: 0.4em;
    flex-flow: column;
    place-content: flex-start flex-end;
    align-self: center;
    align-items: flex-end;
    max-width: 1920px;
    font-size: 14px;
    display: flex;
    position: static;
}

.top-nav-menu {
    grid-column-gap: 1.36vw;
    grid-row-gap: 1.36vw;
    background-color: var(--clear);
    justify-content: flex-end;
    align-items: center;
    height: auto;
    line-height: 1.5;
    display: flex;
}

.top-nav_block {
    grid-column-gap: .3vw;
    grid-row-gap: .3vw;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
    display: flex;
}

.top-nav_icon {
    width: .9375vw;
    height: .9375vw;
}

.top-nav_link {
    color: #1a203f;
    letter-spacing: 0;
    font-family: 'IvyPresto Headline', serif;
    font-size: .9375vw;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease-out;
}

.top-nav_link:hover {
    color: var(--tertiary);
}

.nav-menu_item:hover > .subnav-menu,
.nav-menu_item .subnav-menu:hover {
    display: block;
}

/* ==========================================
   Main Navigation Menu
   ========================================== */

.nav-menu {
    grid-column-gap: 2.34375vw;
    grid-row-gap: 2.34375vw;
    background-color: var(--clear);
    color: var(--white);
    letter-spacing: .4em;
    flex-flow: row;
    place-content: flex-start flex-end;
    align-self: center;
    margin-bottom: 1px;
    font-size: 14px;
    display: flex;
    position: relative;
}

.nav-menu_item {
    position: relative;
}

.nav-wrap {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.hover-bar {
    width: 0;
    height: 4px;
    background-color: var(--tertiary);
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-wrap:hover .hover-bar {
    width: 100%;
}

.nav-link {
    color: #1a203f;
    letter-spacing: 0;
    margin-right: 0;
    padding: 0;
    font-family: 'IvyPresto Headline', serif;
    font-size: calc(0px + 1.35417vw);
    font-weight: 300;
    line-height: 1rem;
    text-decoration: none;
    position: relative;
    transition: color .3s;
}

.nav-link::before {
    bottom: -25px;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
}

.nav-link:after {
    background: #ff8112;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    top: -6px;
    transition: all .4s ease;
    width: 0;
}

.nav-link:hover {
    color: var(--tertiary);
    text-decoration: none;
}

.nav-link:hover::after {
    width: 1.25vw;
}

.search-icon {
    align-self: flex-end;
    width: 25px;
    height: 25px;
    margin-left: 1rem;
    display: block;
    position: static;
}

/* ==========================================
   Dropdown Subnavigation
   ========================================== */

.subnav-menu {
    position: absolute;
    top: 53.7204px;
    left: -17.3292px;
    display: none;
    background-color: rgb(255, 255, 255);
    padding: 17.906px 43.486px 6.395px 0;
    min-width: 230px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 34.6583px 34.6583px;
    z-index: 10;
}

.nav-menu_item:hover .subnav-menu {
    display: block;
}

.subnav {
    grid-column-gap: 1px;
    grid-row-gap: 1px;
    color: var(--secondary);
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    text-decoration: none;
    display: flex;
    position: relative;
}

.shover-bar {
    background-color: rgb(47, 84, 149);
    width: 0vw;
    height: 4px;
    position: absolute;
    inset: auto auto .6vw 0%;
    z-index: 10;
}

.subnav:hover .shover-bar {
    width: 100%;
}

.subnav:hover {
    color: var(--tertiary);
}

.subnav_link {
    letter-spacing: -.5px;
    font-size: 18px;
    position: relative;
    left: 1.4vw;
}

.subnav_link:before {
    bottom: -25px;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
}

.subnav_link:after {
    background: #ff8112;
    content: "";
    height: 3px;
    left: calc(0px - 1.38167vw);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all .4s ease;
    width: 0;
}

.subnav_link:hover:after {
    width: calc(0px + .83333vw);
}

.subnav:hover .subnav_link {
    color: var(--tertiary);
}

/* ==========================================
   Mobile Menu
   ========================================== */

.mobile-menu {
    display: none;
    cursor: pointer;
}

.menu {
    display: none;
}

.mobile-logo {
    display: none;
}

@media screen and (max-width: 991px) {
    .nav {
        display: none;
    }

    .mobile-menu {
        grid-column-gap: 8px;
        grid-row-gap: 8px;
        background-color: var(--white);
        border-radius: 58px;
        flex-flow: column;
        justify-content: center;
        align-self: center;
        align-items: center;
        width: 58px;
        height: 58px;
        display: flex;
        box-shadow: 0 3px 20px #0000004d;
    }

    .open-menu {
        grid-column-gap: 4px;
        grid-row-gap: 4px;
        flex-flow: column;
        justify-content: center;
        align-items: flex-start;
        display: flex;
    }

    .open-menu .top-bun {
        background-color: var(--tertiary);
        padding-bottom: 0;
        padding-right: 0;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        width: 24px;
        height: 2px;
    }

    .open-menu .botton-bun {
        background-color: var(--tertiary);
        width: 20px;
        height: 2px;
        padding-bottom: 0;
        padding-right: 0;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
    }

    .mobile-menu.active .open-menu .top-bun {
        transform: translate3d(0px, 3px, 0px) rotateZ(-45deg);
        width: 35px;
    }

    .mobile-menu.active .open-menu {
        padding-top: 8px;
    }

    .mobile-menu.active .open-menu .botton-bun {
        transform: translate3d(0px, -2px, 0px) rotateZ(45deg);
        width: 35px;
    }

    /* Hide the menu text when active */
    .mobile-menu.active .mobile-menu-text {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Optional smooth transition for text */
    .mobile-menu .mobile-menu-text {
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-text {
        font-size: 14px;
        font-weight: 900;
        line-height: 0;
    }

    .header-mobile {
        background-color: #dcdee2;
        height: 110px;
    }

    .menu-mobile {
        z-index: 9999;
        grid-column-gap: 21px;
        grid-row-gap: 21px;
        background-color: #fff;
        flex-flow: column;
        justify-content: start;
        align-items: center;
        height: 100vh;
        display: flex;
        position: relative;
    }

    .menu-wrap {
        grid-column-gap: 21px;
        grid-row-gap: 21px;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        display: flex;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        opacity: 1;
    }

    .mobile-nav-link {
        text-transform: uppercase;
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        color: var(--secondary);
        cursor: pointer;
    }

    .mobile-menu {
        position: absolute;
        right: 50px;
        top: 15px;
        z-index: 99999;
    }

    .menu.active {
        position: absolute;
        inset: 0;
        display: block;
    }
}


@media screen and (max-width: 480px) {
    .header-mobile {
        display: none;
    }

    .menu-mobile {
        z-index: 1000;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        background-color: var(--new-blue);
        border-bottom-right-radius: 5rem;
        flex-flow: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 120vh;
        min-height: 100%;
        padding: 97px 20px 100px 35px;
        display: flex;
        position: relative;
        inset: 0;
    }

    .mobile-logo {
        z-index: 4000;
        flex: none;
        width: 150px;
        margin-left: 35px;
        padding-top: 20px;
        display: block;
        position: absolute;
        inset: 0 auto auto 0;
    }

    .menu-wrap {
        grid-column-gap: 0px;
        grid-row-gap: 26px;
        justify-content: flex-start;
        align-items: flex-start;
        position: relative;
    }

    .mobile-nav-link {
        color: var(--white);
        text-align: left;
        text-transform: none;
        cursor: pointer;
        align-self: auto;
        font-family: 'IvyPresto Headline', serif;
        font-size: 30px;
        font-weight: 300;
        line-height: 1;
        text-decoration: none;
        transition-property: none;
    }
}



.menu-mobile {
    display: none;
}

@media screen and (max-width: 991px) {
    .menu-mobile .mobile-menu-inner .site-logo-link {
        left: 30px;
        position: absolute;
        top: 16px;
    }

    .mobile-menu-outer {
        height: 100vh;
        left: 0;
        pointer-events: none;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 9;
    }

    .menu-mobile {
        overflow-Y: auto;
        height: 100vh;
        min-height: 100%;
        pointer-events: all;
        transform: translate(100%, -100%);
        transition: .3s;
    }

    .menu-mobile.active {
        transform: translate(0);
        display: block;
    }

    .mobile-menu-inner {
        min-height: 100vh;
        padding-bottom: 100px;
    }

    .mobile-menus {
        padding-left: 67px;
        padding-right: 28px;
        padding-top: 97px;
    }

    .mobile-menu-inner:after {
        background: #2f5495;
        border-bottom-right-radius: 64px;
        content: "";
        height: 93%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -1;
    }

    .mobile-menus ul li {
        margin-bottom: 21px;
        position: relative;
        list-style-type: none;
    }


    .mobile-menus ul li .submenu-trigger {
        left: -30px;
        position: absolute;
        top: 8px;
    }

    .mobile-menus ul li .submenu-trigger .circle {
        border: 1px solid #fff;
        border-radius: 20px;
        height: 20px;
        position: relative;
        width: 20px;
    }

    .mobile-menus ul li .submenu-trigger .circle .line {
        background: #fff;
        height: 1px;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: .3s;
        width: 8px;
    }

    .mobile-menus ul li .submenu-trigger .circle .line:nth-of-type(2) {
        transform: translate(-50%, -50%) rotate(-90deg);
    }

    .mobile-menus ul li a {
        color: #fff;
        display: block;
        font-family: ivypresto-headline;
        font-size: 32px;
        font-weight: 300;
        line-height: 36px;
        position: relative;
        text-decoration: none;
    }

    .mobile-menus ul li .sub-menu {
        display: none;
        padding-top: 21px;
    }

    .mobile-menus ul li .sub-menu li {
        margin-bottom: 10px;
    }

    .mobile-menus ul li .sub-menu li a {
        font-family: lato;
        font-size: 18px;
    }

    .mobile-menus #header-secondary a:before {
        content: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjQgNjQiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDY0IDY0IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxzdHlsZT4uc3Qwe2ZpbGw6I2MxY2NkZn08L3N0eWxlPjxnIGlkPSJJY29uLUV4dGVybmFsLUxpbmsiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDM4MiAzODApIj48cGF0aCBjbGFzcz0ic3QwIiBpZD0iRmlsbC0xMTgiIGQ9Im0tMzUyLjMtMzQzLjQtMi4zLTIuMyAyNS44LTI1LjcgMi4yIDIuMi0yNS43IDI1LjgiLz48cGF0aCBjbGFzcz0ic3QwIiBpZD0iRmlsbC0xMTkiIGQ9Ik0tMzI2LTM1NC45aC0zLjR2LTEzLjdoLTEzLjd2LTMuNGgxNy4xdjE3LjEiLz48cGF0aCBjbGFzcz0ic3QwIiBkPSJNLTMzNC42LTMyNGgtMzQuM2MtMi44IDAtNS4xLTIuMy01LjEtNS4xdi0zNC4zYzAtMi44IDIuMy01LjEgNS4xLTUuMWgxOC45djMuNGgtMTguOWMtLjkgMC0xLjcuOC0xLjcgMS43djM0LjNjMCAuOS44IDEuNyAxLjcgMS43aDM0LjNjLjkgMCAxLjctLjggMS43LTEuN1YtMzQ4aDMuNHYxOC45Yy4xIDIuOC0yLjIgNS4xLTUuMSA1LjEiIGlkPSJGaWxsLTEyMCIvPjwvZz48L3N2Zz4=);
        display: block;
        position: absolute;
        height: 22px;
        left: -32px;
        top: 0;
        transform: unset;
        width: 22px;
    }

    .mobile-menus ul li a:after {
        background: #ff8112;
        content: "";
        height: 3px;
        left: 0;
        position: absolute;
        top: -10px;
        transition: all .4s
        ease;
        width: 0;
    }

    .mobile-menus .mobile-search-form .open-mobile-form svg {
        width: 50px;
    }

    .mobile-menus .mobile-search-form form {
        display: none;
        position: relative;
    }

    .mobile-menus .mobile-search-form .search-field {
        border: 1px solid #2f5495;
        border-radius: 0;
        font-size: 16px;
        height: 54px;
        padding-left: 16px;
        width: 100%;
    }

    .mobile-menus .mobile-search-form .close-mobile-form {
        display: block;
        height: 54px;
        position: absolute;
        right: 0;
        top: 0;
        width: 54px;
        z-index: 9;
    }

    .mobile-menus .mobile-search-form .close-mobile-form .line {
        background: #ff8112;
        display: block;
        height: 30px;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        width: 2px;
    }

    .mobile-menus .mobile-search-form .close-mobile-form .line:nth-of-type(2) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}

@media screen and (max-width: 480px) {
    .mobile-menus {
        padding-left: 25px;
        padding-right: 28px;
        padding-top: 15px;
    }
}

/*.open-menu {*/
/*    width: 30px;*/
/*    height: 20px;*/
/*    position: relative;*/
/*}*/

/*.top-bun,*/
/*.botton-bun {*/
/*    width: 100%;*/
/*    height: 3px;*/
/*    background-color: #1a203f;*/
/*    position: absolute;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.top-bun {*/
/*    top: 0;*/
/*}*/

/*.botton-bun {*/
/*    bottom: 0;*/
/*}*/

/* ==========================================
   Hero Heading
   ========================================== */

.header-copy {
    z-index: 2;
    color: var(--color);
    max-width: 1920px;
    padding-top: 6vw;
    padding-left: 7.29167vw;
    padding-right: 7.29167vw;
    padding-bottom: 0;
    position: static;
}

.headline {
    color: #52181a;
    letter-spacing: 1.73px;
    padding-left: 0;
    padding-right: 0;
    font-family: 'IvyPresto Headline', serif;
    font-size: 3.33333vw;
    font-weight: 300;
    line-height: 1.093;
}

/* ==========================================
   Resource Container & Tabs (EXACT from Webflow)
   ========================================== */

.resource-container {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
    width: 92vw;
    max-width: none;
    background-color: transparent;
}

.tab-wrap {
    z-index: 0;
    line-height: 1.5;
    position: relative;
    padding-left: 7.29167vw;
}

.resource-tab {
    background-color: var(--neutral--300);
    color: var(--secondary);
    text-align: center;
    border-bottom-left-radius: 1rem;
    width: 16vw;
    padding: 0.5rem 0.25rem !important;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'IvyPresto Headline', serif;
}

.resource-tab:hover {
    color: var(--accent--primary-1);
}

.resource-tab.w--current {
    background-color: var(--white);
    color: var(--color);
    font-weight: 700;
}
.resource-tab.mrc {
    z-index: 10;
    background-color: var(--neutral--200);
    color: var(--secondary);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0;
    width: 18.4896vw;
    display: inline-block;
    position: relative;
    font-family: Lato, sans-serif;
    font-size: 1.25vw;
}

.resource-tab.mrc.w--current {
    z-index: 10;
    background-color: var(--new-blue);
    color: var(--white);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0;
    position: relative;
}

@media screen and (max-width: 991px) {
    .resource-tab.mrc {
        width: 200px;
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .resource-tab.mrc {
        width: 40vw;
        font-size: 16px;
    }
}

.resource-tab.mobile {
    background-color: var(--white);
    display: none;
}

.resource-tab.cme {
    background-color: var(--neutral--300);
    color: var(--secondary);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0;
    width: 18.4896vw;
    transition-property: background-color;
    position: relative;
    left: -24px;
    font-family: Lato, sans-serif;
    font-size: 1.25vw;
}

@media screen and (max-width: 991px) {
    .resource-tab.cme {
        width: 200px;
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .resource-tab.cme {
        width: 40vw;
        font-size: 16px;
    }
}

.resource-tab.mrc:hover,
.resource-tab.cme:hover {
    background-color: var(--light-grade);
    color: var(--white);
}

.resource-tab.cme.w--current {
    background-color: var(--new-blue);
    color: var(--white);
}

/* ==========================================
   Main Content Area
   ========================================== */

.main-content {
    align-items: flex-start;
    max-width: 1920px;
    display: block;
    position: relative;
}

.section-wrap {
    margin-right: 2.3vw;
    padding-left: 7.29167vw;
    padding-right: 7.29167vw;
    position: relative;
}

.content-wrapper {
    margin-top: 4rem;
}

/* ==========================================
   Tabs Content
   ========================================== */

.mrc-tabs_pane {
    display: none;
}

.mrc-tabs_pane.active,
.mrc-tabs_pane.w--tab-active {
    display: block;
}

.mrc-intro {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 1.5fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

@media screen and (max-width: 991px) {
    .mrc-intro p {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .mrc-intro {
        flex-flow: column;
        margin-bottom: 2rem;
        display: flex;
    }
}

.paragraph {
    margin-top: 14px;
}

/* ==========================================
   Filter Section
   ========================================== */

.filter-section {
    position: relative;
    margin-top: 3.2rem;
    margin-bottom: 2rem;
    object-fit: scale-down;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    width: 70%;
    display: flex;
}

@media screen and (max-width: 768px) {
    .filter-section {
        width: 95%;
    }
}

.filter-button {
    background-color: var(--color);
    color: var(--white);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0px;
    width: 100%;
    border-width: 1px;
    border-style: initial;
    border-color: rgb(0, 0, 0);
    border-image: initial;
    transition: background-color 0.2s ease-in;
    cursor: pointer;
    column-gap: 20px;
    row-gap: 20px;
    text-align: left;
    justify-content: center;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 20px;
    display: flex;
}

.filter-button:hover {
    background-color: var(--accent--primary-1);
}

.filter-text {
    font-family: Lato, sans-serif;
    color: var(--white);
    font-size: 1.25vw;
    font-weight: 700;
    line-height: 1.5;

    @media screen and (max-width: 991px) {
        font-size: 18px;
    }
}

.filter-panel {
    display: none;
    background-color: var(--white);
    border-bottom-left-radius: 1rem;
    position: absolute;
    inset: 101% 0% auto;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 10px 1px;
    z-index: 9999;
}

.filter-panel.active {
    display: block;
}

.filter-grid {
    grid-column-gap: 12px;
    grid-row-gap: 18px;
    white-space: nowrap;
    flex-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2vw 4vw;
    display: grid;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-item label {
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-item .checkbox {
    flex: 0 auto;
    width: 20px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 10px;
    line-height: 1.5;
}

.filter-item .checkbox:before {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.filter-item .checkbox:after {
    content: " ";
    clear: both;
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.filter-item .checkbox-label {
    float: none;
    color: var(--secondary);
    white-space: normal;
    object-fit: fill;
    flex-direction: row;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1vw;
    line-height: 1.5;
    display: block;
}

@media screen and (max-width: 991px) {
    .filter-item .checkbox-label {
        font-size: 14px;
    }
}

.filter-actions {
    text-align: center;
    align-self: flex-start;
    margin-bottom: 0;
    padding: 1vw 4vw 2vw;
    line-height: 1.5;
}

.filter-actions .clear-filters {
    color: var(--color);
    margin-bottom: 0;
    font-size: 1vw;
    line-height: 1.5;
    background: transparent;
    cursor: pointer;
}

@media screen and (max-width: 991px) {
    .filter-actions .clear-filters {
        font-size: 14px;
    }
}

/* ==========================================
   Resource Grid
   ========================================== */

.resources-grid {
    min-height: 32vh;
    grid-column-gap: 4rem;
    grid-row-gap: 4rem;
    grid-template-rows: auto auto;
    grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr) 1fr;
    grid-auto-columns: 1fr;
    justify-content: stretch;
    place-items: stretch center;
    display: grid;
}

.mrc-tabs_list-item {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    border: 1px none var(--new-blue);
    border-radius: 0 1rem;
    flex-direction: column;
    grid-template-rows: auto auto;
    grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) 1fr;
    grid-auto-columns: 1fr;
    padding-bottom: 40px;
    display: block;
    position: relative;
    grid-area: span 1 / span 1 / span 1 / span 1;
    place-self: stretch stretch;
}

.mrc-tabs_list-item a {
    text-decoration: none;
}

.mrc-tabs_list-item-image-wrap {
    border-style: solid solid none;
    border-width: 1px;
    border-color: var(--new-blue);
    border-top-right-radius: 1rem;
}

.mrc-tabs_list-item-download {
    border-style: none;
    border-width: 1px 2px 2px;
    border-color: var(--secondary);
    background-color: var(--new-blue);
    text-align: center;
    cursor: pointer;
    border-radius: 0 0 0 1rem;
    padding-top: 1vw;
    padding-bottom: 1vw;
    font-size: 1vw;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .3s
    cubic-bezier(.77, 0, .175, 1);
    position: static;
    inset: auto 0% 0%;
    color: #FFFFFF;
}

@media screen and (max-width: 991px) {
    .mrc-tabs_list-item-download {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .mrc-tabs_list-item-download {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }
}

.mrc-tabs_list-item-download:hover {
    border: 2px none var(--secondary);
    background-color: var(--tertiary);
}

.mrc-tabs_list-item-image-container {
    border: 1px none var(--secondary);
}

.mrc-tabs_list-item-image-container .image-thumb {
    object-fit: fill;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    display: none;
}

.mrc-tabs_list-item-image {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    border-top-right-radius: 1rem;
}

.mrc-tabs_list-item-content {
    border-right: 1px none var(--secondary);
    border-left: 1px none var(--secondary);
    flex-flow: column;
    justify-content: center;
    align-items: stretch;
    min-height: 12vw;
    padding: 1rem;
    display: flex;
}

.mrc-tabs_list-item-content .title-wrap {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mrc-tabs_list-item-content-title {
    color: var(--secondary);
    overflow-wrap: break-word;
    margin: 0;
    font-family: Lato, sans-serif;
    font-size: 1.25vw;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

@media screen and (max-width: 991px) {
    .mrc-tabs_list-item-content-title {
        font-size: 20px;
    }
}


@media screen and (max-width: 480px) {
    .mrc-tabs_list-item-content-title {
        font-size: 6vw;
    }
}

.mrc-tabs_list-item-info-block {
    flex-flow: column;
    flex: 0 auto;
    justify-content: flex-end;
    align-items: stretch;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    position: static;
}

.mrc-tabs_list-item-date {
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

@media screen and (max-width: 480px) {
    .mrc-tabs_list-item-date {
        margin-bottom: 8px;
    }
}

.mrc-tabs_list-item-date-last-modified {
    color: var(--secondary);
    margin-right: .25vw;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.5;
}

.mrc-tabs_list-item-date-content {
    color: var(--neutral--500);
    text-align: left;
    flex: 1;
    padding-left: .25vw;
    font-size: .7rem;
    line-height: 1.5;
}

.mrc-tabs_list-item-tag-wrap {
    object-fit: scale-down;
    flex-direction: column;
    place-content: flex-start center;
    align-items: center;
    display: flex;
}

.mrc-tabs_list-item-tag-wrap-filters {
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    flex-direction: row;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
}

.mrc-tabs_list-item-tag {
    background-color: #e7e7e7;
    border-radius: 4px;
    padding: 6px;
    color: var(--neutral--500);
    text-align: center;
    white-space: nowrap;
    object-fit: scale-down;
    flex-flow: row;
    font-size: .7vw;
    line-height: 1;
    display: block;
}

@media screen and (max-width: 991px) {
    .mrc-tabs_list-item-tag {
        font-size: 1vw;
    }
}

@media screen and (max-width: 480px) {
    .mrc-tabs_list-item-tag {
        font-size: 2.5vw;
        flex: 1;
    }
}

.resource-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resource-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ==========================================
   CME
   ========================================== */
.cme-resources {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    flex-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 4fr;
    grid-auto-columns: 1fr;
    width: 75%;
    padding-bottom: 6rem;
    display: flex;
}

@media screen and (max-width: 991px) {
    .cme-resources {
        width: 95%;
    }
}

.cme-intro {
    width: 70%;
}

@media screen and (max-width: 480px) {
    .cme-intro {
        width: 100%;
    }
}

.cme-intro p {
    margin-bottom: 16px;
}

@media screen and (max-width: 991px) {
    .cme-intro p {
        font-size: 18px;
    }
}

.mrc-tabs_cme-list-item {
    background-color: #f2f2f2;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    height: auto;
    min-height: 7vw;
    display: flex;
    box-shadow: 0 2px 5px #0003;
}

@media screen and (max-width: 991px) {
    .mrc-tabs_cme-list-item {
        min-height: 100px;
    }
}

@media screen and (max-width: 768px) {
    .mrc-tabs_cme-list-item {
        flex-flow: row;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .mrc-tabs_cme-list-item {
        grid-column-gap: .5rem;
        grid-row-gap: .5rem;
        flex-flow: column;
        height: auto;
    }
}

.mrc-tabs_cme-list-item-wrap {
    border-right: 1px solid var(--neutral--500);
    align-self: center;
    width: 12rem;
    padding: .5rem 2rem;
}

@media screen and (max-width: 991px) {
    .mrc-tabs_cme-list-item-wrap {
        width: 8rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .mrc-tabs_cme-list-item-wrap {
        border-right-style: none;
        flex: 0 auto;
        align-self: flex-start;
        width: 10rem;
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .mrc-tabs_cme-list-item-wrap {
        align-self: center;
        display: block;
    }
}

.mrc-tabs_cme-list-item-wrap img {
    max-width: 100%;
    display: inline-block;
}

.mrc-tabs_cme-list-item-content {
    grid-column-gap: 3.5rem;
    grid-row-gap: 3.5rem;
    flex: 1;
    justify-content: flex-start;
    align-self: center;
    align-items: center;
    margin: .5rem 2rem;
    display: flex;
}

@media screen and (max-width: 768px) {
    .mrc-tabs_cme-list-item-content {
        grid-column-gap: 1rem;
        grid-row-gap: 1rem;
        text-align: left;
        flex-flow: column;
        align-items: flex-start;
    }
}

.mrc-tabs_cme-list-item-header {
    color: var(--neutral--600);
    flex: 1;
    margin-bottom: 0;
    font-size: 1.25vw;
    line-height: 1.25;
}

@media screen and (max-width: 991px) {
    .mrc-tabs_cme-list-item-header {
        font-size: 2vw;
    }
}

@media screen and (max-width: 768px) {
    .mrc-tabs_cme-list-item-header {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .mrc-tabs_cme-list-item-header {
        text-align: center;
        font-size: 1.1rem;
    }
}

.mrc-tabs_cme-list-item-link {
    background-color: var(--new-blue);
    text-transform: uppercase;
    border-radius: 0 0 0 1rem;
    align-self: center;
    height: auto;
    padding: .5rem 2rem;
    font-size: 18px;
    font-weight: 700;
    transition-property: background-color;
    color: #fff;
    line-height: inherit;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .mrc-tabs_cme-list-item-link {
        align-self: auto;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .mrc-tabs_cme-list-item-link {
        text-align: center;
        align-self: stretch;
        font-size: 3.5vw;
    }
}

.mrc-tabs_cme-list-item-link:hover {
    background-color: var(--tertiary);
}

/* ==========================================
   Buttons
   ========================================== */

.button,
.w-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #2C3E6E;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.button:hover,
.w-button:hover {
    background-color: #1A203F;
    /* transform: translateY(-2px); */
}


/* ==========================================
   Typography Utilities
   ========================================== */

.heading-style-h2 {
    margin-bottom: 10px;
    color: var(--secondary);
    text-align: center;
    margin-top: 0;
    font-family: Lato, sans-serif;
    font-size: 1.75vw;
    font-weight: 700;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .heading-style-h2 {
       font-size: 22px;
    }
}

.text-size-medium {
    font-size: 1rem;
    line-height: 1.6;
}

.text-size-small {
    font-size: 0.875rem;
    line-height: 1.5;
}

.text-size-tiny {
    font-size: 0.75rem;
    line-height: 1.4;
}

.text-weight-semibold {
    font-weight: 600;
}

/* ==========================================
   Footer – Fixed Desktop Layout
   ========================================== */

.footer {
    background-color: var(--white);
    padding-right: 2.3vw;
}

/* Container */
.footer-container {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(32px, 4vw, 80px);
}

/* MAIN FOOTER ROW */
.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    column-gap: 4vw;
    margin-bottom: 2vw;
}

/* Logo + links group */
.logo-and-menu {
    display: flex;
    gap: 6vw;
}

/* Logo */
.footer-logo {
    font-size: 12px;
}

/* =====================
   LINKS
   ===================== */

.quicklinks_wrapper {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 3vw;
}

.quicklinks {
    display: flex;
    flex-direction: column;
}

.footerlinknav {
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Lato", sans-serif;
}

.footerlinknav:hover {
    text-decoration: underline;
}

/* =====================
   SOCIAL
   ===================== */

.social-bar.desktop {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    white-space: nowrap;
    align-items: center;
    justify-self: end;
}

.social-bar.mobile {
    display: none;
}

.linkedin-social,
.insta-social,
.facebook-social,
.twitter-social,
.thread-social {
    max-height: 28px;
}

/* =====================
   COPYRIGHT
   ===================== */

.footer-copyright {
    font-size: 12px;
    font-weight: 600;
}

/* =====================
   RESPONSIVE
   ===================== */

@media screen and (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .logo-and-menu {
        flex-direction: column;
        gap: 40px;
    }

    .quicklinks_wrapper {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }

    .social-bar.desktop {
        display: none;
    }

    .social-bar.mobile {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .quicklinks_wrapper {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Request MSL Section
   ========================================== */

.req-msl {
    background-color: var(--new-blue);
    color: var(--white);
    text-align: center;
    border-bottom-left-radius: 1rem;
    min-width: 355px;
    padding-top: 1vw;
    padding-bottom: 1vw;
    font-size: 18px;
    font-weight: 700;
    place-self: start center;
}

@media screen and (max-width: 991px) {
    .req-msl {
        min-width: auto;
        width: 95%;
    }
}

.req-msl:hover {
    background-color: var(--tertiary);
    color: var(--white);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media screen and (min-width: 1920px) {
    .header {
        min-height: 400px;
    }

    .navcontainer {
        margin-left: auto;
        margin-right: auto;
        padding: 18px 130px 15px 150px;
    }

    .brand {
        width: 260px;
    }

    .nav {
        grid-column-gap: 16px;
        grid-row-gap: 30px;
    }

    .top-nav-menu {
        grid-column-gap: 50px;
        grid-row-gap: 50px;
    }

    .top-nav_icon {
        width: 18px;
        height: 18px;
    }

    .nav-menu {
        grid-column-gap: 45px;
        grid-row-gap: 45px;
    }

    .nav-link {
        font-size: 26px;
    }

    .header-copy {
        padding: 110px 140px 62px;
        display: flex;
    }

    p {
        font-size: 24px;
    }

   .heading-style-h2 {
        font-size: 36px;
    }

    .challenge_content {
        max-width: 1600px;
    }

    .challenge_disclaimer, .challenge_text-confirm {
        font-size: 24px;
    }
}

@media screen and (max-width: 1200px) {
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media screen and (max-width: 991px) {
    .header {
        border-bottom-right-radius: 3rem;
    }

    .headline {
        display: none;
    }

    .main-nav {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .header-copy {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .content-wrapper {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .tab-wrap {
        padding-left: 5vw;
    }

    .resource-tab.mobile {
        display: inline-block;
    }
}

@media screen and (max-width: 991px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    .headline {
        font-size: 6vw;
    }

    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 479px) {
    .header {
        border-bottom-right-radius: 2rem;
        width: 100%;
    }

    .headline {
        font-size: 7vw;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   WordPress Admin Bar Fix
   ========================================== */

body.admin-bar .challenge_section {
    top: 32px;
    height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .challenge_section {
        top: 46px;
        height: calc(100% - 46px);
    }
}

@media screen and (min-width: 1920px) {
    .nav-link {
        font-size: 26px;
    }

    .top-nav_link {
        font-size: 18px;
    }

    .headline {
        font-size: 64px;
    }

    .header-copy {
        padding: 110px 140px 62px;
        display: flex;
    }

    .main-nav {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================
   Page not found
   ========================================== */

.bottom-404 {
    padding-bottom: 70px;
    padding-top: 50px;
    position: relative;
}

.bottom-404 img {
    display: block;
    height: auto;
    max-width: 100%;
}

@media only screen and (max-width: 767px) {
    .bottom-404 img.desktop {
        display: none;
    }

    .bottom-404 {
        padding-left: 35px;
        padding-right: 35px;
    }

    .bottom-404 .bottom-text {
        margin-bottom: 40px;
    }
}

@media only screen and (min-width: 768px) {
    .bottom-404 .bottom-text {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
}

.bottom-404 .btn {
    background: #2f5495;
    border-bottom-left-radius: 13.3333333333px;
    color: #fff !important;
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    padding: 14.6666666667px 22.6666666667px;
    text-transform: uppercase;
    transition: .3s;
    text-decoration: none;
}

.bottom-404 h2 {
    font-family: ivypresto-headline;
    font-size: 32px;
    letter-spacing: .8666666667px;
    line-height: 1.09;
    font-weight: 300;
    margin: 0;
    margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {
    .bottom-404 img.mobile {
        display: none;
    }
}

@media only screen and (min-width: 992px) {
    .bottom-404 .btn:hover {
        background: #ff8112;
    }
}

@media only screen and (min-width: 1280px) {
    .bottom-404 {
        padding-left: calc(0px + 7.29167vw);
        padding-right: calc(0px + 7.29167vw);
    }

    .bottom-404 h2 {
        font-size: 2.5vw;
    }

    .bottom-404 .btn {
        font-size: .9375vw;
    }
}

@media only screen and (min-width: 1920px) {
    .bottom-404 {
        margin: 0 auto;
        max-width: 1920px;
        padding-left: 140px;
        padding-right: 140px;
    }

    .bottom-404 h2 {
        font-size: 48px;
    }

    .bottom-404 .btn {
        font-size: 18px;
    }
}