.header__bar {
    background-color: var(--color-cream);
}

.header__bar-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 15px;
}

.header__bar-link {
    display: block;
    padding: 7px 15px;

    color: var(--color-text);
    font-family: var(--primary-font);
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

.header__bar-divider {
    position: relative;
}

.header__bar-divider::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0px;
    width: 1px;
    height: 19px;
    background-color: #CCCCCC;
}

.header {
    width: 100%;
    background-color: var(--color-green);

    position: sticky;
    left: 0;
    top: 0;
    z-index: 3;
}

body:has(#wpadminbar) .header {
    top: 32px;
}

.header--white {
    background-color: var(--color-white);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1415px;
    padding: 15px;
    margin-inline: auto;
}

.alternative-header .header__container {
    justify-content: flex-start;
}

.header__menu-button {
    width: 20px;
    height: 20px;

    color: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;

    transition: color .3s ease;
}

.header__menu-button:hover,
.header__menu-button:focus {
    color: var(--color-olive-green);
}

.header__menu {
    display: flex;
    align-items: center;
    column-gap: 40px;
}

.alternative-header .header__menu {
    padding-right: 20px;
}

.header__menu.left {
    margin-inline: 15px auto;
}

.header__menu.right {
    margin-inline: auto 15px;
}

.header--white .header__menu-link,
.header--white .header__menu-button,
.header--white .header__search {
    color: var(--color-text);
}


.header__search {
    display: flex;
    align-items: center;

    max-width: 200px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 13px;
}

.header__search.show {
    width: 100%;
    border-color: #fff;
}

.header__search:not(.show) > .header__search-input {
    display: none;
}

.header__search-input {
    max-width: 310px;
    width: 100%;
    height: 100%;
    padding-left: 17px;
    background-color: transparent;

    color: #fff;
    font-size: 0.8rem;
}

.header__search-input::placeholder {
    color: #fff;
}

.header__search-submit {
    min-width: 45px;
    height: 100%;

    color: #fff;
    font-size: 16px;
    text-align: center;
}


.header__menu-link {
    color: var(--color-white);
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;

    padding-block: 20px;

    transition: color .3s linear;
}

.header__menu-link:hover, .header__menu-link:focus {
    color: var(--color-olive-green);
}

.alternative-header .header__menu-link {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.header__logo {
    height: 60px;
}

.header__logo > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.alternative-header .header__logo {
    margin-inline: 15px 40px;
}


@media screen and (max-width: 991px) {

    .header__logo {
        height: 45px;
    }

    .header__container {
        justify-content: space-between;
    }

    .header__menu {
        display: none;
    }

    .header__bar-item:not(.header__bar-item--social) {
        display: none;
    }
}