.pre-header {
    background-color: var(--eb-color-2-bis);
    padding: 15px;
}
.pre-header > .eb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pre-header > .eb-content > * {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

header {
    padding: 25px 0;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
    position: relative;
    position: sticky;
    top: 0;
    z-index: 999;
}

header .eb-content {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}

.header__logo-link {
    transition: transform .3s ease-in-out;
}
.header__logo-link:hover {
    transform: scale(1.03);
}

.header__titles {
    display: flex;
    gap: 0px;
    flex-direction: column;
}

.header__title {
    font-size: 27px;
    color: var(--eb-color-2);
}

.header_subtitle {
    color: var(--eb-color-1);
}

.header__right {
    display: flex;
    gap: 30px;
}

.menu-menu-principal-container {
    display: flex;
    align-items: center;
}
ul.header__menu {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
ul.header__menu > li {
    list-style: none;
}
ul.header__menu > li > a {
    color: #000;
    text-decoration: none;
    position: relative;
    font-size: 20px;
    font-weight: 500;
}
ul.header__menu > li.current-menu-item > a {
    font-weight: bold;
}
ul.header__menu > li > a::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 50%;
    background-color: rgba(var(--eb-color-1-rgb), .4);
    z-index: -1;
    transition: width .2s ease-out, height .2s ease-out;
}
ul.header__menu > li > a:hover::before,
ul.header__menu > li.current-menu-item > a::before {
    width: 90%;
    height: 100%;
}

.header__btn-menu-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    background-color: rgba(0,0,0,0.05);
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    width: 50px;
}
.header__btn-menu-mobile + input[type="checkbox"] {
    display: none;
}

.header__right .header__btn-menu-mobile {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
}
body.admin-bar .header__btn-menu-mobile {
    top: calc(46px + 25px);
}

@media screen and (max-width: 767px) {
    header {
        padding: 15px 0;
    }
    .pre-header > .eb-content {
        flex-direction: column;
    }
    .header__right {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--eb-color-4);
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        padding: 25px;
        transition: left .2s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .header__btn-menu-mobile + input[type="checkbox"]:checked + .header__right {
        left: 0;
    }
    body.admin-bar .header__right {
        padding-top: calc(46px + 25px);
    }
    .header__btn-menu-mobile + input[type="checkbox"]:checked + .header__right,
    .header__btn-menu-mobile,
    .header__right .header__btn-menu-mobile {
        display: flex;
    }
    ul.header__menu {
        flex-direction: column;
    }
}