@media all and (max-width: 1390px) {
    .courses-content__items {
        gap: 24px;
        margin-bottom: 131px;
    }
    .courses-content__item {
        width: calc((100% - 24px) / 2);
    }
}

@media all and (max-width: 1240px) {

    .course-info__theme-buttons {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }
    .partners-page {
        justify-content: center;
    }
    .partners-page__form {
        order: 0;
        width: 665px;
        max-width: 100%;
    }
    .partners-page .order-page__how-get {
        width: 100%;
        order: 1;
    }
}

@media all and (max-width: 1200px) {
    .profile__form-col {
        width: calc((100% - 32px) / 2);
    }
    .contacts-page__info-text {
        font-size: 28px;
    }
    #header .col-side:first-child {
        width: 140px;
    }
    #header form {
        width: 500px;
    }
    .official-docs {
        padding: 75px 90px;
    }
    .official-docs br {
        display: none;
    }
    .footer-head__links {
        padding-right: 30px;
    }
    .footer-head__links:not(:last-child) {
        margin-right: 0;
    }

    .page-left-side {
        display: none;
    }
    .courses-content {
        width: 100%;
        padding-left: 0;
    }
    .filter-btn {
        display: flex;
        fill: var(--main-text-color);
        cursor: pointer;
        width: 30px;
        height: 30px;
    }
}

@media all and (max-width: 1100px) {
    .page-nav {
        width: 100%;
        margin: 6px 0 21px;
        padding: 34px 42px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 28px calc(100% - 480px);
    }
    .page-nav a {
        width: 240px;
    }
    .page-nav a:nth-child(1) {
        order: 0;
    }
    .page-nav a:nth-child(2) {
        order: 3;
    }
    .page-nav a:nth-child(3) {
        order: 1;
    }
    .page-nav a:nth-child(4) {
        order: 2;
    }
    .page-nav a:not(:last-child) {
        margin-bottom: 0;
    }
    .page-nav a:last-child {
        display: none;
        margin: 0;
    }
    .page-nav .icon {
        margin-right: 11px;
    }

    .my-office__top-documents {
        padding: 9px 47px 8px 22px;
        gap: 17px;
    }
    .my-office__top-documents__count,
    .my-office__top-documents__title {
        font-size: 15px;
        line-height: 32px;
        letter-spacing: -0.56px;
        border: 0;
        text-decoration: underline;
    }

    .my-office__top-theme {
        font-size: 15px;
        line-height: 32px;
        letter-spacing: -0.56px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-right: 26px;
    }
    .my-office__top-theme span {
        border: 0;
        text-decoration: underline;
        order: 0;
    }
    .my-office__top-theme svg {
        order: 1;
    }

    .page-content__right {
        width: 100%;
        padding-left: 0;
    }
    .certificates__item-description {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }
    .certificates__item-description-buttons {
        align-items: flex-start;
        gap: 10px;
    }

    .certificate-register__table-date {
        display: none;
    }
}

