.nav__root,
.nav__root * {
    box-sizing: border-box;
    font-family: 'Roboto', sant-serif;
}

.nav__root {
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 0 14px;
}

.nav__search-and-profile {
    display: flex;
    gap: 20px;
}

.nav__profile-icon,
.nav__search-icon {
    cursor: pointer;
}

.nav__profile-icon path,
.nav__search-icon path {
    transition: .2s;
}

.nav__profile-icon:hover path {
    fill: #A93447;
}

.nav__search-icon:hover path {
    fill: #A93447;
}

.nav__search-input-wrap {
    width: calc(100% - 104px);
    display: none;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: white;
    padding-left: 24px;
}

.nav__search-input {
    outline: none;
    border: none;
    border-right: 1px solid #DDDDDD;
    width: 100%;
    padding-right: 50px;
}

.nav__search-input,
.nav__search-input::placeholder {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #0c1922;
}

.nav__search-input::placeholder {
    opacity: 0.4;
}

.nav__search-input_close-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
}

.nav__search-input_close-icon line {
    opacity: .4;
    transition: .2s;
}

.nav__search-input_close-icon:hover line {
    opacity: 1;
}

.nav__inner {
    width: 100%;
    height: 100%;
    display: flex;
}

.nav__item,
.nav__dropdown_item {
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.1em;
    color: #0c1922;
    display: inline-flex;
    align-items: center;
    transition: color .2s;
    padding: 8px 10px;
    text-decoration: none;
    box-sizing: border-box;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.nav__item {
    height: 100%;
}

.nav__item-wrap:hover .nav__item,
.nav__item--more:hover {
    color: #A93447;
    opacity: 1;
}

.nav__item-dropdown {
    width: 100%;
    position: absolute;
    left: 0;
    top: calc(100% + 1px);
    z-index: 30;
    background: #ffffff;
    box-shadow: 0 8px 10px rgba(0,0,0,0.25);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    box-sizing: border-box;
    padding: 0;
}

.nav__item-dropdown_col {
    padding: 24px;
    border-right: 1px solid #DDDDDD;
    box-sizing: border-box;
}
.nav__item-dropdown_col:last-child { border-right: none; }

.nav__item-dropdown_section-link {
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
    color: #A93447;
    cursor: pointer;
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
}

.nav__item-dropdown_tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 36px;
}
.nav__item-dropdown_tag {
    padding: 5px 0;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    color: #0C1922;
    opacity: .5;
    transition: .2s;
}

.nav__item-dropdown_tag:hover {
    opacity: .7;
}

.nav__item-dropdown_article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 26px;
    box-sizing: border-box;
    border-right: 1px solid #DDDDDD;
}

.nav__item-dropdown_article:last-child {
    border-right: none;
}

.nav__item-dropdown_article-link {
    margin-top: 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 283px;
}

.nav__item-dropdown_article-title {
    font-size: 18px;
    transition: color .2s, opacity .2s;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 24px;
    max-height: calc(24px* 3);
    color: #0c1922;
    margin-bottom: 40px;
}

.nav__item-dropdown_article-link:hover .nav__item-dropdown_article-title {
    color: #A93447;
}

.nav__item-dropdown_article-img {
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.nav__item--more {
    position: relative;
}

.nav__more-dropdown {
    width: 230px;
    position: absolute;
    top: calc(100% + 1px);
    left: -17px;
    background: #FFFFFF;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.25);
    z-index: 40;
    cursor: default;
    box-sizing: border-box;
}

.nav__dropdown_group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #DDDDDD;
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
}
.nav__dropdown_group:last-child { border-bottom: none; }

.nav__dropdown_item:hover { color: #A93447; }

.nav__star-icon {
    width: 16px;
    height: 16px;
    background-image: url("/img/main-header/nav/star.svg");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.d-nav__measure {
    position: absolute;
    visibility: hidden;
    left: -9999px;
    top: -9999px;
    display: flex;
    gap: 8px;
    pointer-events: none;
    white-space: nowrap;
}

.nav__about-editorial-link {
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    color: #0c1922;
    opacity: 0.5;
    text-transform: capitalize;
    padding: 8px;
    transition: opacity .2s;
}

.nav__about-editorial-link:hover {
    opacity: 1;
}

.fade-menu-enter-active,
.fade-menu-leave-active {
    transition: all 0.25s ease;
}

.fade-menu-enter-from,
.fade-menu-leave-to {
    opacity: 0;
    transform: translateY(10px);
}

.fade-menu-enter-to,
.fade-menu-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.nav__hamburger-btn {
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.1em;
    color: #0c1922;
    transition: .2s;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav__hamburger-btn:hover {
    color: #A93447;
}

.nav__hamburger-btn_logo-wrap {
    width: 14px;
    height: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background: none;
    border: none;
    margin-right: 14px;
}

.nav__hamburger-btn_logo-wrap span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0c1922;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.nav__hamburger-btn--open .nav__hamburger-btn_logo-wrap span:nth-child(1) {
    width: 17px;
    transform: translateY(4px) rotate(45deg);
}

.nav__hamburger-btn--open .nav__hamburger-btn_logo-wrap span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger-btn--open .nav__hamburger-btn_logo-wrap span:nth-child(3) {
    width: 17px;
    transform: translateY(-4px) rotate(-45deg);
}

.nav__hamburger-dropdown {
    background: #fff;
    width: 100%;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    z-index: 100;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.25);
}

.nav__hamburger-dropdown .nav__dropdown_group {
    padding: 14px 36px;
}

.nav__dropdown--hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0s linear 0.25s;
}

.nav__dropdown--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0s;
}

@media (max-width: 607px) {
    .nav__root {
        margin-top: 22px;
    }
}