.sidebar-champ::after {
    pointer-events: none;
}

.menu {
    margin: 0;
}

.glory {
    font-family: 'MuseoSansCyrl-700', sans-serif;
    padding-bottom: 3rem;
}

.glory-choose {
    box-shadow: 0px 0px 1.5rem rgba(0, 0, 0, 0.2);
    padding: 1rem;
    margin-bottom: 2rem;
}

.glory-choose li {
    cursor: pointer;
    user-select: none;
    border: 1px solid #ededed;
    transition: .3s all;
    height: 3rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0 0.6rem;
    color: #5A5A5A;
    font-weight: 500;
    font-size: 0.9rem;
}

.glory-choose li:hover {
    color: #1F225B;
}

.glory-choose li:last-child {
    border-top: none;
}

.glory-choose li.active {
    background: #E3F8FF;
    color: #1F225B;
}

.glory-block {
    margin-bottom: 2.5rem;
}

.glory-block:last-child {
    margin-bottom: 0;
}

.glory-block__title {
    color: #11105E;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.glory-block__title::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    background: #11105E;
}

.glory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.glory-tab {
    display: none;
}

.glory-tab.active {
    display: block;
}

.glory-item {
    width: calc(33.333% - 1rem);
    height: 28rem;
    transition: .3s all;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.glory-item:hover {
    box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 30px;
}

.glory-item:hover::after {
    transform: none;
}

.glory-item:hover .glory-item__wrap {
    padding: 1.5rem 1rem;
}

.glory-item:hover .glory-item__text {
    display: block;
}

.glory-item:hover .glory-item__btn {
    display: inline-flex;
}


.glory-item::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    display: block;
    pointer-events: none;
    transform: translateY(100%);
    background: linear-gradient(0deg, rgba(17, 16, 94, 0.5), rgba(17, 16, 94, 0.5));
    z-index: -1;
}

.glory-item__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glory-item__img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.glory-item__wrap {
    background: linear-gradient(360deg, rgb(17, 16, 94) -3.49%, rgba(17, 16, 94, 0) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3.5rem 1rem 1rem;
}

.glory-item__name {
    font-weight: 600;
    font-size: 1.25rem;
    max-width: 14rem;
    margin: 0 auto .8rem;
}

.glory-item__text {
    font-size: 0.8rem;
    height: 10rem;
    display: none;
    font-family: 'MuseoSansCyrl-300';
}

.glory-item__btn {
    height: 1.5rem;
    background: #079EDE;
    color: #fff;
    font-size: 0.7rem;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    width: 6.5rem;
    display: none;
}

.glory-item__btn:hover {
    color: #fff;
}

.glory-single__main {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.glory-single__img {
    width: 47%;
}

.glory-single__img img {
    width: 100%;
    display: block;
}

.glory-single__wrap {
    width: 53%;
}

.glory-single__name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.glory-single__text {
    font-size: 0.8rem;
    font-family: 'MuseoSansCyrl-300';
}

.glory-single__text ul {
    padding-left: 1.5rem;
}

.glory-single__text li {
    display: list-item;
    margin-bottom: 1rem;
    font-weight: 400;
}

.glory-single .gallery-in .gallery-carousel {
    margin-bottom: 1.5rem;
}

.glory-videos__item {
    width: 100%;
    height: 34rem;
}

.glory-videos__item iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.glory-arrows {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

.glory-arrows span {
    width: 3rem;
    height: 3rem;
    color: #fff;
    background: #11105E;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.glory-arrows span:hover {
    background: #079EDE;
}

.docs {
    font-family: 'MuseoSansCyrl-300', sans-serif;
    padding-bottom: 5rem;
}

.docs-choose {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.docs-choose li {
    width: 6rem;
    height: 3rem;
    border-radius: .5rem;
    border: 1px solid #EBEBEB;
    cursor: pointer;
    user-select: none;
    transition: .3s all;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.docs-choose li:hover {
    color: #11105E;
    border-color: #11105E;
}

.docs-choose li.active {
    pointer-events: none;
    border-color: #11105E;
    background: #11105E;
    color: #fff;
}

.docs-list {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.docs-item {
    width: calc(33.3333% - 2.6666rem);
    display: flex;
    position: relative;
    gap: .75rem;
}

.docs-item__ico {
    width: 5rem;
    flex-shrink: 0;
}

.docs-item__ico img {
    width: 100%;
    display: block;
}

.dosc-item__wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.docs-item__name {
    font-size: 0.7rem;
    line-height: 1.1;
}

.docs-item__date {
    font-size: 0.6rem;
    color: #888;
}

.docs-item__link {
    position: absolute; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}


@media (max-width: 767.98px),
(max-width: 1080px) and (orientation: portrait) {
    .glory-item {
        width: calc(50% - .75rem);
    }

    .docs-list {
        gap: 1.5rem;
    }

    .docs-item {
        width: calc(33.3333% - 1rem);
    }
}


@media (max-width: 575.98px) {
    
    .glory {
        padding-bottom: 2rem;
    }

    .glory-block__title::after {
        width: 3rem;
        height: 2px;
    }

    .glory-list {
        gap: 1rem;
    }

    .glory-item {
        width: calc(50% - .5rem);
        height: 22rem;
    }

    .glory-single {
        padding-bottom: 2rem;
    }

    .glory-single__main {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .glory-single__img {
        width: 100%;
    }

    .glory-single__wrap {
        width: 100%;
    }

    .glory-single__name {
        font-size: 2rem;
    }

    .glory-single__text {
        font-size: 1.2rem;
    }

    .glory-videos__item {
        height: 20rem;
    }

    .docs {
        padding-bottom: 3rem;
    }

    .docs-choose {
        gap: .5rem;
    }

    .docs-choose li {
        width: 5rem;
    }

    .docs-list {
        gap: 1rem;
    }

    .docs-item {
        width: calc(50% - .5rem);
    }

    .docs-item__name {
        font-size: .9rem;
    }

    .docs-item__date {
        font-size: 0.8rem;
    }
}

/* Submenu: прижать к низу родителя, а не висеть на фиксированном bottom: -9rem
   (старое поведение ломало выпадашки с меньшим числом пунктов — они уезжали вниз,
   hover срывался на зазоре между пунктом и выпадашкой). */
.menu .submenu-federation {
    top: 100%;
    bottom: auto;
    margin-top: -1rem;
    min-width: 12rem;
}

/* Мост на случай микрозазора между родителем и submenu. */
.menu__item-federation::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.5rem;
    background: transparent;
}