@media all and (max-width: 1024px) {
    .certificate-register__table th {
        font-size: 16px;
        line-height: 32px;
        letter-spacing: -0.56px;
        font-weight: 400;
        padding: 30px 22px;
    }
    .certificate-register__table td {
        padding: 26px 22px;
        font-size: 16px;
        line-height: 32px;
        letter-spacing: -0.56px;
    }
    .certificate-register__title {
        font-size: 28px;
        line-height: 40px;
        letter-spacing: -0.56px;
        margin: 41px 0 21px;
    }
    .certificate-register-page {
        margin-bottom: 21px;
    }
    .contacts-page {
        justify-content: center;
        position: relative;
        margin: 55px 0 76px;
        gap: 48px;
    }
    .contacts-page__info-title {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
        font-family: 'e-Ukraine Head', serif;
        font-size: 38px;
        line-height: 60px;
        letter-spacing: -0.76px;
    }
    .contacts-page__info {
        order: 1;
        width: 100%;
        padding: 0;
    }
    .contacts-page__form {
        order: 0;
        margin-top: 79px;
    }
    .contacts-page__info-text {
        font-size: 34px;
        line-height: 71px;
    }

    .order-page__how-get__title {
        font-size: 28px;
        line-height: 45px;
        letter-spacing: -0.56px;
        margin-bottom: 24px;
    }
    .order-page__how-get__item {
        width: calc((100% - 30px) / 2);
    }
    .how-it-work-page {
        margin: 18px 0 60px;
    }

    .how-it-work-page__faq-title {
        font-size: 38px;
        line-height: 45px;
        letter-spacing: -0.76px;
        margin-bottom: 40px;
    }
    .how-it-work-page__faq-item-head {
        font-size: 18px;
        font-weight: 400;
        line-height: 34px;
        letter-spacing: -0.56px;
        padding-bottom: 15px;
    }
    .how-it-work-page__faq-item {
        padding: 0 8px 11px;
    }
    .how-it-work-page__faq-item-description {
        font-size: 14px;
    }
    .how-it-work-page__faq-item:not(:last-child) {
        margin-bottom: 25px;
    }
    .how-it-work-page .order-page__how-get__list {
        margin-bottom: 60px;
    }

    .course-info__list {
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }
    .course-info__list-item {
        width: 52%;
        padding-right: 10px;
        order: 0;
    }
    .course-info__list-item.audience {
        width: 48%;
        order: 1;
        padding-right: 0;
        position: absolute;
        top: 0;
        right: 0;
    }
    .course-info__theme {
        padding: 28px 27px 44px;
        margin-bottom: 52px;
    }
    .course-info__theme-title {
        font-size: 36px;
        font-weight: 400;
        line-height: 46px;
        letter-spacing: -0.72px;
        margin-bottom: 23px;
    }
    .course-info__theme-description {
        margin-bottom: 25px;
    }
    .course-info__theme-buttons {
        flex-direction: row;
        justify-content: space-between;
    }
    .course-info__theme-head {
        margin-bottom: 17px;
    }
    .course-info__theme-head__badges {
        gap: 23px;
        right: 7px;
    }
    .course-info__theme-head__badge {
        width: 90px;
    }
    .main-page-title {
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -0.36px;
        margin-bottom: 16px;
    }
    .breadcrumbs {
        font-size: 16px;
        line-height: 28px;
        letter-spacing: -0.4px;
    }
    .breadcrumbs a svg {
        width: 11px;
        height: 13px;
        margin-right: 3px;
    }
    .page-head {
        padding: 20px 25px;
        margin-bottom: 26px;
    }
    .course-info {
        display: block;
    }
    .course-info__list,
    .course-info__theme {
        width: 100%;
    }
    .course-info__list {
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .modal-dialog {
        min-width: calc(100% - 36px);
    }
    #menu_list .page-container {
        gap: 16px
    }
    #menu_list .page-container a {
        font-size: 40px;
        letter-spacing: -0.8px;
    }
    #menu_list .page-container a:before {
        bottom: -6px;
    }
    #menu_list .page-container a:hover:before,
    #menu_list .page-container a.active:before {
        width: 550px;
    }
    #header .col-side {
        width: auto;
    }
    #header form {
        display: none;
    }
    #menu_button {
        margin-left: 34px;
    }
    .carousel-item__title {
        font-size: 46px;
        font-weight: 400;
        line-height: 60px;
        letter-spacing: -0.92px;
        margin-bottom: 27px;
    }
    .carousel-item__text {
        margin-bottom: 40px;
    }
    .btn {
        font-size: 16px;
        line-height: 17px;
        height: 53px;
    }
    .main-slider {
        min-height: 408px;
        padding: 69px 20px 48px 102px;
        margin-bottom: 68px;
    }
    .main-slider .carousel-indicators {
        display: none;
    }

    .carousel-item__title,
    .main-slider .carousel-item:not(:first-child) {
        display: none;
    }
    .carousel-item__title.is-mobile {
        display: block;
    }
    .carousel-item__title.is-mobile span:last-child {
        display: none;
    }
    .main-slider .carousel-item:first-child {
        z-index: 1;
        opacity: 1;
    }
    .specialties-section {
        margin-bottom: 95px;
    }
    .popular-courses {
        margin-bottom: 135px;
    }
    .popular-courses .page-container {
        padding: 0;
    }
    .popular-courses__title {
        padding: 0 20px;
    }
    #coursesList .courses-list__items.carousel-inner {
        gap: 0;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    #coursesList .courses-list__items.carousel-inner + .carousel-indicators {
        display: block !important;
        margin-bottom: 50px !important;
    }
    #coursesList .courses-list__items:not(.carousel-inner) {
        display: block;
        white-space: nowrap;
        padding: 0 0 20px 20px;
        overflow-x: auto;
        margin-bottom: 34px;
    }
    #coursesList .courses-list__item.carousel-item {
        width: 100%;
    }
    #coursesList .courses-list__item:not(.carousel-item) {
        width: 433px;
        margin-right: 30px;
        white-space: normal;
    }

    #coursesList .carousel-indicators {
        white-space: nowrap;
        padding: 0 20px;
        margin: 0 auto 24px;
        position: static;
        text-align: center;
        overflow-x: auto;
    }
    #coursesList .carousel-indicators [data-bs-target] {
        margin: 0 4px;
        padding: 0;
        border: 0;
        height: 4px;
        width: 34px;
        background-color: var(--second-background);
        opacity: .4;
        border-radius: 6px;
        position: relative;
    }
    #coursesList .carousel-indicators [data-bs-target]:before {
        content: '';
        position: absolute;
        top: -10px;
        bottom: -10px;
        left: 0;
        right: 0;
    }
    #coursesList .carousel-indicators [data-bs-target].active {
        opacity: 1;
    }
    #coursesList .carousel-indicators [data-bs-target]:not(.active):hover {
        opacity: .6;
    }

    .advantages__items {
        flex-wrap: wrap;
    }
    .advantages__item {
        width: calc((100% - 30px) / 2);
    }
    .official-docs {
        margin-bottom: 112px;
    }
    .official-docs:after {
        width: 307px;
        height: 307px;
        right: -108px;
        bottom: -175px;
        border-width: 46px;
    }
    .official-docs__title {
        font-size: 38px;
        letter-spacing: -0.76px;
    }
    .footer-head {
        display: none;
    }
    .footer-bottom {
        flex-wrap: wrap;
    }
    .footer-bottom__col:nth-child(3),
    .footer-bottom__col:nth-child(4) {
        display: none;
    }
    .footer-bottom__col.is-mobile {
        display: block;
        width: 100%;
        margin-bottom: 59px;
    }
    .footer-bottom__nav {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 29px;
    }
    .footer-bottom__nav a:not(:last-child) {
        margin-bottom: 0;
    }
    .footer-container {
        padding: 113px 67px 25px;
    }
    .footer-bottom__col:last-child,
    .footer-bottom__col:nth-child(2) {
        width: 50%;
        position: relative;
    }
    .footer-bottom__col:nth-child(2):after {
        content: '';
        position: absolute;
        height: 2px;
        width: 200%;
        opacity: 0.3;
        background: var(--fourth-background);
        top: 71px;
        left: 0;

    }
    .footer-bottom__col:last-child {
        padding-top: 95px;
    }
    .footer-container .logo {
        margin-bottom: 46px;
    }
    .master-visa.is-mobile {
        display: block;
    }
    .footer-bottom__medias {
        position: absolute;
        top: -18px;
        left: 100%;
    }
    .form-section__form {
        margin: 48px auto 100px;
        padding: 77px 92px 39px;
    }
    .course-info {
        margin-bottom: 56px;
    }
    .modal-body {
        padding: 42px 56px 58px;
    }
    .modal-body__title {
        font-size: 28px;
        line-height: 43px;
        letter-spacing: -0.56px;
        margin-bottom: 14px;
    }
    .modal-body__title br {
        display: none;
    }
    #documentsModal .modal-body:after {
        right: -376px;
        bottom: -286px;
    }
    #certificateModal .modal-body {
        padding: 73px 50px 34px;
    }
    #documentInfoModal .modal-body {
        padding: 80px 60px 80px 45px;
    }
    #documentInfoModal .modal-body__title {
        letter-spacing: -0.56px;
        margin-bottom: 30px;
    }
    #documentInfoModal .modal-body__title br:first-of-type {
        display: inline;
    }
    .modal-body__description-list-item {
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: -0.56px;
    }
    .modal-close svg {
        width: 30px;
        height: 30px;
    }
    .modal-close {
        top: 27px;
        right: 19px;
    }
    .modal-content {
        border-radius: 12px;
    }

    .courses-content__items,
    .page-content .courses-list__items {
        gap: 24px;
        padding: 0 36px;
        margin-bottom: 131px;
    }
    .page-content .courses-list__item {
        width: calc((100% - 24px) / 2);
    }
    .courses-content__head {
        margin-bottom: 43px;
    }
    .page-content .courses-list__item-head {
        justify-content: center;
        padding: 19px 12px 17px;
    }
    .courses-content__item-name,
    .page-content .courses-list__item-name {
        text-align: center;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        display: inline-flex;
        padding: 0 28px;
    }
    .page-content .courses-list__item-type {
        display: none;
    }
    .courses-content__item-bottom {
        padding: 0 28px;
    }
    .page-content .courses-list__item .courses-list__item-info {
        justify-content: flex-end;
        padding: 18px 28px;
    }
    .page-content .courses-list__item-info .courses-list__item-type {
        display: inline;
        margin-right: auto;
    }
    .courses-page {
        padding: 0;
        margin: 44px 0 120px;
        position: relative;
    }
    .pagination {
        width: 100%;
        justify-content: center;
        position: absolute;
        bottom: 101px;
        left: 0;
    }

    .order-page__form {
        padding: 42px 10px 22px;
    }
}

