.sub-menu__bg {
    display: none;
}

@media screen and (min-width: 1200px) {
    .nav__sub-wrap {
        max-height: calc(100vh - 113px);
        overflow-y: auto;
    }
    .sub-menu {
        padding: 30px 0;
    }
    .sub-menu__item {
        position: relative;
        height: 360px;
        max-height: 360px;
        overflow: hidden;
        background-color: #E8EDED;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }
    .sub-menu__item:hover .sub-menu__bg {
        top: -290px;
        transition: .3s ease-in-out;
    }
    .sub-menu__bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        transition: .3s ease-in-out;
        height: 290px;
    }
    .sub-menu__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .sub-menu__h-wrap {
        height: 70px;
        position: absolute;
        top: 290px;
        display: flex;
        align-items: center;
        padding: 0 20px;
        transition: .3s ease-in-out;
        white-space: normal;
    }
    .sub-menu__a,
    .sub-menu__item {
        padding: 0;
    }
    .sub-menu__a {
        font-size: 20px;
        line-height: 27px;
    }
    .sub-menu__h {
        margin: 0;
        font-weight: 600;
        font-size: 20px;
        line-height: 27px;
        text-transform: none;
    }
    .sub-menu__link-wrap {
        transition: .3s ease-in-out;
        height: 290px;
        overflow-y: auto;
        flex-grow: 1;
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 34px;
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0;
    }
    .sub-menu__item:hover .sub-menu__link-wrap {}
    .sub-menu__item:hover .sub-menu__h-wrap {
        transition: .3s ease-in-out;
        top: 0;
    }
    .sub-menu__item:hover .sub-menu__link-wrap {
        transition: .3s ease-in-out;
        top: 70px;
    }
}