.u-sr {
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    clip: rect(1px, 1px, 1px, 1px)
}

.header {
    --ease: cubic-bezier(.2, .7, .2, 1);
    background: #f5f2f2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    height: 125px;
    margin-bottom: 100px;
    position: sticky;
    top: 0;
    z-index: 1000
}

.header,
.header__inner {
    align-items: center;
    display: flex
}

.header__inner {
    height: 68px;
    justify-content: center;
    position: relative
}

.header__brand {
    left: 50%;
    position: absolute;
    transform: translateX(-50%)
}

.header__logo-img {
    display: block;
    height: 150px;
    width: 150px
}

.header__actions {
    align-items: center;
    display: flex;
    gap: 8px;
    position: absolute;
    right: 16px
}

.header__btn {
    align-items: center;
    background: #eceaea;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    height: 35px;
    justify-content: center;
    padding: 10px 20px;
    transition: all .3s var(--ease);
    width: 53px
}

.header__btn:hover {
    background: #a5a7a7
}

.header__btn:active {
    transform: translateY(1px)
}

.header__btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px
}

.header__btn svg {
    display: block;
    flex: 0 0 auto;
    height: 18px;
    max-width: none;
    width: 18px
}

.header__btn--search svg {
    transform: scale(1.1)
}

.searchbar {
    left: auto;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 130px;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
    transition: transform .28s var(--ease), opacity .2s var(--ease);
    width: 280px
}

.header.is-search-open .searchbar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scaleX(1)
}

.searchbar__form {
    padding: 0 8px
}

.searchbar__box {
    align-items: center;
    background: #a5a7a7;
    border-radius: 999px;
    display: flex;
    gap: 8px;
    padding: 3px 10px 3px 12px;
    overflow: hidden;
}

.searchbar__ico {
    cursor: pointer;
}

.searchbar__ico svg {
    color: #fff;
    display: block;
    height: 14px;
    max-width: none;
    transform: scale(1.5);
    width: 14px
}

.searchbar__input {
    min-width: 0;
    background: transparent;
    border: 0;
    color: #fff;
    flex: 1;
    font-size: 14px;
    height: 30px;
    line-height: 1;
    outline: none;
    padding: 0 6px
}

.searchbar__input::-moz-placeholder {
    color: hsla(0, 0%, 100%, .75)
}

.searchbar__input::placeholder {
    color: hsla(0, 0%, 100%, .75)
}

.searchbar__close {
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
    opacity: .9;
    text-align: center;
    transition: opacity .15s ease, transform .05s ease;
    width: 20px
}

.searchbar__close:hover {
    opacity: 1
}

.searchbar__close:active {
    transform: translateY(1px)
}

.searchbar__input::-webkit-search-cancel-button,
.searchbar__input::-webkit-search-decoration,
.searchbar__input::-webkit-search-results-button,
.searchbar__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.tagsbar {
    --ease: cubic-bezier(.2, .7, .2, 1);
    background: #F5F2F2;
    display: grid;
    grid-template-rows: 0fr;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 125px;
    transition: grid-template-rows .35s var(--ease), opacity .25s var(--ease);
    z-index: 900
}

.tagsbar.is-open {
    grid-template-rows: 1fr;
    opacity: 1
}

.tagsbar__inner {
    min-height: 0;
    padding: 16px 0;
    position: relative
}

.tagsbar__close {
    background: transparent;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 8px;
}

.tagsbar__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    list-style: none;
    margin: 0;
    max-height: 40vh;
    overflow: auto;
    padding: 0
}

.tagsbar__item {
    flex: 0 0 auto
}

.tagsbar__empty {
    margin: 0;
    opacity: .7
}

.chip {
    align-items: center;
    background: #eceaea;
    border-radius: 17px;
    color: #111;
    display: inline-flex;
    font-size: 14px;
    line-height: 1;
    padding: 7px 22px;
    text-decoration: none;
    transition: all .15s ease
}

.chip.is-active,
.chip:hover {
    background: #a5a7a7;
    opacity: .85
}

.chip.is-active:hover {
    background: #eceaea;
    opacity: 1
}

.main {
    min-height: 60vh
}

@media (max-width:1000px) {
    .header__inner {
        justify-content: flex-start;
    }

    .header__brand {
        position: static;
        transform: none;
        margin-right: auto;
        margin-left: 50px;
    }
}

@media (max-width:650px) {
    .header__logo-img {
        width: 125px;
        height: 125px;
    }

    .searchbar {
        position: fixed;
        left: 0;
        right: 0;
        top: 125px;
        width: 100%;
        padding: 10px 16px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        z-index: 1100;
    }



    .header.is-search-open .searchbar {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .searchbar__form {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0;
    }

    .searchbar__box {
        width: 100%;
    }

    .header__btn {
        font-size: 20px;
    }
}

@media (max-width:500px) {
    .header {
        height: 70px;
    }

    .searchbar {
        top: 70px;
    }

    .tagsbar {
        top: 70px ;
    }

    .header__brand {
        margin-left: 0;
    }

    .header__logo-img {
        width: 80px;
        height: 80px;
    }
}