@media all and (max-width: 820px) {
    .profile__form-row {
        width: 402px;
        max-width: 100%;
        flex-direction: column;
        margin: 0 auto 39px;
    }
    .profile__form-col {
        width: 100%;
    }
    .profile__form {
        padding: 36px 30px 53px;
    }
    .profile__form .btn {
        margin: 0 auto;
        display: flex;
    }
    .page-content__right.profile {
        width: 632px;
        max-width: 100%;
        margin: auto;
    }
    .profile-page {
        margin-bottom: 40px;
    }
}

@media all and (max-width: 780px) {
    .courses-content__item-bottom,
    .page-content .courses-list__item .courses-list__item-info {
        font-size: 14px;
    }
    .courses-content__item-type {
        font-size: 13px;
    }
    .courses-content__items,
    .page-content .courses-list__items {
        padding: 0;
    }

    .order-page__how-get__title + .order-page__how-get__description {
        display: none;
    }

    .partners-page .order-page__how-get__title {
        text-align: center;
    }
    .partners-page__form {
        margin-bottom: 130px;
    }
    .certificate-register__table-name {
        display: none;
    }

    .certificate-register__table-status span {
        display: none;
    }
    .certificate-register__table-status img {
        display: block;
        margin: 0 auto;
    }

    .certificate-register__save-data {
        font-size: 18px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: -0.56px;
    }
}

