.ehf-header #masthead {
    z-index: 10 !important;
}

header {
    height: 0 !important;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;

    width: 100%;
    padding: 12px 0;

    /* background-color: transparent; */
    background-color: #0A150A;

    transition: background-color 0.3s ease-in;
}

@media (min-width: 768px) {
    .header {
        padding: 24px 0;
    }
}

.home .header {
    background-color: #0A150A !important;
}

/* .header.scrolled {
    background-color: #0a0a0a;
} */

.logged-in .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .logged-in .header {
        top: 46px;
    }
}

header .header > .container {
    max-width: 1387px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
}

.header:has(.header__menu.active) {
    background-color: #0A150A;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (min-width: 992px) {
    .header__left {
        gap: 64px;
    }
}

.header__logo {
    width: 82px;
}

@media (min-width: 768px) {
    .header__logo {
        width: 123px;
    }
}

.header__logo img {
    width: 100%;
}

.header__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 992px) {
    .header__links {
        gap: 32px;
    }
}

.header__links--mobile {
    justify-content: space-between;

    margin-top: 16px;
}

.header__link {
    font-size: 12px;
    line-height: 21px;
    text-transform: uppercase;
}

@media (min-width: 360px) {
    .header__link {
        font-size: 14px;
    }
}

.header__right {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (min-width: 992px) {
    .header__right {
        gap: 64px;
    }
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    width: 32px;
    height: 32px;
    padding: 0;

    border: none;
    background-color: transparent;
    border-radius: 0;

    cursor: pointer;
}

.header__burger:hover .header__burger__line {
    background-color: #3DF571;
}

.header__burger__line {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.header__burger.active .header__burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.active .header__burger__line:nth-child(2) {
    opacity: 0;
}

.header__burger.active .header__burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header__menu {
    position: fixed;
    top: 93px;
    left: 0;

    width: 100%;
    height: calc(100vh - 93px);

    background-color: #0A150A;
    background-image: url('../images/header-menu-pattern.png');
    background-size: contain;
    background-position-y: bottom;
    background-position-x: right;
    background-repeat: no-repeat;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease-in;
}

@media (min-width: 768px) {
    .header__menu {
        top: 96px;

        height: calc(100vh - 96px);

        background-size: 1303px 723px;
        background-position-x: calc(100% + 165px);
    }
}

.logged-in .header__menu {
    top: 125px;

    height: calc(100vh - 125px);
}

@media screen and (max-width: 782px) {
    .logged-in .header__menu {
        top: 139px;

        height: calc(100vh - 139px);
    }
}

.header__menu.active {
    opacity: 1;
    pointer-events: all;

    overflow-y: auto;
}

.header__menu .menu {
    display: flex;
    flex-direction: column;

    max-width: 1440px;
    margin: 0 auto;
    padding: 9px 32px 32px 32px;

    list-style: none;
}

@media (min-width: 768px) {
    .header__menu .menu {
        padding: 32px 32px 64px 32px;
    }
}

.header__menu .menu .current-menu-item a {
    color: #3DF571;
}

.header__menu .menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 0;

    font-size: 28px;
    line-height: 36px;
    letter-spacing: -1%;
}

@media (min-width: 768px) {
    .header__menu .menu a {
        padding: 16px 60px;

        font-size: 32px;
        line-height: 42px;
    }
}

@media (min-width: 1200px) {
    .header__menu .menu a {
        padding: 16px 120px;
    }
}

.header__menu .menu a svg {
    min-width: 32px;
    width: 32px;
    height: 32px;
}

@media (min-width: 768px) {
    .header__menu .menu a svg {
        min-width: 64px;
        width: 64px;
        height: 64px;
    }
}

.header__menu__button {
    display: flex;

    margin: 0px 32px 64px 32px;
}

@media (min-width: 768px) {
    .header__menu__button {
        margin: 0px 152px 64px 152px;
    }
}

