/* Страница общежитий: длинные названия документов не должны обрезаться. */
.dormitories-docs__list.docs .docs-h,
.dormitories-docs__list.docs .docs-title {
    height: auto;
    min-height: 0;
    overflow: visible;
}

@media screen and (max-width: 700px) {
    .applicants-page .applicants-places {
        padding-bottom: 0;
    }

    .applicants-page .applicants-places__title {
        margin-bottom: 40px;
    }

    .applicants-page .applicants-places__title .button {
        margin-top: 0;
    }

    .applicants-page .applicants-places__levels {
        --tabs-track-size: 4px;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 20px;
        height: 151px;
        margin-bottom: 40px;
        border-bottom: 0;
    }

    .applicants-page .applicants-places__levels button {
        width: 100%;
        height: 37px;
        min-height: 37px;
        margin-bottom: 0;
        padding: 10px 0 6px;
        border-bottom: var(--tabs-track-size) solid rgba(114, 126, 196, .15);
        color: #333C43;
        opacity: .6;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-page .applicants-places__levels button.is-active {
        padding-bottom: 4px;
        border-bottom-width: 6px;
        border-bottom-color: var(--blue);
        color: #333C43;
        opacity: 1;
    }

    .applicants-page .applicants-places .applicants-places__filter {
        margin-top: 0;
        margin-bottom: 40px;
    }

    .applicants-page .applicants-places__row--head {
        grid-template-columns: 62px minmax(0, 1fr) 74px;
        height: 78px;
        min-height: 78px;
        padding: 20px 10px;
    }

    .applicants-page .applicants-places__row--group {
        height: 59px;
        min-height: 59px;
        padding: 20px 10px;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto auto;
        min-height: 0;
        padding: 40px 10px 48px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 10px;
        text-align: left;
        font-size: 25px;
        line-height: 27.5px;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > .applicants-places__budget {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 40px;
    }

    .applicants-page .applicants-places__budget::before {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-page .applicants-places__budget span {
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-page .applicants-places__budget span::before {
        margin-bottom: 10px;
        font-size: 10px;
        line-height: 11px;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: 40px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-page .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(5)::before {
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-page .applicants-docs__list {
        gap: 10px !important;
    }

    .applicants-page .applicants-docs__list .docs-item {
        height: 44px !important;
        min-height: 44px !important;
        padding: 10px 20px !important;
    }

    .applicants-page .applicants-docs__list .docs-h {
        gap: 20px !important;
    }

    .applicants-page .applicants-docs__list .docs-h img {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }

    .applicants-page .applicants-docs__list .docs-title {
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis;
        font-size: 14px !important;
        line-height: 18.2px !important;
    }

    .applicants-page .applicants-docs__list .docs-b {
        display: none !important;
    }
}

@media screen and (max-width: 1180px) {
    .home-page [data-gutenberg-block="home-practice"] .faq {
        display: block;
        min-height: 0;
        height: auto;
        margin-top: 40px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq > .faq-img {
        display: none;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq > .item:last-child {
        width: 100%;
        flex: 0 0 100%;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 {
        display: grid;
        grid-template-columns: minmax(0, 240px) minmax(0, 1fr) 32px;
        gap: 24px;
        padding: 30px 0;
        align-items: start;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 > .item {
        width: auto;
        min-width: 0;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq-title {
        position: static;
        min-height: 100%;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq-title h4 {
        margin: 0;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq-title .button {
        position: static;
        align-self: flex-start;
        margin-top: 24px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 > .item:nth-child(3) {
        justify-self: end;
    }
}

@media screen and (max-width: 700px) {
    .home-page [data-gutenberg-block="home-practice"] > .items.c-2-m:first-child {
        display: block;
    }

    .home-page [data-gutenberg-block="home-practice"] > .items.c-2-m:first-child > .item {
        width: 100%;
    }

    .home-page [data-gutenberg-block="home-practice"] > .items.c-2-m:first-child h2 {
        margin-top: 30px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 0 16px;
        padding: 24px 0;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq-title {
        display: contents;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq-title h4 {
        grid-column: 1;
        grid-row: 1;
        font-size: 18px;
        line-height: 20px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 > .item:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 20px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 > .item:nth-child(2) p {
        max-width: 100%;
        font-size: 14px;
        line-height: 17px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq-title .button {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
        margin-top: 20px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3 > .item:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.hidden .faq-title h4 {
        opacity: .5;
    }
}

@media screen and (max-width: 1180px) {
    .shop.items.c-4 > .item {
        width: calc((100% - 20px) / 2);
        min-height: 520px;
        aspect-ratio: auto;
    }

    .shop-single > .items.c-2-m {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .shop-single > .items.c-2-m > .item {
        width: 100%;
    }

    .shop-single .shop-item-img {
        aspect-ratio: 640 / 408;
    }

    .shop-single .single-right {
        min-height: 136px;
    }

    .single-shop-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 700px) {
    .fullhead--shop {
        height: 450px;
    }

    .fullhead--shop,
    .shop-single-hero,
    .checkout-cover {
        margin-bottom: 40px;
    }

    .fullhead--shop .items,
    .shop-single-hero .items {
        margin-bottom: 20px;
    }

    .fullhead--shop h1,
    .shop-single-hero h1 {
        max-width: 300px;
        font-size: 25px;
        line-height: 27.5px;
        text-transform: none;
    }

    .shop-hero__cart,
    .shop-single-hero__cart {
        right: auto;
        bottom: 30px;
        left: 0;
        width: 120px;
        height: 120px;
    }

    .shop-hero__cart img,
    .shop-single-hero__cart img {
        width: 44px;
        height: 44px;
    }

    .shop.items.c-4 > .item {
        width: 100%;
        min-height: 495px;
    }

    .shop .item .shop-item-bottom {
        align-items: center;
    }

    .shop-request-dialog__panel {
        min-height: 280px;
        padding: 54px 22px 36px;
    }

    .shop-request-dialog__panel h2 {
        margin-bottom: 28px;
        font-size: 22px;
        line-height: 25px;
    }

    .shop-request-dialog__panel p {
        font-size: 14px;
        line-height: 17px;
    }

    .shop-single .shop-item-img {
        aspect-ratio: 1 / 1;
    }

    .shop-single .single-right {
        min-height: 225px;
    }

    .shop-single .item-bottom {
        width: 100%;
    }

    .shop-single__price {
        align-self: flex-end;
    }

    .single-shop-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .shop-single-back {
        min-height: 233px;
    }
}

@media screen and (max-width: 1200px) {
    .faculty-detail-hero,
    .faculty-detail-hero .wrapper {
        min-height: 657px;
    }

    .faculty-detail-hero__label {
        bottom: 331px;
    }

    .faculty-detail-hero__head {
        left: 0;
        bottom: 60px;
    }

    .faculty-detail-hero h1 {
        max-width: 640px;
        font-size: 70px;
        line-height: 77px;
    }

    .faculty-detail-lead,
    .faculty-detail-section-head,
    .faculty-detail-history__head,
    .faculty-detail-history__list article {
        grid-template-columns: 1fr;
    }

    .faculty-detail-lead {
        gap: 20px;
    }

    .department-detail-hero .faculty-detail-hero__head {
        left: 0;
    }

    .department-detail-hero h1 {
        max-width: 980px;
        font-size: 40px;
        line-height: 44px;
    }

    .department-detail-about__body {
        width: auto;
        margin: 40px 0 0;
    }

    .faculty-detail-about__text {
        width: auto;
        margin: 50px 0 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faculty-detail-section-head h2 {
        margin-top: 20px;
    }

    .faculty-detail-deanery__contacts {
        width: 280px;
        margin: 32px 0 0;
    }

    .faculty-detail-person-card {
        flex-basis: 280px;
    }

    .faculty-detail-history__head {
        gap: 20px;
    }

    .faculty-detail-history__list article {
        gap: 10px;
    }
}

@media screen and (max-width: 700px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .faculty-detail-page .wrapper--wide {
        width: calc(100% - (var(--container-mobile-x) * 2));
        max-width: none;
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding-left: 0;
        padding-right: 0;
    }

    .faculty-detail-hero,
    .faculty-detail-hero .wrapper {
        min-height: 400px;
    }

    .faculty-detail-hero {
        margin-bottom: 40px;
    }

    .faculty-detail-hero__label {
        bottom: 144px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .faculty-detail-hero__head {
        bottom: 30px;
    }

    .faculty-detail-hero h1 {
        max-width: 300px;
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .faculty-detail-about {
        padding-top: 0;
        margin-bottom: 120px;
    }

    .faculty-detail-lead {
        gap: 20px;
    }

    .faculty-detail-lead span {
        width: 10px;
        height: 10px;
        margin-top: 8px;
    }

    .faculty-detail-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .faculty-detail-about__text {
        margin-top: 40px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .faculty-detail-about__text .button {
        justify-self: center;
        margin-top: 0;
    }

    .faculty-detail-deanery {
        padding-top: 0;
        margin-bottom: 120px;
    }

    .faculty-detail-section-head h2 {
        max-width: 300px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .faculty-detail-deanery__contacts {
        width: 100%;
        margin-top: 30px;
    }

    .faculty-detail-slider {
        margin-top: 40px;
    }

    .faculty-detail-deanery__track {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
        cursor: auto;
        user-select: auto;
    }

    .faculty-detail-person-card {
        width: 100%;
        min-width: 0;
        flex: none;
        min-height: 300px;
        height: 300px;
        padding: 20px;
        scroll-snap-align: none;
    }

    .faculty-detail-person-card a {
        margin-top: 24px;
    }

    .faculty-detail-history {
        padding-top: 0;
        margin-bottom: 120px;
    }

    .faculty-detail-history__head p {
        font-size: 20px;
        line-height: 22px;
    }

    .faculty-detail-history__list article {
        min-height: 55px;
        padding: 0 0 18px;
        gap: 6px;
    }

    .faculty-detail-history__list h3 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .faculty-detail-actions {
        padding: 0;
        margin-bottom: 120px;
    }

    .faculty-detail-actions .wrapper {
        display: grid;
        justify-content: center;
        gap: 24px;
    }

    .department-detail-hero .faculty-detail-hero__head {
        left: 0;
    }

    .department-detail-hero h1 {
        max-width: 300px;
        font-size: 25px;
        line-height: 27.5px;
        text-transform: uppercase;
    }

    .department-detail-hero__mark {
        width: 88px;
        height: 88px;
        left: 10px;
        top: 0;
    }

    .department-detail-about__body {
        width: auto;
        margin: 40px 0 0;
    }

    .department-detail-staff .faculty-detail-deanery__track {
        display: grid;
        gap: 24px;
        overflow: visible;
        padding-bottom: 0;
    }

    .department-detail-staff .faculty-detail-person-card {
        width: 100%;
        max-width: none;
        flex: none;
        min-height: 482px;
        padding: 30px 30px 0;
    }

    .department-detail-staff .faculty-detail-person-card::before {
        height: 410px;
    }

    .department-detail-staff .faculty-detail-person-card__head,
    .department-detail-staff .faculty-detail-person-card dl {
        min-width: 0;
    }

    .department-detail-staff .faculty-detail-person-card h3,
    .department-detail-staff .faculty-detail-person-card p,
    .department-detail-staff .faculty-detail-person-card dd {
        overflow-wrap: anywhere;
    }

    .department-detail-staff .faculty-detail-person-card a {
        position: absolute;
        right: 30px;
        top: 434px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
    }

    .department-detail-staff .faculty-detail-person-card a .button-icon {
        --button-icon-width: 12px;
        --button-icon-height: 8px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    .vet-class-detail-cover .prep-hero__content {
        padding-top: 0;
    }

    .vet-class-detail-cover h1 {
        max-width: 640px;
        font-size: 70px;
        line-height: 77px;
        text-align: left;
    }

    .vet-class-detail-intro {
        padding-top: 70px;
    }

    .vet-class-detail-lead {
        grid-template-columns: 61px minmax(0, 555px);
        gap: 24px;
    }

    .vet-class-detail-lead h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .vet-class-detail-schedule {
        padding-top: 120px;
    }

    .vet-class-detail-section-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        max-width: 640px;
    }

    .vet-class-detail-section-head .button {
        justify-self: start;
    }

    .vet-class-detail-events {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .vet-class-event-card {
        min-height: 480px;
    }

    .vet-class-event-card ul {
        margin-top: 24px;
    }

    .vet-class-detail-lecturers {
        padding: 120px 0 200px;
    }

    .vet-class-lecturer-grid {
        grid-template-columns: repeat(2, minmax(0, 280px));
        gap: 20px;
    }

    .vet-class-lecturer-card__bio {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 600px) {
    .vet-class-detail-cover {
        min-height: 657px;
    }

    .vet-class-detail-cover .prep-hero__content {
        --prep-hero-content-x-mobile: 10px;
        padding-top: 0;
    }

    .vet-class-detail-cover h1 {
        max-width: 300px;
        color: var(--blue-light-2);
        font-size: 40px;
        line-height: 44px;
        text-align: left;
        text-transform: uppercase;
    }

    .vet-class-detail-intro {
        padding-top: 40px;
    }

    .vet-class-detail-lead {
        display: block;
    }

    .vet-class-detail-lead .decor-dot--blue {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-bottom: 10px;
    }

    .vet-class-detail-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .vet-class-detail-schedule {
        padding-top: 80px;
    }

    .vet-class-detail-section-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .vet-class-detail-section-head h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .vet-class-detail-section-head .button {
        justify-self: start;
    }

    .vet-class-detail-events {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .vet-class-event-card {
        position: relative;
        min-height: 220px;
        height: 220px;
        padding: 24px 10px 58px;
    }

    .vet-class-event-card__weekday,
    .vet-class-event-card__place,
    .vet-class-event-card__prices,
    .vet-class-event-card > p {
        display: none;
    }

    .vet-class-event-card__date {
        margin-top: 0;
    }

    .vet-class-event-card ul {
        margin-top: 24px;
        max-height: 51px;
        overflow: hidden;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .vet-class-event-card__more {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: 20px;
        margin-top: 18px;
        min-height: 33px;
        font-size: 16px;
        line-height: 20.8px;
        transform: translateX(-50%);
    }

    .vet-class-event-card__date {
        gap: 8px;
    }

    .vet-class-event-card__date span {
        font-size: 40px;
        line-height: 44px;
    }

    .vet-class-event-card__date small {
        font-size: 16px;
        line-height: 18px;
    }

    .vet-class-event-card__date time {
        font-size: 20px;
        line-height: 22px;
    }

    .vet-class-detail-lecturers {
        padding: 80px 0 120px;
    }

    .vet-class-lecturer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .vet-class-lecturer-card,
    .vet-class-lecturer-card__bio {
        min-height: 300px;
    }

    .vet-class-lecturer-card__bio {
        padding: 20px;
    }

    .vet-class-lecturer-card h3 {
        font-size: 18px;
        line-height: 20px;
    }

    .vet-class-detail-back {
        margin-top: 80px;
        max-width: 300px;
        font-size: 11px;
        line-height: 14px;
        white-space: nowrap;
    }
}

@media screen and (min-width: 701px) and (max-width: 1100px) {
    .international-veterinary-bulletin-hero h1 {
        font-size: 50px !important;
        line-height: 55px !important;
    }
}

@media screen and (max-width: 700px) {
    .international-veterinary-bulletin-hero h1 {
        font-size: 25px !important;
        line-height: 27.5px !important;
    }
}

@media screen and (max-width: 1100px) {
    .veterinary-regulation-hero {
        --prep-hero-content-top-tablet: 360px;
    }

    .scientific-journals-lead {
        grid-template-columns: 65px minmax(0, 1fr);
    }

    .scientific-journals-lead h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .scientific-journals-about__grid {
        grid-template-columns: 1fr;
        margin-top: 70px;
    }

    .scientific-journals-about__media {
        min-height: 176px;
    }

    .scientific-journals-about__media img {
        width: 176px;
        height: 176px;
    }

    .scientific-journals-about__content {
        margin-top: 40px;
    }

    .scientific-journals-about__intro {
        max-width: 640px;
    }

    .scientific-journals-about__text {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        margin-top: 60px;
    }

    .scientific-journals-contacts {
        margin-top: 120px;
        padding: 70px 0 120px;
    }

    .scientific-journals-contact {
        margin-top: 70px;
    }

    .scientific-journals-contact + .scientific-journals-contact {
        margin-top: 80px;
    }

    .scientific-journals-contact dl {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scientific-journals-files .wrapper {
        grid-template-columns: 1fr;
    }

    .scientific-journals-files h2 {
        grid-column: 1;
    }

    .scientific-journals-files__list.docs {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: none;
    }

    .scientific-journals-files__list.docs .docs-item {
        width: 100%;
    }

    .scientific-journals-files--issues {
        padding-top: 120px;
        padding-bottom: 160px;
    }

    .international-veterinary-bulletin-issues {
        padding-bottom: 40px;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px;
        align-items: start;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__media {
        min-height: 0;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__media img {
        width: 100%;
        height: auto;
        aspect-ratio: 397 / 550;
        object-fit: cover;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__content {
        display: contents;
        margin-top: 0;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__intro {
        grid-column: 2;
        max-width: none;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__text {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 30px;
        margin-top: 0;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__actions {
        grid-column: 1;
        margin-top: 0;
    }

    .international-veterinary-bulletin-hero h1 {
        font-size: 50px !important;
        line-height: 55px !important;
    }

    .international-veterinary-bulletin-detail-row {
        grid-template-columns: 65px minmax(0, 1fr);
    }

    .international-veterinary-bulletin-detail-row__dot {
        margin-left: 0;
    }

    .international-veterinary-bulletin-contacts .wrapper {
        grid-template-columns: 65px minmax(0, 1fr);
    }

    .international-veterinary-bulletin-contacts {
        margin-top: 0;
    }

    .international-veterinary-bulletin-contacts .prep-hero__label {
        grid-column: 1;
    }

    .international-veterinary-bulletin-contacts h2,
    .international-veterinary-bulletin-contacts .scientific-journals-contact {
        grid-column: 2;
    }
}

@media screen and (max-width: 700px) {
    .scientific-journals-page .wrapper--mobile-compact {
        width: calc(100% - 20px);
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }

    .scientific-journals-hero {
        min-height: 400px;
    }

    .scientific-journals-hero .prep-hero__content {
        --prep-hero-content-x-mobile: 0;
        --prep-hero-content-top-mobile: 244px;
    }

    .scientific-journals-hero h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .scientific-journals-about {
        padding-top: 78px;
    }

    .scientific-journals-lead {
        display: block;
    }

    .scientific-journals-lead__dot {
        width: 10px;
        height: 10px;
        margin: 0 0 30px;
    }

    .scientific-journals-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-journals-about__grid {
        margin-top: 40px;
    }

    .scientific-journals-about__media {
        min-height: auto;
    }

    .scientific-journals-about__media img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .scientific-journals-about__content {
        margin-top: 40px;
    }

    .scientific-journals-about__intro {
        font-size: 16px;
        line-height: 19.2px;
        font-weight: var(--font-weight-regular, 400);
    }

    .scientific-journals-about__text {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-journals-about__text p:nth-child(2n) {
        margin-top: 0;
    }

    .scientific-journals-about__actions {
        margin-top: 40px;
    }

    .scientific-journals-about__actions .button {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        line-height: 20.8px;
    }

    .scientific-journals-button__long {
        display: none;
    }

    .scientific-journals-button__short {
        display: inline;
    }

    .scientific-journals-contacts {
        margin-top: 80px;
        padding: 60px 0 80px;
    }

    .scientific-journals-contacts h2,
    .scientific-journals-files h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .scientific-journals-contact {
        margin-top: 40px;
    }

    .scientific-journals-contact + .scientific-journals-contact {
        margin-top: 50px;
    }

    .scientific-journals-contact h3 {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-journals-contact dt {
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-journals-contact dd {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-journals-files {
        padding-top: 80px;
    }

    .scientific-journals-files__list.docs {
        max-width: none;
        margin-top: 40px;
    }

    .scientific-journals-files__list.docs .docs-item {
        width: 100%;
    }

    .scientific-journals-files--issues {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .international-veterinary-bulletin-issues {
        padding-bottom: 20px;
    }

    .international-veterinary-bulletin-hero {
        min-height: 320px;
        background-position: center top;
    }

    .international-veterinary-bulletin-hero .prep-hero__content {
        --prep-hero-content-top-mobile: 192px;
    }

    .international-veterinary-bulletin-hero h1 {
        font-size: 25px !important;
        line-height: 27.5px !important;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__media img {
        width: 100%;
        height: auto;
        aspect-ratio: 397 / 550;
        object-fit: cover;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__content {
        display: block;
        margin-top: 40px;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__intro {
        grid-column: auto;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__text {
        grid-column: auto;
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__actions {
        grid-column: auto;
        justify-items: start;
        margin-top: 40px;
    }

    .international-veterinary-bulletin-about .scientific-journals-about__actions .button {
        width: auto;
        min-width: 118px;
        justify-content: flex-start;
        padding-right: 14px;
        padding-left: 14px;
        font-size: 10px;
        line-height: 13px;
    }

    .international-veterinary-bulletin-details {
        margin-top: 70px;
    }

    .international-veterinary-bulletin-detail-row {
        grid-template-columns: 28px minmax(0, 1fr);
        min-height: 82px;
        border-color: rgba(33, 47, 138, .18);
    }

    .international-veterinary-bulletin-detail-row__dot {
        width: 10px;
        height: 10px;
    }

    .international-veterinary-bulletin-detail-row__question {
        min-height: 82px;
        grid-template-columns: minmax(0, 1fr) 25px;
    }

    .international-veterinary-bulletin-detail-row__question span {
        font-size: 12px;
        line-height: 13.2px;
    }

    .international-veterinary-bulletin-detail-row__question img {
        width: 15px;
        height: 15px;
    }

    .international-veterinary-bulletin-detail-row__answer p {
        margin-bottom: 24px;
        font-size: 12px;
        line-height: 14.4px;
    }

    .international-veterinary-bulletin-page .scientific-journals-files h2 {
        color: var(--blue);
        font-size: 16px;
        line-height: 19.2px;
    }

    .international-veterinary-bulletin-contacts {
        margin-top: 0;
        padding-bottom: 60px;
    }

    .international-veterinary-bulletin-contacts .wrapper {
        display: block;
    }

    .international-veterinary-bulletin-contacts .prep-hero__label {
        margin-bottom: 40px;
        color: rgba(33, 47, 138, .4);
    }

    .international-veterinary-bulletin-contacts .scientific-journals-contact {
        max-width: 220px;
        margin-top: 20px;
    }

    .international-veterinary-bulletin-contacts .scientific-journals-contact dt {
        color: rgba(33, 47, 138, .45);
        font-size: 10px;
        line-height: 12px;
    }

    .international-veterinary-bulletin-contacts .scientific-journals-contact dd {
        font-size: 10px;
        line-height: 12px;
    }
}

@media screen and (max-width: 1100px) {
    .scientific-school__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        width: calc(100% - 120px);
    }

    .scientific-school__num {
        top: -20px;
        right: 0;
    }

    .scientific-school__name h2 {
        max-width: 640px;
    }

    .scientific-school__toggle.faq-list__question {
        margin-top: 26px;
    }

    .scientific-laboratories-nav {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .scientific-lab-section__grid,
    .scientific-contacts {
        display: block;
    }

    .scientific-lab-section__head {
        margin-bottom: 40px;
    }

    .scientific-lab-section__head h2 {
        max-width: 640px;
    }

    .scientific-lab-section__copy,
    .scientific-contacts__cards {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .scientific-contacts__side {
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 700px) {
    .scientific-schools-hero {
        min-height: 400px;
        background-position: center center;
    }

    .scientific-schools-hero .scientific-schools-hero__content {
        --prep-hero-content-x-mobile: 10px;
        --prep-hero-content-bottom-mobile: 30px;
    }

    .scientific-schools-hero .prep-hero__label {
        font-size: 16px;
        line-height: 18px;
    }

    .scientific-schools-hero h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .scientific-schools-intro {
        padding: 70px 0 70px;
    }

    .scientific-schools-intro .section-lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scientific-schools-intro h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-schools-intro__text {
        margin: 24px 0 0;
        font-size: 16px;
        line-height: 19.2px;
    }

    .scientific-school {
        padding: 60px 0;
    }

    .scientific-school__inner {
        width: calc(100% - 20px);
        gap: 24px;
    }

    .scientific-school__num {
        top: -11px;
        right: 0;
        font-size: 120px;
        line-height: 96px;
    }

    .scientific-school__name h2 {
        max-width: 300px;
        font-size: 25px;
        line-height: 28px;
    }

    .scientific-school__field + .scientific-school__field {
        margin-top: 26px;
    }

    .scientific-school__field h3 {
        margin-bottom: 8px;
        font-size: 15px;
        line-height: 17px;
    }

    .scientific-school__field p {
        font-size: 12px;
        line-height: 14px;
    }

    .scientific-school__toggle.faq-list__question {
        min-height: 58px;
        margin-top: 22px;
        padding: 12px 0;
        font-size: 12px;
        line-height: 17px;
    }

    .scientific-school__arrow {
        width: 24px;
        height: 24px;
        margin-left: auto;
    }

    .scientific-school__result.faq-list__answer {
        font-size: 14px;
        line-height: 18px;
    }

    .scientific-laboratories-hero {
        min-height: 400px;
    }

    .scientific-laboratories-intro {
        padding-top: 40px;
    }

    .scientific-laboratories-intro .section-lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scientific-laboratories-intro h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-laboratories-nav {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 80px;
    }

    .scientific-lab-section {
        padding-top: 80px;
    }

    .scientific-lab-section + .scientific-lab-section {
        padding-top: 100px;
    }

    .scientific-lab-section__head {
        min-height: 140px;
        margin-bottom: 40px;
    }

    .scientific-lab-section__num {
        font-size: 160px;
        line-height: 130px;
        opacity: .42;
    }

    .scientific-lab-section__head h2 {
        position: static;
        max-width: 300px;
        margin-top: -45px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .scientific-lab-section__copy,
    .scientific-lab-section__panels,
    .scientific-contacts__cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scientific-lab-section__copy {
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-info-block {
        min-height: 0;
        padding: 30px 10px;
    }

    .scientific-info-block h3,
    .scientific-contacts__side h3 {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-info-block__text {
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-info-block--text-offset-168 .scientific-info-block__text,
    .scientific-info-block--text-offset-170 .scientific-info-block__text,
    .scientific-info-block--text-offset-192 .scientific-info-block__text,
    .scientific-info-block--text-offset-324 .scientific-info-block__text {
        margin-top: 40px;
    }

    .scientific-info-block__text--two-paragraphs {
        display: block;
    }

    .scientific-info-block__text--two-paragraphs p + p {
        margin-top: 20px;
    }

    .scientific-person-card.contact-card {
        height: 300px;
        min-height: 300px;
        padding: 20px;
    }

    .scientific-contacts__side h3 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .scientific-contacts dt,
    .scientific-contacts dd {
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-person-card .contact-card__head h3,
    .scientific-person-card .contact-card__head p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-person-card .contact-card__head h3 {
        font-weight: 500;
    }

    .scientific-person-card dt,
    .scientific-person-card dd {
        font-size: 10px;
        line-height: 11px;
    }

}

@media screen and (max-width: 900px) {
    .student-squads-hero {
        min-height: 657px;
    }

    .student-squads-hero .wrapper {
        min-height: 657px;
    }

    .student-squads-intro {
        padding: 70px 0 120px;
    }

    .student-council-page .student-squads-intro {
        padding: 50px 0 54px;
    }

    .student-squads-lead {
        grid-template-columns: 37px minmax(0, 1fr);
        gap: 48px;
    }

    .student-squads-lead h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .student-squads-slider {
        padding: 60px 0;
    }

    .student-council-about {
        padding: 54px 0;
    }

    .student-squads-slide__head {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
        margin-bottom: 60px;
    }

    .student-council-about .student-squads-slide__head {
        margin-bottom: 34px;
    }

    .student-squads-slide__title {
        min-height: 125px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 20px;
    }

    .student-council-about .student-squads-slide__title {
        min-height: 143px;
        display: flex;
    }

    .student-squads-slide__social {
        grid-column: 1;
    }

    .student-squads-slide__arrows {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: start;
        margin-top: 0;
    }

    .student-squads-slide__text {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-squads-slide__gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .student-squads-slide__image-main {
        height: 500px;
    }

    .student-squads-slide__gallery > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .student-squads-slide__gallery > div img {
        height: 279px;
    }

    .student-council-about .student-squads-slide__gallery > div img:last-child {
        height: 328px;
    }

    .student-council-mission {
        padding-top: 54px;
        padding-bottom: 60px;
    }

    .student-squads-history {
        padding: 120px 0 180px;
    }

    .student-squads-history__intro,
    .student-squads-history__block h2,
    .student-squads-years article {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .student-squads-history__intro {
        margin-bottom: 100px;
    }

    .student-squads-years article {
        grid-template-columns: minmax(0, 310px) minmax(0, 310px);
        gap: 20px;
    }

    .student-council-goals article {
        grid-template-columns: 85px minmax(0, 1fr);
        padding: 26px 0;
    }

    .student-council-goals .decor-dot--blue {
        margin-left: 0;
    }

    .student-squads-actions {
        margin-top: 120px;
    }

    .young-scientists-council-hero {
        min-height: 657px;
    }

    .young-scientists-council-intro {
        padding: 70px 0;
    }

    .young-scientists-council-about {
        padding-bottom: 60px;
    }

    .young-scientists-council-about__grid {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 40px;
    }

    .young-scientists-council-about__media img {
        width: 270px;
        height: 270px;
    }

    .young-scientists-council-about__content {
        display: contents;
    }

    .young-scientists-council-about__lead {
        grid-column: 2;
        max-width: 640px;
    }

    .young-scientists-council-about__columns {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .young-scientists-council-gallery {
        padding-bottom: 80px;
    }

    .young-scientists-council-contacts .educational-work-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .young-scientists-council-contacts .educational-work-contacts__aside {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .young-scientists-council-docs.educational-work-docs {
        padding: 30px 0 60px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1330px) {
    .young-scientists-council-about__grid {
        grid-template-columns: 246px minmax(0, 1fr);
        gap: 40px;
    }

    .young-scientists-council-about__media img {
        width: 246px;
        height: 246px;
    }

    .young-scientists-council-about__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .educational-work-contacts__grid,
    .student-science-society-contacts .educational-work-contacts__grid,
    .young-scientists-council-contacts .educational-work-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .educational-work-contacts__main,
    .student-science-society-contacts .educational-work-contacts__main,
    .young-scientists-council-contacts .educational-work-contacts__main {
        grid-column: auto;
    }

    .educational-work-contacts__aside,
    .student-science-society-contacts .educational-work-contacts__aside,
    .young-scientists-council-contacts .educational-work-contacts__aside {
        justify-items: start;
    }

    .educational-work-contacts__aside {
        grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
    }

    .young-scientists-council-contacts .educational-work-contacts__main dl {
        max-width: 360px;
    }

    .young-scientists-council-docs.educational-work-docs {
        padding: 30px 0 60px;
    }
}

@media screen and (max-width: 600px) {
    .student-squads-hero {
        min-height: 400px;
    }

    .student-squads-hero .wrapper {
        min-height: 400px;
    }

    .student-squads-hero__label {
        font-size: 14px;
        line-height: 18.2px;
    }

    .student-squads-intro {
        padding: 40px 0 80px;
    }

    .student-council-page .student-squads-intro {
        padding: 32px 0 40px;
    }

    .student-squads-lead {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 20px;
    }

    .student-squads-dot {
        width: 14px;
        height: 14px;
        margin-top: 6px;
    }

    .student-squads-lead h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .student-squads-slider {
        padding: 60px 0;
    }

    .student-council-about {
        padding: 40px 0;
    }

    .student-squads-slide__head {
        gap: 40px;
        margin-bottom: 40px;
    }

    .student-council-about .student-squads-slide__head {
        gap: 30px;
        margin-bottom: 24px;
    }

    .student-squads-slide__title {
        min-height: 176px;
        display: block;
    }

    .student-council-about .student-squads-slide__title {
        min-height: 0;
    }

    .student-squads-slide__title h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .student-squads-slide__social {
        margin-top: 20px;
    }

    .student-squads-slide__arrows {
        margin-top: 20px;
    }

    .student-squads-slide__text {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .student-squads-slide__text p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .student-squads-slide__image-main {
        height: 300px;
    }

    .student-squads-slide__gallery {
        width: 280px;
        margin: 0 auto;
    }

    .student-squads-slide__gallery > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .student-squads-slide__gallery > div img {
        height: 122px;
    }

    .student-council-about .student-squads-slide__gallery {
        width: 100%;
        margin: 0;
    }

    .student-council-about .student-squads-slide__gallery > div {
        grid-template-columns: minmax(0, 1fr);
    }

    .student-council-about .student-squads-slide__gallery > div img,
    .student-council-about .student-squads-slide__gallery > div img:last-child {
        height: 195px;
    }

    .student-council-about .student-squads-slide__image-main {
        height: 450px;
    }

    .student-squads-history {
        padding: 80px 0 120px;
    }

    .student-council-mission {
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .student-squads-history__intro {
        gap: 20px;
        margin-bottom: 80px;
    }

    .student-council-mission .student-squads-history__intro {
        margin-bottom: 28px;
    }

    .student-squads-history__label {
        font-size: 14px;
        line-height: 16.8px;
    }

    .student-squads-history__intro p {
        font-size: 20px;
        line-height: 22px;
    }

    .student-squads-history__block + .student-squads-history__block {
        margin-top: 80px;
    }

    .student-squads-history__block h2 {
        margin-bottom: 40px;
        font-size: 20px;
        line-height: 22px;
    }

    .student-squads-years article {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    .student-council-goals article {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 20px;
    }

    .student-council-goals .decor-dot--blue {
        width: 18px;
        height: 18px;
        margin-left: 0;
    }

    .student-squads-years h3 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .student-squads-years p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .student-council-goals p {
        font-size: 20px;
        line-height: 22px;
    }

    .student-squads-actions {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 80px;
    }

    .young-scientists-council-hero {
        min-height: 400px;
        background-position: center center;
    }

    .young-scientists-council-hero .young-scientists-council-hero__content {
        --prep-hero-content-x-mobile: 10px;
        --prep-hero-content-bottom-mobile: 30px;
    }

    .young-scientists-council-hero .prep-hero__label {
        font-size: 16px;
        line-height: 18px;
    }

    .young-scientists-council-hero h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .young-scientists-council-intro {
        padding: 70px 0 50px;
    }

    .young-scientists-council-intro .section-lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .young-scientists-council-intro h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .young-scientists-council-about {
        padding-bottom: 80px;
    }

    .young-scientists-council-about__content {
        gap: 36px;
    }

    .young-scientists-council-about__lead {
        font-size: 20px;
        line-height: 22px;
    }

    .young-scientists-council-about__columns p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .young-scientists-council-about__columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .young-scientists-council-about .button {
        grid-column: 2;
        width: max-content;
    }

    .young-scientists-council-about__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .young-scientists-council-about__content {
        display: grid;
    }

    .young-scientists-council-about__lead,
    .young-scientists-council-about .button {
        grid-column: auto;
    }

    .young-scientists-council-about__media img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .young-scientists-council-gallery {
        padding-bottom: 70px;
    }

    .young-scientists-council-contacts {
        padding-bottom: 50px;
    }

    .young-scientists-council-contacts .educational-work-contacts__grid {
        gap: 30px;
    }

    .young-scientists-council-contacts .educational-work-contacts__main dl {
        margin-top: 30px;
    }

    .young-scientists-council-contacts .educational-work-contacts__aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .young-scientists-council-contacts .contact-card {
        width: 100%;
        min-height: 0;
        padding: 30px 20px;
    }

    .young-scientists-council-docs.educational-work-docs {
        padding: 20px 0 50px;
    }
}

.dormitories-docs__list.docs .docs-h {
    align-items: flex-start;
}

.dormitories-docs__list.docs .docs-title {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

@media screen and (max-width: 1600px) {
body .photo-frame-corners::before,
body .photo-frame-corners::after {
    width: 50px;
    height: 50px;
    border-color: var(--blue);
    border-style: solid;
    border-width: 0;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .28));
}

body .photo-frame-corners::before {
    top: -5px;
    left: -5px;
    border-top-width: 10px;
    border-left-width: 10px;
    border-top-left-radius: 5px;
}

body .photo-frame-corners::after {
    right: -5px;
    bottom: -5px;
    border-right-width: 10px;
    border-bottom-width: 10px;
    border-bottom-right-radius: 5px;
}

html, body {
        font-size: 14px;
   }
   
   header .top {
       margin-left: 0;
       margin-right: 0;
   }
   
   .hidden-m {
       display: none !important;
   }

   .history-gallery__item img {
       height: 233px;
   }
}

@media screen and (min-width: 1281px) and (max-width: 1500px) {
    .dormitories-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .dormitories-contacts__main dl {
        max-width: 760px;
        margin-top: 40px;
    }

    .dormitories-contacts__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dormitories-contacts .contact-card {
        width: 100%;
    }
}

@media screen and (max-width: 1280px) and (min-width: 1101px) {
    .dormitories-hero__label {
        margin-bottom: 40px;
    }

    .dormitories-feature,
    .dormitories-info-band__grid,
    .dormitories-contacts__grid,
    .dormitories-docs__group {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .dormitories-feature__text,
    .dormitories-info-band__text {
        grid-template-columns: minmax(0, 320px);
    }

    .dormitory-gallery--featured,
    .dormitory-gallery--dundich {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-auto-rows: 280px;
    }

    .dormitory-gallery--featured {
        grid-template-rows: repeat(3, 280px);
    }

    .dormitory-gallery--featured .dormitory-gallery__main,
    .dormitory-gallery--dundich .dormitory-gallery__main {
        grid-row: span 2;
    }

    .dormitories-contacts__main dl {
        max-width: 760px;
        margin-top: 40px;
    }

    .dormitories-contacts__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dormitories-contacts .contact-card {
        width: 100%;
    }

    .dormitories-docs__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dormitories-docs__list .docs-item {
        width: 100%;
        height: auto;
        min-height: 124px;
    }

    .dormitories-docs__group h2,
    .dormitories-docs__list {
        grid-column: auto;
    }
}

@media screen and (max-width: 1100px) {
    .dormitories-hero {
        min-height: 657px;
    }

    .dormitories-hero__label {
        margin-bottom: 40px;
    }

    .dormitories-hero h1 {
        font-size: 70px;
        line-height: 77px;
    }

    .dormitories-intro,
    .dormitory-location,
    .dormitories-contacts {
        padding-top: 90px;
    }

    .dormitories-intro {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .dormitories-lead,
    .dormitory-section-head {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 40px;
    }

    .dormitories-lead h2,
    .dormitory-section-head h2 {
        font-size: 35px;
        line-height: 38.5px;
    }

    .dormitories-lead h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .dormitories-feature,
    .dormitories-info-band__grid,
    .dormitories-contacts__grid,
    .dormitories-docs__group {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .dormitories-feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .dormitories-feature__media img {
        width: 100%;
        height: 432px;
    }

    .dormitories-feature__text,
    .dormitories-info-band__text {
        grid-template-columns: minmax(0, 320px);
    }

    .dormitories-info-band {
        padding: 100px 0;
    }

    .dormitory-gallery--featured,
    .dormitory-gallery--dundich {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-auto-rows: 260px;
    }

    .dormitory-gallery--featured {
        grid-template-rows: repeat(3, 260px);
    }

    .dormitory-gallery--featured .dormitory-gallery__main,
    .dormitory-gallery--dundich .dormitory-gallery__main {
        grid-row: span 2;
    }

    .dormitories-contacts__main dl {
        max-width: 640px;
        margin-top: 40px;
    }

    .dormitories-contacts__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dormitories-contacts .contact-card {
        width: 100%;
    }

    .dormitories-docs__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dormitories-docs__list .docs-item {
        width: 100%;
        height: auto;
        min-height: 124px;
    }

    .dormitories-docs {
        padding: 90px 0 120px;
    }

    .dormitories-docs__group h2,
    .dormitories-docs__list {
        grid-column: auto;
    }
}

@media screen and (max-width: 600px) {
    .dormitories-page,
    .dormitories-hero,
    .dormitories-intro,
    .dormitories-info-band,
    .dormitory-location,
    .dormitories-contacts,
    .dormitories-docs {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .dormitories-hero {
        min-height: 400px;
    }

    .dormitories-hero__label {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .dormitories-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .dormitories-intro,
    .dormitory-location,
    .dormitories-contacts {
        padding-top: 70px;
    }

    .dormitories-intro {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .dormitories-lead,
    .dormitory-section-head,
    .dormitories-feature,
    .dormitories-info-band__grid,
    .dormitories-contacts__grid,
    .dormitories-docs__group {
        display: block;
    }

    .dormitories-page .dormitories-dot {
        width: 10px;
        height: 10px;
        margin: 9px 0 19px;
    }

    .dormitories-lead h2,
    .dormitory-section-head h2 {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: 25px;
        line-height: 27.5px;
    }

    .dormitories-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .dormitories-feature {
        margin-top: 40px;
    }

    .dormitories-feature__media img {
        width: 100%;
        height: 300px;
    }

    .dormitories-feature__text,
    .dormitories-info-band__text {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 30px;
    }

    .dormitories-feature__text {
        margin-top: 20px;
    }

    .dormitories-feature__text h3 {
        font-size: 20px;
        line-height: 22px;
    }

    .dormitories-feature__text p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .dormitories-info-band {
        padding: 70px 0;
    }

    .dormitories-info-band h2,
    .dormitories-contacts__main h2,
    .dormitories-docs h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .dormitory-section-head p {
        margin-top: 14px;
        font-size: 16px;
        line-height: 17.6px;
    }

    .dormitory-gallery,
    .dormitory-gallery--featured,
    .dormitory-gallery--dundich {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
        margin-top: 30px;
    }

    .dormitory-gallery--featured {
        grid-template-rows: none;
    }

    .dormitory-gallery--featured .dormitory-gallery__main,
    .dormitory-gallery--dundich .dormitory-gallery__main {
        grid-row: auto;
    }

    .dormitory-gallery img {
        height: 220px;
    }

    .dormitory-gallery .dormitory-gallery__main {
        height: 330px;
    }

    .dormitories-contacts__main dl {
        gap: 12px;
        margin-top: 35px;
    }

    .dormitories-contacts__main dt,
    .dormitories-contacts__main dd,
    .dormitories-contacts__main a {
        font-size: 12px;
        line-height: 15.6px;
    }

    .dormitories-contacts__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 40px;
    }

    .dormitories-contacts .contact-card {
        width: 100%;
        min-height: 0;
        padding: 20px;
        gap: 30px;
    }

    .dormitories-docs {
        padding: 70px 0 90px;
    }

    .dormitories-docs__group + .dormitories-docs__group {
        margin-top: 50px;
    }

    .dormitories-docs__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 25px;
    }

    .dormitories-docs__list .docs-item {
        width: 100%;
        height: auto;
        min-height: 82px;
        padding: 13px 20px;
        gap: 20px;
    }

    .dormitories-docs__list .docs-h {
        height: auto;
        min-height: 0;
        align-items: flex-start;
        gap: 15px;
    }

    .dormitories-docs__list .docs-h img,
    .education-info-docs .docs-h img,
    .education-info-regulations__docs .docs-h img {
        flex-basis: 18px;
        width: 18px;
        min-width: 18px;
        height: 18px;
    }

    .dormitories-docs__list .docs-title,
    .dormitories-docs__list .docs-b {
        font-size: 10px;
        line-height: 11px;
    }

    .dormitories-docs__list .docs-title {
        height: auto;
        min-height: 0;
        overflow: visible;
    }
}

@media screen and (max-width: 1400px) {
    .structure-departments {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 60px;
    }

    .structure-department {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
        gap: 60px;
    }

    .structure-department__cards {
        grid-template-columns: repeat(2, minmax(0, 320px));
    }
}

@media screen and (max-width: 1100px) {
    .sub-menu {
        overflow-x: auto;
        gap: 24px;
        padding-bottom: 8px;
    }

    .sub-menu[role="tablist"]::after,
    [data-js-main-news-tabs]::after {
        bottom: 8px;
    }

    .sub-menu .item {
        flex: 0 0 auto;
        min-width: 210px;
    }

    .structure-departments,
    .structure-department {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .structure-departments__list {
        gap: 80px;
    }

    .structure-department__info h4 {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 700px) {
    .rectorate-content .subhead h1,
    .rectorate-content .subhead h2 {
        font-size: clamp(28px, 9vw, 45px);
        line-height: 1.1;
        overflow-wrap: normal;
    }

    .sub-menu {
        margin-top: 35px;
        margin-bottom: 45px;
        gap: 18px;
    }

    .sub-menu .item {
        min-width: 180px;
        padding-bottom: 12px;
    }

    .sub-menu .item h4 {
        font-size: 18px;
        line-height: 1.15;
    }

    [data-js-main-news-tabs] {
        flex-wrap: wrap;
        gap: 20px 10px;
        overflow-x: visible;
        padding-bottom: 0;
    }

    [data-js-main-news-tabs]::after {
        bottom: 0;
    }

    [data-js-main-news-tabs] .item {
        flex: 0 0 calc((100% - 10px) / 2);
        box-sizing: border-box;
        height: 37px;
        min-width: 0;
        min-height: 37px;
        padding: 10px 0;
    }

    [data-js-main-news-tabs] .item h4 {
        font-size: clamp(14px, 4.6vw, 18px);
    }

    .structure-department__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .structure-departments__filter,
    .structure-departments__filter-trigger,
    .structure-departments__filter-chips {
        width: 100%;
    }

    .structure-departments__filter-chips {
        align-items: flex-start;
    }

    .structure-dean-card .contact-card__head {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .structure-dean-card .contact-card__head img {
        width: 64px;
        height: 64px;
    }

    .structure-department__info h4 {
        font-size: 22px;
        line-height: 1.15;
    }

    .structure-department__info dt,
    .structure-department__info dd,
    .structure-department__info a {
        font-size: 13px;
        line-height: 1.25;
    }
}

@media (max-width: 1200px) {
}

@media (max-width: 900px) {
}

@media screen and (min-width: 1101px) {
    body.site-mega-open header {
        max-width: var(--container-wide);
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .volunteer-hero__content {
    }

    .volunteer-intro__columns,
    .volunteer-pokrov__body {
        max-width: none;
        margin-left: 0;
    }

    .volunteer-intro__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .volunteer-pokrov__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 688px;
    }

    .volunteer-leaders__grid,
    .volunteer-section-head,
    .volunteer-contacts__grid {
        grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
    }

    .volunteer-section-head__link,
    .volunteer-director {
        grid-column: 2;
    }

    .volunteer-news__grid {
        gap: 20px;
    }

    .volunteer-certs__grid {
        grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    }

    .volunteer-certs__slider {
        --album-main-w: 620px;
        --album-main-h: 492px;
        --album-small-w: 260px;
        --album-small-h: 260px;
        min-height: var(--album-main-h);
    }

    .volunteer-certs__arrows {
        top: auto;
        bottom: calc(var(--album-small-h) + 24px);
        left: calc(var(--album-main-w) + var(--album-gap));
    }

    .volunteer-docs h2 {
        margin-left: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    .volunteer-hero {
        min-height: 657px;
    }

    .volunteer-hero__content {
        display: block;
        padding: 0 60px;
    }

    .volunteer-hero__label {
        margin-bottom: 40px;
    }

    .volunteer-intro,
    .volunteer-pokrov {
        padding: 70px 0 120px;
    }

    .volunteer-intro .wrapper,
    .volunteer-pokrov .wrapper {
        grid-template-columns: 61px minmax(0, 1fr);
    }

    .volunteer-intro h2,
    .volunteer-pokrov h2 {
        max-width: 555px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-intro__columns {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 30px;
        margin-top: 70px;
    }

    .volunteer-pokrov__body {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 30px;
        margin-top: 40px;
    }

    .volunteer-pokrov__lead {
        grid-column: 1 / -1;
        max-width: 640px;
    }

    .volunteer-leaders__grid {
        display: block;
    }

    .volunteer-leaders__grid > img {
        width: 468px;
        max-width: 100%;
        height: 308px;
        margin-bottom: 30px;
    }

    .volunteer-leaders__content h2 {
        margin-bottom: 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-section-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 24px;
    }

    .volunteer-section-head__label {
        grid-column: 1 / -1;
    }

    .volunteer-section-head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-section-head__link {
        grid-column: auto;
        justify-self: end;
        min-width: 306px;
        font-size: 16px;
        line-height: 20.8px;
    }

    .volunteer-news {
        padding-bottom: 120px;
    }

    .volunteer-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-top: 40px;
    }

    .volunteer-news-card {
        min-height: 357px;
    }

    .volunteer-certs__grid {
        display: block;
        overflow: hidden;
    }

    .volunteer-certs__slider {
        --album-main-w: min(546px, calc(100vw - 120px));
        --album-main-h: 432px;
        --album-small-w: 320px;
        --album-small-h: 320px;
        width: 100%;
        min-height: var(--album-main-h);
        margin-top: 24px;
    }

    .volunteer-certs__title {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-certs__arrows {
        top: auto;
        bottom: calc(var(--album-small-h) + 24px);
        left: min(calc(var(--album-main-w) + var(--album-gap)), calc(100% - 116px));
    }

    .volunteer-contacts__grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
        align-items: stretch;
        margin-top: 60px;
    }

    .volunteer-social {
        grid-column: 2;
        align-self: end;
    }

    .volunteer-director {
        grid-column: 1;
        grid-row: 1;
        max-width: 300px;
        min-height: 365px;
    }

    .volunteer-docs__list {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    .volunteer-certs__slider {
        display: flex;
        flex-direction: column;
        min-height: calc(var(--album-main-h) + 59px);
    }

    .volunteer-certs__track {
        order: 1;
    }

    .volunteer-certs__arrows {
        position: static;
        order: 2;
        justify-content: center;
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px) {
    .wrapper--hero {
        min-height: 400px;
    }

    .volunteer-page .wrapper {
        max-width: none;
        padding-left: 10px;
        padding-right: 10px;
    }

    .volunteer-hero {
        min-height: 400px;
        background-position: center top;
    }

    .volunteer-hero__content {
        display: block;
        padding: 0 10px;
    }

    .volunteer-hero__label {
        margin-bottom: 20px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .volunteer-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .volunteer-intro,
    .volunteer-pokrov {
        padding: 40px 0 80px;
    }

    .volunteer-intro .wrapper,
    .volunteer-pokrov .wrapper {
        display: block;
    }

    .volunteer-dot {
        width: 8px;
        height: 8px;
        margin: 0 0 30px 10px;
    }

    .volunteer-intro h2,
    .volunteer-pokrov h2 {
        max-width: none;
        margin: 0;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .volunteer-intro__columns,
    .volunteer-pokrov__body {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: none;
        margin: 40px 0 0;
    }

    .volunteer-intro__columns p,
    .volunteer-intro__list,
    .volunteer-pokrov__body p {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .volunteer-pokrov__lead {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .volunteer-leaders {
        padding: 40px 0;
    }

    .volunteer-leaders__grid {
        display: block;
    }

    .volunteer-leaders__grid > img {
        width: 100%;
        height: auto;
        margin: 0 0 24px;
    }

    .volunteer-leaders__content {
        padding: 0 10px;
    }

    .volunteer-leaders__content h2 {
        margin-bottom: 30px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-leaders__links,
    .volunteer-leaders__links div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .volunteer-leaders__links {
        gap: 16px;
    }

    .volunteer-leaders__links span,
    .volunteer-leaders__links a {
        font-size: 10px;
        line-height: 12px;
    }

    .volunteer-section-head {
        display: block;
    }

    .volunteer-section-head__label {
        margin-bottom: 30px;
        font-size: 10px;
        line-height: 12px;
    }

    .volunteer-section-head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-section-head__link {
        margin-top: 14px;
        min-width: 196px;
        font-size: 16px;
        line-height: 20.8px;
    }

    .volunteer-section-head__link-full {
        display: none;
    }

    .volunteer-section-head__link-short {
        display: inline;
    }

    .volunteer-news {
        padding-bottom: 80px;
    }

    .volunteer-news__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .volunteer-news-card {
        min-height: 200px;
        padding: 20px;
    }

    .volunteer-news-card__top {
        font-size: 10px;
        line-height: 12px;
    }

    .volunteer-news-card__top span {
        width: 6px;
        height: 6px;
    }

    .volunteer-news-card h3 {
        margin-bottom: 42px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .volunteer-news-card a {
        align-self: center;
        font-size: 16px;
        line-height: 20.8px;
    }

    .volunteer-certs {
        padding-bottom: 80px;
    }

    .volunteer-certs__grid {
        display: block;
    }

    .volunteer-certs__title {
        margin-bottom: 24px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-certs__slider {
        --album-main-w: 300px;
        --album-main-h: 320px;
        --album-small-w: 300px;
        --album-small-h: 320px;
        --album-gap: 20px;
        display: flex;
        flex-direction: column;
        width: 300px;
        min-height: 379px;
        margin: 0 auto;
    }

    .volunteer-certs__track {
        order: 1;
        height: 320px;
        overflow: hidden;
    }

    .volunteer-certs__arrows {
        position: static;
        order: 2;
        justify-content: center;
        margin-top: 20px;
    }

    .volunteer-contacts {
        padding-bottom: 60px;
    }

    .volunteer-contacts__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 30px;
    }

    .volunteer-social {
        grid-column: auto;
        align-self: start;
        gap: 8px;
    }

    .volunteer-social a {
        min-height: 24px;
        font-size: 10px;
        line-height: 13px;
    }

    .volunteer-director {
        min-height: 300px;
    }

    .volunteer-director__head {
        grid-template-columns: 80px minmax(0, 1fr);
        padding: 20px;
    }

    .volunteer-director__role {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .volunteer-director dt,
    .volunteer-director dd,
    .volunteer-director h3 {
        font-size: 10px;
        line-height: 12px;
    }

    .volunteer-docs {
        padding-bottom: 80px;
    }

    .volunteer-docs h2 {
        max-width: none;
        margin: 0 0 30px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .volunteer-docs__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .volunteer-docs__list .docs-item {
        min-height: 100px;
        padding: 15px 20px;
    }

    body.volunteer-center-body :is(.volunteer-hero, .volunteer-intro, .volunteer-leaders, .volunteer-pokrov, .volunteer-news, .volunteer-certs, .volunteer-contacts, .volunteer-docs) > .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-left: var(--container-mobile-x) !important;
        margin-right: var(--container-mobile-x) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.volunteer-center-body .volunteer-intro {
        padding-bottom: 40px;
    }

    body.volunteer-center-body .volunteer-intro .wrapper {
        min-height: 748px;
    }

    body.volunteer-center-body .volunteer-leaders .wrapper {
        min-height: 670px;
    }

    body.volunteer-center-body .volunteer-pokrov .wrapper {
        min-height: 608px;
    }

    body.volunteer-center-body .volunteer-news .wrapper {
        min-height: 1018px;
    }

    body.volunteer-center-body .volunteer-certs .wrapper {
        min-height: 427px;
    }

    body.volunteer-center-body .volunteer-contacts {
        padding-bottom: 80px;
    }

    body.volunteer-center-body .volunteer-contacts .wrapper {
        min-height: 564px;
    }

    body.volunteer-center-body .volunteer-docs {
        padding-bottom: 120px;
    }

    body.volunteer-center-body .volunteer-docs .wrapper {
        min-height: 406px;
    }

    body.volunteer-center-body .volunteer-docs__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.volunteer-center-body .volunteer-docs__list .docs-item {
        width: 100%;
    }

    body.volunteer-center-body footer {
        height: 1479px;
        min-height: 0;
        overflow: hidden;
    }
}

@media screen and (max-width: 1599px) and (min-width: 1101px) {
   .history {
       width: 100%;
       overflow: hidden;
   }

   .history .wrapper {
       left: 50%;
       width: 1600px;
       max-width: none;
       transform: translateX(-50%) scale(0.92);
       transform-origin: top center;
   }
}

@media screen and (max-width: 1400px) and (min-width: 1101px) {
   .history .wrapper {
       transform: translateX(-50%) scale(0.86);
   }
}

@media screen and (max-width: 1300px) and (min-width: 1101px) {
   .history .wrapper {
       transform: translateX(-50%) scale(0.78);
   }
}

@media screen and (max-width: 1220px) and (min-width: 1101px) {
   .history .wrapper {
       transform: translateX(-50%) scale(0.72);
   }
}

@media screen and (max-width: 1180px) and (min-width: 1101px) {
   .history .wrapper {
       transform: translateX(-50%) scale(0.70);
   }
}

@media screen and (max-width: 1150px) and (min-width: 1101px) {
   .history .wrapper {
       transform: translateX(-50%) scale(0.66);
   }
}

@media screen and (max-width: 1200px) {
	    
    .rek {
        margin-bottom: 8    0px;
    }
    
    html, body {
        font-size: 12px;
   }
   
   .hidden-s {
       display: none !important;
   }
   
   .show-s {
       display: block;
   }

   header .top .mmenu {
       position: fixed;
       top: 24px;
       right: 30px;
       z-index: 140;
       margin-left: 0;
   }
   
   header .top .logo {
       position: static;
       transform: none;
   }

   header .top .logo-link {
       position: static;
       transform: none;
   }
   
   .content h3 {
       padding-left: 80px;
   }
    
    header {
        top: 0;
    }

    .wrapper,
    header .top {
        width: auto;
        margin-left: 30px;
        margin-right: 30px;
    }

    header {
        width: calc(100% - 60px);
    }
    
    .page-dark .subhead, .mainslider {
        margin-top: 150px;
    }
    
    .subhead.alt {
        margin-top: 40px;
    }
    
    .bluebg .subhead.alt {
        margin-top: 0;
    }
    
    .item.flx {
        flex-direction: column;
    }
    
    .rek.items {
        margin-left: 0;
        display: block;
    }
    
    .rek-info {
        margin-left: 0;
        margin-top: 30px;
    }
    
    .rek-b {
        margin-bottom: 30px;
    }
    
    .rek-photo {
        aspect-ratio: 1/1;
        width: 100%;
        margin-bottom: 20px;
    }

    .home-mission .rek-photo.wp-block-image {
        aspect-ratio: 1/1;
        height: calc(100vw - 60px);
    }

    .history-page {
        padding-top: 196px;
    }

    .history {
        width: 100%;
        overflow: hidden;
    }

    .history .wrapper {
        display: flex;
        flex-direction: column;
        left: auto;
        max-width: none;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
        transform: none;
    }

    .history__vector {
        top: -25px;
        left: 0;
        right: auto;
        width: 760px;
        max-width: none;
        transform: none;
    }

    .history-gallery {
        order: 2;
        margin-bottom: 70px;
    }

    .history-gallery__grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 39px clamp(24px, 8vw, 90px);
    }

    .history-gallery__caption {
        margin-bottom: 0;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .history-gallery__caption--old {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    .history-gallery__caption--trad {
        grid-column: 2;
        grid-row: 3;
        align-self: start;
    }

    .history-gallery__caption--science {
        grid-column: 1;
        grid-row: 4;
        align-self: start;
    }

    .history-gallery__item {
        width: 100%;
        max-width: 100%;
    }

    .history-gallery__item--01 {
        grid-column: 2;
        grid-row: 1;
        max-width: 200px;
        justify-self: end;
    }

    .history-gallery__item--02 {
        grid-column: 1;
        grid-row: 2;
        max-width: 279px;
    }

    .history-gallery__item--03 {
        grid-column: 2;
        grid-row: 2;
        max-width: 233px;
        justify-self: end;
    }

    .history-gallery__item--04 {
        grid-column: 1;
        grid-row: 3;
        max-width: 169px;
    }

    .history-gallery__item--05 {
        grid-column: 2;
        grid-row: 4;
        max-width: 250px;
        justify-self: end;
    }

    .history-gallery__item--06 {
        grid-column: 1;
        grid-row: 5;
        max-width: 309px;
    }

    .history-gallery__item img {
        height: 233px;
    }

    .history__head {
        order: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 138px;
    }

    .history__head h1 {
        width: 550px;
        font-size: 45px;
        line-height: 49.5px;
    }

    .history__since {
        width: max-content;
        max-width: calc(100vw - 120px);
        height: 50px;
        font-size: 45px;
        line-height: 49.5px;
        letter-spacing: 0;
        padding-right: 4px;
    }

    .history-road {
        order: 3;
        display: flex;
        flex-direction: column;
    }

    .history-road__label {
        position: static;
        order: 4;
        margin-bottom: 20px;
    }

    .history-road__content {
        display: contents;
    }

    .history-road__left {
        display: contents;
        min-height: auto;
        padding-top: 0;
    }

    .history-road__left h2 {
        order: 5;
        width: 400px;
        height: 112px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
        margin-bottom: 40px;
    }

    .history-road__year {
        order: 2;
        font-size: 200px;
        line-height: 160px;
        margin-top: 32px;
        margin-bottom: 30px;
    }

    .history-road__nav {
        order: 3;
        margin-bottom: 30px;
    }

    .history-road__right {
        display: contents;
    }

    .history-road__text {
        order: 7;
        column-count: 2;
        column-gap: 20px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .history-road__photo {
        order: 6;
        width: 100%;
        max-width: 640px;
        height: auto;
        aspect-ratio: 1.6 / 1;
        margin-bottom: 40px;
    }

    .history-road__photo .photo-frame-corner {
        display: block;
    }

    .history-years {
        order: 1;
        margin-top: 0;
        padding-top: 0;
        gap: 0;
        justify-content: space-between;
        overflow: visible;
    }

    .history-years::before {
        top: -6px;
        width: 100%;
    }

    .history-years span::before {
        top: -10px;
    }
}

@media screen and (max-width: 900px) {
    
    .hd-m {
        display: none;
    }
    
    .mainslider .swiper-slide {
        aspect-ratio: 1 / 1.1;
    }
    
    .mainslider .slide-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .mainslider .slide-content-r {
        width: 100%;
    }

    .history-gallery__item img {
        height: 200px;
    }

    .history-road__photo {
        aspect-ratio: 1.6 / 1;
    }

    .history-years {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 50px;
        padding-bottom: 10px;
        max-width: 100%;
    }

    .history-years::before {
        width: max(100%, 780px);
    }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    .life .home-life-slider {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 110px;
    }

    .home-life-slider__info,
    .home-life-slider__upper {
        display: contents;
    }

    .home-life-slider__counter {
        grid-row: 1;
    }

    .home-life-slider__media {
        grid-row: 2;
    }

    .home-life-slider .photoslider .swiper-slide {
        aspect-ratio: 640 / 655;
    }

    .home-life-slider__copy {
        grid-row: 3;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: -20px;
        gap: 20px;
    }

    .home-life-slider__copy h3 {
        max-width: 468px;
    }

    .home-life-slider__copy .button {
        flex: 0 0 auto;
    }

    .life .home-life-slider .photoslider-nav {
        grid-row: 4;
        margin: 0;
    }

    .history-gallery__item img {
        height: 233px;
    }

    .history-years {
        overflow: visible;
        justify-content: space-between;
        gap: 0;
        padding-bottom: 0;
    }

    .history-years::before {
        width: 100%;
    }
}

@media screen and (min-width: 601px) and (max-width: 700px) {
    .history .wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .history__head h1 {
        width: min(550px, calc(100vw - 32px));
    }

    .history__since,
    .history-road__left h2,
    .history-years {
        max-width: calc(100vw - 32px);
    }
}

@media screen and (max-width: 600px) {
    
    .photoslider-wrapper {
        flex-direction: column;
        margin: 30px 0;
    }
    
    .bluebg {
        padding: 50px 0 30px 0;
    }
    
    .photoslider {
        width: 100%;
    }
    
    .photoslider-nav {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }

    .home-about-slider__media {
        width: 100%;
    }

    .home-about-slider .photoslider-nav {
        width: 100%;
    }

    .life .home-life-slider {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 70px;
    }

    .home-life-slider__info {
        display: contents;
    }

    .home-life-slider__upper {
        display: flex;
        grid-row: 1;
        align-items: flex-start;
        justify-content: space-between;
    }

    .home-life-slider__counter span {
        font-size: 48px;
        line-height: .92;
    }

    .life .home-life-slider .photoslider-nav {
        width: 110px;
        margin: 0;
    }

    .home-life-slider__media {
        grid-row: 2;
    }

    .home-life-slider .photoslider .swiper-slide {
        aspect-ratio: 1;
    }

    .home-life-slider__copy {
        grid-row: 3;
        gap: 20px;
    }

    .home-life-slider__copy h3 {
        font-size: 28px;
        line-height: 1.1;
    }

    .home-life-slider__copy .button {
        align-self: center;
        margin-left: 0;
    }
    
        .mainslider .swiper-slide {
        aspect-ratio: 1 / 1.5;
    }
    
    .wrapper, header .top {
        padding: 0 15px;
    }
    
    .fullhead {
        height: 400px;
    }
    
    h1 {
        font-size: 3.4rem;
        text-transform: uppercase;
    }
    
    html, body {
        font-size: 10px;
    }
   
   .hidden-xs {
       display: none !important;
    }
   
   .show-xs {
       display: block;
    }
   
    header .top .logo {
       width: 80px;
    }
   
    .content h3 {
       padding-left: 0;
       display: flex;
       flex-direction: column;
       gap: 20px;
       margin-bottom: 60px;
   }
   
   .fullhead {
       margin-bottom: 40px;
   }
   
   .content h3:before {
       position: static;
   }
    
    footer .logo {
        margin-bottom: 50px;
    }
    
    .filter {
        flex-wrap: wrap;
    }
    
    .filter select {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .programs-page .wrapper {
        max-width: none;
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
    }

    .programs-study-page .programs-documents .wrapper {
        width: calc(100% - (var(--container-tablet-x) * 2));
        margin-left: var(--container-tablet-x);
        margin-right: var(--container-tablet-x);
        padding-left: 0;
        padding-right: 0;
    }

    .programs-hero,
    .programs-hero .wrapper {
        min-height: 616px;
    }

    .programs-hero__label {
        margin-bottom: 36px;
    }

    .programs-section-head {
        display: block;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .programs-section-head__label {
        margin-bottom: 20px;
    }

    .program-card--light {
        min-height: 911px;
    }

    .program-card--dark {
        min-height: 1049px;
    }

    .program-card--blue {
        min-height: 1030px;
    }

    .program-card__grid {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 0 20px;
        min-height: inherit;
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .program-card__left {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        min-height: 0;
    }

    .program-card__level {
        margin-bottom: 0;
    }

    .program-card__meta {
        grid-column: 2;
        grid-row: 1;
    }

    .program-card__decor,
    .program-card__left::after {
        display: none;
    }

    .program-card__main {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 0 20px;
        min-height: 0;
        margin-top: 81px;
    }

    .program-card__faculty {
        grid-column: 1;
        max-width: 310px;
    }

    .program-card__faculty h3 {
        margin-bottom: 19px;
    }

    .program-card__faculty p {
        max-width: 310px;
    }

    .program-card__form {
        grid-column: 2;
    }

    .program-card__stats {
        position: static;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 30px 20px;
        margin-top: 96px;
    }

    .program-card__arrows {
        position: static;
        grid-column: 1 / -1;
        margin-top: 60px;
    }

    .programs-documents,
    .programs-files {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .programs-documents__head {
        display: block;
        margin-bottom: 70px;
    }

    .programs-study-page .programs-documents__head {
        margin-bottom: 40px;
    }

    .programs-documents__head .programs-section-head__label {
        margin-bottom: 20px;
    }

    .programs-documents__summary {
        display: block;
        min-height: 117px;
        padding: 20px 54px 20px 0;
    }

    .programs-study-page .programs-documents__summary {
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .programs-documents__title {
        display: block;
        max-width: 350px;
    }

    .programs-documents__desc {
        display: block;
        max-width: 350px;
        margin-top: 15px;
    }

    .programs-study-page .programs-documents__desc {
        max-width: 320px;
        margin-top: 20px;
    }

    .programs-study-page .programs-documents__item:nth-child(3) .programs-documents__desc {
        max-width: 350px;
    }

    .programs-documents__panel {
        grid-template-columns: minmax(0, 1fr);
        max-width: 556px;
        margin-left: 64px;
    }

    .programs-overview-hero__grid {
        display: block;
        padding-top: 150px;
        padding-bottom: 100px;
    }

    .programs-overview-hero__label {
        margin-bottom: 20px;
    }

    .programs-levels {
        padding-bottom: 100px;
    }

    .programs-levels__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .programs-level-card {
        min-height: 250px;
        padding: 0 20px 20px;
    }

    .programs-directions {
        padding-bottom: 100px;
    }

    .programs-directions__list {
        gap: 80px;
    }

    .programs-direction {
        display: block;
    }

    .programs-direction__content h2 {
        max-width: 316px;
    }

    .programs-direction__content p {
        max-width: 640px;
    }

    .programs-direction__media {
        margin-top: 26px;
        aspect-ratio: 640 / 408;
    }

    .programs-direction__codes {
        margin-top: 14px;
    }

    .programs-overview__cta {
        margin-top: 80px;
    }
}

@media screen and (max-width: 600px) {
    .programs-page,
    .programs-study,
    .program-card,
    .programs-documents,
    .programs-files {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .programs-study-page .programs-documents .wrapper {
        width: calc(100% - (var(--container-mobile-x) * 2));
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
    }

    .programs-hero,
    .programs-hero .wrapper {
        min-height: 450px;
    }

    .programs-hero__label {
        margin-bottom: 37px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .programs-section-head {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .programs-section-head__label {
        margin-bottom: 20px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .programs-section-head h2,
    .programs-documents__head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .program-card--light {
        min-height: 838px;
    }

    .program-card--dark {
        min-height: 948px;
    }

    .program-card--blue {
        min-height: 903px;
    }

    .program-card__grid {
        display: block;
        min-height: inherit;
        padding-top: 70px;
        padding-bottom: 54px;
    }

    .program-card__left {
        display: block;
    }

    .program-card__level {
        margin-bottom: 17px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .program-card__meta {
        gap: 5px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .program-card__meta div:last-child {
        font-size: 16px;
        line-height: 19.2px;
    }

    .program-card__main {
        display: block;
        margin-top: 36px;
    }

    .program-card__faculty h3 {
        margin-bottom: 14px;
        font-size: 25px;
        line-height: 28px;
    }

    .program-card__faculty p {
        max-width: none;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .program-card__form {
        margin-top: 20px;
    }

    .program-card__form span {
        margin-top: 4px;
    }

    .program-card__stats {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
        margin-top: 46px;
    }

    .program-card__form div,
    .program-card__stat strong {
        font-size: 25px;
        line-height: 28px;
    }

    .program-card__form span,
    .program-card__stat span {
        margin-top: 4px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .program-card__arrows {
        width: 120px;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
        justify-content: flex-start;
        margin-top: 72px;
    }

    .programs-documents,
    .programs-files {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .programs-study__head {
        padding-top: 40px;
        margin-bottom: 40px;
    }

    .programs-files .subhead h4 {
        margin-bottom: 40px;
    }

    .programs-documents__head {
        margin-bottom: 70px;
    }

    .programs-study-page .programs-documents__head {
        margin-bottom: 40px;
    }

    .programs-documents__summary {
        min-height: 93px;
        padding: 20px 44px 20px 0;
    }

    .programs-study-page .programs-documents__summary {
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .programs-documents__title {
        max-width: 220px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .programs-documents__desc {
        max-width: 266px;
        margin-top: 14px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .programs-study-page .programs-documents__desc {
        max-width: 266px;
        margin-top: 20px;
    }

    .programs-documents__plus {
        top: 14px;
        right: 0;
    }

    .programs-documents__panel {
        margin-left: 0;
        padding-bottom: 0;
    }

    .programs-documents__panel .inline-file-link:last-child {
        margin-bottom: 24px;
    }

    .programs-overview-hero__grid {
        padding-top: 96px;
        padding-bottom: 50px;
    }

    .programs-overview-hero__label {
        margin-bottom: 20px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .programs-overview-hero__content h1 {
        margin-bottom: 20px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
        text-transform: none;
    }

    .programs-overview-hero__content p {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .programs-levels {
        padding-bottom: 50px;
    }

    .programs-levels__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .programs-level-card {
        min-height: 250px;
        padding: 0 10px 14px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .programs-direction__content h2 {
        max-width: 280px;
        margin-bottom: 10px;
        padding-left: 12px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .programs-direction__content h2::before {
        top: 8px;
        width: 5px;
        height: 5px;
    }

    .programs-direction__content p {
        max-width: 300px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .programs-directions {
        padding-bottom: 100px;
    }

    .programs-directions__list {
        gap: 50px;
    }

    .programs-direction__media {
        margin-top: 20px;
        aspect-ratio: 300 / 200;
    }

    .programs-direction__codes {
        margin-top: 10px;
        gap: 6px;
    }

    .programs-direction__codes span {
        min-height: 21px;
        padding: 1px 8px;
        font-size: 10px;
        line-height: 13px;
    }

    .programs-overview__cta {
        margin-top: 50px;
    }
}

@media screen and (max-width: 600px) {
    .history-page {
        padding-top: 24px;
    }

    .history .wrapper {
        left: auto;
        max-width: none;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .history-gallery {
        margin-bottom: 76px;
    }

    .history__vector {
        top: 36px;
        left: 24px;
        width: calc(100vw - 48px);
        max-width: none;
        transform: none;
        z-index: 0;
    }

    .history-gallery__grid {
        display: none;
    }

    .history-gallery__mobile {
        display: block;
    }

    .history-gallery__mobile-track {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-right: -16px;
        padding-bottom: 16px;
    }

    .history-gallery__mobile-track::-webkit-scrollbar {
        display: none;
    }

    .history-gallery__mobile-item {
        flex: 0 0 188px;
        margin: 0;
        scroll-snap-align: start;
    }

    .history-gallery__mobile-item img {
        display: block;
        width: 100%;
        height: 219px;
        object-fit: cover;
    }

    .history-gallery__mobile-item figcaption {
        color: var(--grey);
        font-size: 10px;
        line-height: 13px;
        margin-top: 4px;
    }

    .history-gallery__mobile-captions {
        color: var(--grey-dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 34px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
        margin-top: 20px;
        text-align: center;
    }

    .history-gallery__mobile-captions h4 {
        max-width: 190px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
        margin-bottom: 0;
    }

    .history-gallery__caption {
        font-size: 1.8rem;
    }

    .history-gallery__caption--old {
        grid-column: 1;
        grid-row: 1;
    }

    .history-gallery__item--01 {
        grid-column: 1;
        grid-row: 2;
    }

    .history-gallery__item--02 {
        grid-column: 1;
        grid-row: 3;
    }

    .history-gallery__item--03 {
        grid-column: 1;
        grid-row: 4;
    }

    .history-gallery__item--04 {
        grid-column: 1;
        grid-row: 5;
    }

    .history-gallery__caption--trad {
        grid-column: 1;
        grid-row: 6;
    }

    .history-gallery__caption--science {
        grid-column: 1;
        grid-row: 7;
    }

    .history-gallery__item--05 {
        grid-column: 1;
        grid-row: 8;
    }

    .history-gallery__item--06 {
        grid-column: 1;
        grid-row: 9;
    }

    .history-gallery__item {
        width: 100%;
        justify-self: stretch;
    }

    .history-gallery__item img {
        height: auto;
        aspect-ratio: 1.6 / 1;
    }

    .history__head {
        gap: 12px;
        margin-top: 158px;
        margin-bottom: 68px;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        align-items: center;
    }

    .history__head h1 {
        width: max-content;
        max-width: calc(100vw - 32px);
        font-size: clamp(27px, 6.4vw, 38px);
        line-height: 1.08;
        text-transform: none;
        white-space: normal;
        text-wrap: balance;
        text-align: center;
    }

    .history__head h1 span {
        display: inline;
    }

    .history__since {
        align-self: center;
        width: max-content;
        max-width: calc(100vw - 32px);
        height: auto;
        min-height: 0;
        font-size: clamp(50px, 11.8vw, 74px);
        line-height: .95;
        letter-spacing: -3.5px;
        white-space: nowrap;
        box-sizing: border-box;
        padding: 0 4px 5px 0;
        justify-content: center;
    }

    .history-road {
        padding-bottom: 70px;
        position: relative;
    }

    .history-road__label {
        color: var(--border-blue-muted);
        font-size: 16px;
        line-height: 19.2px;
        margin-bottom: 34px;
    }

    .history-road__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1.6 / 1;
    }

    .history-road__photo .photo-frame-corner {
        display: block;
        width: 52px;
        height: 52px;
    }

    .history-road__photo .photo-frame-corner--top-right.photo-frame-corner--offset-out {
        transform: translate(5px, -5px);
    }

    .history-road__photo .photo-frame-corner--bottom-left.photo-frame-corner--offset-out {
        transform: translate(-5px, 5px);
    }

    .history-road__frame {
        width: 40px;
        height: 40px;
    }

    .history-road__frame--top-right {
        top: -4px;
        right: -6px;
    }

    .history-road__frame--bottom-left {
        bottom: -3px;
        left: -4px;
    }

    .history-road__left h2 {
        width: 100%;
        height: auto;
        font-size: 24px;
        line-height: 28px;
        max-width: 100%;
        margin-bottom: 42px;
    }

    .history-road__year {
        font-size: 48px;
        line-height: 48px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .history-road__nav {
        width: 112px;
        align-self: flex-end;
        justify-content: space-between;
        gap: 0;
        margin-top: -44px;
        margin-bottom: 36px;
        position: relative;
        z-index: 3;
    }

    .history-road__arrow {
        width: 39px;
        height: 39px;
        flex: 0 0 39px;
        position: relative;
        z-index: 3;
    }

    .history-road__arrow svg,
    .history-road__arrow img {
        width: 20px;
        max-width: 20px;
    }

    .history-road__text {
        column-count: 1;
    }

    .history-road__text p {
        text-align: left;
    }

    .history-years {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 38px;
        gap: 24px;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        max-width: 100%;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        position: relative;
        z-index: 2;
        -webkit-overflow-scrolling: touch;
    }

    .history-years::-webkit-scrollbar {
        display: none;
    }

    .history-years span {
        flex: 0 0 auto;
        scroll-snap-align: start;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: flex-start;
        justify-content: center;
        touch-action: manipulation;
        position: relative;
        z-index: 2;
    }

    .history-years::before {
        top: 28px;
    }

    .history-years span::before {
        top: 24px;
    }

}

@media screen and (max-width: 480px) {
    .history__since {
        width: max-content;
        max-width: calc(100vw - 32px);
    }
}

@media screen and (max-width: 430px) {
    .history__head h1 {
        font-size: clamp(25px, 8vw, 27px);
        line-height: 1.1;
    }

    .history__since {
        font-size: clamp(38px, 12vw, 50px);
        letter-spacing: -1.5px;
    }
}

@media screen and (max-width: 1100px) {
    body:not(.footer-legacy) footer .wrapper {
        max-width: none;
        min-height: 1011px;
        padding: 50px 60px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        grid-template-columns: minmax(0, 300px) minmax(0, 310px);
        gap: 30px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:first-child,
    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:nth-child(2) {
        min-height: 911px;
    }

    body:not(.footer-legacy) footer .logo {
        margin-bottom: 50px;
    }

    body:not(.footer-legacy) footer .items.c-3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 65px;
    }

    body:not(.footer-legacy) footer .footer-extra {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
        margin-top: auto;
    }
}

@media screen and (max-width: 600px) {
    body:not(.footer-legacy) footer .wrapper {
        min-height: 0;
        padding: 50px 16px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        grid-template-columns: minmax(0, 1fr);
        gap: 55px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:first-child,
    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:nth-child(2) {
        min-height: 0;
    }

    body:not(.footer-legacy) footer .logo {
        width: min(300px, 100%);
        margin-bottom: 45px;
    }

    body:not(.footer-legacy) footer .ministry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        align-items: start;
    }

    body:not(.footer-legacy) footer .ministry img {
        width: 52px;
        height: 52px;
    }

    body:not(.footer-legacy) footer .ministry a {
        width: auto;
        max-width: 112px;
    }

    body:not(.footer-legacy) footer .copyright {
        margin-top: 35px;
    }

    body:not(.footer-legacy) footer .items.c-3 {
        gap: 42px;
    }

    body:not(.footer-legacy) footer nav a:nth-child(5) {
        margin-left: 0;
    }

    body:not(.footer-legacy) footer .footer-extra {
        gap: 35px;
        margin-top: 55px;
    }
}

@media screen and (max-width: 1100px) {
    .graduated-page,
    .graduated-page + footer {
        --graduated-guides: linear-gradient(to right,
            transparent 0,
            transparent 7.8947%, rgba(114, 126, 196, .15) 7.8947%, rgba(114, 126, 196, .15) calc(7.8947% + 1px), transparent calc(7.8947% + 1px),
            transparent 51.3158%, rgba(114, 126, 196, .15) 51.3158%, rgba(114, 126, 196, .15) calc(51.3158% + 1px), transparent calc(51.3158% + 1px),
            transparent 92.1053%, rgba(114, 126, 196, .15) 92.1053%, rgba(114, 126, 196, .15) calc(92.1053% + 1px), transparent calc(92.1053% + 1px));
    }

    .graduated-hero {
        min-height: 657px;
        background-position: center top;
    }

    .graduated-page .graduated-hero .wrapper.wrapper--hero {
        width: calc(100% - 120px);
        max-width: none;
        min-height: 657px;
        margin: 0 auto;
        padding: 0;
    }

    .graduated-hero__label {
        left: 0;
        bottom: 177px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .graduated-hero h1 {
        left: 0;
        right: 0;
        bottom: 60px;
        font-size: 70px;
        line-height: 77px;
    }

    .graduated-intro {
        padding: 73px 0 96px 0;
    }

    .graduated-intro h3.h-m-l.graduated-intro__lead {
        margin-bottom: 96px;
        padding-left: 80px;
    }

    .graduated-intro__content {
        grid-template-columns: minmax(0, min(38.95vw, 296px)) minmax(0, 1fr);
        gap: 42px clamp(20px, 3vw, 32px);
    }

    .graduated-intro__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .graduated-intro__accent {
        grid-column: 2;
        max-width: none;
        margin-bottom: 0;
        font-size: clamp(24px, 3.6vw, 29px);
        line-height: 1.06;
    }

    .graduated-intro__columns {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 47px 52px;
        margin-bottom: 64px;
    }

    .graduated-intro__columns p {
        font-size: 19px;
        line-height: 1.12;
    }

    .graduated-intro__button {
        grid-column: 1 / -1;
    }

    .graduated-vacancies {
        padding-bottom: 120px;
    }

    .graduated-section-head {
        display: block;
    }

    .graduated-section-head__label {
        margin-bottom: 20px;
    }

    .graduated-section-head__main {
        align-items: flex-start;
    }

    .graduated-section-head h2 {
        font-size: 40px;
        line-height: 1.1;
    }

    .graduated-vacancies__viewport {
        width: calc(100vw - 120px);
        margin: 40px 0 0 0;
    }

    .graduated-vacancy-card {
        flex-basis: 664px;
    }

    .graduated-vacancies__portal {
        width: calc(100vw - 120px);
        margin-top: 70px;
    }

    .graduated-vacancies__portal .item {
        min-height: 220px;
    }

    .graduated-album__head {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .graduated-album__head h2 {
        order: 1;
        max-width: 640px;
    }

    .graduated-album__filter {
        order: 2;
    }

    .graduated-album__slider {
        --album-main-w: min(640px, calc(100vw - 120px));
        --album-main-h: calc(var(--album-main-w) * 457 / 640);
        --album-small-w: 450px;
        --album-small-h: 320px;
        --album-gap: 24px;
        width: 100%;
        min-height: calc(var(--album-main-h) + 106px);
        margin-top: 40px;
    }

    .graduated-album__track {
        width: 100%;
        height: var(--album-main-h);
    }

    .graduated-album__arrows {
        top: calc(var(--album-main-h) + 67px);
        left: calc(var(--album-main-w) - 110px);
        right: auto;
    }

    .graduated-files__group > .items,
    .graduated-files__group .docs,
    .graduated-files__group--base .docs {
        grid-template-columns: 1fr;
    }

    .graduated-files__group > .items > .item:first-child,
    .graduated-files__group .docs {
        grid-column: auto;
    }

    .graduated-contacts .wrapper {
        display: block;
    }

    .graduated-contacts__info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        align-items: start;
    }

    .graduated-contacts__info h2 {
        margin-bottom: 0;
    }

    .graduated-contacts__details {
        max-width: 310px;
    }

    .graduated-employee-card {
        width: 280px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 600px) {
    .graduated-page,
    .graduated-page + footer {
        --graduated-guides: linear-gradient(to right,
            transparent 0,
            transparent 3.125%, rgba(114, 126, 196, .15) 3.125%, rgba(114, 126, 196, .15) calc(3.125% + 1px), transparent calc(3.125% + 1px),
            transparent 96.875%, rgba(114, 126, 196, .15) 96.875%, rgba(114, 126, 196, .15) calc(96.875% + 1px), transparent calc(96.875% + 1px));
    }

    .graduated-page,
    .graduated-hero,
    .graduated-intro,
    .graduated-vacancies,
    .graduated-files,
    .graduated-album,
    .graduated-contacts {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .graduated-hero {
        min-height: 400px;
        background-size: cover;
        background-position: center top;
    }

    .graduated-page .graduated-hero .wrapper.wrapper--hero {
        width: calc(100% - (var(--container-mobile-x) * 2));
        min-height: 400px;
        margin: 0 auto;
        padding: 0;
    }

    .graduated-hero__label {
        left: 0;
        bottom: 94px;
        width: 100%;
        font-size: 14px;
        line-height: 18.2px;
    }

    .graduated-hero h1 {
        left: 0;
        right: 0;
        bottom: 30px;
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .graduated-intro {
        padding: 41px 0 64px 0;
    }

    .graduated-intro .wrapper {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        padding-left: 0;
        padding-right: 0;
        margin-left: 16px;
        margin-right: 16px;
        overflow: hidden;
    }

    .graduated-intro h3.h-m-l.graduated-intro__lead {
        display: flex;
        flex-direction: column;
        gap: 19px;
        margin-bottom: 91px;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        padding-left: 0;
        font-size: clamp(18px, 5.6vw, 20px);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .graduated-intro h3.h-m-l.graduated-intro__lead:before {
        position: static;
        width: 10px;
        height: 10px;
    }

    .graduated-intro__content {
        display: block;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }

    .graduated-intro__photo {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        height: auto;
        aspect-ratio: 1 / 1;
        margin-bottom: 25px;
    }

    .graduated-intro__accent {
        max-width: none;
        margin-bottom: 31px;
        font-size: clamp(18px, 5.6vw, 20px);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .graduated-intro__columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        margin-bottom: 47px;
    }

    .graduated-intro__columns p {
        font-size: 14px;
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .graduated-intro__button {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        min-height: 36px;
        justify-content: center;
        gap: 10px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }

    .graduated-vacancies {
        padding-bottom: 100px;
        padding-top: 100px;
    }

    .graduated-section-head__label {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.2;
    }

    .graduated-section-head__main {
        display: block;
    }

    .graduated-section-head h2 {
        font-size: 25px;
        line-height: 1.12;
    }

    .graduated-vacancies__head .graduated-slider-arrows {
        display: none;
    }

    .graduated-slider-arrows--mobile {
        display: flex;
    }

    .graduated-vacancies__viewport {
        width: calc(100vw - 32px);
        margin-top: 20px;
    }

    .graduated-vacancies__track {
        gap: 20px;
        padding-right: 0;
    }

    .graduated-vacancy-card {
        flex-basis: calc(100vw - 32px);
        min-height: 404px;
        padding: 30px 24px;
    }

    .graduated-vacancy-card__top {
        display: block;
        margin-bottom: 20px;
    }

    .graduated-vacancy-card h3,
    .graduated-vacancy-card__salary {
        font-size: 18px;
        line-height: 1.2;
    }

    .graduated-vacancy-card h3 {
        margin-bottom: 10px;
    }

    .graduated-vacancy-card p {
        margin-bottom: 24px;
        font-size: 13px;
        line-height: 1.3;
    }

    .graduated-vacancy-card h4 {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .graduated-slider-arrows--mobile {
        justify-content: center;
        margin-top: 20px;
    }

    .graduated-vacancies__portal {
        width: calc(100vw - 32px);
        margin-top: 70px;
    }

    .graduated-vacancies__portal .item {
        min-height: 220px;
        padding: 160px 20px 26px 20px;
    }

    .graduated-vacancies__portal h4 {
        font-size: 20px;
    }

    .graduated-files {
        padding-bottom: 100px;
    }

    .graduated-files__group {
        margin-bottom: 100px;
    }

    .graduated-files .subhead h4 {
        color: #212F8A;
        font-size: 25px;
        line-height: 27.5px;
        font-weight: 400;
        margin-bottom: 40px;
    }

    .graduated-files__group > .items,
    .graduated-files__group .docs,
    .graduated-files__group--base .docs {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .graduated-files__group > .items > .item:first-child,
    .graduated-files__group .docs {
        grid-column: auto;
    }

    .graduated-files__group > .items > .item:last-child {
        display: block;
    }

    .graduated-files .docs-item {
        min-height: 100px;
        padding: 14px 30px 12px 20px;
    }

    .graduated-files .docs-h {
        gap: 24px;
    }

    .graduated-album {
        padding-bottom: 100px;
    }

    .graduated-album__head h2 {
        order: 1;
        max-width: none;
        font-size: 16px;
        line-height: 1.2;
        font-weight: 400;
    }

    .graduated-album__filter {
        order: 2;
        width: calc(100vw - 32px);
    }

    .graduated-album-filter,
    .graduated-album-filter summary {
        width: calc(100vw - 32px);
    }

    .graduated-album-filter__menu {
        width: calc(100vw - 40px);
    }

    .graduated-album__slider {
        --album-main-w: calc(100vw - 32px);
        --album-main-h: calc(var(--album-main-w) * 214 / 300);
        --album-small-w: calc(100vw - 32px);
        --album-small-h: var(--album-main-h);
        --album-gap: 10px;
        width: calc(100vw - 32px);
        min-height: 0;
        margin-top: 40px;
    }

    .graduated-album__track {
        width: 100%;
        height: var(--album-main-h);
    }

    .graduated-album__photo.is-active::before,
    .graduated-album__photo.is-active::after {
        width: 50px;
        height: 50px;
        border-width: 6px;
    }

    .graduated-album__arrows,
    .veterinary-center-gallery__arrows {
        position: static;
        justify-content: center;
        margin-top: 20px;
    }

    .graduated-contacts {
        padding-bottom: 100px;
    }

    .graduated-contacts .wrapper {
        display: block;
    }

    .graduated-contacts__info {
        display: block;
    }

    .graduated-contacts__info h2 {
        max-width: none;
        margin-bottom: 20px;
    }

    .graduated-contacts__details {
        max-width: none;
    }

    .graduated-contacts__group,
    .graduated-contacts__label {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .graduated-employee-card {
        width: 100%;
        min-height: 300px;
        margin-top: 40px;
        padding: 20px;
    }

    .graduated-employee-card__head h3 {
        font-size: var(--text-14);
    line-height: var(--leading-14);
        font-weight: 500;
    }

    .graduated-employee-card__head p {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .graduated-employee-card__contacts {
        margin-top: 158px;
    }

    .graduated-employee-card__contacts span,
    .graduated-employee-card__contacts a,
    .graduated-employee-card__contacts p {
        font-size: 10px;
        line-height: 11px;
    }
}

@media screen and (max-width: 1200px) {
    .wrapper--hero {
        min-height: 657px;
    }

    .faq-page .wrapper {
        width: auto;
        max-width: none;
        margin-left: 60px;
        margin-right: 60px;
        padding-left: 0;
        padding-right: 0;
    }

    .faq-page .prep-hero__content {
        --prep-hero-content-x: 0;
        --prep-hero-content-top-tablet: 307px;
        display: block;
    }

    .faq-page .prep-hero h1 {
        --prep-hero-title-max-tablet: 640px;
        font-size: 70px;
        line-height: 77px;
        text-align: left;
    }
}

@media screen and (max-width: 1100px) {
    .prep-hero {
        min-height: 657px;
    }

    .prep-hero__content {
        display: block;
    }

    .prep-hero__label {
        margin-bottom: 40px;
    }

    .prep-hero__head {
        min-width: 0;
    }

    .prep-hero h1 {
        font-size: 70px;
        line-height: 77px;
        text-align: left;
    }

    .prep-tabs {
        gap: 20px;
    }

    .prep-tabs a {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .entrance-page .prep-tabs {
        min-height: 42px;
    }

    .entrance-page .prep-tabs a {
        min-height: 42px;
        padding: 10px 0;
    }

    .prep-intro,
    .prep-process__head {
        display: block;
    }

    .prep-intro {
        padding-bottom: 100px;
    }

    .prep-intro__label,
    .prep-process__label {
        margin-bottom: 20px;
    }

    .prep-intro h2 {
        max-width: 640px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .prep-intro__texts,
    .prep-schedule {
        max-width: 640px;
    }

    .prep-intro__texts {
        margin-top: 50px;
    }

    .prep-process__head {
        margin-bottom: 70px;
    }

    .prep-process__item {
        grid-template-columns: 80px minmax(0, 310px);
        gap: 20px;
    }

    .prep-process__item > p,
    .prep-process__item > h3 + div {
        grid-column: 1 / -1;
        max-width: 640px;
        margin-top: 4px;
    }

    .prep-docs__group h2 {
        margin-left: 0;
        margin-bottom: 40px;
    }

    .prep-docs__list {
        gap: 10px;
    }

    .prep-docs__list.docs--grid-3-wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .prep-docs__list .docs-item {
        width: 100%;
        min-height: 100px;
    }

    .targeted-training-lead {
        padding: 120px 0;
    }

    .targeted-training-lead__content {
        max-width: 555px;
        margin-left: 85px;
    }

    .targeted-training-lead__content::before {
        left: -80px;
    }

    .targeted-training-lead p {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .targeted-training-info {
        padding: 70px 0;
    }

    .targeted-training-info__grid {
        gap: 80px;
    }

    .targeted-training-info__row {
        display: block;
    }

    .targeted-training-info h2 {
        margin-bottom: 20px;
    }

    .targeted-training-info__text {
        max-width: 640px;
    }

    .targeted-training-info__note {
        margin-top: 50px !important;
    }

    .targeted-training-contacts {
        padding: 120px 0;
    }

    .targeted-training-contacts__grid {
        grid-template-columns: minmax(0, 280px) minmax(0, 280px);
        gap: 50px;
    }

    .targeted-training-contacts__list {
        max-width: 310px;
        margin-top: 40px;
    }

    .targeted-training-card {
        min-height: 365px;
        padding: 30px;
    }

    .targeted-training-card__name {
        margin-bottom: 126px;
    }

    .targeted-training-docs .prep-docs__group + .prep-docs__group {
        margin-top: 100px;
    }

}

@media screen and (max-width: 1180px) {
    .targeted-training-page .wrapper {
        width: auto;
        max-width: none;
        margin-left: 60px;
        margin-right: 60px;
        padding-left: 0;
        padding-right: 0;
    }

    .targeted-training-page .prep-hero {
        min-height: 657px;
    }

    .targeted-training-page .prep-hero__content {
        display: block;
    }

    .targeted-training-page .prep-hero h1 {
        font-size: 70px;
        line-height: 77px;
        text-align: left;
    }

    .targeted-training-lead {
        padding: 120px 0;
    }

    .targeted-training-lead__content {
        max-width: 555px;
        margin-left: 85px;
    }

    .targeted-training-lead__content::before {
        left: -80px;
    }

    .targeted-training-lead p,
    .additional-professional-lead p {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .targeted-training-info {
        padding: 70px 0;
    }

    .targeted-training-info__grid {
        gap: 80px;
    }

    .targeted-training-info__row,
    .additional-professional-programs__group {
        display: block;
    }

    .targeted-training-info h2 {
        margin-bottom: 20px;
    }

    .targeted-training-info__text {
        max-width: 640px;
    }

    .targeted-training-contacts {
        padding: 120px 0;
    }

    .targeted-training-contacts__grid {
        grid-template-columns: minmax(0, 280px) minmax(0, 280px);
        gap: 50px;
    }

    .targeted-training-page .prep-hero__label,
    .targeted-training-docs .prep-docs__group h2,
    .additional-professional-hero .prep-hero__label,
    .additional-professional-docs .prep-docs__group h2,
    .additional-professional-programs__group h3 {
        margin-bottom: 40px;
    }

    .targeted-training-docs .prep-docs__group h2 {
        margin-left: 0;
    }

    .targeted-training-docs .docs-item {
        width: 100%;
    }

    .targeted-training-docs {
        padding-bottom: 100px;
    }

    .additional-professional-body header {
        left: 0;
        transform: none;
        width: 100vw;
        max-width: none;
    }

    .additional-professional-body header .top {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
    }

    .additional-professional-hero {
        min-height: 657px;
    }

    .additional-professional-hero .prep-hero__content {
        --prep-hero-content-top-tablet: 338px;
        display: block;
    }

    .additional-professional-hero h1 {
        font-size: 45px;
        line-height: 49.5px;
        text-align: left;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .additional-professional-lead {
        padding: 70px 0 120px;
    }

    .additional-professional-lead__content {
        max-width: 555px;
        margin-left: 85px;
    }

    .additional-professional-lead__content::before {
        left: -85px;
    }

    .additional-professional-presentation {
        padding-bottom: 120px;
    }

    .additional-professional-docs .prep-docs__group h2,
    .additional-professional-programs__head {
        margin-left: 0;
        padding-left: 0;
    }

    .additional-professional-docs .prep-docs__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
    }

    .additional-professional-docs .docs-item {
        width: 100%;
        min-height: 200px;
    }

    .additional-professional-programs__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .additional-professional-card {
        min-height: 556px;
    }

    .additional-professional-contacts .targeted-training-contacts__grid {
        display: block;
    }

    .additional-professional-contacts__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 1280px) {
    .additional-professional-page .wrapper {
        width: auto;
        max-width: none;
        margin-left: 60px;
        margin-right: 60px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .additional-professional-body header {
        left: 0;
        transform: none;
        width: 100vw;
        max-width: none;
    }

    .additional-professional-body header .top {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
    }

    .additional-professional-hero {
        min-height: 657px;
    }

    .additional-professional-hero .prep-hero__content {
        --prep-hero-content-top-tablet: 338px;
        display: block;
    }

    .additional-professional-hero .prep-hero__label {
        margin-bottom: 40px;
    }

    .additional-professional-hero h1 {
        max-width: 640px;
        font-size: 45px;
        line-height: 49.5px;
        text-align: left;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .additional-professional-docs .prep-docs__group h2,
    .additional-professional-programs__head {
        margin-left: 0;
        padding-left: 0;
    }

    .additional-professional-docs .prep-docs__group h2 {
        margin-bottom: 40px;
    }

    .additional-professional-docs .prep-docs__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
    }

    .additional-professional-docs .docs-item {
        width: 100%;
        min-height: 200px;
    }

    .additional-professional-programs__group {
        display: block;
    }

    .additional-professional-programs__group h3 {
        margin-bottom: 40px;
    }

    .additional-professional-programs__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .additional-professional-card {
        min-height: 556px;
    }

    .additional-professional-contacts .targeted-training-contacts__grid {
        display: block;
    }

    .additional-professional-contacts__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        margin-top: 40px;
    }
}

@media screen and (max-width: 600px) {
    .prep-page,
    .prep-tabs-section,
    .prep-process,
    .prep-docs,
    .targeted-training-lead,
    .targeted-training-info,
    .targeted-training-contacts,
    .additional-professional-lead,
    .additional-professional-presentation,
    .additional-professional-docs,
    .additional-professional-programs,
    .additional-professional-contacts {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .prep-hero {
        min-height: 400px;
    }

    .prep-hero__content {
        --prep-hero-content-top-mobile: 244px;
    }

    .prep-hero__label {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .prep-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .entrance-page .prep-hero__content {
        --prep-hero-content-top-mobile: 244px;
    }

    .targeted-training-page .prep-hero__content {
        --prep-hero-content-top-mobile: 244px;
    }

    .prep-tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        min-height: 0;
    }

    .prep-tabs a {
        min-height: 57px;
        padding: 16px 0;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .entrance-page .prep-tabs {
        gap: 20px;
    }

    .entrance-page .prep-tabs a {
        min-height: 37px;
        padding: 10px 0;
    }

    .prep-panel {
        padding-top: 0;
    }

    .prep-intro {
        padding: 30px 0 80px;
    }

    .prep-intro__label,
    .prep-process__label {
        margin-bottom: 20px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .prep-intro h2 {
        max-width: 300px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .prep-intro__texts,
    .prep-schedule,
    .prep-process__item p {
        max-width: 300px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .prep-intro__texts {
        margin-top: 40px;
    }

    .prep-process,
    .prep-docs,
    .targeted-training-contacts {
        padding: 80px 0;
    }

    .prep-process__head {
        margin-bottom: 70px;
    }

    .prep-process__head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .prep-process__item {
        display: block;
        padding: 30px 0;
    }

    .prep-process__number,
    .prep-process__item h3,
    .targeted-training-lead p,
    .additional-professional-lead p,
    .additional-professional-card__hours,
    .additional-professional-card__title {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .prep-process__item h3 {
        margin-top: 10px;
        margin-bottom: 20px;
        max-width: 260px;
    }

    .prep-process__button {
        margin-top: 20px;
    }

    .prep-docs__group + .prep-docs__group,
    .additional-professional-programs__group + .additional-professional-programs__group,
    .additional-professional-contacts__cards {
        margin-top: 60px;
    }

    .prep-docs__group h2 {
        max-width: 300px;
        margin-bottom: 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .prep-docs__list {
        gap: 10px;
    }

    .prep-docs__list .docs-item {
        min-height: 100px;
        padding: 10px 20px;
    }

    .prep-docs__list .docs-h {
        align-items: flex-start;
        gap: 20px;
    }

    .prep-docs__list .docs-title {
        max-width: 216px;
    }

    .entrance-page .prep-tabs-section {
        padding-top: 40px;
    }

    .entrance-page .prep-intro {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .entrance-page .prep-docs__group + .prep-docs__group {
        margin-top: 80px;
    }

    .targeted-training-lead {
        padding: 70px 0 80px;
    }

    .targeted-training-lead__content {
        max-width: 300px;
        margin-left: 0;
        padding-left: 0;
    }

    .targeted-training-lead__content::before {
        top: -25px;
        left: 0;
        width: 10px;
        height: 10px;
    }

    .targeted-training-info {
        padding: 40px 0;
        background-color: var(--grey-light);
    }

    .targeted-training-info__grid {
        gap: 60px;
    }

    .targeted-training-info h2 {
        margin-bottom: 20px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .targeted-training-info__text {
        max-width: 280px;
        margin-left: 10px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .targeted-training-info__text ul {
        padding-left: 16px;
    }

    .targeted-training-info__note {
        margin-top: 50px !important;
        font-size: 10px;
        line-height: 11px;
    }

    .targeted-training-contacts__grid,
    .additional-professional-programs__group,
    .additional-professional-contacts .targeted-training-contacts__grid,
    .additional-professional-contacts__cards,
    .additional-professional-person-card__top {
        display: block;
    }

    .targeted-training-contacts__main h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .targeted-training-contacts__list {
        max-width: 300px;
        margin-top: 20px;
        gap: 20px;
    }

    .targeted-training-contacts dt,
    .targeted-training-card dt,
    .targeted-training-contacts dd,
    .targeted-training-card dd,
    .additional-professional-card__button,
    .additional-professional-person-card h3,
    .additional-professional-person-card p,
    .additional-professional-person-card dt,
    .additional-professional-person-card dd {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .targeted-training-card {
        height: auto;
        min-height: 300px;
        margin-top: 60px;
        padding: 20px;
    }

    .targeted-training-card h3 {
        font-size: var(--text-14);
    line-height: var(--leading-14);
        font-weight: 500;
    }

    .targeted-training-card__name {
        margin: 5px 0 126px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .targeted-training-page .prep-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .targeted-training-card dl {
        gap: 12px;
    }

    .targeted-training-docs {
        padding-top: 0;
        padding-bottom: 120px;
    }

    .targeted-training-docs .prep-docs__group + .prep-docs__group {
        margin-top: 80px;
    }

    .additional-professional-hero .prep-hero__content {
        --prep-hero-content-top-mobile: 170px;
    }

    .additional-professional-hero .prep-hero__label {
        margin-bottom: 20px;
    }

    .additional-professional-hero h1 {
        --prep-hero-title-max-mobile: 300px;
        font-size: 34px;
        line-height: 37.4px;
        text-transform: none;
        white-space: normal;
        overflow-wrap: normal;
    }

    .additional-professional-lead {
        padding: 70px 0 80px;
    }

    .additional-professional-lead__content {
        max-width: 300px;
        margin-left: 0;
    }

    .additional-professional-lead__content::before {
        top: -25px;
        left: 0;
        width: 10px;
        height: 10px;
    }

    .additional-professional-presentation {
        padding-bottom: 80px;
    }

    .additional-professional-presentation img {
        aspect-ratio: 300 / 168;
    }

    .additional-professional-docs {
        padding-bottom: 80px;
    }

    .additional-professional-docs .prep-docs__group h2,
    .additional-professional-programs__head {
        margin-left: 0;
        padding-left: 0;
    }

    .additional-professional-docs .prep-docs__list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
    }

    .additional-professional-docs .docs-item {
        width: 100%;
        min-height: 200px;
    }

    .additional-professional-docs .prep-docs__list .docs-h {
        min-height: 159px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
    }

    .additional-professional-docs .prep-docs__list .docs-h img {
        flex: 0 0 60px;
        width: 60px;
        min-width: 60px;
        height: 60px;
        margin-top: 0;
    }

    .additional-professional-programs {
        padding-bottom: 80px;
    }

    .additional-professional-programs__head {
        margin-bottom: 40px;
    }

    .additional-professional-programs h2 {
        color: var(--blue);
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .additional-professional-programs__group h3 {
        margin-bottom: 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .additional-professional-programs__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .additional-professional-card {
        height: 500px;
        min-height: 500px;
        padding: 20px;
    }

    .additional-professional-programs__group + .additional-professional-programs__group {
        margin-top: 100px;
    }

    .additional-professional-programs__more {
        justify-content: flex-start;
        margin-top: 30px;
    }

    .additional-professional-programs__more .button {
        width: 100%;
        justify-content: space-between;
        height: auto;
        min-height: 36px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
        white-space: normal;
        text-align: left;
    }

    .additional-professional-programs__more .button {
        --button-icon-width: 22px;
        --button-icon-height: 15px;
    }

    .additional-professional-person-card {
        min-height: 365px;
        padding: 20px;
    }

    .additional-professional-person-card + .additional-professional-person-card {
        margin-top: 24px;
    }

    .faq-page .prep-hero__content {
        --prep-hero-content-top-mobile: 200px;
    }

}

@media screen and (max-width: 1100px) {
    .schedule-page .wrapper {
        max-width: none;
        padding-left: 50px;
        padding-right: 50px;
    }

    .schedule-hero {
        min-height: 657px;
    }

    .schedule-hero {
        background-position: center center;
    }

    .schedule-hero__content {
        display: block;
    }

    .schedule-hero__label {
        margin-bottom: 40px;
    }

    .schedule-hero h1 {
        font-size: 70px;
        line-height: 77px;
        text-align: left;
    }

    .schedule-section {
        padding-bottom: 40px;
    }

    .schedule-section--magistracy {
        padding-bottom: 90px;
    }

    .schedule-section--bachelor {
        padding-top: 40px;
    }

    .schedule-section + .schedule-section .wrapper {
        padding-top: 40px;
    }

    .schedule-section__head {
        display: block;
        margin-bottom: 50px;
    }

    .schedule-section__label {
        margin-bottom: 12px;
    }

    .schedule-section__head h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .schedule-panels--forms {
        grid-template-columns: minmax(0, 1fr);
    }

    .schedule-panel--single .schedule-links {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .schedule-page,
    .schedule-hero,
    .schedule-section {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .schedule-hero {
        min-height: 400px;
    }

    .schedule-hero {
        background-position: center center;
    }

    .schedule-hero__content {
    }

    .schedule-hero__label {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .schedule-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .schedule-section {
        padding-bottom: 26px;
    }

    .schedule-section--magistracy {
        padding-bottom: 104px;
    }

    .schedule-section--bachelor {
        padding-top: 26px;
    }

    .schedule-section + .schedule-section .wrapper {
        padding-top: 26px;
    }

    .schedule-section__head {
        margin-bottom: 25px;
    }

    .schedule-section__label {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .schedule-section__head h2 {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .schedule-faculty__head {
        min-height: 41px;
        margin-bottom: 20px;
    }

    .schedule-faculty__code {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .schedule-faculty h3 {
        margin-top: 5px;
        font-size: 16px;
        line-height: 19.2px;
        font-weight: 400;
    }

    .schedule-panel {
        padding: 16px 10px;
    }

    .schedule-panels--forms .schedule-panel {
        min-height: 0;
    }

    .schedule-panel h4 {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .schedule-panel--single {
        padding: 10px;
    }

    .schedule-panel--mobile-tall {
        min-height: 162px;
    }

    .schedule-link {
        gap: 16px;
        min-height: 44px;
        padding: 0 24px;
    }
}

@media screen and (max-width: 1100px) {
    .library-hero {
        min-height: 657px;
    }

    .library-hero__content {
        display: block;
    }

    .library-hero__label {
        margin-bottom: 40px;
    }

    .library-hero h1 {
        font-size: 45px;
        line-height: 49.5px;
        text-align: left;
    }

    .library-intro {
        padding: 70px 0 120px;
    }

    .library-intro .wrapper::before {
        left: 65px;
    }

    .library-intro p {
        max-width: 555px;
        margin-left: 85px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .library-resource-list {
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
        margin-left: 0;
    }

    .library-resource-card {
        height: 650px;
        min-height: 0;
        padding: 50px;
    }

    .library-resource-card:nth-child(1) h2 {
        margin-bottom: 115px;
    }

    .library-resource-card:nth-child(2) h2 {
        margin-bottom: 195px;
    }

    .library-resource-card:nth-child(3) h2 {
        margin-bottom: 305px;
    }

    .library-resource-card:nth-child(4) h2 {
        margin-bottom: 255px;
    }

    .library-resource-card:nth-child(n+5) h2 {
        margin-bottom: 393px;
    }

    .library-resource-card__body {
        max-width: 540px;
    }

    .library-resource-card--compact {
        min-height: 0;
    }

    .library-resources__exhibitions {
        margin-top: 60px;
        margin-left: 0;
        margin-right: 0;
    }

    .library-section-head,
    .library-contacts__body,
    .library-history-item,
    .library-rinc .wrapper {
        display: block;
    }

    .library-section-head {
        max-width: 640px;
        margin-bottom: 70px;
    }

    .library-section-head__label {
        margin-bottom: 20px;
    }

    .library-section-head p {
        max-width: 640px;
    }

    .library-contact-info {
        max-width: 640px;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .library-people {
        display: flex;
        gap: 20px;
        margin-top: 70px;
        max-width: 640px;
    }

    .library-person-card {
        flex-basis: 280px;
        height: 365px;
    }

    .library-person-card__role,
    .library-person-card h3 {
        max-width: 220px;
    }

    .library-history__details {
        max-width: 640px;
        margin-left: 0;
    }

    .library-history-item h2 {
        margin-bottom: 20px;
    }

    .library-rinc .wrapper {
        max-width: 640px;
    }

    .library-rinc__content {
        padding-left: 0;
        margin-bottom: 50px;
    }

    .library-rinc-form {
        width: 375px;
    }

    .library-rinc .wrapper::before {
        left: 65px;
    }

    .library-inner-tabs__nav {
        flex-direction: column;
        gap: 20px;
        overflow: visible;
    }

    .library-inner-tabs__nav a {
        font-size: 45px;
        line-height: 49.5px;
        white-space: nowrap;
    }

    .library-inclusive-intro {
        padding: 120px 0 160px;
    }

    .library-inclusive-intro__head {
        grid-template-columns: 28px minmax(0, 555px);
        gap: 57px;
    }

    .library-inclusive-intro__back {
        margin: 40px 0 0 85px;
    }

    .library-inclusive-intro h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .library-inclusive-resources {
        padding-bottom: 200px;
    }

    .library-inclusive-cards {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .library-inclusive-card {
        min-height: 650px;
        padding: 50px;
    }

    .library-inclusive-card h3 {
        max-width: 540px;
    }

    .library-inclusive-card p {
        max-width: 540px;
    }

    .library-inclusive-contacts {
        padding: 80px 0 200px;
    }

    .library-inclusive-contacts__label {
        margin-bottom: 20px;
    }

    .library-inclusive-contacts__grid {
        grid-template-columns: 310px 310px;
        gap: 20px;
        width: 640px;
        margin-left: 0;
        margin-top: 0;
    }

    .library-inclusive-contacts__main {
        display: grid;
        grid-template-columns: 310px 310px;
        gap: 20px;
        grid-column: 1 / -1;
    }

    .library-inclusive-contacts__main h2 {
        margin-bottom: 0;
    }

    .library-inclusive-person {
        grid-column: 1;
        width: 280px;
        min-height: 365px;
    }

    .library-authors-intro .wrapper,
    .library-authors-advice,
    .library-author-id-card {
        display: block;
    }

    .library-authors-intro h2 {
        margin-bottom: 50px;
    }

    .library-authors-intro__text {
        display: block;
    }

    .library-authors-intro__text p + p {
        margin-top: 20px;
    }

    .library-authors-head {
        gap: 110px;
        margin-bottom: 80px;
    }

    .library-authors-advice {
        max-width: none;
        margin-left: 0;
    }

    .library-authors-advice article + article {
        margin-top: 60px;
    }

    .library-author-id-card {
        min-height: 716px;
        padding: 50px 60px;
    }

    .library-author-id-card h3 {
        max-width: 579px;
    }

    .library-author-id-card__title span {
        top: -50px;
        right: -15px;
    }

    .library-author-id-card__text {
        margin-top: 50px;
    }

    .library-authors-docs__title {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .library-teachers-intro .wrapper {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 57px;
        row-gap: 53px;
    }

    .library-teachers-page .wrapper--tablet-gutter-wide {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 60px;
        padding-right: 60px;
    }

    .library-teachers-intro h2,
    .library-teachers-info .library-authors-head h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .library-teachers-intro h2 {
        margin-bottom: 0;
    }

    .library-teachers-intro .library-authors-intro__text {
        min-height: 371px;
        grid-column: 1 / -1;
        column-count: 2;
        column-gap: 20px;
    }

    .library-teachers-intro .library-authors-intro__text p:nth-child(2),
    .library-teachers-intro .library-authors-intro__text p:nth-child(4) {
        break-before: auto;
    }

    .library-teachers-intro .library-authors-intro__text p:nth-child(3) {
        break-before: column;
    }

    .library-teachers-info .library-authors-head {
        gap: 57px;
        margin-bottom: 86.5px;
    }

    .library-teachers-recommendations h3 {
        margin-bottom: 20px;
    }

    .library-teachers-recommendations__main,
    .library-teachers-recommendations__columns {
        display: block;
    }

    .library-teachers-recommendations__main {
        margin-top: 60px;
    }

    .library-teachers-recommendations > article {
        min-height: 342px;
    }

    .library-teachers-recommendations__main article:first-child {
        min-height: 333px;
    }

    .library-teachers-recommendations__main article:nth-child(2) {
        margin-top: 60px;
        min-height: 168px;
    }

    .library-teachers-recommendations__columns p + p {
        margin-top: 0;
    }

    .library-teachers-docs .docs--grid-3-wide {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .library-teachers-docs--norms {
        padding-bottom: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .library-hero {
        min-height: 657px;
    }

    .library-hero__content {
        display: block;
    }

    .library-hero__label {
        margin-bottom: 40px;
    }

    .library-hero h1 {
        max-width: var(--library-hero-title-max-tablet, min(760px, calc(100vw - 120px)));
        font-size: var(--library-hero-title-size-tablet, clamp(45px, 4.6vw, 55px));
        line-height: var(--library-hero-title-line-tablet, 1.1);
        text-align: left;
    }

    .library-inner-hero .library-hero__content {
        --section-hero-content-top: 384px;
    }

    .library-inner-hero {
        --library-hero-title-max-tablet: 640px;
        --library-hero-title-size-tablet: 70px;
        --library-hero-title-line-tablet: 77px;
    }

    .library-intro {
        padding: 70px 0 100px;
    }

    .library-intro .wrapper::before {
        top: 75px;
        left: 60px;
    }

    .library-intro p {
        max-width: calc(100% - 145px);
        margin-left: 145px;
        font-size: clamp(25px, 3.2vw, 40px);
        line-height: 1.1;
    }

    .library-resource-list {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .library-resource-card {
        display: block;
        height: auto;
        min-height: 520px;
        padding: clamp(40px, 4vw, 50px);
    }

    .library-resource-card__body {
        display: flex;
        flex-direction: column;
        height: 100%;
        max-width: none;
    }

    .library-resource-card h2,
    .library-resource-card:nth-child(1) h2,
    .library-resource-card:nth-child(2) h2,
    .library-resource-card:nth-child(3) h2,
    .library-resource-card:nth-child(4) h2,
    .library-resource-card:nth-child(n+5) h2 {
        margin-bottom: 40px;
        font-size: clamp(34px, 3.6vw, 45px);
        line-height: 1.1;
    }

    .library-resource-card p {
        margin-top: auto;
        font-size: clamp(16px, 1.8vw, 20px);
        line-height: 1.1;
    }

    .library-resource-card__links,
    .library-resource-card__button {
        margin-top: 28px;
    }

    .library-resource-card__number {
        font-size: clamp(180px, 18vw, 250px);
        line-height: .8;
    }

    .library-resources__exhibitions {
        margin-left: auto;
        margin-right: auto;
    }

    .library-contacts .library-section-head {
        display: block;
        max-width: 340px;
        margin-bottom: 40px;
    }

    .library-section-head {
        max-width: none;
    }

    .library-section-head p {
        max-width: none;
    }

    .library-people {
        width: 100%;
        max-width: none;
        gap: 20px;
        margin-top: 90px;
    }

    .library-person-card {
        flex-basis: clamp(280px, calc((100vw - 160px) / 3), 320px);
    }

    .library-history__details {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .library-rinc .wrapper {
        max-width: none;
    }

    .library-rinc .wrapper::before {
        left: 60px;
    }

    .library-rinc__content {
        padding-left: 145px;
    }

    .library-rinc__content h2,
    .library-rinc__content p {
        max-width: 489px;
    }

    .library-authors-info {
        padding: 112px 0;
    }

    .library-author-identifiers {
        padding: 120px 0;
    }

    .library-authors-docs {
        padding-bottom: 200px;
    }

    .library-teachers-docs--norms {
        padding-bottom: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 700px) {
    .library-hero__content {
        --section-hero-content-left: 0;
        --section-hero-content-right: 0;
    }

    .library-intro .wrapper::before,
    .library-rinc .wrapper::before {
        left: 0;
    }

    .library-intro p,
    .library-rinc__content,
    .library-rinc-form {
        margin-left: 60px;
        padding-left: 0;
        max-width: calc(100% - 60px);
    }

    .library-resource-list,
    .library-section-head,
    .library-section-head p,
    .library-contact-info,
    .library-people,
    .library-history__details,
    .library-rinc .wrapper {
        width: 100%;
        max-width: none;
    }

    .library-people {
        flex-direction: column;
        gap: 20px;
        overflow: visible;
        padding-bottom: 0;
    }

    .library-person-card {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media screen and (min-width: 760px) and (max-width: 1280px) {
    .library-contact-info {
        max-width: min(420px, calc(100% - clamp(300px, 42vw, 520px)));
        margin: -128px 0 0 clamp(300px, 42vw, 520px);
    }
}

@media screen and (min-width: 601px) and (max-width: 759px) {
    .library-contact-info {
        max-width: none;
        margin: 0;
    }

    .library-people {
        margin-top: 60px;
    }
}

@media screen and (min-width: 701px) and (max-width: 1100px) {
    .library-rinc-form {
        max-width: calc(100% - 145px);
        margin-left: 145px;
    }
}

@media screen and (min-width: 1101px) and (max-width: 1280px) {
    .library-rinc .wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 375px;
        gap: clamp(48px, 5vw, 80px);
    }

    .library-rinc__content {
        padding-left: clamp(110px, 10vw, 145px);
    }

    .library-rinc-form {
        width: 375px;
    }
}

@media screen and (min-width: 1101px) and (max-width: 1500px) {
    .library-inclusive-contacts__grid {
        grid-template-columns: 344px 320px;
        justify-content: space-between;
        gap: 0;
        width: min(100%, 744px);
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 900px) {
    .library-resource-card p {
        font-size: 18px;
        line-height: 21.6px;
    }

    .library-rinc .wrapper {
        gap: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 1240px) {
    .applicants-open-days .wrapper {
        width: 640px;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-open-days__title {
        display: block;
        margin-bottom: 0;
    }

    .applicants-open-days__title .applicants-section-title__label {
        width: 640px;
        margin-bottom: 20px;
    }

    .applicants-open-days__title h2 {
        width: 640px;
    }

    .applicants-open-days__title .button {
        margin-top: 26px;
    }

    .applicants-open-day-main {
        grid-template-columns: minmax(0, 1fr);
        min-height: 500px;
        margin-top: 57px;
        padding: 0 24px;
    }

    .applicants-open-day-main h3 {
        max-width: 592px;
        margin-top: 92px;
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-open-day-main .button {
        grid-column: 1 / 2;
        justify-self: start;
        margin-top: 26px;
        margin-bottom: 0;
    }

    .applicants-open-days__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        margin-top: 25px;
    }

    .applicants-open-day-card {
        min-height: 426px;
        padding: 0 24px;
    }

    .applicants-open-day-card:nth-child(n + 3) {
        display: none;
    }

    .applicants-open-day-card .button {
        right: 40px;
        bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    .library-page,
    .library-hero,
    .library-intro,
    .library-resources,
    .library-contacts,
    .library-history,
    .library-rinc {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .library-hero {
        min-height: 400px;
    }

    .library-hero__content {
    }

    .library-hero__label {
        margin-bottom: 20px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .library-hero h1 {
        font-size: var(--library-hero-title-size-mobile, 35px);
        line-height: var(--library-hero-title-line-mobile, 38.5px);
    }

    .library-inner-hero .library-hero__content {
        --section-hero-content-top: 244px;
    }

    .library-inner-hero {
        --library-hero-title-size-mobile: 40px;
        --library-hero-title-line-mobile: 44px;
        --library-hero-title-transform: none;
    }

    .library-intro {
        padding: 78px 0 80px;
    }

    .library-intro .wrapper::before {
        top: 49px;
        left: 0;
        width: 10px;
        height: 10px;
    }

    .library-intro p {
        max-width: none;
        margin-left: 0;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .library-resources {
        padding-bottom: 80px;
    }

    .library-resource-list {
        width: 100%;
        max-width: none;
        gap: 24px;
    }

    .library-resource-card {
        min-height: 0;
        padding: 30px 20px 28px;
    }

    .library-resource-card:nth-child(1) {
        height: 515px;
    }

    .library-resource-card:nth-child(2) {
        height: 490px;
    }

    .library-resource-card:nth-child(3) {
        height: 337px;
    }

    .library-resource-card:nth-child(4) {
        height: 382px;
    }

    .library-resource-card--compact {
        height: 252px;
    }

    .library-resource-card h2 {
        margin-bottom: 50px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
        font-weight: 500;
    }

    .library-resource-card:nth-child(1) h2,
    .library-resource-card:nth-child(2) h2,
    .library-resource-card:nth-child(3) h2,
    .library-resource-card:nth-child(4) h2,
    .library-resource-card:nth-child(n+5) h2 {
        margin-bottom: 50px;
    }

    .library-resource-card p {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .library-resource-card__links {
        gap: 8px;
        margin-top: 36px;
    }

    .library-resource-card__links a {
        padding: 7px 12px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
        white-space: normal;
    }

    .library-resource-card__button {
        margin-top: 36px;
    }

    .library-resource-card__number {
        right: -8px;
        top: 0;
        font-size: 160px;
        line-height: 128px;
    }

    .library-resources__exhibitions {
        margin-top: 60px;
    }

    .library-history,
    .library-rinc {
        padding: 60px 0;
    }

    .library-contacts {
        padding: 0;
    }

    .library-section-head {
        max-width: none;
        margin-bottom: 50px;
    }

    .library-contacts .library-section-head {
        margin-bottom: 50px;
    }

    .library-section-head__label {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .library-section-head h2 {
        max-width: none;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .library-section-head p,
    .library-history-item p {
        max-width: none;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .library-contact-info {
        max-width: none;
        margin-bottom: 0;
    }

    .library-people {
        width: 100%;
        max-width: none;
        flex-direction: column;
        gap: 20px;
        margin-top: 60px;
        overflow: visible;
        padding-bottom: 0;
    }

    .library-person-card {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        min-height: 260px;
        height: auto;
    }

    .library-person-card__content {
        padding: 20px;
        font-size: 10px;
        line-height: 11px;
    }

    .library-person-card__role {
        max-width: none;
        min-height: 39px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
        font-weight: 500;
    }

    .library-person-card h3 {
        max-width: none;
        margin: 5px 0 auto;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .library-history__details {
        max-width: none;
    }

    .library-history__details summary {
        min-height: 58px;
        padding: 16px 0;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .library-history__details summary::after {
        font-size: 32px;
    }

    .library-history__timeline {
        padding-top: 40px;
    }

    .library-history-item,
    .library-history-item + .library-history-item {
        padding: 40px 0;
    }

    .library-history-item:first-child {
        padding-top: 0;
    }

    .library-history-item h2 {
        margin-bottom: 20px;
        font-size: 40px;
        line-height: 44px;
    }

    .library-rinc .wrapper {
        max-width: none;
    }

    .library-rinc .wrapper::before {
        left: 0;
    }

    .library-rinc__content {
        padding-left: 0;
        margin-bottom: 40px;
    }

    .library-rinc__content h2 {
        max-width: none;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .library-rinc__content p {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .library-rinc-form {
        gap: 16px;
        width: 100%;
    }

    .library-rinc-form input,
    .library-rinc-form textarea {
        padding: 13px 15px;
    }

    .library-inner-tabs {
        padding-top: 60px;
    }

    .library-inclusive-page .library-inner-tabs {
        padding-top: 40px;
    }

    .library-inner-tabs__nav {
        flex-direction: column;
        gap: 20px;
    }

    .library-inner-tabs__nav a {
        font-size: var(--text-section-mobile);
        line-height: var(--leading-section-mobile);
        max-width: 100%;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .library-inclusive-page .library-inner-tabs__nav a {
        font-size: 35px;
        line-height: 38.5px;
        max-width: 300px;
        padding-left: 1px;
        overflow: visible;
        white-space: normal;
        text-transform: none;
    }

    .library-authors-intro {
        padding: 80px 0;
    }

    .library-authors-intro .wrapper,
    .library-authors-advice,
    .library-author-id-card {
        display: block;
    }

    .library-authors-intro h2,
    .library-authors-head h2 {
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
    }

    .library-authors-intro h2 {
        margin-bottom: 40px;
    }

    .library-authors-intro__text {
        display: block;
    }

    .library-authors-intro__text p,
    .library-authors-advice p,
    .library-author-id-card__text li,
    .library-author-id-card__text {
        font-size: var(--text-14);
        line-height: var(--leading-14);
    }

    .library-authors-intro__text p + p {
        margin-top: 20px;
    }

    .library-authors-info,
    .library-author-identifiers {
        padding: 80px 0;
    }

    .library-authors-head {
        display: block;
        margin-bottom: 50px;
    }

    .library-authors-head .decor-dot--blue,
    .library-inclusive-intro__head .decor-dot--blue {
        display: block;
        width: 10px;
        height: 10px;
        margin: 0 0 40px;
    }

    .library-authors-advice {
        margin-left: 0;
    }

    .library-authors-advice::before,
    .library-authors-advice::after {
        display: none;
    }

    .library-authors-advice article:nth-child(2) {
        margin-top: 50px;
    }

    .library-authors-advice__wide p {
        max-width: none;
    }

    .library-authors-advice article + article {
        margin-top: 50px;
    }

    .library-authors-advice h3 {
        margin-bottom: 24px;
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
    }

    .library-author-id-card {
        min-height: 0;
        padding: 30px 20px;
    }

    .library-author-id-card h3 {
        font-size: 40px;
        line-height: 44px;
    }

    .library-author-id-card__title span {
        top: -30px;
        right: -10px;
        font-size: 160px;
        line-height: 128px;
    }

    .library-author-id-card__text {
        margin-top: 48px;
    }

    .library-author-identifiers__back {
        margin-top: 60px;
    }

    .library-authors-docs {
        padding-bottom: 80px;
    }

    .library-authors-docs__title {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
    }

    .library-authors-docs__list.docs--grid-3-wide {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .library-authors-docs__list .docs-item {
        width: 100%;
        min-height: 100px;
        padding: 10px 20px;
        gap: 22px;
    }

    .library-authors-docs__list .docs-h {
        align-items: flex-start;
        gap: 20px;
    }

    .library-authors-docs__list .docs-title,
    .library-authors-docs__list .docs-b {
        font-size: 14px;
        line-height: 18.2px;
    }

    .library-teachers-intro .wrapper {
        display: block;
    }

    .library-teachers-intro .decor-dot--blue {
        display: block;
        width: 10px;
        height: 10px;
        margin: 0 0 40px;
    }

    .library-teachers-intro .library-authors-intro__text {
        display: block;
        column-count: 1;
    }

    .library-teachers-intro .library-authors-intro__text p:nth-child(n) {
        break-before: auto;
        margin-top: 0;
    }

    .library-teachers-intro .library-authors-intro__text p:nth-child(3) {
        margin-top: 20px;
    }

    .library-teachers-intro h2 span {
        text-underline-offset: 3px;
    }

    .library-teachers-info {
        padding-bottom: 80px;
    }

    .library-teachers-docs,
    .library-teachers-docs--subscription {
        padding-top: 80px;
    }

    .library-inclusive-intro {
        padding: 89px 0 88px;
    }

    .library-inclusive-contacts {
        padding: 85px 0 127px;
    }

    .library-inclusive-intro__head,
    .library-inclusive-contacts__grid {
        display: block;
    }

    .library-inclusive-intro h2 {
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
    }

    .library-inclusive-intro__back {
        margin: 40px 0 0 34px;
    }

    .library-inclusive-resources {
        padding-bottom: 0;
    }

    .library-inclusive-cards {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .library-inclusive-card {
        min-height: 286px;
        padding: 34px 10px 20px;
    }

    .library-inclusive-card:nth-child(2) {
        min-height: 199px;
    }

    .library-inclusive-card h3,
    .library-inclusive-contacts__main h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .library-inclusive-card h3 {
        max-width: 280px;
    }

    .library-inclusive-card__number {
        display: block;
        top: -4px;
        right: auto;
        left: 83px;
        width: 216px;
        color: rgba(33, 47, 138, .12);
        font-size: 190px;
        line-height: 152px;
        text-align: right;
    }

    .library-inclusive-card p {
        margin: 50px 0 24px;
        font-size: var(--text-14);
        line-height: var(--leading-14);
    }

    .library-inclusive-contacts__main {
        display: block;
        margin-bottom: 51px;
    }

    .library-inclusive-contacts__main h2 {
        max-width: 300px;
        margin-bottom: 20px;
    }

    .library-inclusive-contacts__grid {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }

    .library-inclusive-person {
        width: 100%;
        min-height: 300px;
        padding: 20px;
    }

    .library-inclusive-person__role {
        font-size: 20px;
        line-height: 22px;
    }

    .library-inclusive-person h3 {
        font-size: 16px;
        line-height: 19.2px;
    }
}

@media screen and (max-width: 1280px) and (min-width: 1101px) {
    .education-info-hero__content {
        display: block;
    }

    .education-info-hero__label {
        margin-bottom: 40px;
    }

    .education-info-hero h1 {
        font-size: 56px;
        line-height: 61.6px;
    }

    .education-info-section-head {
        display: block;
        margin-bottom: 50px;
    }

    .education-info-section-head__label {
        margin-bottom: 40px;
    }

    .education-info-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 35px 0;
    }

    .education-info-card h3,
    .education-info-card p {
        max-width: 760px;
    }

    .education-info-card__link {
        justify-self: start;
    }
}

@media screen and (max-width: 1100px) {
    .education-info-hero {
        min-height: 657px;
    }

    .education-info-hero__content {
        --section-hero-content-top: 367px;
        display: block;
    }

    .education-info-hero__label {
        margin-bottom: 40px;
    }

    .education-info-hero h1 {
        font-size: 45px;
        line-height: 49.5px;
    }

    .education-info-intro {
        padding-top: 70px;
    }

    .education-info-intro__lead {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 40px;
    }

    .education-info-intro__lead p {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .education-info-docs {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 40px;
    }

    .education-info-docs .docs-item {
        min-height: 100px;
    }

    .education-info-structure {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .education-info-section-head {
        display: block;
        margin-bottom: 50px;
    }

    .education-info-section-head__label {
        margin-bottom: 40px;
    }

    .education-info-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 35px 0;
    }

    .education-info-card h3 {
        max-width: 417px;
    }

    .education-info-card p {
        max-width: 640px;
    }

    .education-info-card__link {
        justify-self: start;
    }

    .education-info-home {
        margin-top: 80px;
    }

    .education-info-regulations {
        padding-bottom: 100px;
    }

    .education-info-regulations__docs {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

@media screen and (max-width: 600px) {
    .education-info-page,
    .education-info-hero,
    .education-info-intro,
    .education-info-structure,
    .education-info-regulations {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .education-info-hero {
        min-height: 400px;
    }

    .education-info-hero__content {
    }

    .education-info-hero__label {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .education-info-hero h1 {
        font-size: 35px;
        line-height: 38.5px;
        text-transform: none;
    }

    .education-info-intro {
        padding-top: 40px;
    }

    .education-info-intro__lead {
        display: block;
    }

    .education-info-dot {
        width: 10px;
        height: 10px;
        margin: 0 0 25px;
    }

    .education-info-intro__lead p {
        font-size: 16px;
        line-height: 17.6px;
    }

    .education-info-docs {
        gap: 12px;
        margin-top: 25px;
    }

    .education-info-docs .docs-item {
        min-height: 82px;
        padding: 13px 20px;
        gap: 20px;
    }

    .education-info-docs .docs-h {
        gap: 15px;
    }

    .education-info-docs .docs-title,
    .education-info-docs .docs-b {
        font-size: 10px;
        line-height: 11px;
    }

    .education-info-structure {
        padding-top: 84px;
        padding-bottom: 80px;
    }

    .education-info-section-head {
        margin-bottom: 55px;
    }

    .education-info-section-head__label {
        margin-bottom: 25px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .education-info-section-head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .education-info-card {
        gap: 20px;
        padding: 28px 0;
    }

    .education-info-card h3 {
        max-width: none;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .education-info-card p {
        max-width: none;
        font-size: 14px;
        line-height: 15.4px;
    }

    .education-info-card__link {
        min-width: 78px;
        min-height: 24px;
        padding: 4px 8px;
        font-size: 10px;
        line-height: 13px;
    }

    .education-info-home {
        margin-top: 70px;
    }

    .education-info-home a {
        min-width: 92px;
        min-height: 30px;
        font-size: 12px;
        line-height: 15.6px;
    }

    .education-info-regulations {
        padding-bottom: 80px;
    }

    .education-info-regulations .education-info-section-head {
        margin-bottom: 25px;
    }

    .education-info-regulations .applicants-tab-layout {
        gap: 25px;
    }

    .education-info-regulations .applicants-tab-nav {
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .education-info-regulations .applicants-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .education-info-regulations .applicants-tab-nav button {
        flex: 0 0 auto;
        min-width: 0;
        min-height: 28px;
        padding: 5px 12px;
        border: 1px solid rgba(33, 47, 138, .18);
        border-radius: 18px;
        color: var(--blue);
        font-size: 14px;
        line-height: 18px;
        white-space: nowrap;
    }

    .education-info-regulations .applicants-tab-nav button.is-active {
        padding-left: 12px;
        background-color: var(--blue);
        color: var(--white);
    }

    .education-info-regulations .applicants-tab-nav button.is-active::before {
        display: none;
    }

    .education-info-regulations__docs {
        gap: 12px;
    }

    .education-info-regulations__docs .docs-item {
        min-height: 82px;
        padding: 13px 20px;
        gap: 20px;
    }

    .education-info-regulations__docs .docs-h {
        gap: 15px;
    }

    .education-info-regulations__docs .docs-title,
    .education-info-regulations__docs .docs-b {
        font-size: 10px;
        line-height: 11px;
    }
}

@media screen and (max-width: 1280px) {
    .docs-page__content {
        padding: 70px 0 120px;
    }

    .docs-page__sections {
        gap: 100px;
    }

    .docs-page__section {
        display: block;
    }

    .docs-page__section-head,
    .docs-page__eyebrow {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .docs-page__files {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .docs-page__files .docs-item {
        min-height: 100px;
        padding: 10px 20px;
    }

    .docs-page__info h2 {
        margin-bottom: 70px;
    }

    .docs-page__contacts-grid,
    .docs-page__links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 55px 20px;
    }

    .docs-page__poster-slider {
        height: 708px;
    }
}

@media screen and (max-width: 600px) {
    .docs-page .fullhead {
        height: 400px;
        margin-bottom: 0;
    }

    .docs-page .fullhead .items.c-2-m > .item {
        width: 100%;
        min-width: 0;
    }

    .docs-page .fullhead h1 {
        max-width: 100%;
        font-size: clamp(32px, 10vw, 40px);
        line-height: 1.1;
        text-transform: none;
        overflow-wrap: anywhere;
    }

    .docs-page__content {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        padding: 70px 0 90px;
    }

    .docs-page__sections {
        gap: 50px;
    }

    .docs-page__section {
        margin-bottom: 0;
    }

    .docs-page__section-head,
    .docs-page__eyebrow {
        margin-bottom: 40px;
    }

    .docs-page__title {
        max-width: 300px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .docs-page__files {
        gap: 10px;
    }

    .docs-page__files .docs-item,
    .practice-docs__files .docs-item {
        min-height: 100px;
        padding: 10px 20px;
        gap: 22px;
    }

    .docs-page__files .docs-h,
    .practice-docs__files .docs-h {
        gap: 20px;
    }

    .docs-page__files .docs-h img,
    .practice-docs__files .docs-h img {
        flex-basis: 24px;
        width: 24px;
        min-width: 24px;
        height: 24px;
    }

    .docs-page__files .docs-title,
    .docs-page__files .docs-b,
    .practice-docs__files .docs-title,
    .practice-docs__files .docs-b {
        font-size: 14px;
        line-height: 18.2px;
    }

    .docs-page__eyebrow {
        font-size: 16px;
        line-height: 19.2px;
    }

    .docs-page__info h2 {
        margin-bottom: 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .docs-page__contacts-grid,
    .docs-page__links-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .docs-page__contact {
        max-width: 310px;
    }

    .docs-page__contact span {
        font-size: 16px;
        line-height: 19.2px;
    }

    .docs-page__contact a {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .docs-page__poster-slider {
        height: auto;
    }

    .docs-page__poster-track {
        gap: 20px;
    }

    .docs-page__poster,
    .docs-page__poster--featured {
        flex-basis: 250px;
        width: 250px;
        height: 351px;
    }

    .docs-page__poster-arrows {
        position: static;
        margin-top: 20px;
    }
}

@media screen and (max-width: 1280px) {
    .practice-docs {
        padding: 70px 0 120px;
    }

    .practice-docs__groups {
        gap: 120px;
    }

    .practice-docs__group {
        display: block;
    }

    .practice-docs__title {
        max-width: 640px;
        margin-bottom: 40px;
        transform: none;
    }

    .practice-docs__files {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }
}

@media screen and (max-width: 600px) {
    .practice-page,
    .practice-hero,
    .practice-docs {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .practice-hero {
        min-height: 400px;
    }

    .practice-docs {
        padding: 40px 0 90px;
    }

    .practice-docs__groups {
        gap: 90px;
    }

    .practice-docs__title {
        max-width: 300px;
        margin-bottom: 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .practice-docs__files {
        gap: 5px;
    }

}

@media screen and (max-width: 1280px) {
    .inclusive-hero__content {
        top: 367px;
        right: 60px;
        left: 60px;
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .inclusive-hero h1 {
        max-width: 760px;
        font-size: 56px;
        line-height: 61.6px;
    }

    .inclusive-intro__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 20px;
        min-height: 910px;
    }

    .inclusive-intro__media,
    .inclusive-intro__media img {
        min-height: 655px;
    }

    .inclusive-intro__media {
        grid-column: 1;
        grid-row: 2;
    }

    .inclusive-intro__controls {
        grid-column: 1;
        grid-row: 3;
        justify-self: start;
    }

    .inclusive-docs__head,
    .inclusive-links__head {
        display: block;
        margin-bottom: 40px;
    }

    .inclusive-docs__head h2,
    .inclusive-links__head h2 {
        max-width: 620px;
    }

    .inclusive-docs__files {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .inclusive-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .inclusive-links__card {
        min-height: 160px;
    }
}

@media screen and (max-width: 700px) {
    .inclusive-page,
    .inclusive-hero,
    .inclusive-intro,
    .inclusive-docs,
    .inclusive-links {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    .inclusive-hero,
    .inclusive-hero .wrapper {
        min-height: 400px;
    }

    .inclusive-hero__content {
        top: 106px;
        right: 0;
        left: 0;
        gap: 16px;
    }

    .inclusive-hero__label {
        font-size: 14px;
        line-height: 18.2px;
    }

    .inclusive-hero h1 {
        max-width: 310px;
        font-size: 35px;
        line-height: 40px;
        text-transform: none;
    }

    .inclusive-intro {
        padding: 70px 0 120px;
    }

    .inclusive-intro__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 20px;
        min-height: 489px;
    }

    .inclusive-intro__text h2 {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .inclusive-intro__media,
    .inclusive-intro__media img {
        min-height: 300px;
    }

    .inclusive-intro__controls {
        justify-self: center;
    }

    .inclusive-intro__media::before,
    .inclusive-intro__media::after {
        width: 42px;
        height: 42px;
    }

    .inclusive-docs {
        padding-bottom: 70px;
    }

    .inclusive-docs__group + .inclusive-docs__group {
        margin-top: 70px;
    }

    .inclusive-docs__head,
    .inclusive-links__head {
        margin-bottom: 40px;
    }

    .inclusive-docs__head h2,
    .inclusive-links__head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .inclusive-docs__files .docs-item {
        min-height: 100px;
        padding: 10px 20px;
        gap: 22px;
    }

    .inclusive-docs__files .docs-h {
        gap: 20px;
    }

    .inclusive-docs__files .docs-h img {
        flex-basis: 24px;
        width: 24px;
        min-width: 24px;
        height: 24px;
    }

    .inclusive-docs__files .docs-title,
    .inclusive-docs__files .docs-b {
        font-size: 14px;
        line-height: 18.2px;
    }

    .inclusive-docs__files .docs-title {
        display: block;
        overflow: visible;
        -webkit-line-clamp: initial;
        -webkit-box-orient: initial;
    }

    .inclusive-links {
        padding-bottom: 90px;
    }

    .inclusive-links__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .inclusive-links__card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 188px;
        padding: 25px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

@media (max-width: 1280px) and (min-width: 1101px) {
    .museums-tabs__grid,
    .museums-about {
        grid-template-columns: 360px minmax(0, 1fr);
    }

    .museums-about,
    .museums-gallery {
        margin-left: -360px;
    }

    .museums-panel__intro {
        font-size: 36px;
        line-height: 40px;
    }

    .museums-about__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .museums-hero {
        min-height: 657px;
    }

    .museums-tabs {
        padding-top: 70px;
    }

    .museums-tabs__grid {
        display: block;
    }

    .museums-tabs__nav {
        gap: 20px;
        margin-bottom: 44px;
    }

    .museums-tabs__nav a {
        max-width: 520px;
    }

    .museums-panel__intro {
        max-width: 640px;
    }

    .museums-about {
        display: block;
        margin-top: 115px;
        margin-left: 0;
    }

    .museums-about__label {
        margin-bottom: 20px;
    }

    .museums-about__content h2 {
        max-width: 640px;
    }

    .museums-about__columns {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 50px 20px;
    }

    .museums-about__columns--single {
        max-width: 310px;
    }

    .museums-gallery {
        width: 100%;
        margin-left: 0;
    }

    .museums-gallery__track {
        height: 608px;
    }

    .museums-gallery__image.is-active {
        width: 450px;
        height: 608px;
        transform: translate3d(0, 0, 0);
    }

    .museums-gallery__image.is-prev {
        width: 0;
        height: 0;
        transform: translate3d(-220px, 0, 0);
        opacity: 0;
    }

    .museums-gallery__image.is-far {
        width: 0;
        height: 0;
        transform: translate3d(-110px, 0, 0);
        opacity: 0;
    }

    .museums-gallery__image.is-next {
        width: 190px;
        height: 306px;
        transform: translate3d(470px, 0, 0);
        opacity: 1;
    }

    .museums-gallery__image.is-out {
        width: 190px;
        height: 306px;
        transform: translate3d(680px, 0, 0);
        opacity: 0;
    }

    .museums-gallery__arrows {
        right: 60px;
        bottom: 253px;
        box-sizing: border-box;
    }

    .museums-links {
        flex-direction: column;
        align-items: center;
        margin-top: 120px;
    }
}

@media (max-width: 700px) {
    .museums-page .wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .museums-hero {
        min-height: 400px;
    }

    .museums-tabs {
        padding: 70px 0 90px;
    }

    .museums-tabs__nav {
        gap: 20px;
        width: var(--container-compact-page-width);
        max-width: var(--container-compact-page-width);
        margin-bottom: 46px;
    }

    .museums-tabs__nav a {
        width: 100%;
        max-width: 100%;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
        white-space: normal;
    }

    .museums-panel__intro {
        width: var(--container-compact-page-width);
        max-width: var(--container-compact-page-width);
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
        font-weight: 500;
    }

    .museums-about {
        margin-top: 70px;
    }

    .museums-about__label {
        font-size: 14px;
        line-height: 18.2px;
    }

    .museums-about__content h2 {
        width: var(--container-compact-page-width);
        max-width: var(--container-compact-page-width);
        margin-bottom: 40px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
        font-weight: 400;
    }

    .museums-about__columns,
    .museums-about__columns--two {
        width: var(--container-compact-page-width);
        max-width: var(--container-compact-page-width);
        display: block;
    }

    .museums-about__columns p {
        font-size: 14px;
        line-height: 18.2px;
    }

    .museums-about__columns p + p {
        margin-top: 30px;
    }

    .museums-about__report {
        margin-top: 42px;
    }

    .museums-gallery {
        margin-top: 70px;
    }

    .museums-gallery__track {
        height: 400px;
    }

    .museums-gallery__image,
    .museums-gallery__image--small,
    .museums-gallery__image--large,
    .museums-gallery__image--medium {
        width: var(--container-compact-page-width);
        height: 400px;
    }

    .museums-gallery__image.is-active {
        width: var(--container-compact-page-width);
        height: 400px;
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .museums-gallery__image.is-prev,
    .museums-gallery__image.is-far {
        width: var(--container-compact-page-width);
        height: 400px;
        transform: translate3d(calc(-100vw + 12px), 0, 0);
        opacity: 0;
    }

    .museums-gallery__image.is-next,
    .museums-gallery__image.is-out {
        width: var(--container-compact-page-width);
        height: 400px;
        transform: translate3d(calc(100vw - 12px), 0, 0);
        opacity: 0;
    }

    .museums-gallery__arrows {
        position: static;
        justify-content: center;
        margin-top: 18px;
        padding-right: 0;
    }

    .museums-links {
        align-items: stretch;
        gap: 20px;
        margin-top: 70px;
    }

    .museums-links .button {
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 33px;
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 10px;
        line-height: 1.1;
        text-align: center;
    }

    .museums-links .button .button-icon {
        flex: 0 0 auto;
    }
}

@media (max-width: 1180px) {
    .woo-checkout-page form.checkout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .woo-checkout-page form.checkout > .col2-set,
    .woo-checkout-page #order_review_heading,
    .woo-checkout-page #order_review {
        grid-column: 1;
        grid-row: auto;
    }

    .woo-checkout-page #order_review_heading {
        margin-bottom: -48px;
    }
}

@media (max-width: 700px) {
    .woo-checkout-page,
    .woo-system-page {
        padding: 48px 0 90px;
    }

    .woo-checkout-page .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woo-checkout-page .woocommerce-billing-fields__field-wrapper > * {
        grid-column: 1;
    }

    .woo-checkout-page #order_review_heading,
    .woo-checkout-page #order_review {
        padding-left: 20px;
        padding-right: 20px;
    }

    .woo-checkout-page #payment ul.payment_methods,
    .woo-checkout-page #payment .place-order {
        padding: 20px;
    }

    .woo-system-page table.shop_table,
    .woo-system-page table.shop_table tbody,
    .woo-system-page table.shop_table tr,
    .woo-system-page table.shop_table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .woo-system-page table.shop_table thead {
        display: none;
    }

    .woo-system-page table.shop_table td {
        border-bottom: 0;
    }

    .woo-system-page .cart-collaterals,
    .woo-system-page .cart_totals {
        display: block;
        width: 100%;
    }

    .spbguvm-cart {
        width: 100%;
        margin: 0;
    }

    .spbguvm-cart__panel,
    .spbguvm-cart__summary,
    .spbguvm-cart__empty {
        padding: 24px 20px;
    }

    .spbguvm-cart__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .spbguvm-cart__image {
        width: 100%;
    }

    .spbguvm-cart__controls {
        grid-template-columns: minmax(0, 1fr) auto 50px;
        gap: 10px;
    }

    .spbguvm-cart__quantity {
        width: 108px;
        grid-template-columns: 30px 48px 30px;
    }

    .spbguvm-cart__subtotal {
        font-size: 16px;
    }

    .spbguvm-cart__summary-row {
        gap: 14px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .digital-transformation-hero {
        min-height: 657px;
    }

    .digital-transformation-cards {
        display: block;
    }

    .digital-transformation-card {
        min-height: 373px;
        padding: 30px;
    }

    .digital-transformation-card + .digital-transformation-card {
        margin-top: 26px;
    }

    .digital-transformation-card h2,
    .digital-transformation-card p {
        max-width: 580px;
    }

    .digital-transformation-about__lead {
        display: block;
    }

    .digital-transformation-about__dot {
        margin-top: 5px;
        margin-bottom: 25px;
    }

    .digital-transformation-about h2 {
        max-width: 640px;
    }

    .digital-transformation-about__body {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        max-width: 640px;
        margin-top: 40px;
        margin-left: 0;
    }

    .digital-transformation-file {
        width: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 700px) {
    .digital-transformation-page .wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .digital-transformation-hero {
        min-height: 400px;
    }

    .digital-transformation-content {
        padding: 70px 0 120px;
    }

    .digital-transformation-cards {
        display: block;
    }

    .digital-transformation-card {
        min-height: 373px;
        padding: 30px 10px;
    }

    .digital-transformation-card + .digital-transformation-card {
        margin-top: 26px;
    }

    .digital-transformation-card h2 {
        max-width: 280px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
        font-weight: 500;
    }

    .digital-transformation-card p {
        left: 10px;
        right: 10px;
        bottom: 30px;
        max-width: 280px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .digital-transformation-card__decor--competencies,
    .digital-transformation-card__decor--cloud {
        left: 34px;
        top: 99px;
        bottom: auto;
    }

    .digital-transformation-card__decor--mobile {
        left: 66px;
        top: 105px;
        bottom: auto;
    }

    .digital-transformation-about {
        margin-top: 120px;
    }

    .digital-transformation-about__lead {
        display: block;
    }

    .digital-transformation-about__dot {
        width: 10px;
        height: 10px;
        margin-top: 5px;
        margin-bottom: 15px;
    }

    .digital-transformation-about h2 {
        max-width: 300px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .digital-transformation-about__body {
        display: block;
        max-width: 300px;
        margin-top: 40px;
        margin-left: 0;
    }

    .digital-transformation-about__body p {
        font-size: 14px;
        line-height: 18.2px;
    }

    .digital-transformation-about__body p + p {
        margin-top: 22px;
    }

    .digital-transformation-file {
        width: 100%;
        min-height: 100px;
        margin-top: 50px;
        margin-left: 0;
        padding: 10px 20px 12px;
    }

    .digital-transformation-file__head span {
        font-size: 14px;
        line-height: 18.2px;
    }

    .digital-transformation-file__meta {
        font-size: 10px;
        line-height: 13px;
    }

}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .veterinary-center-body header {
        top: 0;
    }

    .veterinary-center-body header .top {
        height: 96px;
        margin: 0;
        padding: 0 60px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .veterinary-center-body header .top nav,
    .veterinary-center-body header .top .button,
    .veterinary-center-body header > .wrapper {
        display: none !important;
    }

    .veterinary-center-body header .top .logo.hidden-xs {
        display: none !important;
    }

    .veterinary-center-body header .top .logo.show-xs {
        display: block;
        position: static;
        width: 100px;
        transform: none;
    }

    .veterinary-center-body header .top .h-right {
        gap: 0;
    }

    .veterinary-center-body header .top .h-right .icons {
        gap: 15px;
    }

    .veterinary-center-body header .top .h-right .icons img {
        width: 33px;
        height: 33px;
    }

    .veterinary-center-body header .top .mmenu {
        display: block;
        margin-left: 0;
    }

    .veterinary-center-hero,
    .veterinary-center-hero .wrapper,
    .veterinary-center-hero__composition {
        min-height: 850px;
    }

    .veterinary-center-hero h1 {
        top: 220px;
        width: 660px;
        font-size: 70px;
        line-height: 77px;
        white-space: normal;
    }

    .veterinary-center-hero__photo {
        top: 344px;
    }

    .veterinary-center-hero__photo span {
        top: -124px;
        left: -180px;
        width: 660px;
        white-space: normal;
    }

    .veterinary-center-hero p {
        top: 720px;
    }

    .veterinary-center-about__lead {
        display: block;
        max-width: min(640px, calc(100vw - 120px));
    }

    .veterinary-center-about {
        overflow: hidden;
    }

    .veterinary-center-about__mark {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .veterinary-center-about__lead h2 {
        max-width: min(640px, calc(100vw - 120px));
    }

    .veterinary-center-about__body {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        width: min(640px, calc(100vw - 120px));
        max-width: 640px;
        min-height: 0;
        margin-left: 0;
    }

    .veterinary-center-about__price {
        position: static;
        grid-column: 1;
        justify-self: start;
        align-self: start;
        width: 137px;
        min-height: 33px;
        height: 33px;
        margin-top: 0;
    }

    .veterinary-center-gallery {
        margin-top: 89px;
        margin-bottom: 69px;
        padding-top: 91px;
        padding-bottom: 111px;
    }

    .veterinary-center-gallery__layout {
        display: block;
        min-height: 695px;
    }

    .veterinary-center-gallery__track {
        height: 695px;
    }

    .veterinary-center-gallery h2 {
        left: 0;
        top: 0;
        max-width: 664px;
        margin: 0;
    }

    .veterinary-center-gallery__image.is-active {
        left: 0;
        top: 151px;
        height: 544px;
    }

    .veterinary-center-gallery__image.is-next,
    .veterinary-center-gallery__image.is-next-2,
    .veterinary-center-gallery__image.is-next-3,
    .veterinary-center-gallery__image.is-next-4,
    .veterinary-center-gallery__image.is-out {
        top: 375px;
    }

    .veterinary-center-gallery__image.is-next {
        left: 492px;
    }

    .veterinary-center-gallery__image.is-next-2 {
        left: 836px;
    }

    .veterinary-center-gallery__image.is-next-3 {
        left: 1180px;
    }

    .veterinary-center-gallery__image.is-next-4 {
        left: 1524px;
    }

    .veterinary-center-gallery__image.is-out {
        left: 1868px;
    }

    .veterinary-center-gallery__arrows {
        left: 492px;
        top: 321px;
    }

    .veterinary-center-structure {
        margin-top: 0;
        overflow: hidden;
    }

    .veterinary-center-section-head {
        display: block;
        max-width: 640px;
    }

    .veterinary-center-section-head div {
        margin-bottom: 20px;
    }

    .veterinary-center-structure__grid {
        display: block;
        max-width: 640px;
    }

    .veterinary-center-contacts {
        max-width: 640px;
    }

    .veterinary-center-specialists {
        display: flex;
        width: 100%;
        gap: 20px;
        margin-top: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .veterinary-center-specialists::-webkit-scrollbar {
        display: none;
    }

    .veterinary-center-specialist {
        width: 280px;
        min-height: 408px;
        flex: 0 0 280px;
    }

    .veterinary-center-specialist__bio {
        padding-left: 30px;
        padding-right: 30px;
    }

    .veterinary-center-specialist dl {
        padding-left: 30px;
        padding-right: 30px;
    }

    .veterinary-center-map {
        margin-top: 180px;
        padding-bottom: 200px;
    }

    .veterinary-center-map img {
        height: 790px;
    }
}

@media screen and (max-width: 600px) {
    .veterinary-center-page .wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .veterinary-center-body header,
    .veterinary-center-body header.scrolled {
        top: 0;
    }

    .veterinary-center-body header .top {
        height: 60px;
        margin: 0;
        padding: 5px 10px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .veterinary-center-body header .top nav,
    .veterinary-center-body header .top .button,
    .veterinary-center-body header > .wrapper {
        display: none !important;
    }

    .veterinary-center-body header .top .logo.hidden-xs {
        display: none !important;
    }

    .veterinary-center-body header .top .logo.show-xs {
        display: block;
        position: static;
        width: 50px;
        transform: none;
    }

    .veterinary-center-body header .top .h-right {
        gap: 0;
    }

    .veterinary-center-body header .top .h-right .icons a {
        display: none;
    }

    .veterinary-center-body header .top .mmenu {
        display: block;
        margin-left: 0;
    }

    .veterinary-center-body header .top .mmenu img {
        width: 33px;
        height: 33px;
    }

    .veterinary-center-about > .wrapper,
    .veterinary-center-gallery > .wrapper,
    .veterinary-center-structure > .wrapper,
    .veterinary-center-map > .wrapper {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .veterinary-center-hero,
    .veterinary-center-hero__composition {
        min-height: 400px;
    }

    .veterinary-center-hero h1 {
        top: 91px;
        width: 270px;
        font-size: 35px;
        line-height: 38.5px;
        text-align: left;
        text-transform: none;
        white-space: normal;
    }

    .veterinary-center-hero__photo {
        top: 159px;
        width: 150px;
        height: 150px;
    }

    .veterinary-center-hero__photo::before,
    .veterinary-center-hero__photo::after {
        width: 34px;
        height: 34px;
    }

    .veterinary-center-hero__photo::before {
        border-top-width: 5px;
        border-left-width: 5px;
    }

    .veterinary-center-hero__photo::after {
        border-right-width: 5px;
        border-bottom-width: 5px;
    }

    .veterinary-center-hero__photo span {
        top: -68px;
        left: -60px;
        width: 270px;
        font-size: 35px;
        line-height: 38.5px;
        text-align: left;
        text-transform: none;
        white-space: normal;
    }

    .veterinary-center-hero p {
        display: none;
    }

    .veterinary-center-about {
        padding-top: 70px;
    }

    .veterinary-center-about__lead {
        display: block;
        max-width: none;
    }

    .veterinary-center-about__mark {
        width: 10px;
        height: 10px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .veterinary-center-about__lead h2 {
        max-width: none;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
        font-weight: 400;
    }

    .veterinary-center-about__body {
        display: block;
        width: 100%;
        max-width: none;
        margin-top: 40px;
        margin-left: 0;
    }

    .veterinary-center-about__body p {
        font-size: 14px;
        line-height: 18.2px;
    }

    .veterinary-center-about__body ul {
        padding-left: 16px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .veterinary-center-about__body > * + * {
        margin-top: 22px;
    }

    .veterinary-center-about__body .veterinary-center-about__price {
        width: 137px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 22px;
        justify-content: space-between;
    }

    .veterinary-center-gallery {
        margin-top: 51px;
        margin-bottom: 52px;
        padding-top: 49px;
        padding-bottom: 48px;
    }

    .veterinary-center-gallery__layout {
        display: block;
        min-height: 545px;
    }

    .veterinary-center-gallery__viewport {
        position: relative;
        inset: auto;
        width: 100%;
        overflow: hidden;
    }

    .veterinary-center-gallery__track {
        display: flex;
        width: 100%;
        height: 400px;
        gap: 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .veterinary-center-gallery h2 {
        position: static;
        max-width: none;
        margin: 0 0 20px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .veterinary-center-gallery__image,
    .veterinary-center-gallery__image.is-active,
    .veterinary-center-gallery__image.is-next,
    .veterinary-center-gallery__image.is-next-2,
    .veterinary-center-gallery__image.is-next-3,
    .veterinary-center-gallery__image.is-next-4,
    .veterinary-center-gallery__image.is-out {
        position: static;
        display: block;
        width: 100%;
        height: 400px;
        flex: 0 0 100%;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        scroll-snap-align: start;
        transition: none;
    }

    .veterinary-center-gallery__track::-webkit-scrollbar {
        display: none;
    }

    .veterinary-center-gallery__track {
        scrollbar-width: none;
    }

    .veterinary-center-structure {
        margin-top: 0;
    }

    .veterinary-center-section-head {
        display: block;
        max-width: none;
    }

    .veterinary-center-section-head div {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .veterinary-center-section-head h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .veterinary-center-structure__grid {
        display: block;
        max-width: none;
        margin-top: 40px;
    }

    .veterinary-center-contacts dl div + div {
        margin-top: 14px;
    }

    .veterinary-center-specialists {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .veterinary-center-specialist {
        grid-template-rows: 300px 33px;
        min-height: 343px;
    }

    .veterinary-center-specialist__bio {
        height: 300px;
        min-height: 0;
        padding: 20px;
    }

    .veterinary-center-specialist h3 {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .veterinary-center-specialist dl {
        padding: 0 20px 20px;
    }

    .veterinary-center-specialist dt,
    .veterinary-center-specialist dd {
        font-size: 10px;
        line-height: 11px;
    }

    .veterinary-center-specialist dl div + div {
        margin-top: 14px;
    }

    .veterinary-center-specialist__button {
        width: 160px;
        margin-left: auto;
        justify-content: space-between;
    }

    .veterinary-center-map {
        margin-top: 100px;
        padding-bottom: 120px;
    }

    .veterinary-center-map img {
        height: 400px;
    }
}

@media screen and (max-width: 1100px) {
    .site-menu-backdrop,
    .site-mega {
        display: none;
    }

    body.site-mobile-menu-open {
        overflow: hidden;
    }

    body.site-mobile-menu-open header {
        z-index: 130;
        pointer-events: none;
    }

    body.site-mobile-menu-open header .top {
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.site-mobile-menu-open header .top .logo-link,
    body.site-mobile-menu-open header .top .logo,
    body.site-mobile-menu-open header .top .icons > a,
    body.site-mobile-menu-open header .top .site-accessibility-toggle,
    body.site-mobile-menu-open header .top .button {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.site-mobile-menu-open.veterinary-center-body header .top .h-right .icons a {
        opacity: 0;
        pointer-events: none;
    }

    body.site-mobile-menu-open header .top .mmenu {
        top: 24px;
        right: 30px;
        pointer-events: auto;
    }

    .site-mobile-menu {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 120;
        overflow-y: auto;
        background-color: var(--blue-deep);
        color: var(--white);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    body.site-mobile-menu-open .site-mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-mobile-menu__inner {
        min-height: 100%;
        box-sizing: border-box;
        padding: 40px 30px;
    }

    .site-mobile-menu__list {
        border-top: 1px solid rgba(253, 253, 254, 0.12);
    }

    .site-mobile-menu__toggle,
    .site-mobile-menu__direct {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 71px;
        box-sizing: border-box;
        padding: 15px 10px;
        border: 0;
        border-bottom: 1px solid rgba(253, 253, 254, 0.12);
        background: none;
        color: var(--white);
        font-family: inherit;
        font-size: 16px;
        line-height: 20.8px;
        font-weight: 500;
        text-align: left;
        text-transform: uppercase;
        cursor: pointer;
    }

    .site-mobile-menu__toggle:focus-visible,
    .site-mobile-menu__direct:focus-visible,
    .site-mobile-menu__link:focus-visible,
    .site-mobile-menu__cta:focus-visible {
        outline: 2px solid #727BF8;
        outline-offset: 4px;
    }

    .site-mobile-menu__arrow {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        border-right: 5px solid var(--white);
        border-bottom: 5px solid var(--white);
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .site-mobile-menu__toggle span:first-child {
        min-width: 0;
        max-width: calc(100% - 54px);
    }

    .site-mobile-menu__toggle.site-menu-status-orange::after,
    .site-mobile-menu__direct.site-menu-status-orange::after {
        content: none;
    }

    .site-mobile-menu__toggle.site-menu-status-orange span:first-child::after,
    .site-mobile-menu__direct.site-menu-status-orange span::after {
        content: "*";
        display: inline-block;
        margin-left: 4px;
        color: var(--status-orange);
        font-size: 0.82em;
        line-height: 1;
        font-style: normal;
        font-weight: 600;
        vertical-align: super;
    }

    .site-mobile-menu__group.is-open .site-mobile-menu__arrow {
        transform: rotate(-135deg);
    }

    .site-mobile-menu__panel {
        display: none;
        overflow: hidden;
        padding: 4px 0 20px 40px;
    }

    .site-mobile-menu__group.is-open .site-mobile-menu__panel {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-mobile-menu__link {
        max-width: 520px;
        color: var(--white);
        font-size: 16px;
        line-height: 20.8px;
        margin-top: 8px;
    }

    .site-mobile-menu__link--sub {
        max-width: 250px;
        color: #727BF8;
        font-size: 14px;
        line-height: 18.2px;
        margin-left: 25px;
    }

    .site-mobile-menu__service {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 18px 25px;
        margin-top: 106px;
    }

    .site-mobile-menu__service a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: rgba(253, 253, 254, 0.68);
        font-size: 14px;
        line-height: 18.2px;
    }

    .site-mobile-menu__service img {
        width: 24px;
        height: 24px;
        opacity: 0.68;
    }

    .site-mobile-menu__cta {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 200px;
        min-height: 33px;
        box-sizing: border-box;
        margin-top: 25px;
        padding: 0 12px;
        border-radius: 17px;
        background-color: var(--white);
        color: var(--blue);
        font-size: 16px;
        line-height: 20.8px;
        white-space: nowrap;
    }

    .site-mobile-menu__cta path {
        fill: var(--blue);
    }

    .site-mobile-menu__cta .button-icon {
        width: 18px;
        height: 14px;
        flex: 0 0 18px;
    }

    .site-mobile-menu__social {
        display: flex;
        width: max-content;
        gap: 15px;
        margin-top: 40px;
    }

}

@media screen and (max-width: 600px) {
    header .top .mmenu,
    body.site-mobile-menu-open header .top .mmenu {
        top: 24px;
        right: var(--container-mobile-x);
    }

    .site-mobile-menu__inner {
        padding: 58px var(--container-mobile-x) 20px;
    }

    .site-mobile-menu__toggle,
    .site-mobile-menu__direct {
        min-height: 71px;
        padding: 15px 10px;
        font-size: 16px;
        line-height: 20.8px;
    }

    .site-mobile-menu__arrow {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
        border-width: 5px;
    }

    .site-mobile-menu__toggle[data-site-mobile-key="international"] {
        min-height: 92px;
        font-size: 16px;
        line-height: 20.8px;
    }

    .site-mobile-menu__panel {
        padding-left: 40px;
    }

    .site-mobile-menu__link {
        font-size: 16px;
        line-height: 20.8px;
    }

    .site-mobile-menu__link--sub {
        font-size: 14px;
        line-height: 18.2px;
        margin-left: 25px;
    }

    .site-mobile-menu__service {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        margin-top: 158px;
    }

    .site-mobile-menu__service a {
        font-size: 14px;
        line-height: 18.2px;
    }

    .site-mobile-menu__service img {
        width: 24px;
        height: 24px;
    }

    .site-mobile-menu__cta {
        width: 200px;
        justify-content: space-between;
        max-width: none;
        min-height: 33px;
        margin-top: 20px;
        padding: 0 12px;
        font-size: 16px;
        line-height: 20.8px;
    }

    .site-mobile-menu__social {
        gap: 15px;
        margin-top: 20px;
    }

}

@media screen and (min-width: 1281px) and (max-width: 1599px) {
    .employees-intro__text {
        grid-template-columns: minmax(0, 1fr) minmax(0, 326px) minmax(0, 451px);
    }

    .employees-docs__files {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .employees-vacancies .graduated-vacancies__viewport {
        width: 100%;
        margin-right: 0;
    }

    .employees-vacancies .graduated-vacancy-card {
        flex-basis: calc((100vw - 140px) / 2);
    }

    .employees-contacts .wrapper {
        grid-template-columns: 360px minmax(0, 1fr);
    }

    .employees-contacts__cards {
        grid-template-columns: repeat(2, 320px);
        justify-content: start;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .employees-intro {
        padding-top: 70px;
    }

    .employees-intro__lead {
        display: block;
    }

    .employees-intro__lead span {
        margin-bottom: 35px;
    }

    .employees-intro__lead h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .employees-intro__text {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        margin-top: 70px;
    }

    .employees-intro__text p:first-child {
        grid-column: auto;
    }

    .employees-docs h2 {
        margin-left: 0;
    }

    .employees-docs__files {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .employees-vacancies .graduated-vacancy-card {
        flex-basis: calc(100vw - 120px);
    }

    .employees-contacts {
        padding-bottom: 160px;
    }

    .employees-contacts .wrapper {
        display: block;
        overflow: hidden;
    }

    .employees-contacts__main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        align-items: start;
        margin-bottom: 70px;
    }

    .employees-contacts__main h2 {
        margin-bottom: 0;
    }

    .employees-contacts__cards {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .employees-contacts__cards::-webkit-scrollbar {
        display: none;
    }

    .employees-contacts__cards .graduated-employee-card {
        flex: 0 0 280px;
        width: 280px;
    }
}

@media screen and (max-width: 600px) {
    .employees-page,
    .employees-hero,
    .employees-intro,
    .employees-docs,
    .employees-vacancies,
    .employees-contacts {
        width: 100vw;
        max-width: 100vw;
    }

    .employees-hero {
        min-height: 400px;
    }

    .employees-intro {
        padding-top: 70px;
    }

    .employees-intro__lead {
        display: block;
    }

    .employees-intro__lead span {
        width: 10px;
        height: 10px;
        margin: 0 0 28px;
    }

    .employees-intro__lead h2,
    .partners-about__lead h2 {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .employees-intro__text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .employees-intro__text p,
    .partners-about__columns p {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .employees-docs {
        padding-top: 70px;
    }

    .employees-docs h2 {
        margin: 0 0 35px;
        font-size: 25px;
        line-height: 28px;
    }

    .employees-docs__files {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .employees-docs__files .docs-item {
        min-height: 105px;
        padding: 10px 20px;
    }

    .employees-docs__files .docs-title {
        font-size: 14px;
        line-height: 18.2px;
    }

    .employees-vacancies {
        padding: 100px 0 100px;
    }

    .employees-vacancies .graduated-section-head__label {
        margin-bottom: 20px;
    }

    .employees-vacancies .graduated-vacancies__viewport {
        width: var(--container-compact-page-width);
    }

    .employees-vacancies .graduated-vacancy-card {
        flex-basis: calc(100vw - 20px);
        min-height: 450px;
        padding: 30px;
    }

    .employees-vacancies .graduated-vacancy-card h3 {
        font-size: 16px;
        line-height: 19.2px;
    }

    .employees-vacancies .graduated-vacancy-card__salary {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .employees-vacancies .graduated-vacancy-card p {
        font-size: 10px;
        line-height: 13px;
    }

    .employees-vacancies .graduated-vacancy-card h4 {
        font-size: 10px;
        line-height: 13px;
    }

    .employees-vacancies .graduated-vacancies__portal {
        display: block;
        width: var(--container-compact-page-width);
        margin-top: 70px;
    }

    .employees-vacancies .graduated-vacancies__portal .item {
        min-height: 220px;
    }

    .employees-contacts {
        padding-bottom: 100px;
    }

    .employees-contacts .wrapper {
        display: block;
    }

    .employees-contacts__main h2 {
        margin-bottom: 20px;
        font-size: 25px;
        line-height: 28px;
    }

    .employees-contacts dl {
        max-width: 300px;
    }

    .employees-contacts__cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 70px;
        padding-left: 0;
        padding-right: 0;
    }

    .employees-contacts__cards .graduated-employee-card {
        width: 100%;
        min-height: 300px;
        margin-top: 0;
    }
}

@media screen and (min-width: 1281px) and (max-width: 1599px) {
    .partners-about .wrapper,
    .partners-contacts .wrapper {
        max-width: none;
        padding-left: 50px;
        padding-right: 50px;
    }

    .partners-about__body {
        grid-template-columns: 360px minmax(0, 1fr);
    }

    .partners-about__lead {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .partners-about__columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-contacts__list {
        grid-template-columns: 280px minmax(0, 420px) minmax(0, 248px);
        gap: 38px 64px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .partners-about {
        padding-top: 70px;
        padding-bottom: 150px;
    }

    .partners-about__lead {
        display: block;
    }

    .partners-about__lead span {
        margin-bottom: 35px;
    }

    .partners-about__lead h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .partners-about__body {
        display: block;
        margin-top: 70px;
    }

    .partners-about__media {
        width: 310px;
        height: 448px;
        margin-bottom: 60px;
    }

    .partners-about__media img {
        object-position: 48% 50%;
    }

    .partners-about__content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 60px 20px;
    }

    .partners-about__accent {
        grid-column: 2;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .partners-about__columns {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        margin-top: 0;
    }

    .partners-about__columns p:last-child {
        grid-column: 1 / -1;
        max-width: 640px;
    }

    .partners-contacts {
        padding: 150px 0 200px;
    }

    .partners-contacts h2 {
        max-width: 640px;
        margin-bottom: 4px;
    }

    .partners-contacts__note {
        margin-bottom: 80px;
    }

    .partners-contacts__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partners-contacts__list div:nth-child(4) {
        grid-column: auto;
    }

    .partners-contacts__list dd {
        max-width: 640px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1280px) {
    .partners-about__body {
        display: grid;
        grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
        gap: 0 32px;
        align-items: start;
        margin-top: 70px;
    }

    .partners-about__media {
        width: min(310px, 100%);
        height: auto;
        aspect-ratio: 310 / 448;
        margin-bottom: 0;
    }

    .partners-about__content {
        display: block;
    }

    .partners-about__accent {
        max-width: none;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .partners-about__columns {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin-top: 60px;
    }

    .partners-about__columns p:last-child {
        grid-column: auto;
        max-width: none;
    }

    .partners-contacts__list {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 38px 40px;
    }

    .partners-contacts__list div:nth-child(4) {
        grid-column: 2;
    }
}

@media screen and (max-width: 600px) {
    .partners-page,
    .partners-hero,
    .partners-about,
    .partners-contacts {
        width: 100vw;
        max-width: 100vw;
    }

    .partners-hero {
        min-height: 400px;
        background-position: center top;
    }

    .partners-about {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .partners-about__lead {
        display: block;
    }

    .partners-about__lead span {
        display: none;
    }

    .partners-about__body {
        display: flex;
        flex-direction: column;
        margin-top: 40px;
    }

    .partners-about__media {
        order: -1;
        width: 300px;
        max-width: 100%;
        height: 400px;
        margin-bottom: 20px;
    }

    .partners-about__media img {
        object-position: 50% 50%;
    }

    .partners-about__accent {
        margin-bottom: 40px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .partners-about__columns {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 0;
    }

    .partners-about__lead,
    .partners-about__lead h2,
    .partners-about__content,
    .partners-about__accent,
    .partners-about__columns,
    .partners-about__columns p,
    .partners-contacts h2,
    .partners-contacts__note,
    .partners-contacts__list,
    .partners-contacts__list div,
    .partners-contacts__list dt,
    .partners-contacts__list dd {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal !important;
        overflow-wrap: normal;
        word-break: normal;
    }

    .partners-contacts {
        padding: 80px 0 100px;
    }

    .partners-contacts h2 {
        margin-bottom: 26px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .partners-contacts h2 span {
        display: block;
    }

    .partners-contacts__note {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .partners-contacts__list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .partners-contacts__list dt,
    .partners-contacts__list dd {
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .partners-contacts__list dt {
        margin-bottom: 10px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }
}

@media screen and (min-width: 1101px) and (max-width: 1500px) {
    .applicants-page:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: clamp(40px, 8vw, 140px);
    }

    .applicants-page:not(.footer-legacy) footer .items.c-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }

    .applicants-page:not(.footer-legacy) footer nav a:nth-child(5) {
        margin-left: 0;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1599px) {
    .applicants-contacts__grid {
        grid-template-columns: minmax(300px, .95fr) minmax(420px, 1.35fr) minmax(240px, .7fr);
    }

    .applicants-places__levels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .applicants-places__row {
        grid-template-columns: 8.54% 21.86% 1.67% 22.21% 1.67% 23.87% 1.67% 18.53%;
    }

    .applicants-places__budget,
    .applicants-places__budget-head {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1200px) {
    .applicants-main .wrapper {
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
    }

    .applicants-hero {
        margin-top: 0;
        padding-top: 166px;
    }

    .applicants-hero .wrapper,
    .applicants-contacts .wrapper,
    .applicants-deadlines .wrapper,
    .applicants-places .wrapper,
    .applicants-open-days .wrapper {
        width: auto;
        margin-left: 60px;
        margin-right: 60px;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-hero__grid,
    .applicants-contacts__grid,
    .applicants-tab-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .applicants-contacts__grid {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .applicants-contacts__column--mail {
        grid-column: 1 / 2;
    }

    .applicants-contact-item__label {
        max-width: 310px;
    }

    .applicants-contact-item a,
    .applicants-contact-item p {
        max-width: 310px;
    }

    .applicants-contacts {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 100px;
    }

    .applicants-section-title--labeled {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .applicants-section-title--labeled h2,
    .applicants-section-title--labeled .applicants-section-title__label {
        width: 100%;
    }

    .applicants-deadlines .applicants-tab-layout {
        gap: 110px;
    }

    .applicants-deadlines .applicants-tab-nav {
        flex-direction: column;
        gap: 24px;
        overflow: visible;
        padding-bottom: 0;
    }

    .applicants-deadlines .applicants-tab-panel {
        padding: 0;
    }

    .applicants-deadlines .applicants-tab-content {
        padding: 30px;
    }

    .applicants-deadline-schedule {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .applicants-deadline-documents p,
    .applicants-deadline-documents ul {
        max-width: 640px;
    }

    .applicants-deadline-documents {
        margin-top: 79px;
    }

    .applicants-places {
        padding-top: 30px;
    }

    .applicants-places__title {
        margin-bottom: 29px;
    }

    .applicants-places__title .button {
        position: static;
        width: 200px;
        margin-top: 20px;
    }

    .applicants-places__levels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
        gap: 20px;
        height: 64px;
        margin-bottom: 24px;
    }

    .applicants-places__levels button {
        width: 100%;
        min-height: 42px;
        align-self: end;
        padding: 10px 0 4px;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-places .applicants-places__filter {
        margin-left: 0;
        margin-bottom: 24px;
    }

    .applicants-places__table {
        width: 100%;
        margin-top: 0;
        padding: 0;
    }

    .applicants-places__panel {
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .applicants-places__row {
        grid-template-columns: 73px minmax(0, 1fr) 124px;
        column-gap: 20px;
        height: auto;
        min-height: 362px;
        padding: 40px 30px;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-places__row > div:first-child {
        grid-column: 1;
    }

    .applicants-places__row > div:nth-child(2) {
        grid-column: 2;
    }

    .applicants-places__row > div:nth-child(3) {
        grid-column: 3;
        text-align: right;
    }

    .applicants-places__row > div:nth-child(4) {
        grid-column: 1 / -1;
    }

    .applicants-places__row > div:nth-child(5) {
        grid-column: 1 / -1;
    }

    .applicants-places__row--head {
        height: 84px;
        min-height: 84px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .applicants-places__row--group {
        height: 62px;
        min-height: 62px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .applicants-places__row--tall {
        min-height: 410px;
    }

    .applicants-places__row--head > div:nth-child(4),
    .applicants-places__row--head > div:nth-child(5) {
        display: none;
    }

    .applicants-places__budget,
    .applicants-places__budget-head {
        display: grid;
        grid-template-columns: 79px 78px 78px 79px;
        justify-content: space-between;
        gap: 0;
    }

    .applicants-places__budget {
        margin-top: 40px;
    }

    .applicants-places__budget::before {
        content: "Бюджетных мест";
        grid-column: 1 / -1;
        margin-bottom: 30px;
        color: var(--blue);
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-places__budget span::before {
        display: block;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .applicants-places__budget span:nth-child(1)::before {
        content: "общие места";
    }

    .applicants-places__budget span:nth-child(2)::before {
        content: "особая квота";
    }

    .applicants-places__budget span:nth-child(3)::before {
        content: "отдельная квота";
    }

    .applicants-places__budget span:nth-child(4)::before {
        content: "целевая квота";
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(5) {
        margin-top: 40px;
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(5)::before {
        content: "Контрактных мест";
        display: block;
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-hero__image {
        height: 666px;
    }

    .applicants-hero__title {
        min-height: 150px;
        padding-top: 0;
    }

    .applicants-hero h1,
    .applicants-hero__year {
        flex: 0 0 50%;
    }

    .applicants-hero__submission h2 {
        margin-bottom: 44px;
    }

    .applicants-hero__cards,
    .applicants-open-days__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .applicants-hero-card {
        min-height: 320px;
    }

    .applicants-section-title,
    .applicants-section-title--action {
        justify-content: flex-start;
    }

    .applicants-tab-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .applicants-tab-nav button {
        flex: 0 0 auto;
        min-width: 147px;
    }

    .applicants-docs__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .passing-scores {
        padding-top: 120px;
    }
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 900px) {
    .applicants-hero__title {
        flex-direction: row;
    }

    .applicants-contacts h2,
    .applicants-section-title h2,
    .applicants-open-day-main h3 {
        font-size: 38px;
        line-height: 41.8px;
    }

    .applicants-open-days__grid,
    .applicants-docs__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .passing-scores__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .applicants-section-title--action {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .applicants-main .wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .applicants-hero {
        margin-top: 0;
        padding-top: 60px;
    }

    .applicants-hero .wrapper {
        width: 100vw;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-hero__image {
        width: 100%;
        max-width: none;
        height: 333px;
    }

    .applicants-hero__content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .applicants-hero__title {
        display: block;
        min-height: 0;
        padding: 0;
    }

    .applicants-contacts h2,
    .applicants-section-title h2,
    .applicants-open-day-main h3 {
        font-size: 30px;
        line-height: 33px;
    }

    .applicants-hero h1 {
        width: 300px;
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-hero__year {
        flex-basis: auto;
        margin-top: 20px;
        width: 300px;
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-hero__submission {
        min-height: 0;
        padding-top: 50px;
    }

    .applicants-hero__submission h2 {
        margin-bottom: 50px;
        font-size: 20px;
        line-height: 22px;
        font-weight: 500;
    }

    .applicants-hero__cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 70px;
        width: 240px;
        margin-left: 0;
    }

    .applicants-hero-card {
        min-height: 0;
        height: 270px;
        padding: 30px;
        background-color: var(--blue-deep);
    }

    .applicants-hero-card h3 {
        width: 240px;
    }

    .applicants-hero-card p {
        margin-top: auto;
        width: 240px;
    }

    .applicants-hero-card small {
        width: 240px;
    }

    .applicants-contacts,
    .applicants-deadlines,
    .applicants-places,
    .applicants-docs {
        padding-top: 80px;
    }

    .applicants-contacts {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 80px;
    }

    .applicants-contacts .wrapper {
        width: 100vw;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .applicants-contacts h2 {
        width: 300px;
        margin-bottom: 60px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .applicants-deadlines {
        padding-bottom: 109px;
    }

    .applicants-deadlines .wrapper {
        width: auto;
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-section-title--labeled {
        gap: 20px;
    }

    .applicants-section-title__label {
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-section-title--labeled h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .applicants-deadlines .applicants-tab-layout {
        gap: 60px;
    }

    .applicants-deadlines .applicants-tab-nav {
        gap: 24px;
    }

    .applicants-deadlines .applicants-tab-nav button {
        min-height: 22px;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-deadlines .applicants-tab-nav button.is-active::before {
        top: 8px;
    }

    .applicants-deadlines .applicants-tab-content {
        padding: 30px 10px;
    }

    .applicants-deadlines .applicants-tab-panel {
        padding: 0;
    }

    .applicants-deadline-schedule {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
    }

    .applicants-deadline-schedule h3,
    .applicants-deadline-documents h3 {
        display: block;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-deadline-date {
        margin-top: 30px;
    }

    .applicants-deadline-date + .applicants-deadline-date {
        margin-top: 20px;
    }

    .applicants-deadline-date p,
    .applicants-deadline-documents p,
    .applicants-deadline-documents ul {
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-deadline-date strong {
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-deadline-documents {
        margin-top: 44px;
    }

    .applicants-deadline-documents p,
    .applicants-deadline-documents ul {
        margin-top: 30px;
        max-width: 280px;
    }

    .applicants-deadline-documents p + ul {
        margin-top: 8px;
    }

    .applicants-inline-files {
        gap: 5px;
        margin-top: 39px;
    }

    .applicants-places {
        padding-top: 0;
    }

    .applicants-places .wrapper {
        width: auto;
        max-width: none;
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .applicants-places__title {
        margin-bottom: 41px;
    }

    .applicants-places__title .button {
        width: 200px;
        margin-top: 7px;
    }

    .applicants-places__levels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin-bottom: 30px;
        border-bottom-width: 3px;
    }

    .applicants-places__levels button {
        min-height: 39px;
        padding-bottom: 7px;
        padding-right: 10px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-places .applicants-places__filter {
        width: min(300px, 100%);
        margin-left: 0;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .applicants-places .applicants-places__filter .structure-departments__filter-trigger {
        height: 32px;
        min-height: 32px;
        padding: 5px 7px;
        border-radius: 18px;
        font-size: 14px;
        line-height: 18.2px;
        gap: 8px;
    }

    .applicants-places .applicants-places__filter .structure-departments__filter-icon,
    .applicants-places .applicants-places__filter .structure-departments__filter-icon img {
        width: 20px;
        height: 20px;
    }

    .applicants-places .applicants-places__filter .structure-departments__filter-arrow {
        width: 18px;
        height: 18px;
    }

    .applicants-places__panel {
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
        overflow: visible;
    }

    .applicants-places__row {
        grid-template-columns: 62px minmax(0, 1fr) 74px;
        gap: 0;
        min-height: 0;
        padding: 18px 18px 20px;
        border-bottom: 1px solid rgba(206, 212, 245, .45);
        font-size: 10px;
        line-height: 11px;
    }

    .applicants-places__row > div:first-child {
        display: block;
    }

    .applicants-places__row--head {
        height: 79px;
        min-height: 79px;
        padding-top: 17px;
        padding-bottom: 0;
    }

    .applicants-places__row--group {
        min-height: 38px;
        padding: 13px 18px;
        align-items: center;
    }

    .applicants-places__row--group div {
        grid-column: 1 / -1;
    }

    .applicants-places__row--head > div:nth-child(4),
    .applicants-places__row--head > div:nth-child(5) {
        display: none;
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(2) {
        text-align: center;
        font-weight: 500;
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(3) {
        text-align: right;
    }

    .applicants-places__budget {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        margin-top: 19px;
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > .applicants-places__budget {
        grid-column: 1 / -1;
    }

    .applicants-places__budget::before {
        content: "Бюджетных мест";
        grid-column: 1 / -1;
        margin-bottom: 10px;
        color: var(--blue);
        font-size: 10px;
        line-height: 11px;
    }

    .applicants-places__budget span {
        min-width: 0;
    }

    .applicants-places__budget span::before {
        display: block;
        margin-bottom: 7px;
        font-size: 6px;
        line-height: 7.2px;
    }

    .applicants-places__budget span:nth-child(1)::before {
        content: "общие места";
    }

    .applicants-places__budget span:nth-child(2)::before {
        content: "особая квота";
    }

    .applicants-places__budget span:nth-child(3)::before {
        content: "отдельная квота";
    }

    .applicants-places__budget span:nth-child(4)::before {
        content: "целевая квота";
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(5) {
        grid-column: 1 / -1;
        margin-top: 12px;
    }

    .applicants-places__row:not(.applicants-places__row--head):not(.applicants-places__row--group) > div:nth-child(5)::before {
        content: "Контрактных мест";
        display: block;
        margin-bottom: 7px;
        font-size: 6px;
        line-height: 7.2px;
    }

    .applicants-contacts__grid {
        grid-template-columns: minmax(0, 300px);
        gap: 0;
    }

    .applicants-contact-item {
        margin-bottom: 40px;
    }

    .applicants-contact-item__label {
        max-width: 300px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-contact-item a,
    .applicants-contact-item p {
        max-width: 300px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-contact-item p + p {
        margin-top: 10px;
    }

    .applicants-address-card,
    .applicants-tab-panel {
        padding: 20px;
    }

    .applicants-deadlines__columns {
        flex-direction: column;
    }

    .applicants-open-days {
        padding-top: 0;
    }

    .applicants-open-days .wrapper {
        width: 300px;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-open-days__title {
        display: block;
        margin-bottom: 0;
    }

    .applicants-open-days__title .applicants-section-title__label {
        width: 300px;
        margin-bottom: 20px;
    }

    .applicants-open-days__title h2 {
        width: 300px;
    }

    .applicants-open-days__title .button {
        margin-top: 26px;
        margin-left: 6px;
    }

    .applicants-open-day-main {
        display: block;
        min-height: 205px;
        margin-top: 56px;
        padding: 0 10px;
    }

    .applicants-open-day__meta,
    .applicants-open-day-card .applicants-open-day__meta {
        grid-template-columns: 145px 47px;
        column-gap: 88px;
        row-gap: 10px;
    }

    .applicants-open-day__weekday,
    .applicants-open-day-card .applicants-open-day__weekday {
        grid-column: 1 / 3;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-open-day__date,
    .applicants-open-day-card .applicants-open-day__date {
        grid-column: 1 / 2;
        margin-top: 14px;
    }

    .applicants-open-day__date span:first-child {
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-open-day__date span:last-child {
        width: 84px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-open-day__time,
    .applicants-open-day-card .applicants-open-day__time {
        grid-column: 2 / 3;
        margin-top: 14px;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-open-day__place,
    .applicants-open-day__prices,
    .applicants-open-day-card .applicants-open-day__place,
    .applicants-open-day-card .applicants-open-day__prices {
        grid-column: 1 / 3;
    }

    .applicants-open-day-main h3 {
        max-width: 280px;
        margin-top: 18px;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .applicants-open-day-card h3 {
        max-width: 280px;
        margin-top: 10px;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .applicants-open-day-main .button {
        position: static;
        margin-top: 66px;
        margin-left: 85px;
    }

    .applicants-open-day-card .button {
        position: static;
        margin-top: 20px;
        margin-left: 85px;
    }

    .applicants-open-days__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        margin-top: 74px;
    }

    .applicants-open-day-card {
        min-height: 205px;
        padding: 0 10px;
    }

    .applicants-open-day-card:nth-child(n + 3) {
        display: none;
    }

    .applicants-docs {
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .faculties-about__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .faculties-about__media {
        min-height: 0;
        aspect-ratio: 640 / 614;
    }

    .faculties-list__grid,
    .faculties-departments__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .faculties-list__grid {
        background-color: transparent;
    }

    .faculties-card {
        min-height: 450px;
        padding: 30px;
    }

    .faculties-card__image,
    .faculties-card::after {
        opacity: 1;
        transform: translateX(0);
    }

    .faculties-card__up {
        min-height: 116px;
        justify-content: flex-start;
        gap: 10px;
    }

    .faculties-card h2 {
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
        font-weight: 500;
    }

    .faculties-card__bottom {
        left: 30px;
        right: 30px;
        bottom: 30px;
        width: auto;
        display: block;
        opacity: 1;
        transform: none;
    }

    .faculties-card__bottom p {
        max-width: 250px;
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .faculties-department-card {
        min-height: 220px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .faculties-department-card span:first-child {
        max-width: 225px;
    }
}

@media screen and (max-width: 900px) {
    .faculties-about {
        padding-top: 96px;
    }

    .faculties-main .wrapper {
        max-width: 760px;
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
    }

    .faculties-section-head {
        display: block;
        padding-top: 120px;
        margin-bottom: 70px;
    }

    .faculties-section-head .sub {
        margin-bottom: 20px;
        font-size: var(--text-14);
    line-height: var(--leading-14);
    }

    .faculties-section-head h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .faculties-stats {
        gap: 10px;
    }

    .faculties-stat {
        min-height: 310px;
        padding: 30px;
    }

    .faculties-stat strong {
        font-size: 60px;
        line-height: 54px;
    }

    .faculties-list {
        padding-top: 120px;
    }

    .faculties-departments {
        padding: 120px 0 160px;
    }
}

@media screen and (max-width: 600px) {
    .faculties-page,
    .faculties-main,
    .faculties-about,
    .faculties-list,
    .faculties-departments {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .faculties-about {
        padding-top: 60px;
    }

    .faculties-section-head {
        padding-top: 40px;
        margin-bottom: 30px;
    }

    .faculties-section-head h1 {
        font-size: 23px;
        line-height: 25.3px;
    }

    .faculties-about__media {
        aspect-ratio: 300 / 300;
    }

    .faculties-stats,
    .faculties-list__grid,
    .faculties-departments__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .faculties-stat {
        min-height: 210px;
        padding: 20px;
    }

    .faculties-stat strong {
        font-size: 40px;
        line-height: 44px;
    }

    .faculties-stat span {
        font-size: 16px;
        line-height: 19.2px;
    }

    .faculties-list {
        padding-top: 80px;
    }

    .faculties-card {
        min-height: 450px;
        padding: 30px;
    }

    .faculties-card h2 {
        max-width: 240px;
    }

    .faculties-card__bottom {
        left: 30px;
        right: 30px;
        bottom: 30px;
    }

    .faculties-card__bottom p {
        max-width: 240px;
    }

    .faculties-departments {
        padding: 80px 0;
    }

    .faculties-department-card {
        min-height: 220px;
        padding: 25px;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .faculties-department-card span:first-child {
        max-width: 200px;
    }
}

@media screen and (max-width: 1280px) {
    .additional-professional-programs .additional-professional-card::before,
    .additional-professional-programs .additional-professional-card::after {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .additional-professional-programs .additional-professional-card__button {
        opacity: 1;
        transform: none;
    }

    .additional-professional-programs__group:nth-of-type(4) .additional-professional-card::before,
    .additional-professional-programs__group:nth-of-type(4) .additional-professional-card::after {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 900px) {
}

@media screen and (max-width: 600px) {
}

@media screen and (max-width: 600px) {
    body.student-body .items.grid-1 .item {
        width: 100%;
        min-height: 120px;
        aspect-ratio: auto;
        padding: 20px;
    }

    body.student-body .items.grid-1 .item h4 {
        font-size: 22px;
        line-height: 24px;
    }

}

@media screen and (max-width: 1400px) {
    .aspirantura-hero h1,
    .aspirantura-intro p,
    .aspirantura-contacts h2,
    .aspirantura-contacts__list,
    .aspirantura-docs h2 {
        margin-left: 36vw;
    }

    .aspirantura-hero h1 {
        left: 36vw;
        margin-left: 0;
    }

    .aspirantura-intro h2 {
        margin-left: 120px;
    }

    .doctorantura-hero h1,
    .doctorantura-intro p,
    .doctorantura-process h2,
    .doctorantura-docs h2,
    .doctorantura-contacts h2,
    .doctorantura-contacts__list {
        margin-left: 36vw;
    }

    .doctorantura-hero h1 {
        left: 36vw;
        margin-left: 0;
    }

    .doctorantura-intro h2 {
        margin-left: 120px;
    }
}

@media screen and (max-width: 1200px) {
    body.science-page-body header {
        left: 0;
        width: 100%;
        max-width: none;
        transform: none;
    }

    body.science-page-body header .top {
        width: 100% !important;
        max-width: none;
        margin: 0 0 15px !important;
    }

    .aspirantura-intro .wrapper {
        min-height: 500px;
    }

    .aspirantura-intro__button {
        position: static;
        width: fit-content;
        margin: 18px 0 0 36vw;
    }

    .doctorantura-process__item {
        grid-template-columns: 104px 240px minmax(0, 1fr);
    }

    .doctorantura-process__item p {
        max-width: none;
    }
}

@media screen and (max-width: 900px) {
    .doctorantura-hero {
        min-height: 657px;
    }

    .doctorantura-hero__label {
        bottom: 136px;
    }

    .doctorantura-hero h1 {
        left: 60px;
        bottom: 60px;
        font-size: 70px;
        line-height: 77px;
    }

    .doctorantura-intro {
        padding-top: 70px;
    }

    .doctorantura-intro .wrapper {
        min-height: 526px;
    }

    .doctorantura-intro__dot {
        top: 5px;
        left: 5px;
    }

    .doctorantura-intro h2 {
        margin-left: 85px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .doctorantura-intro p {
        max-width: none;
        margin: 50px 0 0;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .doctorantura-cards .wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .doctorantura-card {
        min-height: 373px;
    }

    .doctorantura-card img {
        left: 20px;
    }

    .doctorantura-process {
        margin-top: 120px;
        padding: 100px 0;
    }

    .doctorantura-process__label {
        position: static;
        margin-bottom: 50px;
    }

    .doctorantura-process h2,
    .doctorantura-docs h2 {
        margin-left: 0;
    }

    .doctorantura-process h2 {
        margin-bottom: 50px;
    }

    .doctorantura-process__list {
        gap: 0;
    }

    .doctorantura-process__item {
        grid-template-columns: 100px 300px minmax(0, 1fr);
        gap: 0;
        padding: 40px 0;
    }

    .doctorantura-process__item p {
        grid-column: 3;
        max-width: none;
    }

    .doctorantura-docs__grid {
        grid-template-columns: 1fr;
    }

    .doctorantura-contacts h2,
    .doctorantura-contacts__list {
        margin-left: 0;
    }

    .doctorantura-contacts__label {
        position: static;
    }

    .doctorantura-contacts h2 {
        margin-top: 48px;
    }

    .doctorantura-contacts__list {
        margin-top: 168px;
    }

    .doctorantura-contacts__card {
        position: relative;
        right: auto;
        width: 320px;
        margin: 80px 0 0 auto;
    }

    .aspirantura-hero,
    .aspirantura-hero .wrapper {
        min-height: 390px;
    }

    .aspirantura-hero__label {
        bottom: 106px;
    }

    .aspirantura-hero h1 {
        left: 250px;
        bottom: 46px;
        font-size: 52px;
        line-height: 58px;
    }

    .aspirantura-intro {
        padding-top: 56px;
    }

    .aspirantura-intro .wrapper {
        min-height: 430px;
    }

    .aspirantura-intro__dot {
        top: 5px;
        left: 0;
    }

    .aspirantura-intro h2 {
        margin-left: 100px;
        font-size: 30px;
        line-height: 34px;
    }

    .aspirantura-intro p {
        max-width: 430px;
        margin: 38px 0 0 250px;
        font-size: 18px;
        line-height: 21px;
    }

    .aspirantura-intro__button {
        position: static;
        width: fit-content;
        margin: 18px 0 0 250px;
    }

    .aspirantura-cards .wrapper {
        gap: 24px;
    }

    .aspirantura-card {
        min-height: 330px;
        padding: 24px;
    }

    .aspirantura-card h3 {
        font-size: 22px;
        line-height: 25px;
    }

    .aspirantura-card p {
        left: 24px;
        bottom: 24px;
        max-width: calc(100% - 48px);
        font-size: 17px;
        line-height: 20px;
    }

    .aspirantura-docs {
        padding-top: 88px;
    }

    .aspirantura-docs h2 {
        margin-left: 250px;
    }

    .aspirantura-docs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aspirantura-contacts h2,
    .aspirantura-contacts__list {
        margin-left: 250px;
    }

    .aspirantura-contacts__card {
        position: relative;
        right: auto;
        width: 320px;
        margin: 56px 0 0 auto;
    }
}

@media screen and (max-width: 600px) {
    .doctorantura-page .wrapper {
        width: auto;
        max-width: none;
        padding-right: 10px;
        padding-left: 10px;
        box-sizing: border-box;
    }

    .doctorantura-hero {
        min-height: 400px;
        background-position: 50% 50%;
    }

    .doctorantura-hero__label {
        left: 10px;
        bottom: 104px;
        font-size: 14px;
        line-height: 17px;
    }

    .doctorantura-hero h1 {
        left: 10px;
        bottom: 30px;
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .doctorantura-intro {
        padding-top: 40px;
    }

    .doctorantura-intro .wrapper {
        min-height: 0;
    }

    .doctorantura-intro__dot {
        position: static;
        display: block;
        width: 10px;
        height: 10px;
        margin-bottom: 19px;
    }

    .doctorantura-intro h2 {
        max-width: none;
        margin: 0;
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .doctorantura-intro p {
        max-width: none;
        margin: 50px 0 0;
        font-size: 16px;
        line-height: 19px;
    }

    .doctorantura-cards {
        margin-top: 80px;
    }

    .doctorantura-cards .wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .doctorantura-card {
        min-height: 326px;
        padding: 30px 10px;
    }

    .doctorantura-card h3 {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .doctorantura-card p {
        left: 10px;
        bottom: 30px;
        max-width: calc(100% - 20px);
        font-size: 16px;
        line-height: 19px;
    }

    .doctorantura-card img {
        left: 34px;
        top: 99px;
        width: 192px;
        height: 140px;
    }

    .doctorantura-process {
        margin: 80px 0 0;
        padding: 77px var(--container-mobile-x) 40px;
    }

    .doctorantura-process .wrapper {
        padding-right: 0;
        padding-left: 0;
    }

    .doctorantura-process__label {
        margin-bottom: 48px;
        font-size: 14px;
        line-height: 17px;
    }

    .doctorantura-process h2 {
        margin: 0 0 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .doctorantura-process__list {
        gap: 0;
    }

    .doctorantura-process__item {
        display: block;
        padding: 30px 0;
    }

    .doctorantura-process__num,
    .doctorantura-process__item h3 {
        font-size: var(--text-20);
    line-height: var(--leading-20-tight);
    }

    .doctorantura-process__item h3 {
        margin-top: 10px;
    }

    .doctorantura-process__item p {
        max-width: none;
        margin-top: 20px;
        font-size: 14px;
        line-height: 18px;
    }

    .doctorantura-docs {
        padding-top: 80px;
    }

    .doctorantura-docs h2 {
        max-width: none;
        margin: 0 0 40px;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .doctorantura-docs__grid {
        grid-template-columns: 1fr;
    }

    .doctorantura-docs .docs-item {
        min-height: 100px;
        padding: 10px 20px;
    }

    .doctorantura-contacts {
        padding: 80px 0 70px;
    }

    .doctorantura-contacts .wrapper {
        min-height: 0;
    }

    .doctorantura-contacts__label {
        position: static;
        font-size: 14px;
        line-height: 17px;
    }

    .doctorantura-contacts h2 {
        margin: 25px 0 0;
        font-size: var(--text-section-mobile);
    line-height: var(--leading-section-mobile);
    }

    .doctorantura-contacts__list {
        width: auto;
        margin: 72px 0 0;
        gap: 12px;
    }

    .doctorantura-contacts dt,
    .doctorantura-contacts dd,
    .doctorantura-contacts__card p,
    .doctorantura-contacts__link {
        font-size: 12px;
        line-height: 15px;
    }

    .doctorantura-contacts__card {
        position: relative;
        right: auto;
        width: 100%;
        min-height: 335px;
        margin: 80px 0 0;
        padding: 20px;
    }

    .doctorantura-contacts__card h3 {
        font-size: 18px;
        line-height: 21px;
    }

    .doctorantura-contacts__card dl {
        margin-top: 94px;
        gap: 10px;
    }

    .doctorantura-contacts__link {
        right: 20px;
        bottom: 20px;
    }

    .aspirantura-page .wrapper {
        width: auto;
        max-width: none;
        padding-right: 20px;
        padding-left: 20px;
        box-sizing: border-box;
    }

    .aspirantura-hero {
        min-height: 340px;
        background-position: 50% 50%;
    }

    .aspirantura-hero .wrapper {
        min-height: 340px;
    }

    .aspirantura-hero__label {
        left: 16px;
        bottom: 138px;
        font-size: 14px;
        line-height: 18.2px;
    }

    .aspirantura-hero h1 {
        left: 16px;
        bottom: 74px;
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .aspirantura-intro {
        padding-top: 32px;
    }

    .aspirantura-intro .wrapper {
        min-height: 0;
    }

    .aspirantura-intro__dot {
        position: static;
        display: block;
        width: 10px;
        height: 10px;
        margin-bottom: 24px;
    }

    .aspirantura-intro h2 {
        max-width: none;
        margin: 0;
        font-size: 18px;
        line-height: 21px;
    }

    .aspirantura-intro p {
        max-width: none;
        margin: 24px 0 0;
        font-size: 14px;
        line-height: 18px;
    }

    .aspirantura-intro__button {
        position: static;
        width: fit-content;
        max-width: 100%;
        min-height: 33px;
        margin: 24px 0 0;
        white-space: nowrap;
    }

    .aspirantura-cards {
        margin-top: 48px;
    }

    .aspirantura-cards .wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .aspirantura-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 260px;
        padding: 20px;
    }

    .aspirantura-card h3 {
        font-size: 20px;
        line-height: 23px;
    }

    .aspirantura-card p {
        position: static;
        max-width: none;
        margin-top: 54px;
        font-size: 14px;
        line-height: 18px;
    }

    .aspirantura-card img {
        top: 108px;
        width: 120px;
        height: 96px;
    }

    .aspirantura-docs {
        padding-top: 58px;
    }

    .aspirantura-docs h2 {
        max-width: none;
        margin: 0 0 24px;
        font-size: 20px;
        line-height: 23px;
    }

    .aspirantura-docs__grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .aspirantura-docs .docs-item {
        min-height: 72px;
        padding: 10px 12px;
    }

    .aspirantura-docs .docs-h {
        gap: 14px;
    }

    .aspirantura-docs .docs-title {
        font-size: 12px;
        line-height: 15px;
    }

    .aspirantura-docs .docs-b {
        font-size: 10px;
        line-height: 12px;
    }

    .aspirantura-contacts {
        padding: 58px 0 70px;
    }

    .aspirantura-contacts .wrapper {
        min-height: 0;
    }

    .aspirantura-contacts__label {
        position: static;
        font-size: 14px;
        line-height: 17px;
    }

    .aspirantura-contacts h2 {
        margin: 18px 0 0;
        font-size: 25px;
        line-height: 28px;
    }

    .aspirantura-contacts__list {
        width: auto;
        margin: 28px 0 0;
        gap: 12px;
    }

    .aspirantura-contacts dt,
    .aspirantura-contacts dd,
    .aspirantura-contacts__card p,
    .aspirantura-contacts__link {
        font-size: 12px;
        line-height: 15px;
    }

    .aspirantura-contacts__card {
        position: relative;
        right: auto;
        width: 100%;
        min-height: 315px;
        margin: 28px 0 0;
        padding: 20px;
    }

    .aspirantura-contacts__card h3 {
        font-size: 18px;
        line-height: 21px;
    }

    .aspirantura-contacts__card dl {
        margin-top: 104px;
        gap: 12px;
    }

    .aspirantura-contacts__link {
        right: 20px;
        bottom: 20px;
    }
}


/* confirmed primitives responsive */

@media screen and (max-width: 1180px) {
    .home-stats {
        display: block;
    }

    .home-stats .sub {
        margin-bottom: 24px;
    }

    .about-numbers {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 30px;
    }

    .about-numbers__item,
    .about-numbers__item--rank,
    .about-numbers__item--image-top,
    .about-numbers__item--science,
    .about-numbers__item--degree,
    .about-numbers__item--image-bottom,
    .about-numbers__item--grant {
        grid-column: auto;
        grid-row: auto;
    }

    .about-numbers__item--grant {
        grid-column: 1 / -1;
    }

    .fullhead .items,
    .subhead .items {
        flex-direction: column;
    }

    .items.c-4 .item {
        width: calc((100% - (3 - 1) * 30px) / 3);
    }

    .items.c-3 .item,
    .items.c-3-2 .item,
    .items.c-3-2 .item:nth-child(n+4):nth-child(-n+5) {
        width: calc((100% - (2 - 1) * 30px) / 2);
    }

    .docs .docs-item {
        width: 100%;
    }

    .programs-hero__tabs {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .programs-hero__tabs h1,
    .programs-hero__tabs a {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .faq-list-section {
        padding: 120px 0 121px;
    }

    .faq-list__item {
        position: relative;
        box-sizing: border-box;
        grid-template-columns: 28px minmax(0, 488px) 34px;
        column-gap: 10px;
        min-height: 114px;
        padding: 39px 30px 40px;
    }

    .faq-page .faq-list__item + .faq-list__item {
        margin-top: 2px;
    }

    .faq-list__meta {
        justify-content: flex-start;
        padding-left: 0;
    }

    .faq-list__meta::before {
        top: 5px;
        left: 5px;
    }

    .faq-list__link {
        width: 28px;
        height: 28px;
        min-height: 28px;
        overflow: hidden;
        color: transparent;
        font-size: 0;
        line-height: 0;
    }

    .faq-list__link:not(:first-child) {
        display: none;
    }

    .faq-list__content {
        grid-column: 2;
    }

    .faq-list__question {
        display: block;
        width: 100%;
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
        font-weight: 400;
    }

    .faq-list__question .faq-list__plus {
        display: none;
    }

    .faq-list__item .faq-list__question::after,
    .faq-list__item .faq-list__question::before {
        content: "";
        position: absolute;
        top: 44px;
        right: 30px;
        width: 25px;
        height: 2px;
        border-radius: 2px;
        background-color: currentColor;
        transform-origin: center;
        transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    }

    .faq-page .faq-list__item .faq-list__question::after,
    .faq-page .faq-list__item .faq-list__question::before {
        transition: transform .3s ease-out, background-color .3s ease-out;
    }

    .faq-list__item .faq-list__question::before {
        transform: rotate(90deg);
    }

    .faq-list__item.is-open .faq-list__question::after {
        transform: rotate(45deg);
    }

    .faq-list__item.is-open .faq-list__question::before {
        transform: rotate(135deg);
    }

    .faq-list__answer {
        max-width: 100%;
    }

    .faq-list__item.is-open .faq-list__answer {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1100px) {
    .structure-departments__filter {
        width: min(320px, 100%);
    }

    .prep-tabs-section {
        padding-top: 80px;
    }
}

@media screen and (max-width: 700px) {
    .structure-departments__filter-trigger {
        min-height: 49px;
        padding: 8px 14px 8px 12px;
        font-size: 14px;
        line-height: 17px;
    }

    .structure-departments__filter-icon {
        width: 18px;
        height: 18px;
    }

    .structure-departments__filter-menu button {
        font-size: 14px;
        line-height: 17px;
    }

    .contact-card {
        width: 100%;
        min-height: 300px;
        padding: 20px;
        gap: 48px;
    }

    .contact-card__head h5 {
        font-size: 18px;
        line-height: 1.15;
    }

    .contact-card dt,
    .contact-card dd,
    .contact-card a,
    .contact-card__head p {
        font-size: 13px;
        line-height: 1.25;
    }
}

@media screen and (max-width: 1280px) {
    .person-detail {
        padding: 150px 0 120px;
    }

    .person-detail__intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .person-detail__about {
        min-height: 0;
        order: -1;
    }

    .person-detail__name {
        margin-bottom: 28px;
    }

    .person-detail__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 640 / 740;
    }

    .person-detail__text {
        margin-top: 59px;
        display: block;
    }

    .person-detail__body {
        margin-top: 30px;
    }
}

@media screen and (max-width: 600px) {
    .about-numbers {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-numbers__item,
    .about-numbers__item--grant {
        grid-column: auto;
    }

    .about-numbers__item:not(.about-numbers__item--image-top):not(.about-numbers__item--image-bottom) {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .about-numbers__item p,
    .about-numbers__item--grant p {
        margin-top: 0;
    }

    .person-detail {
        padding: 120px 0 100px;
    }

    .person-detail__name {
        font-size: 34px;
        line-height: 37.4px;
    }

    .person-detail__position {
        font-size: var(--text-24);
        line-height: var(--leading-24);
    }

    .student-council-hero h1 {
        font-size: 25px;
        line-height: 27.5px;
        text-transform: none;
    }

    .person-detail__rank,
    .person-detail__text p {
        max-width: none;
        font-size: var(--text-16);
        line-height: var(--leading-16);
    }

    .person-detail__photo {
        aspect-ratio: 328 / 379;
    }

    .structure-dean-card .contact-card__head {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;
    }

    .structure-dean-card .contact-card__head img {
        width: 52px;
        height: 52px;
    }

    .structure-dean-card .contact-card__head h5 {
        font-size: 16px;
        line-height: 1.15;
    }

    .items.c-4 .item {
        width: 100%;
        aspect-ratio: 1.5 / 1;
    }

    .items.c-2 .item,
    .items.c-3 .item,
    .items.c-3-2 .item,
    .items.c-3-2 .item:nth-child(n+4):nth-child(-n+5) {
        width: 100%;
    }

    .programs-hero__tabs {
        gap: 10px;
    }

    .programs-hero__tabs h1,
    .programs-hero__tabs a {
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
        font-weight: 500;
    }

    .faq-list-section {
        padding: 70px 0 39px;
    }

    .faq-list__item {
        grid-template-columns: 28px minmax(0, 208px) 34px;
        column-gap: 10px;
        min-height: 114px;
        padding: 39px 10px;
    }

    .faq-list__meta::before {
        width: 18px;
        height: 18px;
        left: 5px;
    }

    .faq-list__link {
        width: 28px;
        height: 28px;
    }

    .faq-list__question {
        font-size: 16px;
        line-height: 19.2px;
    }

    .faq-list__item .faq-list__question::before,
    .faq-list__item .faq-list__question::after {
        top: 47px;
        right: 18px;
        width: 18px;
    }

    .faq-list__answer {
        max-width: 208px;
        font-size: var(--text-14);
        line-height: var(--leading-14);
    }

    .faq-list__item.is-open .faq-list__answer {
        margin-top: 30px;
    }

    .faq-list__answer ul {
        padding-left: 16px;
    }
}

@media screen and (max-width: 1500px) {
    header {
        width: 100%;
        max-width: none;
    }

    header .top {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    header .top .h-right .icons {
        gap: 16px;
        padding-right: 40px;
    }

    header .top .h-right .icons img {
        width: 24px;
    }

    header .top .mmenu {
        flex: 0 0 24px;
        margin-left: 0;
    }
}

@media screen and (max-width: 1240px) {
    .applicants-main > section > .wrapper,
    .applicants-main > .wp-block-group__inner-container > section > .wrapper,
    .applicants-hero .wrapper,
    .applicants-contacts .wrapper,
    .applicants-deadlines .wrapper,
    .applicants-places .wrapper,
    .applicants-open-days .wrapper {
        width: auto;
        max-width: none;
        margin-left: 60px;
        margin-right: 60px;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-hero__title {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .applicants-open-days__title {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 20px;
    }

    .applicants-open-days__title .applicants-section-title__label {
        grid-column: 1 / -1;
    }

    .applicants-open-days__title .applicants-section-title__label,
    .applicants-open-days__title h2 {
        width: auto;
        text-align: left;
    }

    .applicants-places {
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .applicants-places__levels {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .applicants-open-day-main {
        grid-template-columns: minmax(0, 1fr);
        min-height: 500px;
        margin-top: 40px;
        padding: 24px;
    }

    .applicants-open-day-main h3 {
        max-width: 592px;
        margin-top: 92px;
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-open-day-main .button {
        grid-column: 1 / 2;
        justify-self: start;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .applicants-open-days__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .applicants-open-day-card {
        min-height: 426px;
        padding: 24px;
    }

    .applicants-open-day-card:nth-child(n + 3) {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .applicants-main > section > .wrapper,
    .applicants-main > .wp-block-group__inner-container > section > .wrapper,
    .applicants-hero .wrapper,
    .applicants-contacts .wrapper,
    .applicants-deadlines .wrapper,
    .applicants-places .wrapper,
    .applicants-open-days .wrapper {
        width: auto;
        max-width: none;
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-open-days__title {
        display: block;
    }

    .applicants-open-days__title .button {
        width: min(291px, 100%);
        margin-top: 20px;
        justify-content: space-between;
    }

    .applicants-hero__cards {
        width: 100%;
        max-width: 300px;
    }

    .applicants-hero-card {
        padding: 30px;
        background-color: var(--blue-deep);
    }

    .applicants-places {
        overflow: visible;
    }

    .applicants-places__levels {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .applicants-open-day-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        min-height: 300px;
        margin-top: 40px;
        padding: 24px 10px;
    }

    .applicants-open-day__meta,
    .applicants-open-day-card .applicants-open-day__meta {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 16px;
        row-gap: 10px;
    }

    .applicants-open-day__weekday,
    .applicants-open-day-card .applicants-open-day__weekday {
        grid-column: 1 / 3;
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-open-day__date,
    .applicants-open-day-card .applicants-open-day__date {
        grid-column: 1 / 2;
        margin-top: 14px;
    }

    .applicants-open-day__date span:first-child {
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-open-day__date span:last-child {
        width: 84px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .applicants-open-day__time,
    .applicants-open-day-card .applicants-open-day__time {
        grid-column: 2 / 3;
        margin-top: 14px;
        font-size: 20px;
        line-height: 22px;
    }

    .applicants-open-day__place,
    .applicants-open-day__prices,
    .applicants-open-day-card .applicants-open-day__place,
    .applicants-open-day-card .applicants-open-day__prices {
        grid-column: 1 / 3;
    }

    .applicants-open-day-main h3 {
        max-width: none;
        margin-top: 18px;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .applicants-open-day-main .button {
        grid-column: 1 / 2;
        justify-self: center;
        margin-top: 18px;
        margin-left: 0;
        margin-bottom: 0;
    }

    .applicants-open-days__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    .applicants-open-day-card {
        min-height: 0;
        padding: 24px 10px;
    }

    .applicants-open-day-card h3 {
        max-width: none;
        margin-top: 10px;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .applicants-open-day-card .button {
        align-self: center;
        margin-top: 20px;
        margin-left: 0;
    }
}

@media screen and (max-width: 600px) {
    header .top .h-right .icons {
        gap: 14px;
        padding-right: 38px;
    }

    header .top .h-right .icons img {
        width: 22px;
    }
}

@media screen and (max-width: 700px) {
    header .top {
        height: 60px;
        padding-left: var(--container-mobile-x);
        padding-right: var(--container-mobile-x);
        justify-content: flex-start;
    }

    header .top .logo-link {
        position: static;
        flex: 0 0 50px;
        width: 50px;
        transform: none;
    }

    header .top .logo,
    header .top .logo-link .logo {
        width: 50px;
        max-width: 50px;
    }

    header .top .h-right {
        margin-left: auto;
    }

    header .top .mmenu,
    body.site-mobile-menu-open header .top .mmenu {
        top: 18px;
        right: var(--container-mobile-x);
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    header .top .mmenu img {
        width: 24px;
        height: 24px;
    }

    .wrapper,
    .additional-professional-page .wrapper,
    .targeted-training-page .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding-left: 0;
        padding-right: 0;
    }

    .additional-professional-body header .top {
        padding-left: var(--container-mobile-x);
        padding-right: var(--container-mobile-x);
    }

    .additional-professional-body header .top .mmenu {
        right: var(--container-mobile-x);
    }

    .higher-veterinary-classes-cover .prep-hero__content {
        --prep-hero-content-x-mobile: var(--container-mobile-x);
        --prep-hero-content-top-mobile: 176px;
    }

    .higher-veterinary-classes-cover .prep-hero__label {
        color: var(--grey);
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    .foreign-deadlines,
    .foreign-steps,
    .foreign-faq,
    .foreign-docs {
        padding-top: 120px;
    }

    .foreign-deadlines__grid,
    .step-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .foreign-deadline-card,
    .step-card {
        min-height: 373px;
        padding: 30px;
    }

    .foreign-deadline-card__decor--competencies {
        left: 34px;
        top: 142px;
        bottom: auto;
    }

    .foreign-deadline-card__decor--cloud {
        left: 34px;
        top: 142px;
        bottom: auto;
    }

    .foreign-deadline-card__decor--mobile {
        left: 66px;
        top: 148px;
        bottom: auto;
    }

    .step-card__num {
        font-size: 210px;
    }

    .step-card h3,
    .step-card p {
        max-width: 580px;
    }

    .foreign-docs {
        padding-bottom: 160px;
    }
}

@media screen and (max-width: 600px) {
    .foreign-hero .prep-hero__content {
        --prep-hero-content-top-mobile: 191px;
        display: block;
    }

    .foreign-hero .prep-hero__head {
        display: grid;
        justify-items: start;
        gap: 20px;
    }

    .foreign-hero .button {
        justify-self: start;
    }

    .foreign-steps,
    .foreign-faq,
    .foreign-docs {
        padding-top: 80px;
    }

    .foreign-deadlines {
        padding-top: 40px;
    }

    .foreign-deadlines__grid,
    .step-card-grid,
    .docs--grid-2.foreign-docs__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .foreign-deadline-card,
    .step-card {
        padding: 30px 20px;
    }

    .foreign-deadline-card {
        min-height: 326px;
    }

    .foreign-deadline-card__decor--competencies,
    .foreign-deadline-card__decor--cloud {
        left: 34px;
        top: 99px;
        bottom: auto;
    }

    .foreign-deadline-card__decor--mobile {
        left: 66px;
        top: 105px;
        bottom: auto;
    }

    .foreign-deadline-card h2,
    .step-card h3 {
        font-size: var(--text-section-mobile);
        line-height: var(--leading-section-mobile);
    }

    .step-card__num {
        top: 0;
        right: -340px;
        font-size: 250px;
        line-height: 200px;
    }

    .step-card p {
        margin-top: 40px;
        font-size: var(--text-14);
        line-height: 16.8px;
    }

    .foreign-steps .step-card {
        min-height: auto;
        overflow: hidden;
    }

    .foreign-steps .step-card:nth-child(1) {
        height: 190px;
    }

    .foreign-steps .step-card:nth-child(2) {
        height: 257px;
    }

    .foreign-steps .step-card:nth-child(3) {
        height: 145px;
    }

    .foreign-steps .step-card:nth-child(4) {
        height: 468px;
    }

    .foreign-steps .step-card h3 {
        max-width: 260px;
        font-size: var(--text-section-mobile);
        line-height: var(--leading-section-mobile);
    }

    .step-card .button {
        width: auto;
        max-width: 266px;
        margin-top: 30px;
    }

    .foreign-faq .faq-list__question {
        min-height: 0;
    }

    .foreign-docs {
        padding-top: 50px;
        padding-bottom: 80px;
    }

    .foreign-docs__list .docs-item {
        width: 300px;
        height: 100px;
        min-height: 100px;
        padding: 10px 20px;
    }

    .foreign-docs__list .docs-h {
        min-height: 36px;
        gap: 20px;
    }

    .foreign-docs__list .docs-h img {
        width: 16px;
        min-width: 16px;
    }

    .foreign-docs__list .docs-title {
        font-size: var(--text-14);
        line-height: var(--leading-14);
    }

    .foreign-docs__list .docs-b {
        font-size: 10px;
        line-height: 11px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    .educational-work-hero__content {
        display: block;
    }

    .educational-work-hero .prep-hero__label {
        margin-bottom: 40px;
    }

    .educational-work-hero h1 {
        font-size: 70px;
        line-height: 77px;
        text-transform: none;
    }

    .educational-work-steps,
    .educational-work-contacts,
    .educational-work-docs {
        padding-top: 120px;
    }

    .educational-work-contacts .wrapper {
        width: auto;
        max-width: none;
        margin-right: 60px;
        margin-left: 60px;
        padding-right: 0;
        padding-left: 0;
    }

    .educational-work-steps .educational-work-steps__grid,
    .educational-work-contacts__grid,
    .educational-work-docs__group {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .educational-work-contacts__grid {
        gap: 40px;
    }

    .educational-work-contacts__main {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .educational-work-contacts__label {
        display: none;
    }

    .educational-work-step {
        min-height: 650px;
    }

    .educational-work-step h2,
    .educational-work-step.step-card p,
    .educational-work-step.step-card ul {
        max-width: 540px;
    }

    .educational-work-contacts__main,
    .educational-work-contacts__aside,
    .educational-work-contacts__card,
    .educational-work-docs__group h2,
    .educational-work-docs__list {
        grid-column: auto;
    }

    .educational-work-contacts__main dl {
        grid-column: auto;
        margin: 0;
    }

    .educational-work-contacts__aside,
    .educational-work-contacts__card {
        width: 280px;
    }

    .educational-work-docs__list,
    .educational-work-docs__list.docs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .educational-work-docs__list .docs-item {
        width: 100%;
    }

    .educational-work-docs.student-council-docs {
        padding: 0;
    }

    .student-science-society-contacts .educational-work-contacts__grid,
    .student-science-society-contacts .educational-work-contacts__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .student-science-society-contacts .educational-work-contacts__aside {
        grid-template-columns: repeat(2, minmax(0, 320px));
        justify-content: start;
    }

    .student-science-society-docs__button {
        grid-column: auto;
    }
}

@media screen and (max-width: 600px) {
    .educational-work-hero {
        min-height: 400px;
    }

    .educational-work-hero .wrapper {
        height: 400px;
        min-height: 400px;
    }

    .educational-work-hero__content {
        display: block;
    }

    .educational-work-hero .prep-hero__label {
        margin-bottom: 20px;
    }

    .educational-work-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .educational-work-steps,
    .educational-work-contacts {
        padding-top: 40px;
    }

    .educational-work-docs {
        padding: 120px 0;
    }

    .educational-work-steps .educational-work-steps__grid,
    .educational-work-contacts__grid,
    .educational-work-docs__group {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .educational-work-contacts__grid {
        gap: 40px;
    }

    .educational-work-contacts__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        min-height: 273px;
    }

    .educational-work-contacts__label {
        display: none;
    }

    .educational-work-step {
        min-height: 0;
        padding: 30px 20px;
    }

    .educational-work-step:nth-child(1) {
        min-height: 259px;
    }

    .educational-work-step:nth-child(2) {
        min-height: 412px;
    }

    .educational-work-step:nth-child(3) {
        min-height: 189px;
    }

    .educational-work-step:nth-child(4) {
        min-height: 366px;
    }

    .educational-work-step:nth-child(5) {
        min-height: 310px;
    }

    .educational-work-step:nth-child(6) {
        min-height: 332px;
    }

    .educational-work-step .step-card__num {
        top: 0;
        right: 0;
        font-size: 150px;
        line-height: 120px;
    }

    .educational-work-step h2 {
        max-width: 280px;
        font-size: 25px;
        line-height: 28px;
    }

    .educational-work-step.step-card p,
    .educational-work-step.step-card ul,
    .educational-work-step.step-card li {
        max-width: 280px;
        margin-top: 40px;
        font-size: 14px;
        line-height: 17px;
        font-weight: 400;
    }

    .educational-work-step.step-card li {
        margin-top: 0;
    }

    .educational-work-step.step-card .button.white.outline {
        left: 20px;
        bottom: 30px;
        margin-top: 30px;
    }

    .educational-work-contacts__main,
    .educational-work-contacts__aside,
    .educational-work-contacts__card,
    .educational-work-docs__group h2,
    .educational-work-docs__list {
        grid-column: auto;
    }

    .educational-work-contacts__main h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .educational-work-contacts__main dl {
        grid-column: auto;
        margin: 0;
    }

    .educational-work-contacts__main dl div:last-child dd {
        max-width: none;
    }

    .educational-work-contacts__main dt,
    .educational-work-contacts__main dd,
    .educational-work-contacts__main a {
        line-height: 16.8px;
    }

    .educational-work-contacts__card {
        width: 100%;
        min-height: 300px;
        padding: 20px;
    }

    .educational-work-contacts__aside {
        width: 100%;
        justify-items: end;
    }

    .educational-work-contacts__card .contact-card__head h3,
    .educational-work-contacts__card .contact-card__head p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .educational-work-contacts__card dl {
        height: auto;
        gap: 14px;
    }

    .educational-work-contacts__card dt,
    .educational-work-contacts__card dd,
    .educational-work-contacts__card a {
        font-size: 10px;
        line-height: 11px;
    }

    .educational-work-docs__group + .educational-work-docs__group {
        margin-top: 80px;
    }

    .educational-work-docs__group h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .educational-work-docs__list,
    .educational-work-docs__list.docs {
        grid-template-columns: minmax(0, 1fr);
    }

    .educational-work-docs__list .docs-item {
        width: 100%;
    }

    .educational-work-docs.student-council-docs {
        padding: 0;
    }

    .student-science-society-contacts .educational-work-contacts__grid,
    .student-science-society-contacts .educational-work-contacts__main,
    .student-science-society-contacts .educational-work-contacts__aside {
        grid-template-columns: minmax(0, 1fr);
    }

    .student-science-society-docs__button {
        grid-column: auto;
        width: 100%;
    }
}

@media screen and (min-width: 701px) and (max-width: 900px) {
    .restoration-commission-intro {
        padding: 70px 0 120px;
    }

    .restoration-commission-lead {
        grid-template-columns: 85px minmax(0, 1fr);
    }

    .restoration-commission-lead h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .restoration-commission-intro__text {
        grid-template-columns: repeat(2, minmax(0, 310px));
        justify-content: start;
        gap: 40px 20px;
        margin-top: 50px;
    }

    .restoration-step .wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 345px);
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: 844px;
    }

    .restoration-step__num {
        top: 0;
        right: -10px;
        font-size: 250px;
        line-height: 200px;
    }

    .restoration-step__date {
        margin-top: 20px;
    }
}

@media screen and (max-width: 700px) {
    .restoration-commission-intro {
        padding: 40px 0 80px;
    }

    .restoration-commission-lead {
        display: block;
    }

    .restoration-commission-lead .decor-dot--blue {
        width: 10px;
        height: 28px;
        margin-bottom: 10px;
    }

    .restoration-commission-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .restoration-commission-intro__text {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 40px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .restoration-step .wrapper {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "title"
            "audience"
            "date"
            "body";
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: 0;
    }

    .restoration-step__num {
        top: 0;
        right: 0;
        font-size: 150px;
        line-height: 120px;
    }

    .restoration-step__head h2 {
        max-width: 280px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .restoration-step__head p {
        max-width: 280px;
        margin-top: 20px;
        font-size: 20px;
        line-height: 22px;
    }

    .restoration-step__date {
        max-width: 280px;
        margin-top: 20px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .restoration-step__body {
        max-width: 280px;
        margin-top: 50px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .restoration-step:nth-child(1) .wrapper {
        min-height: 780px;
    }

    .restoration-step:nth-child(2) .wrapper {
        min-height: 576px;
    }

    .restoration-step:nth-child(3) .wrapper {
        min-height: 1148px;
    }

    .restoration-step:nth-child(4) .wrapper {
        min-height: 690px;
    }

    .restoration-step:nth-child(5) .wrapper {
        min-height: 781px;
    }

    .restoration-step:nth-child(6) .wrapper {
        min-height: 707px;
    }

    .restoration-step:nth-child(7) .wrapper {
        min-height: 781px;
    }

    .restoration-step:nth-child(8) .wrapper {
        min-height: 678px;
    }

    .restoration-step--last {
        margin-bottom: 120px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .higher-veterinary-classes-cover .prep-hero__label {
        color: var(--grey);
    }

    .higher-veterinary-classes-intro__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        max-width: 640px;
        margin-left: 0;
    }

    .higher-veterinary-classes-intro__lead h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .higher-class-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .higher-veterinary-classes-page .higher-class-grid {
        width: 100%;
    }

    .higher-veterinary-classes-programs {
        margin-top: -37px;
    }

    .higher-class-card {
        height: 556px;
        padding: 30px;
    }

    .higher-class-card::before,
    .higher-class-card::after {
        opacity: 1;
        transform: translateX(0);
    }

    .higher-class-card__description,
    .higher-class-card__button {
        opacity: 1;
        transform: translateY(0);
    }

    .higher-class-card__title {
        margin-top: 10px;
    }

    .higher-class-card__description--desktop,
    .higher-class-card__button-desktop {
        display: none;
    }

    .higher-class-card__description--compact {
        display: block;
    }

    .higher-class-card__button-compact {
        display: inline;
    }

    .higher-class-card__description {
        max-height: none;
        margin-top: auto;
    }

    .higher-class-card__button {
        max-height: 33px;
        margin-top: 20px;
    }

    .higher-veterinary-classes-docs__list {
        max-width: 640px;
    }

    .higher-veterinary-classes-contacts .targeted-training-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .higher-veterinary-classes-contacts__list {
        max-width: 640px;
    }

    .preparatory-department-hero .prep-hero__content {
        --prep-hero-content-x: 30px;
        display: block;
    }

    .preparatory-department-hero h1 {
        font-size: 64px;
        line-height: 70.4px;
    }

    .preparatory-department-intro__lead {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .preparatory-department-intro__lead h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .preparatory-department-intro__text {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        margin: 40px 0 0;
    }

    .preparatory-department-cards__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .preparatory-department-card {
        min-height: 373px;
    }

    .preparatory-department-faq__item {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 30px;
    }

    .preparatory-department-faq__item .faq-list__meta {
        padding-left: 0;
    }

    .preparatory-department-faq__item .faq-list__meta::before {
        left: 0;
    }

    .preparatory-department-faq__item .faq-list__question {
        grid-template-columns: minmax(0, 508px) 34px;
        font-size: 20px;
        line-height: 22px;
    }

    .preparatory-department-docs .prep-docs__group h2 {
        margin-left: 0;
    }

    .preparatory-department-docs__list {
        max-width: 640px;
    }

    .electronic-environment-hero .prep-hero__label {
        color: var(--grey);
    }

    .electronic-environment-intro {
        padding-bottom: 120px;
    }

    .electronic-environment-resources {
        padding-bottom: 120px;
    }

    .electronic-environment-card::before,
    .electronic-environment-card::after,
    .electronic-environment-card__bottom {
        opacity: 1;
        transform: translateY(0);
    }

    .electronic-environment-card__bottom {
        max-height: 220px;
        margin-top: auto;
        right: 30px;
        bottom: 30px;
        left: 30px;
    }

    .electronic-environment-card__bottom .higher-class-card__description {
        max-height: none;
        margin-top: 0;
    }

    .electronic-environment-card .higher-class-card__title {
        top: 62px;
        right: 30px;
        bottom: auto;
        left: 30px;
        margin-top: 0;
        transform: none;
    }

    .electronic-environment-card__bottom .higher-class-card__button {
        max-height: none;
        margin-top: 24px;
    }

    .electronic-environment-section-head,
    .electronic-environment-tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        max-width: 640px;
    }

    .electronic-environment-section-head {
        margin-bottom: 40px;
    }

    .electronic-environment-instruction-block {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .higher-veterinary-classes-cover .prep-hero__content {
        --prep-hero-content-x-mobile: 10px;
        --prep-hero-content-top-mobile: 176px;
    }

    .higher-veterinary-classes-cover .prep-hero__label {
        color: var(--grey);
    }

    .higher-veterinary-classes-intro__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin: 40px 0 0;
        font-size: 16px;
        line-height: 19.2px;
    }

    .higher-veterinary-classes-intro__lead {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .higher-veterinary-classes-intro__lead .student-squads-dot {
        width: 10px;
        height: 10px;
        margin: 9px 0;
    }

    .higher-veterinary-classes-intro__lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .higher-class-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .higher-veterinary-classes-page .higher-class-grid {
        width: 100%;
    }

    .higher-veterinary-classes-programs {
        margin-top: -44px;
    }

    .higher-class-card {
        height: 300px;
        min-height: 300px;
        padding: 20px 10px;
    }

    .higher-class-card::before,
    .higher-class-card::after {
        opacity: 1;
        transform: translateX(0);
    }

    .higher-class-card__description,
    .higher-class-card__button {
        opacity: 1;
        transform: translateY(0);
    }

    .higher-class-card__label {
        position: absolute;
        top: 20px;
        left: 10px;
        width: 50px;
        font-size: 20px;
        line-height: 22px;
    }

    .higher-class-card__description--desktop,
    .higher-class-card__button-desktop {
        display: none;
    }

    .higher-class-card__description--compact {
        display: block;
    }

    .higher-class-card__button-compact {
        display: inline;
    }

    .higher-class-card__description {
        position: absolute;
        right: 10px;
        bottom: 73px;
        left: 10px;
        max-height: none;
        margin: 0;
    }

    .higher-class-card__button {
        position: absolute;
        bottom: 20px;
        left: 10px;
        max-height: 33px;
        margin: 0;
    }

    .higher-class-card__title {
        position: absolute;
        top: 20px;
        right: 10px;
        left: 70px;
        margin: 0;
        font-size: 20px;
        line-height: 22px;
        font-weight: 500;
    }

    .higher-class-card__description {
        font-size: 14px;
        line-height: 16.8px;
    }

    .higher-veterinary-classes-docs__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .higher-veterinary-classes-docs,
    .higher-veterinary-classes-contacts {
        padding-bottom: 80px;
    }

    .higher-veterinary-classes-contacts .targeted-training-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .higher-veterinary-classes-contacts__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .preparatory-department-hero .prep-hero__content {
        --prep-hero-content-x-mobile: 0;
        --prep-hero-content-top-mobile: 95px;
        display: block;
    }

    .preparatory-department-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .preparatory-department-intro {
        padding: 70px 0 110px;
    }

    .preparatory-department-intro__lead {
        display: block;
    }

    .preparatory-department-intro__lead .student-squads-dot {
        width: 10px;
        height: 28px;
        margin: 0 0 28px;
    }

    .preparatory-department-intro__lead h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .preparatory-department-intro__text {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin: 40px 0 0;
        font-size: 14px;
        line-height: 16.8px;
    }

    .preparatory-department-cards {
        padding-bottom: 80px;
    }

    .preparatory-department-cards__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .preparatory-department-card {
        min-height: 326px;
        padding: 30px 20px;
    }

    .preparatory-department-card h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .preparatory-department-card p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .preparatory-department-faq {
        padding-bottom: 80px;
    }

    .preparatory-department-faq__item {
        grid-template-columns: 28px minmax(0, 1fr);
        column-gap: 20px;
        min-height: 114px;
        padding: 39px 0;
    }

    .preparatory-department-faq__item .faq-list__meta {
        padding-left: 0;
    }

    .preparatory-department-faq__item .faq-list__meta::before {
        top: 0;
        left: 0;
        width: 18px;
        height: 18px;
    }

    .preparatory-department-faq__item .faq-list__question {
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 12px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .preparatory-department-faq__item .faq-list__answer {
        font-size: 14px;
        line-height: 16.8px;
    }

    .preparatory-department-docs {
        padding-bottom: 120px;
    }

    .preparatory-department-docs .prep-docs__group h2 {
        margin-left: 0;
        font-size: 25px;
        line-height: 27.5px;
    }

    .preparatory-department-docs__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .electronic-environment-hero .prep-hero__content {
        --prep-hero-content-x-mobile: 0;
        --prep-hero-content-top-mobile: 176px;
    }

    .electronic-environment-hero .prep-hero__label {
        line-height: 18px;
    }

    .electronic-environment-hero .prep-hero__head {
        height: 88px;
        margin-top: 20px;
    }

    .electronic-environment-intro {
        padding-bottom: 80px;
    }

    .electronic-environment-intro__lead {
        display: block;
    }

    .electronic-environment-intro__lead .student-squads-dot {
        width: 10px;
        height: 10px;
        margin: 0 0 28px;
    }

    .electronic-environment-intro__lead h2 {
        max-width: none;
        font-size: 20px;
        line-height: 22px;
    }

    .electronic-environment-resources {
        padding-bottom: 80px;
    }

    .electronic-environment-resources__grid {
        gap: 20px;
    }

    .electronic-environment-card {
        min-height: 350px;
        padding: 20px;
    }

    .electronic-environment-card::before,
    .electronic-environment-card::after,
    .electronic-environment-card__bottom {
        opacity: 1;
        transform: translateY(0);
    }

    .electronic-environment-card__bottom {
        max-height: 190px;
        margin-top: auto;
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .electronic-environment-card__bottom .higher-class-card__description {
        max-height: none;
        margin-top: 0;
    }

    .electronic-environment-card .higher-class-card__title {
        top: 20px;
        right: 20px;
        bottom: auto;
        left: 20px;
        margin-top: 0;
        transform: none;
    }

    .electronic-environment-card__bottom .higher-class-card__button {
        max-height: none;
        margin-top: 24px;
    }

    .electronic-environment-instructions {
        padding-bottom: 120px;
    }

    .electronic-environment-section-head,
    .electronic-environment-tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .electronic-environment-section-head {
        margin-bottom: 40px;
    }

    .electronic-environment-section-head h2 {
        max-width: 300px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .electronic-environment-section-head .section-label {
        line-height: 18px;
    }

    .electronic-environment-tabs__nav button {
        display: inline-flex;
        align-items: flex-start;
        gap: 10px;
        padding-left: 0;
        font-size: 20px;
        line-height: 22px;
    }

    .electronic-environment-tabs__nav button::before {
        position: static;
        flex: 0 0 8px;
        margin-top: 7px;
        width: 8px;
        height: 8px;
    }

    .electronic-environment-instruction-block {
        padding: 0;
    }

    .electronic-environment-instruction-block h3 {
        height: 62px;
        margin-bottom: 20px;
        padding-top: 20px;
        font-size: 20px;
        line-height: 22px;
    }

    .electronic-environment-instruction-block p,
    .electronic-environment-text-list,
    .electronic-environment-links {
        font-size: 16px;
        line-height: 19.2px;
    }

    .electronic-environment-tabs__panel {
        padding: 30px 0;
    }

    .electronic-environment-copy > span + span {
        margin-top: 10px;
    }

    #eios-tab .electronic-environment-instruction-block:first-child p,
    #library-tab .electronic-environment-instruction-block:first-child p {
        line-height: 19px;
    }

    #eios-tab .electronic-environment-instruction-block:nth-child(2) {
        min-height: 1251px;
    }

    #eios-tab .electronic-environment-instruction-block--notice {
        min-height: 440px;
    }

    .electronic-environment-instruction-block--notice .button {
        width: 174px;
        font-size: 0;
    }

    .electronic-environment-instruction-block--notice .button::before {
        content: "Контакты отдела";
        font-size: 16px;
        line-height: 20.8px;
    }

    #library-tab .electronic-environment-instruction-block:nth-child(2) {
        min-height: 0;
    }

    #library-tab .electronic-environment-instruction-block:last-child {
        min-height: 500px;
    }

    #library-tab .electronic-environment-instruction-block:last-child .electronic-environment-links {
        max-width: none;
    }

    .electronic-environment-instruction-block .button {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 1180px) {
    body.applicants-about-page .applicants-main .wrapper {
        padding-left: var(--container-tablet-x);
        padding-right: var(--container-tablet-x);
    }

    .applicants-about-cover__content {
        left: 60px;
        right: 60px;
    }

    .applicants-about-cover__head,
    body.applicants-about-page .applicants-section-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .applicants-about-cover__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.applicants-about-page .applicants-step {
        min-height: 520px;
        padding: 36px;
    }

    body.applicants-about-page .applicants-step h3 {
        font-size: 48px;
        line-height: 52.8px;
    }

    body.applicants-about-page .applicants-step p {
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
    }

    body.applicants-about-page .applicants-step__num {
        font-size: 180px;
        line-height: 150px;
    }

    body.applicants-about-page .applicants-campaign__image {
        width: 34%;
    }

    body.applicants-about-page .applicants-campaign__content {
        left: calc(34% + 40px);
        right: 60px;
    }
}

@media screen and (max-width: 1180px) {
    body.applicants-about-page .applicants-campaign {
        min-height: 0;
        padding-top: 447px;
    }

    body.applicants-about-page .applicants-campaign__image {
        width: 100%;
        height: 447px;
    }

    body.applicants-about-page .applicants-campaign .wrapper {
        min-height: 0;
    }

    body.applicants-about-page .applicants-campaign__content {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        padding: 80px 0;
    }
}

@media screen and (max-width: 900px) {
    .applicants-about-cover {
        min-height: 1226px;
    }

    .applicants-about-cover .wrapper {
        min-height: 1002px;
    }

    .applicants-about-cover__title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .applicants-about-cover h1,
    body.applicants-about-page .applicants-section-head h2,
    body.applicants-about-page .applicants-campaign h2 {
        font-size: 38px;
        line-height: 41.8px;
    }

    body.applicants-about-page .applicants-steps__grid,
    body.applicants-about-page .applicants-programs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.applicants-about-page .applicants-step {
        min-height: 430px;
    }

    body.applicants-about-page .applicants-tile-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
    }

    body.applicants-about-page .applicants-tile {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        height: auto !important;
    }

    body.applicants-about-page .applicants-tile-grid .applicants-tile:first-child,
    body.applicants-about-page .applicants-tile-grid .applicants-tile:nth-child(6),
    body.applicants-about-page .applicants-tile-grid .applicants-tile:nth-child(7) {
        grid-column: 1 / -1;
        min-height: 419px;
    }
}

@media screen and (max-width: 600px) {
    body.applicants-about-page .applicants-main .wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    body.applicants-about-page,
    body.applicants-about-page .applicants-main,
    .applicants-about-cover,
    body.applicants-about-page .applicants-steps,
    body.applicants-about-page .applicants-campaign,
    body.applicants-about-page .applicants-links {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .applicants-about-cover {
        min-height: 1000px;
        margin-top: 0;
        padding-top: 112px;
        padding-bottom: 40px;
        background-position: center top;
    }

    .applicants-about-cover .wrapper {
        min-height: 848px;
    }

    .applicants-about-cover__content {
        left: 0;
        right: 0;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .applicants-about-cover__head {
        gap: 20px;
        margin-bottom: 50px;
    }

    .applicants-about-cover__label {
        font-size: 20px;
        line-height: 22px;
        font-weight: 400;
    }

    .applicants-about-cover h1 {
        width: 100%;
        max-width: 300px;
        font-size: 40px;
        line-height: 44px;
    }

    .applicants-about-cover__title-row .button {
        width: 212px;
        max-width: 100%;
        min-height: 33px;
        height: 33px;
        gap: 0;
        padding: 5px 11px;
        justify-content: space-between;
        font-size: 16px;
        line-height: 20.8px;
    }

    .applicants-about-cover__cards {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.applicants-about-page .applicants-glass-card {
        min-height: 145px;
        padding: 20px;
    }

    body.applicants-about-page .applicants-glass-card h2 {
        font-size: var(--text-14);
        line-height: var(--leading-14);
        font-weight: 400;
    }

    body.applicants-about-page .applicants-glass-card p {
        font-size: 12px;
        line-height: 14.4px;
    }

    body.applicants-about-page .applicants-section-head {
        gap: 18px;
        padding-top: 70px;
        margin-bottom: 41px;
    }

    body.applicants-about-page .applicants-section-head h2,
    body.applicants-about-page .applicants-campaign h2 {
        max-width: 100%;
        font-size: var(--text-section-mobile);
        line-height: var(--leading-section-mobile);
        overflow-wrap: normal;
        word-break: normal;
    }

    body.applicants-about-page .applicants-campaign h2 {
        text-transform: none;
    }

    body.applicants-about-page .applicants-steps__grid {
        gap: 24px;
        padding-bottom: 0;
    }

    body.applicants-about-page .applicants-step {
        padding: 20px;
    }

    body.applicants-about-page .applicants-step:nth-child(1) {
        min-height: 456px;
    }

    body.applicants-about-page .applicants-step:nth-child(2) {
        min-height: 489px;
    }

    body.applicants-about-page .applicants-step:nth-child(3) {
        min-height: 427px;
        margin-top: 2px;
    }

    body.applicants-about-page .applicants-step:nth-child(4) {
        min-height: 470px;
    }

    body.applicants-about-page .applicants-step__num {
        top: 0;
        font-size: 150px;
        line-height: 120px;
    }

    body.applicants-about-page .applicants-step h3 {
        max-width: 260px;
        font-size: 25px;
        line-height: 27.5px;
    }

    body.applicants-about-page .applicants-step p {
        margin-top: 84px;
        font-size: 16px;
        line-height: 19.2px;
    }

    body.applicants-about-page .applicants-step__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    body.applicants-about-page .applicants-campaign {
        margin-top: 100px;
        padding-top: 447px;
    }

    body.applicants-about-page .applicants-campaign__image {
        height: 447px;
    }

    body.applicants-about-page .applicants-campaign__content {
        padding: 60px 0;
    }

    body.applicants-about-page .applicants-campaign__links a {
        min-height: 69px;
        padding: 15px 20px;
        font-size: 20px;
        line-height: 22px;
    }

    body.applicants-about-page .applicants-links {
        padding: 100px 0 118px;
    }

    body.applicants-about-page footer {
        height: 1488px;
        min-height: 0;
        overflow: hidden;
    }

    body.applicants-about-page .applicants-programs-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 20px;
    }

    body.applicants-about-page .applicants-program-card {
        min-height: 250px;
    }

    body.applicants-about-page .applicants-program-card:nth-child(3) {
        margin-top: -4px;
    }

    body.applicants-about-page .applicants-programs-grid {
        gap: 24px;
    }

    body.applicants-about-page .applicants-tile-grid {
        gap: 20px;
    }

    body.applicants-about-page .applicants-program-card {
        min-height: 250px;
        padding: 20px;
        font-size: var(--text-20);
        line-height: var(--leading-20-tight);
    }

    body.applicants-about-page .applicants-tile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.applicants-about-page .applicants-tile,
    body.applicants-about-page .applicants-tile--wide,
    body.applicants-about-page .applicants-tile--medium,
    body.applicants-about-page .applicants-tile--small,
    body.applicants-about-page .applicants-tile--large {
        grid-column: auto !important;
        min-height: 220px;
        padding: 20px;
        font-size: var(--text-section-mobile);
        line-height: var(--leading-section-mobile);
    }

    body.applicants-about-page .applicants-tile-grid .applicants-tile:first-child,
    body.applicants-about-page .applicants-tile-grid .applicants-tile:nth-child(6),
body.applicants-about-page .applicants-tile-grid .applicants-tile:nth-child(7) {
        grid-column: auto !important;
        min-height: 220px;
    }
}

@media screen and (max-width: 600px) {
    header .top .icons > a {
        display: none;
    }

    header .top .h-right .icons {
        gap: 0;
        padding-right: 0;
    }

    .wrapper--hero {
        min-height: 400px;
    }

    header .top {
        height: 60px;
        padding-left: var(--container-mobile-x) !important;
        padding-right: var(--container-mobile-x) !important;
        justify-content: flex-start;
    }

    header .top .logo-link {
        position: static !important;
        left: auto !important;
        flex: 0 0 50px;
        width: 50px;
        margin: 0;
        transform: none !important;
    }

    header .top .logo,
    header .top .logo-link .logo {
        width: 50px !important;
        max-width: 50px;
        height: auto;
    }

    header .top .h-right {
        margin-left: auto;
    }

    header .top .mmenu,
    body.site-mobile-menu-open header .top .mmenu {
        top: 18px;
        right: var(--container-mobile-x);
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    header .top .mmenu img {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 1180px) {
    .dissertation-councils-members__grid,
    .dissertation-councils-section-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .dissertation-councils-members__summary {
        min-height: 0;
    }

    .dissertation-councils-hero .dissertation-councils-hero__content {
        --prep-hero-content-top-tablet: 402px;
        inline-size: min(100%, 640px);
        transform: none;
    }
    .dissertation-councils-members__file {
        margin-top: 24px;
    }

    .dissertation-councils-members__arrows {
        margin-top: 30px;
    }

    .dissertation-councils-members__track {
        gap: 20px;
    }

    .dissertation-councils-section-head__main {
        flex-direction: column;
    }

    .event-card-grid {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
    }

    .dissertation-councils-documents h2 {
        width: 100%;
        margin-left: 0;
    }

    .dissertation-person-slide {
        flex-basis: 280px;
    }

    .dissertation-person-card__head {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .dissertation-person-card__head img {
        width: 80px;
        height: 80px;
    }

    .dissertation-councils-table .info-table__row {
        min-width: 640px;
        min-height: 140px;
        grid-template-columns: minmax(0, 1fr) 143px;
        grid-template-areas:
            "name link"
            "placed defended";
        align-items: start;
    }

    .dissertation-councils-table .info-table__row--head {
        min-height: 62px;
        grid-template-areas: "name name";
    }

    .dissertation-councils-table .info-table__row--head > div:nth-child(n+2) {
        display: none;
    }

    .dissertation-councils-table .info-table__row > div:nth-child(1) {
        grid-area: name;
    }

    .dissertation-councils-table .info-table__row > div:nth-child(2) {
        grid-area: placed;
    }

    .dissertation-councils-table .info-table__row > div:nth-child(3) {
        grid-area: defended;
    }

    .dissertation-councils-table .info-table__row > div:nth-child(4) {
        grid-area: link;
    }

    .dissertation-councils-table .info-table__row:not(.info-table__row--head) > div:nth-child(2)::before,
    .dissertation-councils-table .info-table__row:not(.info-table__row--head) > div:nth-child(3)::before {
        display: block;
        margin-bottom: 5px;
        color: rgba(33, 47, 138, .45);
    }

    .dissertation-councils-table .info-table__row:not(.info-table__row--head) > div:nth-child(2)::before {
        content: "Дата размещения";
    }

    .dissertation-councils-table .info-table__row:not(.info-table__row--head) > div:nth-child(3)::before {
        content: "Дата защиты";
    }

    .event-card {
        min-height: 480px;
    }
}

@media screen and (min-width: 760px) and (max-width: 1180px) {
    .dissertation-councils-members > .wrapper,
    .dissertation-councils-events > .wrapper,
    .dissertation-councils-documents > .wrapper {
        width: calc(100% - 120px);
        margin-right: auto;
        margin-left: auto;
        padding-right: 0;
        padding-left: 0;
    }
}

@media screen and (max-width: 759px) {
    .dissertation-councils-hero {
        min-height: 400px;
        margin-top: -60px;
        padding-top: 60px;
        background-position: center center;
    }

    .dissertation-councils-hero .wrapper {
        min-height: 340px;
    }

    .dissertation-councils-hero .dissertation-councils-hero__content {
        inline-size: auto;
        margin-left: 0;
        transform: translateY(60px);
        --prep-hero-content-x-mobile: 10px;
        --prep-hero-content-bottom-mobile: 30px;
    }

    .dissertation-councils-hero .prep-hero__label {
        font-size: 16px;
        line-height: 19.2px;
    }

    .dissertation-councils-hero h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .dissertation-councils-intro {
        margin-bottom: 0;
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .dissertation-councils-intro .section-lead-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .dissertation-councils-intro h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .dissertation-councils-members,
    .dissertation-councils-events {
        margin-bottom: 0;
        padding-bottom: 70px;
    }

    .dissertation-councils-documents {
        margin-bottom: 0;
        padding-bottom: 120px;
    }

    .dissertation-councils-members__grid {
        gap: 40px;
    }

    .dissertation-councils-members__summary {
        min-height: 255px;
    }

    .dissertation-councils-members__summary h2 {
        font-size: 20px;
        line-height: 22px;
        font-weight: 500;
    }

    .dissertation-councils-members__summary p {
        line-height: 16.8px;
    }

    .dissertation-councils-members__summary p span {
        margin-bottom: 0;
    }

    .dissertation-councils-members__file {
        height: 44px;
        width: 300px;
        box-sizing: border-box;
    }

    .dissertation-councils-members__arrows {
        margin-top: 20px;
    }

    .dissertation-person-card.contact-card {
        height: 300px;
        min-height: 300px;
    }

    .dissertation-person-slide {
        flex-basis: 300px;
    }

    .dissertation-councils-table {
        margin-top: 20px;
    }

    .dissertation-councils-table .info-table__row {
        min-width: 0;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "name"
            "link"
            "placed"
            "defended";
    }

    .dissertation-councils-table .info-table__row--head {
        display: grid;
        min-height: 62px;
    }

    .dissertation-councils-table .info-table__row > div {
        padding: 10px 16px;
    }

    .dissertation-councils-table .info-table__row > div + div {
        border-top: 1px solid var(--white);
    }

    .dissertation-councils-table .info-table__row:not(.info-table__row--head) {
        height: 179px;
        overflow: hidden;
    }

    .event-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .event-card {
        height: 220px;
        min-height: 220px;
        padding: 24px 10px;
    }

    .event-card__weekday,
    .event-card__price {
        display: none;
    }

    .event-card__date {
        margin-bottom: 24px;
    }

    .event-card__date strong {
        font-size: 40px;
        line-height: 44px;
    }

    .event-card__date span,
    .event-card p {
        font-size: 16px;
        line-height: 19.2px;
    }

    .event-card__date em {
        font-size: 20px;
        line-height: 22px;
    }

    .event-card__title {
        max-width: none;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .event-card a {
        gap: 10px;
        padding: 6px 12px;
        font-size: 16px;
        line-height: 20.8px;
    }

    .dissertation-councils-section-head h2 {
        max-width: 100%;
        font-size: 25px;
        line-height: 27.5px;
        overflow-wrap: anywhere;
    }

    .dissertation-councils-section-head {
        gap: 20px;
    }

    .dissertation-councils-section-head__main {
        gap: 20px;
    }

    .dissertation-councils-section-head .button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .dissertation-councils-documents__group + .dissertation-councils-documents__group {
        margin-top: 70px;
    }

    .dissertation-councils-documents h2 {
        margin-bottom: 40px;
        font-size: 25px;
        line-height: 28px;
    }

    .dissertation-councils-documents__list.docs--grid-3-wide {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width: 1200px) {
    .checkout-order {
        padding-top: 70px;
    }

    .checkout-order__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .checkout-fieldset {
        margin-bottom: 76px;
    }

    .checkout-cart {
        min-height: 0;
        margin: 0 calc((100vw - 100%) / -2);
        padding: 34px 60px 70px;
    }

    .checkout-cart h2 {
        text-align: center;
    }

    .checkout-cart__item {
        grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
        gap: 20px;
        max-width: 640px;
        margin: 0 auto;
    }

    .checkout-cart .shop-item-img {
        width: 310px;
    }

    .checkout-total {
        padding: 50px 0 80px;
    }

    .international-cooperation-cover-content {
        left: 30px;
        right: 30px;
        top: 260px;
        grid-template-columns: minmax(0, 1fr);
    }

    .international-cooperation-intro {
        padding-top: 70px;
    }

    .international-cooperation-intro .section-lead-grid,
    .international-cooperation-kazakhstan .section-lead-grid,
    .international-cooperation-copy-grid,
    .international-cooperation-story,
    .international-cooperation-contacts__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .international-cooperation-intro h2,
    .international-cooperation-kazakhstan h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .international-cooperation-links {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 20px;
        margin-top: 60px;
    }

    .international-cooperation-eaeve,
    .international-cooperation-video,
    .international-cooperation-kazakhstan,
    .international-cooperation-gallery,
    .international-cooperation-contacts {
        padding-top: 90px;
    }

    .international-cooperation-copy-grid h2,
    .international-cooperation-contacts h2 {
        margin-bottom: 40px;
        font-size: 50px;
        line-height: 55px;
    }

    .international-cooperation-columns {
        grid-template-columns: repeat(2, minmax(0, 310px));
        gap: 24px 20px;
    }

    .international-cooperation-video img {
        aspect-ratio: 640 / 583;
    }

    .international-cooperation-story {
        gap: 40px;
        margin-top: 80px;
    }

    .international-cooperation-story img {
        width: 310px;
        height: 364px;
    }

    .international-cooperation-gallery__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .international-cooperation-gallery__grid img {
        height: 583px;
    }

    .international-cooperation-contacts__grid {
        gap: 40px;
    }

    .international-cooperation-person.contact-card {
        width: 320px;
    }

    .international-cooperation-docs {
        padding-top: 120px;
    }

    .international-cooperation-docs h2 {
        margin-left: 0;
    }

    .international-cooperation-docs__list.docs--grid-3-wide {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 700px) {
    .checkout-cover.fullhead {
        height: 400px;
        min-height: 400px;
        padding-top: 0;
        align-items: flex-end;
    }

    .checkout-cover .wrapper {
        min-height: auto;
        display: block;
    }

    .checkout-cover .items {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        padding-bottom: 0;
    }

    .checkout-cover h1 {
        max-width: 300px;
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .checkout-order {
        padding-top: 30px;
    }

    .checkout-fieldset {
        margin-bottom: 54px;
    }

    .checkout-fieldset legend,
    .checkout-cart h2 {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 24px;
    }

    .checkout-fields--two {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-radio {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr) auto;
        min-height: 0;
        padding: 14px 0;
        align-items: center;
        column-gap: 12px;
    }

    .checkout-radio span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .checkout-radio strong {
        white-space: nowrap;
    }

    .checkout-consent {
        align-items: flex-start;
        grid-template-columns: 18px minmax(0, 1fr);
        margin: -20px 0 32px;
        font-size: 11px;
        line-height: 13px;
    }

    .checkout-consent .checkout-error {
        left: 0;
        top: calc(100% + 6px);
    }

    .checkout-cart {
        padding: 30px 10px 50px;
    }

    .checkout-cart__item {
        grid-template-columns: minmax(0, 1fr);
        max-width: 300px;
    }

    .checkout-cart .shop-item-img {
        width: 280px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .checkout-cart__info {
        min-height: 0;
        gap: 34px;
        text-align: left;
    }

    .checkout-cart__info h3 {
        font-size: 12px;
        line-height: 15px;
    }

    .checkout-cart__bottom {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding-right: 0;
    }

    .checkout-cart__bottom .price {
        grid-column: 1 / -1;
        width: 100%;
        padding-right: 0;
        text-align: center;
        font-size: 18px;
        line-height: 22px;
    }

    .checkout-cart__button {
        min-width: 76px;
        padding: 0 14px;
    }

    .checkout-cart__empty {
        text-align: center;
    }

    .checkout-total {
        margin-bottom: 120px;
        padding: 20px 0 48px;
    }

    .checkout-total__panel {
        padding: 20px;
    }

    .checkout-total dl div {
        display: block;
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 18px;
    }

    .checkout-total dd {
        margin-top: 8px;
    }

    .checkout-total__final {
        font-size: 18px !important;
        line-height: 22px !important;
    }

    .checkout-total__button {
        display: flex;
        width: auto;
        max-width: max-content;
        margin-top: 32px;
    }

    .international-cooperation-hero {
        min-height: 400px;
        margin-top: -60px;
        padding-top: 60px;
        background-position: center center;
    }

    .international-cooperation-hero .wrapper {
        min-height: 340px;
    }

    .international-cooperation-cover-content {
        left: 10px;
        right: 10px;
        top: 130px;
    }

    .international-cooperation-hero .prep-hero__label {
        font-size: 14px;
        line-height: 16.8px;
    }

    .prep-hero .international-cooperation-hero__title {
        font-size: 24px;
        line-height: 26.4px;
    }

    .international-cooperation-intro {
        padding-top: 40px;
    }

    .international-cooperation-intro .section-lead-grid,
    .international-cooperation-kazakhstan .section-lead-grid {
        gap: 30px;
    }

    .international-cooperation-intro h2,
    .international-cooperation-kazakhstan h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .international-cooperation-links {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 40px;
    }

    .international-cooperation-links .nav-card {
        min-height: 220px;
        padding: 25px;
        font-size: 20px;
        line-height: 22px;
    }

    .international-cooperation-eaeve,
    .international-cooperation-video,
    .international-cooperation-kazakhstan,
    .international-cooperation-gallery,
    .international-cooperation-contacts {
        padding-top: 70px;
    }

    .international-cooperation-copy-grid h2,
    .international-cooperation-contacts h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .international-cooperation-columns,
    .international-cooperation-columns--two {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .international-cooperation-video img,
    .international-cooperation-gallery__grid img {
        height: 300px;
        aspect-ratio: auto;
    }

    .international-cooperation-story {
        margin-top: 80px;
    }

    .international-cooperation-story img {
        width: 300px;
        max-width: 100%;
        height: 364px;
    }

    .international-cooperation-story__lead,
    .international-cooperation-contacts__text,
    .international-cooperation-contacts dd {
        font-size: 20px;
        line-height: 22px;
    }

    .international-cooperation-person.contact-card {
        width: 100%;
        min-height: 300px;
    }

    .international-cooperation-docs {
        padding: 80px 0;
    }

    .international-cooperation-docs__list.docs--grid-3-wide {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width: 900px) {
    .error-404-hero {
        min-height: 863px;
    }

    .error-404-bg {
        width: 760px;
    }

    .error-404-bg span {
        font-size: 550px;
        line-height: 605px;
    }

    .error-404-bg span:nth-child(1) { left: -408px; top: -168px; }
    .error-404-bg span:nth-child(2) { left: 426px; top: -112px; }
    .error-404-bg span:nth-child(3) { left: -589px; top: 39px; }
    .error-404-bg span:nth-child(4) { left: -116px; top: 88px; }
    .error-404-bg span:nth-child(5) { left: 524px; top: 141px; }
    .error-404-bg span:nth-child(6) { left: -636px; top: 211px; }
    .error-404-bg span:nth-child(7) { left: 410px; top: 378px; }
    .error-404-bg span:nth-child(8) { left: -393px; top: 514px; }
    .error-404-bg span:nth-child(9) { left: -206px; top: 616px; }
    .error-404-bg span:nth-child(10) { left: 228px; top: 764px; }
    .error-404-bg span:nth-child(11) { left: -802px; top: 866px; }
    .error-404-bg span:nth-child(12) { left: 401px; top: 893px; }
    .error-404-bg span:nth-child(13) { left: -139px; top: 968px; }

    .error-404-content {
        width: 554px;
        padding-top: 396px;
    }
}

@media screen and (max-width: 600px) {
    .error-404-hero {
        min-height: 511px;
    }

    .error-404-bg {
        width: 320px;
    }

    .error-404-bg span {
        font-size: 350px;
        line-height: 385px;
    }

    .error-404-bg span:nth-child(1) { left: -190px; top: -88px; }
    .error-404-bg span:nth-child(2) { left: 129px; top: -76px; }
    .error-404-bg span:nth-child(3) { left: -299px; top: 69px; }
    .error-404-bg span:nth-child(4) { left: -24px; top: 96px; }
    .error-404-bg span:nth-child(5) { left: -260px; top: 213px; }
    .error-404-bg span:nth-child(6) { left: 120px; top: 252px; }
    .error-404-bg span:nth-child(7) { left: -85px; top: 353px; }
    .error-404-bg span:nth-child(8) { left: 150px; top: 446px; }
    .error-404-bg span:nth-child(n+9) {
        display: none;
    }

    .error-404-hero .wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-inline: calc(50% - 50vw);
        padding-inline: 20px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .error-404-content {
        width: 100%;
        max-width: 280px;
        padding-top: 210px;
    }

    .error-404-content h1 {
        width: 100%;
        margin: 0 auto 60px;
        font-size: 38px;
        line-height: 42px;
        text-transform: none;
        white-space: normal;
        overflow-wrap: normal;
    }

    .error-404-content .button {
        width: 213px;
        max-width: calc(100vw - 40px);
        margin-inline: auto;
        justify-content: center;
        white-space: nowrap;
    }
}

@media screen and (max-width: 900px) {
    .home-life-collage {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        aspect-ratio: auto;
    }

    .home-life-collage__orbit {
        top: 10%;
        left: 15%;
        width: 70%;
    }

    .home-life-collage__image {
        position: static;
        width: 100%;
    }

    .home-life-collage .life-title {
        position: static;
        order: -1;
        grid-column: 1 / -1;
        width: 100%;
        padding: 24px 0;
    }
}

@media screen and (max-width: 600px) {
    .home-life-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 30px;
    }

    .home-life-collage .life-title {
        font-size: 38px;
        line-height: 1;
    }

    .home-reviews-head {
        gap: 16px;
    }

    .home-reviews-head h2 {
        font-size: 30px;
        line-height: 1.05;
    }

    .home-reviews-nav {
        flex-basis: 90px;
    }

    .home-reviews-nav button {
        width: 40px;
    }

    .home-events__footer {
        justify-content: flex-start;
        margin-top: 30px;
        margin-bottom: 70px;
    }

    .home-events__footer .button {
        width: 100%;
        justify-content: space-between;
    }

    .home-review-card {
        min-height: 0;
        padding: 24px;
    }

    .home-review-card .review-top {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 70px;
    }

    .home-review-card .review-info {
        text-align: left;
    }

    .home-review-card .review-img {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }
}

@media screen and (max-width: 700px) {
    .home-mission .rek-photo.wp-block-image {
        height: calc(100vw - 20px);
    }
}

@media screen and (max-width: 700px) {
    .single > .items.c-2-m,
    .event-detail-grid,
    .bluebg-color .items.c-4.grid-2 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .single > .items.c-2-m > .single-left {
        display: contents;
    }

    .single > .items.c-2-m > .single-left .item-top {
        order: 1;
    }

    .single > .items.c-2-m > .single-left .item-top h4 {
        margin-bottom: 0;
    }

    .single > .items.c-2-m > article.item {
        order: 2;
    }

    .single > .items.c-2-m > .single-left .item-bottom {
        order: 3;
    }

    .event-detail-grid > .single-left {
        display: contents;
    }

    .event-detail-grid > aside:last-child {
        order: 1;
    }

    .event-detail-grid > .single-left .item-top {
        order: 2;
    }

    .event-detail-grid > article {
        order: 3;
    }

    .event-detail-grid > .single-left .item-bottom {
        order: 4;
    }

    .single > .items.c-2-m > .item,
    .single .grid.items.c-3 > .item,
    .bluebg-color .items.c-4.grid-2 > .item {
        width: 100%;
        min-width: 0;
    }

    .single .h-m-l {
        padding-left: 0;
    }

    .single .grid.items.c-3 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .single .grid.items.c-3 > .item {
        width: auto;
    }

    [data-gutenberg-block="related-news"] > .item:nth-child(n+3) {
        display: none;
    }

    [data-gutenberg-block="upcoming-events"] > .item:nth-child(n+3) {
        display: none;
    }

    .single,
    .single article,
    .single .article-content,
    .single p,
    .single h3,
    .single h4 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .news-filter {
        margin-top: 0;
    }

    .news-filter__controls {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .news-filter .structure-departments__filter-menu {
        top: 116px;
        left: 0;
        width: 100%;
    }

    .shop-single-hero__cart {
        right: auto;
        bottom: 30px;
        left: 0;
        width: 120px;
        height: 120px;
    }

    .shop-single-hero h1 {
        overflow-wrap: anywhere;
    }

    .shop-single .single-right {
        gap: 30px;
    }

    .shop-single .item-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-single__cart-button {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .shop-single-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .shop-single-back {
        min-height: 180px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1180px) {
    .items.c-4.home-events-panel > .item {
        width: calc((100% - 48px) / 3);
    }
}

@media screen and (max-width: 600px) {
    .items.c-4.home-events-panel > .item {
        width: 100%;
        aspect-ratio: 1.5 / 1;
    }
}

@media screen and (min-width: 1281px) {
    .wrapper--page-grid {
        width: min(var(--container-wide), calc(100% - 100px));
    }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    .wrapper--page-grid {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .entrance-page .prep-tabs-section > .wrapper {
        width: calc(100% - 120px);
        max-width: none;
        margin-right: 60px;
        margin-left: 60px;
        padding-right: 0;
        padding-left: 0;
    }

    .dormitories-intro > .wrapper {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding-right: 60px;
        padding-left: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-page .faq-list__item,
    .faq-page .faq-list__item.is-open,
    .faq-page .faq-list__item:not(.is-open):hover,
    .faq-page .faq-list__item:not(.is-open):focus-within,
    .faq-page .faq-list__question,
    .faq-page .faq-list__answer,
    .faq-page .faq-list__meta::before,
    .faq-page .faq-list__plus::before,
    .faq-page .faq-list__plus::after,
    .faq-page .faq-list__item .faq-list__question::before,
    .faq-page .faq-list__item .faq-list__question::after {
        transition: none;
    }
}

@media screen and (max-width: 900px) {
    .news-filter:has([data-js-media-filter]:not([hidden])) {
        max-width: none;
    }

    .news-filter__controls:has([data-js-media-filter]:not([hidden])) {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-filter:has([data-js-media-filter]:not([hidden])) .structure-departments__filter-menu {
        top: 176px;
        left: 0;
        width: 100%;
    }

    .items.grid.news-poster-grid .item {
        width: calc((100% - 20px) / 2);
    }

    .items.grid.news-media-grid {
        width: 640px;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        gap: 20px;
    }

    .items.grid.news-media-grid .news-media-card {
        width: 100%;
    }

    .news-pagination {
        justify-content: flex-start;
        min-height: 140px;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media screen and (max-width: 600px) {
    .news-archive-hero {
        aspect-ratio: auto;
        box-sizing: border-box;
    }

    .news-archive-panel[data-js-main-news-panel="news"] .news-archive-hero {
        height: 200px;
        min-height: 200px;
        margin-bottom: 20px;
        padding: 10px;
    }

    .news-archive-panel[data-js-main-news-panel="poster"] .news-archive-hero {
        height: 300px;
        min-height: 300px;
        margin-bottom: 20px;
        padding: 24px 10px;
    }

    .news-archive-hero h3 span {
        max-width: 100%;
    }

    .news-archive-hero .bigimg-b {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-archive-feed .bigimg-b .button {
        margin-left: 0;
    }

    .news-grid .item,
    .items.grid.news-poster-grid .item,
    .items.grid.news-media-grid .news-media-card {
        width: 100%;
    }

    .news-grid,
    .items.grid.news-poster-grid {
        gap: 20px;
    }

    .items.grid.news-grid .item {
        height: 200px;
        min-height: 200px;
        aspect-ratio: auto;
        padding: 10px;
    }

    .items.grid.news-grid .item .button,
    .news-archive-panel[data-js-main-news-panel="news"] .news-archive-hero .button {
        align-self: center;
    }

    .news-grid .item h4,
    .news-archive-panel[data-js-main-news-panel="news"] .news-archive-hero h3 {
        font-size: 16px;
        line-height: 19.2px;
    }

    .news-grid .item .item-date,
    .news-archive-panel[data-js-main-news-panel="news"] .news-archive-hero .item-date {
        font-size: 10px;
        line-height: 11px;
    }

    .items.grid.news-poster-grid .item {
        height: 220px;
        min-height: 220px;
        aspect-ratio: auto;
        padding: 24px 10px;
    }

    .items.grid.news-poster-grid .item h4,
    .news-archive-panel[data-js-main-news-panel="poster"] .news-archive-hero h3 {
        margin-top: 24px;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .news-poster-card__date small {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .news-poster-card__date strong {
        font-size: 40px;
        line-height: 44px;
    }

    .news-poster-card__date span {
        font-size: 16px;
        line-height: 19.2px;
    }

    .news-poster-card__date time {
        font-size: 20px;
        line-height: 22px;
    }

    .items.grid.news-media-grid .news-media-card {
        min-height: 363px;
    }

    .news-media-card__play {
        top: 119px;
        left: 50%;
        width: 40px;
        height: 40px;
        transform: translateX(-50%);
        font-size: 20px;
    }

    .news-media-card__count {
        top: 169px;
        left: 50%;
        transform: translateX(-50%);
    }

    .news-media-card__visual {
        height: 310px;
    }

    .items.grid.news-media-grid {
        gap: 40px;
    }

    .news-media-card__meta {
        align-items: flex-end;
        gap: 12px;
        padding-top: 10px;
    }

.news-media-card__meta .button {
        flex: 0 0 auto;
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    .scientific-schools-intro {
        padding: 70px 0 120px;
    }

    .scientific-schools-intro > .wrapper {
        width: calc(100% - 60px);
        max-width: none;
        margin-right: 60px;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .scientific-schools-intro .section-lead-grid {
        grid-template-columns: 37px minmax(0, 1fr);
        gap: 48px;
    }

    .scientific-schools-intro h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .scientific-schools-intro__text {
        width: calc(100% - 85px);
        margin: 24px 0 0 85px;
        font-size: 16px;
        line-height: 19px;
    }

    .scientific-school {
        padding: 80px 0;
    }

    .scientific-school__inner {
        row-gap: 0;
    }

    .scientific-school__details {
        margin-top: 20px;
    }

    .scientific-school__field + .scientific-school__field {
        margin-top: 20px;
    }

    .scientific-school__field h3 {
        margin-bottom: 8px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .scientific-school__field p {
        font-size: 16px;
        line-height: 19.2px;
    }

    .scientific-school__toggle.faq-list__question {
        margin-top: 60px;
    }

    .scientific-school__name h2 {
        line-height: 50px;
    }

    .scientific-school:nth-child(3) .scientific-school__details {
        min-height: 130px;
    }

    .student-body main > .wrapper > .content {
        margin-bottom: 120px;
    }

    .student-body main > .wrapper > .content > h3.h-m-l {
        margin-bottom: 50px;
        padding-left: 85px;
        font-size: 25px;
        line-height: 27.5px;
    }

    .student-body main > .wrapper > .content > .items.c-2-m {
        display: block;
    }

    .student-body main > .wrapper > .content > .items.c-2-m > .item:nth-child(2) > .items.c-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 {
        gap: 24px;
        margin-top: 80px;
    }

    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item,
    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item:nth-child(n) {
        width: calc((100% - 24px) / 2);
        height: 220px;
    }

    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item h4,
    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item:nth-child(n) h4 {
        font-size: 25px;
        line-height: 27.5px;
    }
}

@media screen and (max-width: 600px) {
    .scientific-schools-intro {
        padding: 40px 0 100px;
    }

    .scientific-schools-intro .section-lead-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
    }

    .scientific-schools-intro .student-squads-dot {
        width: 10px;
        height: 10px;
        margin-top: 9px;
    }

    .scientific-schools-intro h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .scientific-schools-intro__text {
        width: 100%;
        margin: 24px 0 0;
        font-size: 14px;
        line-height: 17px;
    }

    .scientific-school {
        padding: 40px 0;
    }

    .scientific-school__inner {
        row-gap: 0;
    }

    .scientific-school__name h2 {
        font-size: 25px;
        line-height: 28px;
        font-weight: 500;
        text-transform: none;
    }

    .scientific-school__details {
        margin-top: 20px;
    }

    .scientific-school__field + .scientific-school__field {
        margin-top: 20px;
    }

    .scientific-school__field h3 {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .scientific-school__field p {
        font-size: 10px;
        line-height: 11px;
    }

    .scientific-school__toggle.faq-list__question {
        width: 100%;
        min-height: 71px;
        margin-top: 60px;
        padding: 15px 10px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .scientific-school__arrow {
        width: 34px;
        height: 34px;
        margin-left: 12px;
    }

    .student-body .fullhead--student {
        height: 550px;
        margin-bottom: 40px;
    }

    .student-body .fullhead--student .wrapper,
    .student-body main > .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-right: var(--container-mobile-x);
        margin-left: var(--container-mobile-x);
    }

    .student-body .fullhead--student .items {
        gap: 40px;
        margin-bottom: 40px;
    }

    .student-body .fullhead--student .sub {
        font-size: 20px;
        line-height: 22px;
        font-weight: 500;
    }

    .student-body .fullhead--student h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .student-body main > .wrapper > .content {
        margin-bottom: 120px;
    }

    .student-body main > .wrapper > .content > h3.h-m-l {
        min-height: 214px;
        margin-bottom: 40px;
        padding-left: 0;
        gap: 19px;
        font-size: 20px;
        line-height: 22px;
    }

    .student-body main > .wrapper > .content > h3.h-m-l::before {
        width: 10px;
        height: 10px;
        margin-top: 9px;
    }

    .student-body main > .wrapper > .content > .items.c-2-m {
        display: block;
    }

    .student-body main > .wrapper > .content > .items.c-2-m > .item:nth-child(2) > .items.c-3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .student-body main > .wrapper > .content > .items.c-2-m p {
        font-size: 14px;
        line-height: 17px;
    }

    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 {
        gap: 20px;
        margin-top: 80px;
    }

    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item,
    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item:nth-child(n) {
        width: 100%;
        height: 220px;
        min-height: 220px;
        padding: 25px;
    }

    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item h4,
    .student-body [data-gutenberg-block="cta-grid"].items.c-2-3 > .item:nth-child(n) h4 {
        max-width: 200px;
        font-size: 20px;
        line-height: 22px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    body:not(.footer-legacy) footer .wrapper {
        width: 100%;
        max-width: none;
        min-height: 1011px;
        height: 1011px;
        margin: 0;
        padding: 50px 60px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        display: grid;
        grid-template-columns: 310px 20px 310px;
        grid-template-rows: 55px 50px 300px 20px 368px 80px 38px;
        gap: 0;
        width: 640px;
        height: 911px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item,
    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:nth-child(2) > .items.c-3,
    body:not(.footer-legacy) footer .footer-extra {
        display: contents;
    }

    body:not(.footer-legacy) footer .logo {
        grid-column: 1 / 4;
        grid-row: 1;
        margin: 0;
    }

    body:not(.footer-legacy) footer .items.c-3 > .item:nth-child(1) {
        grid-column: 1;
        grid-row: 3;
    }

    body:not(.footer-legacy) footer .items.c-3 > .item:nth-child(2) {
        grid-column: 3;
        grid-row: 3;
    }

    body:not(.footer-legacy) footer .items.c-3 > .item:nth-child(3) {
        grid-column: 1;
        grid-row: 5;
    }

    body:not(.footer-legacy) footer .footer-service-links {
        grid-column: 3;
        grid-row: 5;
        align-self: start;
        width: 317px;
        min-height: 99px;
        margin-top: 124px;
    }

    body:not(.footer-legacy) footer .ministry {
        grid-column: 3;
        grid-row: 5;
        align-self: start;
        width: 310px;
        height: 125px;
        margin-top: 243px;
        grid-template-columns: repeat(3, 100px);
        grid-template-rows: 60px auto;
        gap: 10px 5px;
    }

    body:not(.footer-legacy) footer .ministry img:nth-child(1),
    body:not(.footer-legacy) footer .ministry a:nth-child(2) {
        grid-column: 1;
    }

    body:not(.footer-legacy) footer .ministry img:nth-child(3),
    body:not(.footer-legacy) footer .ministry a:nth-child(4) {
        grid-column: 2;
    }

    body:not(.footer-legacy) footer .ministry img:nth-child(5),
    body:not(.footer-legacy) footer .ministry a:nth-child(6) {
        grid-column: 3;
    }

    body:not(.footer-legacy) footer .ministry img {
        grid-row: 1;
        width: 60px;
        height: 60px;
    }

    body:not(.footer-legacy) footer .ministry a {
        grid-row: 2;
        width: 100px;
    }

    body:not(.footer-legacy) footer .copyright {
        grid-column: 1;
        grid-row: 7;
        width: 310px;
        min-height: 38px;
        margin: 0;
    }

    body:not(.footer-legacy) footer .footer-design {
        grid-column: 3;
        grid-row: 7;
        align-self: center;
        width: 310px;
        min-height: 33px;
    }
}

@media screen and (min-width: 601px) and (max-width: 700px) {
    body:not(.footer-legacy) footer .wrapper {
        padding-right: var(--container-mobile-x);
        padding-left: var(--container-mobile-x);
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    }

    body:not(.footer-legacy) footer .footer-service-links,
    body:not(.footer-legacy) footer .ministry,
    body:not(.footer-legacy) footer .copyright,
    body:not(.footer-legacy) footer .footer-design {
        width: 100%;
        min-width: 0;
    }

    body:not(.footer-legacy) footer .ministry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body:not(.footer-legacy) footer .ministry a {
        width: auto;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 600px) {
    body:not(.footer-legacy) footer .wrapper {
        width: 100%;
        max-width: none;
        min-height: 1521px;
        height: 1521px;
        margin: 0;
        padding: 30px 10px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        display: grid;
        grid-template-columns: minmax(0, 300px);
        align-content: start;
        gap: 0;
        width: 300px;
        height: 1461px;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item,
    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:nth-child(2) > .items.c-3,
    body:not(.footer-legacy) footer .footer-extra {
        display: contents;
    }

    body:not(.footer-legacy) footer .logo,
    body:not(.footer-legacy) footer .items.c-3 > .item,
    body:not(.footer-legacy) footer .footer-service-links,
    body:not(.footer-legacy) footer .ministry,
    body:not(.footer-legacy) footer .copyright,
    body:not(.footer-legacy) footer .footer-design {
        grid-column: 1;
        width: 300px;
    }

    body:not(.footer-legacy) footer .logo {
        order: 1;
        height: 55px;
        margin: 0;
    }

    body:not(.footer-legacy) footer .items.c-3 > .item:nth-child(1) {
        order: 2;
        min-height: 204px;
        margin-top: 50px;
    }

    body:not(.footer-legacy) footer .items.c-3 > .item:nth-child(2) {
        order: 3;
        min-height: 237px;
        margin-top: 60px;
    }

    body:not(.footer-legacy) footer .items.c-3 > .item:nth-child(3) {
        order: 4;
        min-height: 348px;
        margin-top: 60px;
    }

    body:not(.footer-legacy) footer .sub {
        margin-bottom: 20px;
    }

    body:not(.footer-legacy) footer .footer-service-links {
        order: 5;
        min-height: 120px;
        margin-top: 60px;
    }

    body:not(.footer-legacy) footer .footer-service-links a:nth-child(3) {
        min-height: 54px;
    }

    body:not(.footer-legacy) footer .ministry {
        order: 6;
        height: 125px;
        margin-top: 20px;
        grid-template-columns: repeat(3, 100px);
        grid-template-rows: 60px auto;
        gap: 10px 0;
    }

    body:not(.footer-legacy) footer .ministry img:nth-child(1),
    body:not(.footer-legacy) footer .ministry a:nth-child(2) {
        grid-column: 1;
    }

    body:not(.footer-legacy) footer .ministry img:nth-child(3),
    body:not(.footer-legacy) footer .ministry a:nth-child(4) {
        grid-column: 2;
    }

    body:not(.footer-legacy) footer .ministry img:nth-child(5),
    body:not(.footer-legacy) footer .ministry a:nth-child(6) {
        grid-column: 3;
    }

    body:not(.footer-legacy) footer .ministry img {
        grid-row: 1;
        width: 60px;
        height: 60px;
    }

    body:not(.footer-legacy) footer .ministry a {
        grid-row: 2;
        width: 100px;
        max-width: 100px;
    }

    body:not(.footer-legacy) footer .copyright {
        order: 7;
        min-height: 19px;
        margin: 50px 0 0;
    }

    body:not(.footer-legacy) footer .footer-design {
        order: 8;
        width: 310px;
        min-height: 33px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 1100px) {
    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:first-child,
    body:not(.footer-legacy) footer .wrapper > .items.c-2-m > .item:nth-child(2) {
        display: contents;
    }
}

@media screen and (max-width: 1100px) {
    .media-center-hero {
        height: 600px;
    }

    .media-center-hero__head,
    .media-center-section-head {
        grid-template-columns: 34% minmax(0, 66%);
    }

    .media-center-hero h1 {
        font-size: 54px;
        line-height: 60px;
    }

    .media-center-about {
        min-height: 0;
        padding: 70px 0 100px;
    }

    .media-center-lead {
        grid-template-columns: 60px minmax(0, 1fr);
        min-height: 0;
    }

    .media-center-lead h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .media-center-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        height: auto;
        margin-top: 70px;
    }

    .media-center-intro > img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .media-center-intro__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .media-center-intro .button {
        margin-top: 36px;
    }

    .media-center-audiences {
        margin-top: 100px;
    }

    .media-center-audience {
        grid-column: span 3;
        height: 390px;
        padding: 35px;
    }

    .media-center-audience--wide {
        grid-column: span 6;
    }

    .media-center-audience--authors {
        height: auto;
        min-height: 500px;
    }

    .media-center-audience h3 {
        font-size: 30px;
        line-height: 36px;
    }

    .media-center-audience__number {
        font-size: 150px;
        line-height: 150px;
    }

    .media-center-tour {
        margin-top: 100px;
    }

    .media-center-tour__preview {
        height: auto;
        aspect-ratio: 1500 / 840;
    }

    .media-center-materials {
        padding-bottom: 120px;
    }

    .media-center-brand-grid,
    .media-center-template-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 60px;
        height: auto;
    }

    .media-center-resource--brandbook > img,
    .media-center-resource--presentation > .media-center-resource__main {
        width: 100%;
        height: auto;
        aspect-ratio: 795 / 446;
    }

    .media-center-logos,
    .media-center-logos__gallery {
        width: 100%;
        height: auto;
    }

    .media-center-logos__gallery {
        aspect-ratio: 640 / 446;
    }

    .media-center-logos__gallery img:nth-child(1) { left: 7.03125%; width: 27.5%; height: 32.9596%; }
    .media-center-logos__gallery img:nth-child(2) { top: 28.4753%; left: 6.875%; width: 27.8125%; height: 18.8341%; }
    .media-center-logos__gallery img:nth-child(3) { width: 57.8125%; height: 49.5516%; }
    .media-center-logos__gallery img:nth-child(4) { width: 57.65625%; height: 49.5516%; }
    .media-center-logos__gallery img:nth-child(5) { width: 41.71875%; height: 49.5516%; }

    .media-center-section-head--documents {
        margin-top: 100px;
    }

    .media-center-presentation-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .media-center-presentation-thumbs img {
        width: 100%;
        height: auto;
        aspect-ratio: 254 / 142;
    }

    .media-center-document-templates {
        position: static;
        display: grid;
        grid-template-columns: 283px 238px;
        gap: 26.456px 20px;
        height: auto;
    }

    .media-center-document-templates article,
    .media-center-document-templates article:nth-child(1),
    .media-center-document-templates article:nth-child(2),
    .media-center-document-templates__certificate {
        position: static;
        width: auto !important;
    }

    .media-center-document-templates article > img,
    .media-center-document-templates__certificate > img {
        width: 191px !important;
        height: 270px !important;
        aspect-ratio: auto;
        object-fit: cover;
    }

    .media-center-document-templates .media-center-document-templates__certificate {
        grid-column: 1 / -1;
        width: 366px !important;
        max-width: 366px;
        justify-self: start;
    }

    .media-center-document-templates article.media-center-document-templates__certificate > img {
        width: 366px !important;
        height: 259px !important;
    }

    .media-center-contacts {
        height: auto;
        padding: 80px 0;
    }

    .media-center-contacts__grid {
        grid-template-columns: 34% minmax(0, 66%);
        row-gap: 60px;
    }

    .media-center-manager {
        grid-column: 2;
        width: 320px;
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .media-center-materials > .wrapper {
        width: calc(100% - 32px);
        max-width: none;
        margin-right: 16px;
        margin-left: 16px;
        padding-right: 0;
        padding-left: 0;
    }

    .media-center-hero {
        height: 400px;
    }

    .media-center-hero__head,
    .media-center-section-head {
        display: block;
        padding-bottom: 40px;
    }

    .media-center-hero h1 {
        margin-top: 20px;
        font-size: 40px;
        line-height: 44px;
    }

    .media-center-about {
        padding: 40px 0 100px;
    }

    .media-center-lead {
        display: block;
        min-height: 0;
    }

    .media-center-lead__dot {
        display: block;
        width: 8px;
        height: 8px;
        margin: 0 0 30px;
    }

    .media-center-lead h2 {
        font-size: 16px;
        line-height: 19px;
    }

    .media-center-intro {
        gap: 20px;
        margin-top: 50px;
    }

    .media-center-intro > img {
        height: 200px;
        aspect-ratio: auto;
    }

    .media-center-intro__columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
    }

    .media-center-intro p {
        font-size: 14px;
        line-height: 17px;
    }

    .media-center-intro .button {
        margin-top: 60px;
    }

    .media-center-audiences {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 50px;
    }

    .media-center-audience,
    .media-center-audience--wide {
        grid-column: auto;
        height: 234px;
        min-height: 234px;
        padding: 30px 24px;
    }

    .media-center-audience:nth-child(2) {
        height: 251px;
        min-height: 251px;
    }

    .media-center-audience:nth-child(4) {
        height: 217px;
        min-height: 217px;
    }

    .media-center-audience--authors {
        height: 393px;
        min-height: 393px;
    }

    .media-center-audience h3 {
        font-size: 25px;
        line-height: 28px;
    }

    .media-center-audience__number {
        right: 0;
        font-size: 80px;
        line-height: 80px;
    }

    .media-center-audience p,
    .media-center-audience ul {
        font-size: 14px;
        line-height: 17px;
    }

    .media-center-tour {
        margin-top: 50px;
    }

    .media-center-tour .media-center-lead__dot {
        display: none;
    }

    .media-center-lead--compact h2 br {
        display: initial;
    }

    .media-center-lead--compact h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .media-center-tour__preview {
        height: 168px;
        margin-top: 40px;
        aspect-ratio: auto;
    }

    .media-center-tour__play {
        width: 44px;
        height: 44px;
    }

    .media-center-materials {
        padding: 100px 0;
    }

    .media-center-section-head h2,
    .media-center-contacts h2 {
        margin-top: 12px;
        font-size: 25px;
        line-height: 28px;
    }

    .media-center-section-head {
        min-height: 57px;
        padding-bottom: 0;
    }

    .media-center-brand-grid,
    .media-center-template-grid {
        gap: 40px;
        margin-top: 20px;
    }

    .media-center-resource--brandbook > img,
    .media-center-resource--presentation > .media-center-resource__main {
        width: 100%;
        height: auto;
        aspect-ratio: 795 / 446;
    }

    .media-center-download {
        min-height: 33px;
        padding: 6px 0;
        box-sizing: border-box;
    }

    .media-center-resource--brandbook .media-center-download,
    .media-center-resource--presentation .media-center-download,
    .media-center-document-templates .media-center-download {
        margin: 12px 0 0;
    }

    .media-center-logos,
    .media-center-logos__gallery {
        height: auto;
    }

    .media-center-logos__gallery {
        aspect-ratio: 5 / 2;
    }

    .media-center-logos__gallery img {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        object-fit: cover;
    }

    .media-center-logos__gallery img:nth-child(1) {
        top: 0;
        left: 0;
        width: 24%;
        height: 60.833%;
    }

    .media-center-logos__gallery img:nth-child(2) {
        top: 53.333%;
        left: 1%;
        width: 47.333%;
        height: 46.667%;
        padding: 4.333% 13%;
        box-sizing: border-box;
        background: var(--blue);
        object-fit: contain;
    }

    .media-center-logos__gallery img:nth-child(3) {
        top: 50%;
        left: 51.667%;
        width: 48.333%;
        height: 50%;
    }

    .media-center-logos__gallery img:nth-child(4) {
        top: 0;
        left: 51.667%;
        width: 48.333%;
        height: 50%;
    }

    .media-center-logos__gallery img:nth-child(5) {
        top: 0;
        left: 24.333%;
        width: 24%;
        height: 53.333%;
    }

    .media-center-logos .media-center-download {
        margin: 12px 0 0;
    }

    .media-center-logos .media-center-download + .media-center-download {
        margin-top: 12px;
    }

    .media-center-presentation-thumbs {
        height: auto;
        margin-top: 12px;
    }

    .media-center-presentation-thumbs img {
        height: auto;
        aspect-ratio: 254 / 142;
    }

    .media-center-download {
        margin-left: 0;
        text-align: left;
        font-size: 14px;
        line-height: 19px;
    }

    .media-center-section-head--documents {
        min-height: 28px;
        margin-top: 60px;
    }

    .media-center-section-head--documents h2 {
        margin-top: 0;
    }

    .media-center-document-templates {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .media-center-document-templates .media-center-download {
        width: auto;
    }

    .media-center-document-templates article:nth-child(1) > img,
    .media-center-document-templates article:nth-child(2) > img {
        width: 191px !important;
        height: 270px !important;
        aspect-ratio: auto;
    }

    .media-center-document-templates .media-center-document-templates__certificate {
        width: 100% !important;
        max-width: none;
        justify-self: stretch;
    }

    .media-center-document-templates article.media-center-document-templates__certificate > img {
        width: 100% !important;
        height: 212px !important;
        aspect-ratio: auto;
    }

    .media-center-contacts {
        height: 786px;
        margin-bottom: 100px;
        padding: 40px 0 0;
        box-sizing: border-box;
    }

    .media-center-contacts__grid {
        display: block;
    }

    .media-center-contacts__content {
        margin-top: 20px;
    }

    .media-center-contacts__content > p {
        margin-top: 30px;
        font-size: 14px;
        line-height: 17px;
    }

    .media-center-contacts__social {
        flex-direction: row;
        gap: 20px;
        margin-top: 40px;
    }

    .media-center-contacts__social a {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .media-center-contacts address {
        margin-top: 20px;
    }

    .media-center-manager {
        height: 343px;
        min-height: 343px;
        width: 100%;
        margin-top: 40px;
    }

    .media-center-manager dl {
        margin-top: 42px;
    }
}

@media screen and (min-width: 1101px) and (max-width: 1599px) {
    body:not(.footer-legacy) footer .wrapper {
        width: calc(100% - 100px);
        max-width: var(--container-wide);
        margin-right: auto;
        margin-left: auto;
    }

    body:not(.footer-legacy) footer .wrapper > .items.c-2-m {
        grid-template-columns: clamp(240px, 20vw, 300px) minmax(0, 1fr);
        gap: clamp(40px, 6vw, 100px);
    }

    body:not(.footer-legacy) footer .items.c-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(20px, 2.75vw, 44px);
        width: 100%;
        min-width: 0;
    }

    body:not(.footer-legacy) footer .footer-extra {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
        width: 100%;
        min-width: 0;
    }

    .media-center-intro {
        grid-template-columns: minmax(320px, 397px) minmax(0, 1fr);
        gap: clamp(40px, 5vw, 95px);
        height: auto;
    }

    .media-center-intro > img {
        width: 100%;
        height: auto;
        aspect-ratio: 397 / 300;
    }

    .media-center-intro__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .media-center-intro .button {
        margin-top: 36px;
    }

    .media-center-brand-grid,
    .media-center-template-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(380px, 1fr);
        gap: clamp(24px, 3vw, 41px);
        height: auto;
    }

    .media-center-resource--brandbook > img,
    .media-center-resource--presentation > .media-center-resource__main {
        width: 100%;
        height: auto;
        aspect-ratio: 795 / 446;
    }

    .media-center-logos,
    .media-center-logos__gallery {
        width: 100%;
        height: auto;
    }

    .media-center-logos__gallery {
        aspect-ratio: 664 / 446;
    }

    .media-center-logos__gallery img:nth-child(1) { left: 6.7771%; width: 26.506%; height: 32.9596%; }
    .media-center-logos__gallery img:nth-child(2) { top: 28.4753%; left: 6.6265%; width: 26.8072%; height: 18.8341%; }
    .media-center-logos__gallery img:nth-child(3) { width: 59.3373%; height: 49.5516%; }
    .media-center-logos__gallery img:nth-child(4) { width: 59.3373%; height: 49.5516%; }
    .media-center-logos__gallery img:nth-child(5) { width: 40.0602%; height: 49.5516%; }

    .media-center-presentation-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .media-center-presentation-thumbs img {
        width: 100%;
        height: auto;
        aspect-ratio: 254 / 142;
    }

    .media-center-document-templates {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
        height: auto;
    }

    .media-center-document-templates article,
    .media-center-document-templates article:nth-child(1),
    .media-center-document-templates article:nth-child(2),
    .media-center-document-templates__certificate {
        position: static;
        width: auto !important;
    }

    .media-center-document-templates article > img {
        width: 100% !important;
        max-width: 191px;
        height: auto !important;
        aspect-ratio: 191 / 270;
    }

    .media-center-document-templates .media-center-document-templates__certificate {
        grid-column: 1 / -1;
        width: 100% !important;
        max-width: 366px;
        justify-self: start;
    }

    .media-center-document-templates article.media-center-document-templates__certificate > img {
        width: 100% !important;
        max-width: 366px;
        height: auto !important;
        aspect-ratio: 366 / 259;
    }

    .media-center-contacts {
        height: auto;
        min-height: 565px;
    }

    .media-center-contacts__grid {
        grid-template-columns: minmax(220px, 32%) minmax(0, 1fr) minmax(240px, 290px);
        column-gap: 24px;
    }

    .media-center-manager {
        width: 100%;
    }

    .library-inner-tabs__nav {
        justify-content: space-between;
        gap: clamp(20px, 2vw, 32px);
    }

    .library-inner-tabs__nav a {
        font-size: clamp(32px, 2.6vw, 42px);
        line-height: 1.1;
        white-space: nowrap;
    }

    .scientific-journals-contact dl {
        grid-template-columns: minmax(220px, .9fr) minmax(0, 1.3fr) minmax(240px, .8fr);
    }

    .scientific-journals-contact dd {
        overflow-wrap: anywhere;
    }

    .scientific-journals-files .wrapper {
        grid-template-columns: minmax(280px, 32.8%) minmax(0, 1fr);
    }

    .scientific-journals-files__list.docs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .scientific-journals-files__list.docs .docs-item {
        width: 100%;
    }
}

@media screen and (min-width: 1281px) and (max-width: 1599px) {
    .veterinary-center-about__body {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 137px;
        width: auto;
        margin-left: 32.8%;
    }

    .library-page .library-history .library-section-head {
        grid-template-columns: 32.8% minmax(0, 1fr);
    }
}

/* Единый мобильный ритм: держим в конце файла, чтобы локальные страницы не переопределяли контракт. */
@media screen and (max-width: 700px) {
    .wrapper,
    .wrapper.wrapper--wide,
    .wrapper.wrapper--mobile-compact,
    .wrapper.wrapper--mobile-contained,
    .additional-professional-page .wrapper,
    .targeted-training-page .wrapper,
    .faq-page .wrapper,
    .schedule-page .wrapper,
    .aspirantura-page .wrapper,
    .doctorantura-page .wrapper,
    .programs-page .wrapper,
    .programs-study-page .programs-documents .wrapper,
    .applicants-main .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding-left: 0;
        padding-right: 0;
    }

    .faq-page .prep-hero h1 {
        max-width: 100%;
        font-size: 40px;
        line-height: 44px;
    }

    .faq-list__item {
        grid-template-columns: 28px minmax(0, 1fr) 34px !important;
    }

    .faq-page .faq-list__item {
        grid-template-columns: 28px minmax(0, 188px) 34px !important;
        column-gap: 10px;
    }

    .faq-list__question {
        font-size: 16px !important;
        line-height: 19.2px !important;
        font-weight: 400;
    }

    .faq-list__answer {
        max-width: none;
    }

    .items.c-2-3.grid-1 {
        gap: 10px;
    }

    .items.c-2-3.grid-1 > .item,
    .items.c-2-3.grid-1 > .item:nth-child(n) {
        width: 100% !important;
    }

    .docs {
        gap: 10px !important;
    }

    .docs .docs-item {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 100px !important;
        padding: 10px 20px !important;
    }

    .docs .docs-h {
        align-items: center !important;
        gap: 20px !important;
    }

    .docs .docs-title {
        display: block;
        max-width: none !important;
        height: auto !important;
        min-height: 0;
        overflow: visible !important;
        overflow-wrap: anywhere;
        white-space: normal !important;
        -webkit-line-clamp: unset !important;
        font-size: var(--text-14) !important;
        line-height: 18.2px !important;
    }

    .docs .docs-b,
    .docs .docs-b * {
        font-size: 10px !important;
        line-height: 11px !important;
    }

    .docs-page__files .docs-item,
    .dissertation-councils-documents__list .docs-item {
        height: 100px !important;
        min-height: 100px !important;
        overflow: hidden;
    }

    .docs-page__files .docs-title,
    .dissertation-councils-documents__list .docs-title {
        display: -webkit-box;
        overflow: hidden !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical;
    }

    .dissertation-councils-documents__list,
    .aspirantura-docs__grid {
        gap: 5px !important;
    }

    .aspirantura-docs .docs-item {
        height: 44px !important;
        min-height: 44px !important;
        padding: 10px 20px !important;
    }

    .aspirantura-docs .docs-title {
        display: block;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset !important;
        font-size: 14px !important;
        line-height: 18.2px !important;
        font-weight: 500;
    }

    .aspirantura-docs .docs-b {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .home-page > .bluebg:not(.life) .subhead .items.c-2-m > .item {
        width: 100%;
        min-width: 0;
    }

    .home-page > .bluebg:not(.life) .subhead h3 {
        max-width: 100%;
        font-size: 25px;
        line-height: 27.5px;
        overflow-wrap: anywhere;
    }

    .home-page .home-about-slider .photoslider .swiper-slide {
        aspect-ratio: 4 / 3;
    }

    .home-page .home-about-slider .photoslider-nav {
        flex: 0 0 auto;
        width: 116px;
        height: 39px;
        margin: 24px auto 0;
        justify-content: space-between;
        gap: 16px;
    }

    .home-page [data-gutenberg-block="home-mission"] .rek {
        margin-bottom: 0;
    }

    .home-page [data-gutenberg-block="home-mission"] .left-line {
        display: none;
    }

    .home-page [data-gutenberg-block="home-mission"] .rek .button {
        margin: 32px auto 0;
    }

    .home-page .home-stats {
        margin-top: 70px;
    }

    .home-page .about-numbers__item p,
    .home-page .about-numbers__item--grant p {
        max-width: 270px;
        font-size: 16px;
        line-height: 19.2px;
    }

    .home-page .home-life-collage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 30px;
    }

    .home-page .life > .wrapper > .items.c-2-m {
        display: block;
        height: auto;
    }

    .home-page .life > .wrapper > .items.c-2-m > .item {
        width: 100%;
    }

    .home-page .life > .wrapper > .items.c-2-m > .item:nth-child(2) {
        margin-top: 30px;
    }

    .home-page .life > .wrapper > .items.c-2-m h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .home-page .home-life-collage__orbit,
    .home-page .home-life-collage__image--7,
    .home-page .home-life-collage__image--8,
    .home-page .home-life-collage__image--9,
    .home-page .home-life-collage__image--10,
    .home-page .home-life-collage__image--11 {
        display: none;
    }

    .home-page .home-life-collage__image--1,
    .home-page .home-life-collage__image--2 {
        order: 0;
    }

    .home-page .home-life-collage__image--1,
    .home-page .home-life-collage__image--2,
    .home-page .home-life-collage__image--3,
    .home-page .home-life-collage__image--4,
    .home-page .home-life-collage__image--5,
    .home-page .home-life-collage__image--6 {
        display: block;
        position: static;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .home-page .home-life-collage__image--3,
    .home-page .home-life-collage__image--4,
    .home-page .home-life-collage__image--5,
    .home-page .home-life-collage__image--6 {
        order: 2;
    }

    .home-page .home-life-collage .life-title {
        order: 1;
        grid-column: 1 / -1;
        padding: 18px 0 20px;
        font-size: 34px;
        line-height: 1;
    }

    .home-page .life .home-life-slider {
        gap: 24px;
        margin-top: 56px;
    }

    .home-page .home-events-heading [data-js-main-news-tabs] {
        display: none;
    }

    .home-page .home-events-panels {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .home-page .home-events-panel[hidden] {
        display: flex !important;
    }

    .home-page .items.c-4.home-events-panel > .item::after {
        top: 20px;
        right: 20px;
    }

    .home-page [data-gutenberg-block="home-practice"] .faq .items.c-3.hidden > .item:nth-child(2) {
        margin-top: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 1100px) {
    .dormitories-page .wrapper--tablet-gutter-wide {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding-right: 60px;
        padding-left: 60px;
    }

    .dormitories-intro {
        padding: 70px 0 120px;
    }

    .dormitories-lead h2,
    .dormitories-info-band h2,
    .dormitory-section-head h2 {
        font-size: 40px;
        line-height: 44px;
    }

    .dormitories-lead h2 {
        font-size: 25px;
        line-height: 28px;
    }

    .dormitories-info-band {
        min-height: 0;
        padding: 60px 0;
    }

    .dormitories-info-band__grid {
        gap: 50px;
    }

    .dormitories-info-band h2 {
        max-width: none;
    }

    .dormitories-info-band__text {
        grid-template-columns: 310px;
        min-height: 200px;
        gap: 0;
    }

    .dormitories-info-band__text p {
        font-size: 16px;
        line-height: 19.2px;
    }

    .dormitory-location,
    .dormitories-contacts {
        padding-top: 120px;
    }

    .dormitory-gallery {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-auto-rows: auto;
        gap: 20px;
        margin-top: 41px;
    }

    .dormitory-gallery__feature,
    .dormitory-gallery__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 20px;
    }

    .dormitory-gallery__feature .dormitory-gallery__main {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 666px;
    }

    .dormitory-gallery__feature > img:not(.dormitory-gallery__main),
    .dormitory-gallery__row img {
        height: 310px;
    }

    .dormitories-contacts__main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .dormitories-contacts__main dl {
        max-width: none;
        margin-top: 0;
        gap: 12px;
    }

    .dormitories-contacts__cards {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 280px;
        gap: 20px;
        width: 100%;
        overflow-x: auto;
    }

    .dormitories-contacts .contact-card {
        width: 280px;
        height: 365px;
        min-height: 365px;
    }

    .dormitories-docs {
        padding: 120px 0 200px;
    }

    .dormitories-docs__group + .dormitories-docs__group {
        margin-top: 121px;
    }

    .dormitories-docs__list {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 100px;
        gap: 5px;
    }

    .dormitories-docs__list.docs .docs-item {
        height: 100px;
        min-height: 100px;
    }
}

@media screen and (max-width: 600px) {
    .dormitories-page .wrapper--tablet-gutter-wide,
    .dormitories-page .wrapper--mobile-compact,
    .dormitories-page .wrapper--wide {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-right: var(--container-mobile-x);
        margin-left: var(--container-mobile-x);
        padding-right: 0;
        padding-left: 0;
    }

    .dormitories-intro {
        padding: 40px 0 80px;
    }

    .dormitories-info-band {
        min-height: 0;
        padding: 30px 0;
    }

    .dormitories-info-band__grid {
        min-height: 426px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .dormitories-info-band h2,
    .dormitories-contacts__main h2,
    .dormitories-docs h2 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .dormitories-info-band h2 {
        font-weight: 500;
    }

    .dormitories-info-band__text {
        margin-top: 50px;
        gap: 0;
    }

    .dormitory-location,
    .dormitories-contacts {
        padding-top: 80px;
    }

    .dormitory-section-head h2 {
        font-weight: 500;
    }

    .dormitory-section-head p {
        margin-top: 20px;
    }

    .dormitory-gallery,
    .dormitory-gallery--featured,
    .dormitory-gallery--dundich {
        gap: 20px;
        margin-top: 40px;
    }

    .dormitory-gallery__feature,
    .dormitory-gallery__row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: 20px;
    }

    .dormitory-gallery__feature .dormitory-gallery__main {
        grid-column: auto;
        grid-row: auto;
    }

    .dormitory-gallery--featured .dormitory-gallery__main {
        height: 300px;
    }

    .dormitory-gallery--dundich .dormitory-gallery__main {
        height: 666px;
    }

    .dormitory-gallery__feature > img:not(.dormitory-gallery__main),
    .dormitory-gallery__row img {
        height: 310px;
    }

    .dormitories-contacts__main dl {
        margin-top: 20px;
    }

    .dormitories-contacts__main dt,
    .dormitories-contacts__main dd,
    .dormitories-contacts__main a {
        font-size: 14px;
        line-height: 16.8px;
    }

    .dormitories-contacts__cards {
        gap: 20px;
        margin-top: 40px;
    }

    .dormitories-contacts .contact-card {
        width: 100%;
        height: 300px;
        min-height: 300px;
        padding: 20px;
        gap: 0;
    }

    .dormitories-contacts .contact-card__head h3 {
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .dormitories-contacts .contact-card__head p {
        margin-top: 5px;
        font-size: 14px;
        line-height: 16.8px;
    }

    .dormitories-contacts .contact-card dt,
    .dormitories-contacts .contact-card dd,
    .dormitories-contacts .contact-card a {
        font-size: 10px;
        line-height: 11px;
    }

    .dormitories-docs {
        padding: 80px 0 120px;
    }

    .dormitories-docs__group + .dormitories-docs__group {
        margin-top: 80px;
    }

    .dormitories-docs__list {
        grid-auto-rows: 100px;
        gap: 5px;
        margin-top: 40px;
    }

    .dormitories-docs__list.docs .docs-item {
        height: 100px;
        min-height: 100px;
        padding: 10px 20px;
    }

    .dormitories-docs__list.docs .docs-h {
        align-items: center;
        gap: 20px;
    }

    .dormitories-docs__list.docs .docs-h img {
        flex-basis: 24px;
        width: 24px;
        min-width: 24px;
        height: 24px;
    }

    .dormitories-docs__list.docs .docs-title {
        font-size: 14px;
        line-height: 18.2px;
        font-weight: 500;
    }

    .dormitories-docs__list.docs .docs-b {
        font-size: 10px;
        line-height: 11px;
        font-weight: 400;
    }
}

@media screen and (max-width: 700px) {
    body.faculty-detail-page .faculty-detail-main .wrapper.wrapper--wide {
        width: calc(100% - (var(--container-mobile-x) * 2));
        max-width: none;
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding-left: 0;
        padding-right: 0;
    }

    .faculty-detail-deanery__contacts {
        gap: 10px;
        margin-top: 20px;
    }

    .faculty-detail-deanery__contacts dt,
    .faculty-detail-deanery__contacts dd,
    .faculty-detail-deanery__contacts a {
        font-size: 14px;
        line-height: 17px;
    }

    .faculty-detail-person-card h3,
    .faculty-detail-person-card p {
        font-size: 14px;
        line-height: 16.8px;
    }

    .faculty-detail-person-card h3 {
        font-weight: 500;
    }

    .faculty-detail-person-card dt,
    .faculty-detail-person-card dd {
        font-size: 10px;
        line-height: 11px;
    }

    .faculty-detail-person-card {
        position: relative;
        overflow: visible;
    }

    .faculty-detail-person-card dl {
        position: absolute;
        top: 256px;
        left: 20px;
        right: 20px;
        margin: 0;
    }

    .faculty-detail-person-card a {
        position: absolute;
        z-index: 1;
        top: 310px;
        right: 0;
        width: 127px;
        height: 33px;
        box-sizing: border-box;
        justify-content: center;
        margin: 0;
    }

    .faculty-detail-history__head p {
        font-size: 16px;
        line-height: 19.2px;
    }

    .faculty-detail-history {
        min-height: 296px;
    }

    .faculty-detail-history__head {
        gap: 18px;
    }

    .faculty-detail-history__list {
        height: 200px;
        margin-top: 38px;
    }

    .faculty-detail-about__text .button,
    .faculty-detail-actions .button {
        width: 230px;
        min-height: 33px;
        height: 33px;
        box-sizing: border-box;
        justify-content: center;
    }

    .faculty-detail-about__text .button {
        margin-top: 3px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1280px) {
    .library-page > section > .wrapper {
        width: calc(100% - 120px);
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .library-page .library-resource-card {
        height: 650px;
        min-height: 650px;
    }

    .library-page .library-history .library-section-head {
        margin-bottom: 40px;
    }

    .library-page .library-history .library-section-head p {
        font-size: 25px;
        line-height: 27.5px;
        font-weight: 500;
    }

    .library-page .library-history__details {
        max-width: 640px;
        box-sizing: border-box;
        padding: 15px 0;
    }

    .library-page .library-history__details summary {
        min-height: 71px;
        box-sizing: border-box;
        padding: 10px;
        border: 0;
        background-color: var(--grey-light);
        color: var(--black);
        font-size: 16px;
        line-height: 20.8px;
        font-weight: 500;
    }

    .library-page .library-history__timeline {
        padding-top: 24px;
    }
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
    :is(
        [data-js-main-news-tabs],
        .applicants-places__levels,
        .prep-tabs,
        .sub-menu[role="tablist"],
        .library-inner-tabs__nav,
        .programs-hero__tabs
    ) {
        height: 64px;
        min-height: 64px;
        align-items: flex-end;
    }

    :is(
        [data-js-main-news-tabs],
        .sub-menu[role="tablist"],
        .library-inner-tabs__nav,
        .programs-hero__tabs
    ) {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    [data-js-main-news-tabs] > .item,
    .applicants-places__levels > button,
    .prep-tabs > a,
    .sub-menu[role="tablist"] > .item,
    .library-inner-tabs__nav > a,
    .programs-hero__tabs > a,
    .programs-hero__tabs > h1 {
        width: 100%;
        height: auto;
        min-height: 42px;
        margin-bottom: -6px;
        padding: 10px 0 4px;
        border-bottom-width: 6px;
        font-size: 20px;
        line-height: 22px;
    }

    [data-js-main-news-tabs] > .item:is(.active, .is-active),
    [data-js-main-news-tabs] > .item[aria-selected="true"],
    .applicants-places__levels > button.is-active,
    .applicants-places__levels > button[aria-selected="true"],
    .prep-tabs > a.is-active,
    .prep-tabs > a[aria-selected="true"],
    .sub-menu[role="tablist"] > .item:is(.active, .is-active),
    .sub-menu[role="tablist"] > .item[aria-selected="true"],
    .library-inner-tabs__nav > a.is-active,
    .library-inner-tabs__nav > a[aria-selected="true"],
    .programs-hero__tabs > h1,
    .programs-hero__tabs > a.is-active,
    .programs-hero__tabs > a[aria-selected="true"] {
        min-height: 64px;
    }

    :is(
        .applicants-tab-nav,
        .electronic-environment-tabs__nav,
        .museums-tabs__nav
    ) {
        gap: 24px;
    }

    .applicants-tab-nav > button,
    .electronic-environment-tabs__nav > button,
    .museums-tabs__nav > a {
        min-height: 22px;
        font-size: 20px;
        line-height: 22px;
    }

    .library-inclusive-page .library-inner-tabs__nav > a {
        font-size: 20px;
        line-height: 22px;
    }
}

@media screen and (max-width: 700px) {
    :is(
        [data-js-main-news-tabs],
        .applicants-places__levels,
        .prep-tabs,
        .sub-menu[role="tablist"],
        .library-inner-tabs__nav,
        .programs-hero__tabs
    ) {
        grid-template-columns: minmax(0, 1fr);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        height: auto;
        min-height: 0;
        border-bottom: 0;
        overflow: visible;
    }

    [data-js-main-news-tabs] > .item,
    .applicants-places__levels > button,
    .prep-tabs > a,
    .sub-menu[role="tablist"] > .item,
    .library-inner-tabs__nav > a,
    .programs-hero__tabs > a,
    .programs-hero__tabs > h1 {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        height: 37px;
        min-height: 37px;
        margin: 0;
        padding: 10px 0 6px;
        border-bottom: 4px solid var(--spbguvm-tabs-track);
        font-size: 14px;
        line-height: 16.8px;
    }

    [data-js-main-news-tabs] > .item:is(.active, .is-active),
    [data-js-main-news-tabs] > .item[aria-selected="true"],
    .applicants-places__levels > button.is-active,
    .applicants-places__levels > button[aria-selected="true"],
    .prep-tabs > a.is-active,
    .prep-tabs > a[aria-selected="true"],
    .sub-menu[role="tablist"] > .item:is(.active, .is-active),
    .sub-menu[role="tablist"] > .item[aria-selected="true"],
    .library-inner-tabs__nav > a.is-active,
    .library-inner-tabs__nav > a[aria-selected="true"],
    .programs-hero__tabs > h1,
    .programs-hero__tabs > a.is-active,
    .programs-hero__tabs > a[aria-selected="true"] {
        height: 37px;
        min-height: 37px;
        padding-bottom: 4px;
        border-bottom-width: 6px;
        border-bottom-color: var(--spbguvm-tabs-accent);
    }

    [data-js-main-news-tabs] > .item h4,
    .sub-menu[role="tablist"] > .item h4 {
        color: inherit;
        font: inherit;
    }

    :is(
        .applicants-tab-nav,
        .education-info-regulations .applicants-tab-nav,
        .electronic-environment-tabs__nav,
        .museums-tabs__nav
    ) {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .applicants-tab-nav > button,
    .education-info-regulations .applicants-tab-nav > button,
    .electronic-environment-tabs__nav > button,
    .museums-tabs__nav > a {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-height: 22px;
        padding: 0 0 0 20px;
        border: 0;
        background: transparent;
        color: var(--spbguvm-tabs-text);
        opacity: .6;
        font-size: 20px;
        line-height: 22px;
        text-align: left;
    }

    .electronic-environment-tabs__nav > button::before {
        width: 10px;
        height: 10px;
    }

    .library-inclusive-page .library-inner-tabs__nav > a {
        font-size: 14px;
        line-height: 16.8px;
    }

    .applicants-tab-nav > button.is-active,
    .applicants-tab-nav > button[aria-selected="true"],
    .education-info-regulations .applicants-tab-nav > button.is-active,
    .education-info-regulations .applicants-tab-nav > button[aria-selected="true"],
    .electronic-environment-tabs__nav > button.is-active,
    .electronic-environment-tabs__nav > button[aria-selected="true"],
    .museums-tabs__nav > a.is-active,
    .museums-tabs__nav > a[aria-selected="true"] {
        color: var(--spbguvm-tabs-text);
        opacity: 1;
    }
}

@media screen and (max-width: 1200px) {
    .sub-menu[role="tablist"]::after,
    [data-js-main-news-tabs]::after,
    .prep-tabs::after,
    .entrance-page .prep-tabs::after {
        height: 4px;
    }

    .sub-menu[role="tablist"] .item,
    [data-js-main-news-tabs] .item {
        border-bottom-width: 4px;
    }

    .prep-tabs a::after,
    .entrance-page .prep-tabs a::after {
        height: 4px;
    }

    .applicants-places__levels {
        --tabs-track-size: 6px;
        border-bottom-width: var(--tabs-track-size);
    }
}

@media screen and (max-width: 1200px) {
    body.admin-bar header,
    body.admin-bar header.scrolled {
        top: 32px;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar header,
    body.admin-bar header.scrolled {
        top: 46px;
    }
}

@media screen and (max-width: 700px) {
    .applicants-hero__content {
        padding-right: 0;
        padding-left: 0;
    }

    .applicants-hero__cards {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
        gap: 24px;
    }

    .applicants-hero-card {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 270px;
    }

    .applicants-hero-card h3,
    .applicants-hero-card p,
    .applicants-hero-card small {
        width: auto;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .international-cooperation-cover-content {
        right: 0;
        left: 0;
    }

    .employees-vacancies .graduated-vacancies__viewport {
        width: 100%;
        margin-right: 0;
    }

    .employees-vacancies .graduated-vacancies__track {
        width: 100%;
        gap: 20px;
        padding-right: 0;
        box-sizing: border-box;
    }

    .employees-vacancies .graduated-vacancy-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 600px) {
    .student-squads-page .student-squads-intro .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-right: var(--container-mobile-x);
        margin-left: var(--container-mobile-x);
    }

    .student-squads-page .student-squads-lead {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .student-squads-page .student-squads-dot {
        width: 10px;
        height: 28px;
        margin: 0;
        border-radius: 0;
        background: radial-gradient(circle at center, var(--blue) 0 5px, transparent 5px);
    }

    .student-squads-page .student-squads-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .doctorantura-process .wrapper {
        width: auto;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }
}

@media screen and (max-width: 600px) {
    .person-detail__name {
        text-transform: none;
    }

    .student-science-society-main > section {
        margin-bottom: 0;
    }

    .student-science-society-main .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-right: var(--container-mobile-x);
        margin-left: var(--container-mobile-x);
        padding-right: 0;
        padding-left: 0;
    }

    .student-science-society-intro {
        padding: 40px 0 80px;
    }

    .student-science-society-intro .student-squads-lead {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .student-science-society-intro .student-squads-dot {
        width: 10px;
        height: 28px;
        margin: 0;
        border-radius: 0;
        background: radial-gradient(circle at center, var(--blue) 0 5px, transparent 5px);
    }

    .student-science-society-intro .student-squads-lead h2 {
        max-width: none;
        font-size: 20px;
        line-height: 22px;
    }

    .student-science-society-contacts {
        padding: 0 0 80px;
    }

    .student-science-society-contacts .educational-work-contacts__grid {
        gap: 40px;
    }

    .student-science-society-contacts .educational-work-contacts__main {
        min-height: 235px;
        gap: 20px;
    }

    .student-science-society-contacts .educational-work-contacts__main dl {
        gap: 20px;
    }

    .student-science-society-contacts .educational-work-contacts__main dl > div:first-child {
        display: none;
    }

    .student-science-society-contacts .educational-work-contacts__aside {
        gap: 20px;
    }

    .student-science-society-contacts .educational-work-contacts__card {
        min-height: 300px;
    }

    .student-science-society-docs {
        padding: 0 0 120px;
    }

    .student-science-society-docs .educational-work-docs__group {
        gap: 40px;
    }

    .student-science-society-docs .educational-work-docs__list {
        gap: 5px !important;
    }

    .student-science-society-docs .student-science-society-docs__button {
        width: 280px;
        min-height: 33px;
        margin-right: 10px;
        margin-left: 10px;
        padding-top: 6px;
        padding-bottom: 6px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 600px) {
    .fullhead--reception {
        height: 400px;
        margin-bottom: 70px;
    }

    .fullhead--reception .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        height: 400px;
        margin: 0 var(--container-mobile-x);
        padding: 0;
    }

    .fullhead--reception .items {
        position: absolute;
        top: 244px;
        left: 0;
        display: flex;
        gap: 20px;
        margin: 0;
    }

    .fullhead--reception .items.c-2-m > .item:first-child,
    .fullhead--reception .items.c-2-m > .item:nth-child(2) {
        flex: none;
        width: 300px;
    }

    .fullhead--reception h1 {
        margin: 0;
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .fullhead--reception .sub {
        font-size: 14px;
        line-height: 18.2px;
    }

    .fullhead--reception + .wrapper {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: calc(100vw - (var(--container-mobile-x) * 2));
        margin: 0 var(--container-mobile-x);
        padding: 0;
    }

    .fullhead--reception + .wrapper > .content {
        margin-bottom: 120px;
    }

    .fullhead--reception + .wrapper .items.grid-1 {
        gap: 20px;
    }

    .fullhead--reception + .wrapper .items.grid-1 .item,
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(n) {
        width: 100%;
        height: 220px;
        padding: 25px;
    }

    .fullhead--reception + .wrapper .items.grid-1 .item h4,
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(4) h4,
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(5) h4 {
        font-size: 25px;
        line-height: 27.5px;
    }

    .fullhead--reception + .wrapper .items.grid-1 .item .button-icon,
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(4) .button-icon,
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(5) .button-icon {
        width: 35px;
        max-width: 35px;
        height: 27.3px;
        flex-basis: 35px;
    }

    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(1) { order: 1; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(2) { order: 2; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(3) { order: 3; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(6) { order: 4; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(7) { order: 5; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(8) { order: 6; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(5) { order: 7; }
    .fullhead--reception + .wrapper .items.grid-1 .item:nth-child(4) { order: 8; }

    .fullhead--reception ~ footer,
    .student-council-page + footer {
        height: 1488px;
        overflow: hidden;
    }

    .student-council-hero .wrapper--hero,
    .student-council-page .wrapper.wrapper--mobile-compact {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        max-width: none;
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding-left: 0;
        padding-right: 0;
    }

    .student-council-hero .student-squads-hero__content {
        bottom: 30px;
    }

    .student-council-hero h1 {
        font-size: 40px;
        line-height: 44px;
        text-transform: none;
    }

    .student-council-page .student-squads-intro {
        padding: 40px 0 80px;
    }

    .student-council-page .student-squads-lead {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 28px auto;
        gap: 10px;
    }

    .student-council-page .student-squads-dot {
        width: 10px;
        height: 10px;
        margin-top: 9px;
    }

    .student-council-page .student-squads-lead h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .student-council-about {
        width: calc(100vw - (var(--container-mobile-x) * 2));
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
        padding: 30px 0;
    }

    .student-council-about .wrapper.wrapper--mobile-compact {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .student-council-about .student-squads-slide__head {
        height: 702px;
        gap: 40px;
        margin-bottom: 40px;
    }

    .student-council-about .student-squads-slide__title {
        display: block;
        gap: 0;
    }

    .student-council-about .student-squads-slide__social,
    .student-council-about__email {
        font-size: 14px;
        line-height: 16.8px;
    }

    .student-council-about .student-squads-slide__text {
        gap: 0;
    }

    .student-council-about .student-squads-slide__text p {
        height: 238px;
    }

    .student-council-about .student-squads-slide__gallery {
        width: 280px;
        gap: 24px;
    }

    .student-council-about .student-squads-slide__gallery > div {
        gap: 10px;
    }

    .student-council-about .student-squads-slide__gallery > div img,
    .student-council-about .student-squads-slide__gallery > div img:last-child {
        height: 154px;
    }

    .student-council-about .student-squads-slide__gallery > div img:first-child {
        margin-bottom: 10px;
    }

    .student-council-about .student-squads-slide__gallery > div img:last-child {
        height: 195px;
    }

    .student-council-about .student-squads-slide__image-main {
        height: 450px;
    }

    .student-council-mission {
        padding: 80px 0;
    }

    .student-council-mission .student-squads-history__intro {
        gap: 20px;
        margin-bottom: 40px;
    }

    .student-council-mission .student-squads-history__intro p {
        font-size: 25px;
        line-height: 27.5px;
        font-weight: 400;
    }

    .student-council-goals article {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 24px;
        padding: 40px 0;
    }

    .student-council-goals article:nth-child(1) { min-height: 253px; }
    .student-council-goals article:nth-child(2),
    .student-council-goals article:nth-child(4),
    .student-council-goals article:nth-child(7) { min-height: 177px; }
    .student-council-goals article:nth-child(3) { min-height: 196px; }
    .student-council-goals article:nth-child(5),
    .student-council-goals article:nth-child(8) { min-height: 120px; }
    .student-council-goals article:nth-child(6) { min-height: 158px; }

    .student-council-goals .decor-dot--blue {
        width: 18px;
        height: 18px;
        margin-left: 10px;
    }

    .student-council-goals p {
        font-size: 16px;
        line-height: 19.2px;
        font-weight: 400;
    }

    .educational-work-docs.student-council-docs {
        padding: 0 0 120px;
    }

    .student-council-docs .educational-work-docs__group {
        gap: 40px;
    }

    .student-council-docs .educational-work-docs__list {
        gap: 5px !important;
    }
}

@media screen and (max-width: 600px) {
    .library-page > section > .wrapper {
        width: calc(100% - (var(--container-mobile-x) * 2));
        max-width: none;
        margin-left: var(--container-mobile-x);
        margin-right: var(--container-mobile-x);
    }

    .library-page .library-resource-card {
        padding-right: 10px;
        padding-left: 10px;
    }

    .library-page .library-resource-card:nth-child(n + 5) {
        height: 252px;
    }

    .library-page .library-person-card {
        min-height: 300px;
        height: 300px;
    }

    .library-page .library-person-card__content {
        position: relative;
    }

    .library-page .library-person-card__content::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 20px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-image: var(--library-person-image);
        background-position: center;
        background-size: cover;
    }

    .library-page .library-person-card:nth-child(1) { --library-person-image: url("img/library-person-01.png"); }
    .library-page .library-person-card:nth-child(2) { --library-person-image: url("img/library-person-02.png"); }
    .library-page .library-person-card:nth-child(3) { --library-person-image: url("img/library-person-03.png"); }
    .library-page .library-person-card:nth-child(4) { --library-person-image: url("img/library-person-04.png"); }
    .library-page .library-person-card:nth-child(5) { --library-person-image: url("img/library-person-05.png"); }
    .library-page .library-person-card:nth-child(6) { --library-person-image: url("img/library-person-06.png"); }
    .library-page .library-person-card:nth-child(7) { --library-person-image: url("img/library-person-07.png"); }
    .library-page .library-person-card:nth-child(8) { --library-person-image: url("img/library-person-08.png"); }
    .library-page .library-person-card:nth-child(9) { --library-person-image: url("img/library-person-09.png"); }
    .library-page .library-person-card:nth-child(10) { --library-person-image: url("img/library-person-10.png"); }

    .library-page .library-person-card__role,
    .library-page .library-person-card h3 {
        width: auto;
        max-width: 170px;
        margin-left: 90px;
    }

    .library-page .library-person-card__role {
        min-height: 17px;
    }

    .library-page .library-person-card h3 {
        margin-top: 5px;
        margin-bottom: auto;
    }

    .library-page .library-person-card__content > h3 + p,
    .library-page .library-person-card__content > a,
    .library-page .library-person-card__content > a + p {
        font-size: 10px;
        line-height: 11px;
    }

    .library-page .library-person-card__content > a[href^="tel:"] {
        order: 3;
        margin-top: 0;
    }

    .library-page .library-person-card__content > a[href^="mailto:"] {
        order: 4;
        margin-top: 16px;
    }

    .library-page .library-person-card__content > a + p {
        order: 5;
        margin-top: 16px;
    }

    .library-page .library-person-card__content > h3 + p {
        order: 6;
        margin-top: 16px;
    }

    .library-page .library-person-card__content > a[href^="tel:"]::before,
    .library-page .library-person-card__content > a[href^="mailto:"]::before,
    .library-page .library-person-card__content > a + p::before,
    .library-page .library-person-card__content > h3 + p::before {
        display: block;
        color: var(--grey-dark);
    }

    .library-page .library-person-card__content > a[href^="tel:"]::before { content: "Телефон:"; }
    .library-page .library-person-card__content > a[href^="mailto:"]::before { content: "Электронная почта:"; }
    .library-page .library-person-card__content > a + p::before { content: "График работы:"; }
    .library-page .library-person-card__content > h3 + p::before { content: "Научное звание:"; }

    .library-page .library-person-card:nth-child(6) .library-person-card__content::after,
    .library-page .library-person-card:nth-child(7) .library-person-card__content::after,
    .library-page .library-person-card:nth-child(8) .library-person-card__content::after,
    .library-page .library-person-card:nth-child(10) .library-person-card__content::after {
        content: "Телефон:\A?";
        position: absolute;
        top: 142px;
        left: 20px;
        color: var(--grey-dark);
        font-size: 10px;
        line-height: 11px;
        white-space: pre;
    }

    .library-page .library-history .library-section-head {
        margin-bottom: 14px;
    }

    .library-page .library-history .library-section-head p {
        font-size: 16px;
        line-height: 19.2px;
    }

    .library-page .library-history__details {
        box-sizing: border-box;
        padding: 15px 0;
    }

    .library-page .library-history__details summary {
        min-height: 71px;
        box-sizing: border-box;
        padding: 10px;
        border: 0;
        background-color: var(--grey-light);
        color: var(--black);
        font-size: 14px;
        line-height: 16.8px;
        font-weight: 500;
    }

    .library-page .library-history__timeline {
        padding-top: 24px;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1599px) {
    .library-page .library-inner-tabs__nav > a {
        font-size: 25px;
        line-height: 27.5px;
    }
}

@media screen and (min-width: 701px) and (max-width: 1200px) {
    [data-js-main-news-tabs] > .item,
    .sub-menu[role="tablist"] > .item {
        margin-bottom: -6px;
        border-bottom-width: 6px;
    }
}

@media screen and (max-width: 700px) {
    .electronic-environment-tabs__nav > button::before {
        flex-basis: 10px;
        width: 10px;
        height: 10px;
    }
}


@media (max-width: 1024px) {
  body header {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  body header .top,
  body header > .wrapper,
  body .site-mobile-menu,
  body .site-mobile-menu__inner {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}