@media all and (max-width: 730px) {
    .course-info__theme-buttons {
        flex-direction: column;
        align-items: center;
    }
    .course-info__theme-buttons .btn {
        width: 318px;
    }
    .certificate-register__table-date {
        display: none;
    }
}

@media all and (max-width: 680px) {
    .course-info__list-item__text {
        font-size: 16px;
    }
    .form-section__form {
        padding: 77px 30px 39px;
    }
    .footer-container {
        padding: 70px 16px 25px;
    }
    .main-slider {
        min-height: auto;
        padding: 40px 60px;
    }
    .carousel-item__title {
        font-size: 38px;
        line-height: 44px;
    }
    .official-docs {
        padding: 41px 18px;
        text-align: center;
        margin-bottom: 44px;
    }
    .official-docs__title {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: -0.44px;
        position: relative;
        z-index: 2;
        margin-bottom: 22px;
    }
    .official-docs .btn {
        position: relative;
        z-index: 2;
        padding: 0;
        width: 100%;
    }
    .official-docs:after {
        border-color: #C2E9FB;
        border-width: 31px;
        width: 307px;
        height: 307px;
        right: -105px;
        bottom: -175px;
    }
    .courses-content__head-sort {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .courses-content__items,
    .page-content .courses-list__items {
        gap: 15px;
    }
    .courses-content__item,
    .page-content .courses-list__item {
        width: 100%;
    }


    .contacts-page__info-text {
        font-size: 28px;
        line-height: 48px;
    }

    .order-page {
        margin: 17px 0 50px;
    }
    .order-page__form {
        margin-bottom: 50px;
        padding: 15px 6px 40px;
    }
    .order-page__form-row {
        flex-direction: column;
        gap: 20px;
    }
    .order-page__form-col {
        width: 100%;
    }
    .order-page__form-time-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .order-page__form-time-radio {
        width: calc((100% - 10px) / 2);
    }
    .order-page__form-time {
        padding-left: 11px;
    }
    .order-page__form .btn {
        padding: 0;
        width: 330px;
    }
    .order-page__form-small-title {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 10px;
    }
    .order-page__form-title {
        font-size: 18px;
        line-height: 24px;
        letter-spacing: -0.36px;
        margin-bottom: 13px;
    }
}


@media all and (max-width: 620px) {
    .partners-page__form {
        padding: 47px 16px 39px;
    }
    .partners-page__form-title {
        font-size: 18px;
        line-height: 24px;
        letter-spacing: -0.36px;
        margin-bottom: 26px;
    }
    .page-nav {
        padding: 25px 16px;
        margin: 0 0 38px;
        gap: 20px;
    }
    .page-nav a {
        order: 0 !important;
        width: 100%;
        display: inline-flex !important;
        font-size: 16px;
    }
    .my-office__top {
        margin-bottom: 38px;
    }
    .certificates__title {
        padding: 15px;
        font-size: 18px;
        line-height: 32px;
        letter-spacing: -0.56px;
    }
    .certificates__title svg {
        width: 36px;
        height: 36px;
    }

    .certificates__item-head {
        padding: 18px 6px 0;
    }
    .certificates__item-head.collapsed {
        padding: 18px 6px;
    }
    .certificates__item-head.collapsed + .certificates__item-description {
        padding: 0 6px;
    }
    .certificates__item-description {
        padding: 26px 6px;
        gap: 35px;
    }
    .certificates__item-head span {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.56px;
    }
    .certificates__item-description-info {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.56px;
    }
    .certificates__item-description-info > div:not(:last-child) {
        margin-bottom: 6px;
    }
    .certificates__item-description-recipient {
        margin-bottom: 15px !important;
    }
}

@media all and (max-width: 570px) {
    .my-office__top-theme {
        display: none;
    }
    .contacts-page__info-title {
        display: none;
    }
    .contacts-page__form {
        margin-top: 0;
        width: 100%;
        padding: 20px 10px 42px;
    }
    .contacts-page {
        margin-top: 37px;
        gap: 36px;
    }
    .contacts-page__info-text {
        font-size: 14px;
        line-height: 46px;
    }
    .contacts-page__form-title {
        font-size: 26px;
    }
    .form-input-wrapper.small-field .form-field {
        height: 45px;
        padding: 0 13px;
    }
    .form-input-wrapper.small-field textarea.form-field {
        padding: 15px 13px;
    }

    .modal-body {
        padding: 47px 34px 51px;
    }
    .modal-body__title {
        font-size: 18px;
        line-height: 27px;
        letter-spacing: -0.36px;
        margin-bottom: 10px;
    }
    #documentsModal .modal-body:after {
        right: -440px;
        bottom: -158px;
    }
    .modal-body__description {
        font-size: 14px;
        line-height: 23px;
        letter-spacing: -0.28px;
    }
    #certificateModal .modal-body {
        padding: 36px 32px;
    }
    .modal-close svg {
        width: 20px;
        height: 20px;
    }
    .modal-close {
        top: 10px;
        right: 8px;
    }
    #documentInfoModal .modal-body {
        padding: 30px 20px 43px;
    }
    #documentInfoModal .modal-body__title {
        line-height: 28px;
        margin-bottom: 15px;
    }
    .modal-body__description-list-item {
        font-size: 14px;
        line-height: 20px;
    }
    .modal-body__description-list-item:not(:last-child) {
        margin-bottom: 12px;
    }
    .carousel-item__title.is-mobile span:last-child {
        display: inline-block;
    }
    .carousel-item__title.is-mobile span:first-child {
        display: none;
    }
    .main-slider br {
        display: none;
    }
    .main-slider {
        padding: 36px 11px 54px;
    }
    .main-slider .carousel-item {
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .carousel-item__title {
        font-size: 21px;
        font-weight: 700;
        line-height: 29px;
        margin-bottom: 18px;
        padding: 0 35px;
    }
    .carousel-item__text {
        font-size: 14px;
        line-height: 21px;
        letter-spacing: -0.4px;
        margin-bottom: 64px;
        padding: 0 35px;
    }
    .btn {
        height: 53px;
        font-size: 16px;
    }
    .logout, .login-button {
        display: none;
    }
    #menu_button {
        transform: scale(.771);
    }
    #header {
        padding-top: 24px;
    }
    #footer .logo,
    #header .logo {
        font-size: 34px;
    }
    #footer .logo svg,
    #header .logo svg {
        margin-right: 4px;
        height: 41px;
        width: 42px;
    }
    #content-wrapper {
        padding-top: 84px;
    }
    #menu_list {
        padding-top: 97px;
    }
    #menu_list .page-container {
        gap: 0;
    }
    #menu_list .page-container a {
        letter-spacing: -0.46px;
        font-size: 23px;
        gap: 8px;
    }
    #menu_list .page-container a:before {
        bottom: 7px;
    }
    #menu_list .page-container a:hover:before,
    #menu_list .page-container a.active:before {
        width: 320px;
    }
    #menu_list .page-container a svg {
        width: 18px;
        height: 18px;
    }

    .footer-container {
        padding: 22px 24px 10px;
    }
    .footer-bottom__nav {
        flex-direction: column;
        gap: 20px;
    }
    .footer-bottom__nav a {
        font-size: 14px;
        line-height: 24px;
        letter-spacing: -0.28px;
    }
    .footer-bottom__col:last-child {
        display: none;
    }
    .footer-bottom__col:nth-child(2) {
        width: 100%;
    }
    .footer-bottom__col:nth-child(2):after {
        width: 100%;
        top: -19px;
    }
    .footer-bottom__medias {
        top: -114px;
        left: 0;
    }
    .footer-bottom__col.is-mobile {
        margin-bottom: 133px;
    }
    .footer-container .logo {
        margin-bottom: 6px;
    }
    .footer-bottom__copyright {
        margin-bottom: 13px;
    }
    .master-visa.is-mobile svg {
        height: 25px;
        width: 107px;
    }
    .page-title {
        font-size: 18px;
        font-weight: 400;
        line-height: 25px;
        letter-spacing: -0.36px;
        margin-bottom: 12px;
    }
    .advantages__title {
        margin-bottom: 12px;
    }
    .advantages {
        margin-bottom: 59px;
    }
    .page-description {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.28px;
        margin-bottom: 28px;
    }
    .popular-courses__title {
        margin-bottom: 12px;
    }
    .advantages__items {
        gap: 12px;
        margin-bottom: 22px;
    }
    .advantages__item {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .scroll-text .page-title {
        font-size: 21px;
        line-height: 30px;
    }
    .popular-courses {
        margin-bottom: 66px;
    }
    .tags-wrapper {
        margin-bottom: 41px;
    }
    .specialties-section {
        margin-bottom: 52px;
    }
    .select-tag {
        color: #505050;
        font-size: 15px;
        line-height: 15px;
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 32px;
        background: var(--fourth-background);
        border-radius: 25px 25px 0 0;
        border: 1px solid #D8D8D8;
    }
    .tags-wrapper:not(.open) .select-tag {
        border-radius: 100px;
        box-shadow: var(--tag-shadow);
    }
    .tags-wrapper.open .select-tag {
        color: var(--second-text-color);
        border-bottom: 0;
    }

    .tags-wrapper {
        position: relative;
    }
    .tags-wrapper.open {
        z-index: 3;
    }
    .mobile-tags {
        position: relative;
    }
    .select-tag svg {
        fill: #505050;
        transition: .2s;
        transform: rotate(180deg);
    }
    .tags-wrapper.open .select-tag svg {
        transform: rotate(0deg);
        fill: var(--second-text-color);
    }
    .tags-wrapper .tags {
        display: none;
    }
    .tags-wrapper.open .tags {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        border-radius: 25px;
        border: 1px solid #D8D8D8;
        background: var(--fourth-background);
        box-shadow: var(--tag-shadow);
        padding: 56px 32px 44px;
        max-height: 304px;
        overflow-y: auto;
    }
    .mobile-tags .tag {
        display: block;
        text-align: left;
        box-shadow: none;
        border: 0;
        padding: 15px 0;
        line-height: 15px;
        width: 100%;
    }

    #coursesList .courses-list__items {
        white-space: normal;
        padding: 0 20px;
        overflow: visible;
        margin-bottom: 8px;
    }
    #coursesList .courses-list__item {
        width: 100%;
    }
    #coursesList.carousel .carousel-indicators {
        display: block;
    }
    .form-section__form {
        margin: 26px auto 50px;
        padding: 34px 6px 60px;
    }
    .form-section__form-title {
        margin-bottom: 36px;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.48px;
    }
    .form-input-wrapper label {
        font-size: 14px;
        font-weight: 300;
        line-height: 18px;
        letter-spacing: -0.4px;
        margin-bottom: 6px;
        padding-left: 15px;
    }
    .form-field {
        height: 41px;
        font-size: 14px;
        padding: 0 15px;
    }
    .form-section__form-link {
        font-size: 16px;
    }
    .form-section__form-inputs {
        margin-bottom: 9px;
    }
    .form-section__form .btn {
        margin: 38px auto;
    }
    .form-section__form-input-wrapper:not(:last-child) {
        margin-bottom: 33px;
    }
    .main-page-title {
        font-size: 14px;
        font-weight: 400;
        line-height: 18px;
        letter-spacing: -0.28px;
        margin-bottom: 5px;
    }
    .page-head {
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    .breadcrumbs a svg {
        width: 9px;
        height: 11px;
    }
    .breadcrumbs {
        font-size: 12px;
        line-height: 14px;
        gap: 2px;
    }
    .course-info__theme {
        padding: 16px 11px 30px;
        margin-bottom: 37px;
    }
    .course-info__theme-head__badges {
        position: static;
        gap: 9px;
        margin-bottom: 11px;
    }
    .course-info__theme-description {
        font-size: 13px;
        line-height: 26px;
        letter-spacing: -0.26px;
        margin-bottom: 26px;
    }
    .course-info__theme-head__badge {
        font-size: 12px;
    }
    .course-info__theme-head {
        margin-bottom: 0;
    }
    .course-info__theme-head__title {
        font-size: 14px;
    }
    .course-info__theme-title {
        font-size: 20px;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: -0.4px;
        margin-bottom: 6px;
    }

    .course-info__theme-buttons .btn {
        gap: 3px;
        height: 52px;
        width: 280px;
        font-size: 14px;
        padding: 0;
    }
    .course-info__theme-buttons .btn:last-child {
        gap: 6px;
    }
    .course-info__theme-buttons .btn svg {
        width: 24px;
        height: 24px;
    }
    .course-info__list-item.audience,
    .course-info__list-item {
        width: 100%;
        position: static;
        order: 0;
    }
    .course-info__list-item:not(:last-child) {
        margin-bottom: 18px;
    }

    .courses-content__item-name,
    .page-content .courses-list__item-name {
        padding: 0 13px;
    }
    .courses-content__item-bottom {
        padding: 0 13px;
    }
    .page-content .courses-list__item .courses-list__item-info {
        padding: 18px 13px;
    }

    .order-page__how-get__title {
        font-size: 18px;
        font-weight: 400;
        line-height: 27px;
        letter-spacing: -0.36px;
        margin-bottom: 15px;
        text-align: left !important;
    }
    .order-page__how-get__list {
        gap: 10px;
    }
    .partners-page .order-page__how-get__item,
    .order-page__how-get__item {
        width: 100%;
    }
    .order-page__how-get__item-text {
        font-size: 16px;
        line-height: 28px;
        letter-spacing: -0.32px;
    }
    .how-it-work-page {
        margin: 18px 0 52px;
    }

    .how-it-work-page__faq-title {
        font-size: 18px;
        line-height: 27px;
        letter-spacing: -0.36px;
        margin-bottom: 11px;
    }
    .how-it-work-page__faq-item-head {
        font-size: 14px;
        line-height: 18px;
        padding-bottom: 16px;
    }
    .how-it-work-page__faq-item {
        padding: 0 0 16px;
    }
    .how-it-work-page__faq-item-description {
        font-size: 12px;
    }
    .how-it-work-page__faq-item-head svg {
        width: 20px;
        height: 20px;
    }
    .how-it-work-page .order-page__how-get__list {
        margin-bottom: 52px;
    }
    .partners-page__form {
        padding: 47px 6px 39px;
        margin-bottom: 107px;
    }

    .partners-page__form .btn {
        padding: 0;
        width: 330px;
    }
    .partners-page {
        margin-top: 43px;
    }

    .profile__form {
        padding: 32px 10px;
    }
    .profile__form-input-wrapper input {
        height: 43px;
        font-size: 12px;
        padding: 0 30px;
    }
    .profile__form-input-wrapper label {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 4px;
        padding-left: 0;
    }
    .profile__form-input-wrapper:not(:last-child) {
        margin-bottom: 38px;
    }
    .profile__form-row {
        gap: 38px;
        margin-bottom: 36px;
    }
    .certificate-register__table {
        padding: 0;
    }
    .certificate-register__table th,
    .certificate-register__table td {
        padding: 20px 15px;
    }
    td.certificate-register__table-status {
        padding-right: 50px;
    }

    .certificate-register__save-data {
        font-size: 14px;
        line-height: 25px;
        margin-bottom: 65px;
    }

    .certificate-register__title {
        font-size: 16px;
        font-weight: 400;
        line-height: 30px;
        letter-spacing: -0.32px;
        margin: 10px 0 8px;
    }
    .certificate-register-page {
        margin-bottom: 84px;
    }
    .certificate-register__form input {
        height: 48px;
        font-size: 14px;
        padding-right: 10px;
    }
    .certificate-register__form button {
        transform: translateX(50%);
        top: 58px;
        right: 50%;
    }
}
