@media screen and (max-width: 1440px) {
    .thank-you__left {
        grid-column: 1 / span 7;
    }

    .thank-you__right {
        grid-column: 8 / span 5;
    }

    .other-cards-block .card-link a h3 {
        font-size: clamp(1.875rem, 0.337rem + 2.4vw, 2.5rem);
    }
}

@media screen and (max-width: 1024px) {
    .special_project_typical .page-content .first-block__title {
        grid-column: 1 / -1;
    }

    .special_project_typical .page-content .first-block__left {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 71px;
    }

    .special_project_typical .page-content .first-block__right-top {
        grid-column: 1 / -1;
        font-size: 52px;
        line-height: 103%;
    }

    .special_project_typical .page-content .first-block__right-bottom-img {
        grid-column: 2 / 4;
        padding-right: 0;
        margin-top: 18px;
        margin-bottom: 42px;
    }

    .special_project_typical .page-content .first-block__right-bottom-text {
        grid-column: 1 / -1;
    }

    .page-header-with-image__top a {
        font-size: 16px;
        margin-top: 4px;
        letter-spacing: 0.005em;
        margin-bottom: 37px;
    }

    .page-header-with-image__top svg {
        max-width: 12px;
        margin-right: 4px !important;
    }

    .page-header-with-image__top {
        margin-bottom: 14px;
    }

    .page-header-with-image__bottom>p {
        font-size: 18px;
        max-width: 350px;
        letter-spacing: 0;
    }

    .page-header-with-image {
        margin-bottom: 70px;
    }

    .other-cards-block .card-link a h3 {
        font-size: 40px;
    }

    .other-cards-block .card a.link {
        margin-bottom: -4px;
    }

    .thank-you__left {
        grid-column: 1 / -1;
    }

    .thank-you__right {
        grid-column: 1 / -1;
    }

}

@media screen and (max-width: 375px) {
    .special_project_typical .page-content .first-block__right-bottom-img {
        grid-column: 1 / -1;
    }
}

/* REPEATED BLOCK */

@media screen and (max-width: 1024px) {
    .special_project_typical .repeated-block {
        padding: 40px 0;
        display: flex;
        flex-direction: column;
    }

    .special_project_typical .repeated-block__left-img {
        grid-column: 1 / -1;
        padding-right: 0;
        grid-row: unset;
        order: 1;
        height: 412px;
        margin-bottom: 7px;
    }

    .special_project_typical .repeated-block__right-title {
        grid-column: 1 / -1;
        font-size: 32px;
        letter-spacing: -0.01em;
        line-height: 110%;
        margin-bottom: -3px;
    }

    .special_project_typical .repeated-block__right-text {
        grid-column: 1 / -1;
        margin-bottom: 36px;
    }

    .special_project_typical .repeated-block__left-img-caption {
        grid-column: 1 / -1;
        order: 2;
        font-size: 14px;
        letter-spacing: 0.005em;
    }

    .special_project_typical .repeated-block:nth-child(2) {
        padding: 37px 0 40px 0;
    }

    .page-content {
        margin-bottom: 132px;
    }

    .special_project_typical .h2_vertical_align_physical h2 {
        font-size: 52px;
        line-height: 100%;
    }

    .pre-gallery-block.grid-container {
        margin-bottom: 64px;
        display: flex;
        flex-direction: column;
        /*padding-top: 54px;*/
    }

    .pre-gallery-block__quote-sign {
        width: auto;
        margin: 0 auto 26px auto;
    }

    .pre-gallery-block__left-text {
        text-align: left;
        order: 2;
        align-self: start;
        font-size: 20px;
    }

    .pre-gallery-block__right-text {
        margin-bottom: 25px;
    }

    .special_project_typical {
        margin-bottom: 120px;
    }
}

@media screen and (max-width: 375px) {
    .special_project_typical .repeated-block {
        padding: 32px 0;
    }
}

/* AFTER GALLERY BLOCK START */

@media screen and (max-width: 768px) {
    .special_project_typical .after-gallery-block__left-top-text {
        grid-column: 1 / -1;
        grid-row: 1;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .special_project_typical .after-gallery-block__left-bottom-text {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 30px;
    }

    .special_project_typical .after-gallery-block__left-right-text {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

/* AFTER GALLERY BLOCK END */


/* SUPPORT CARD MEDIA START */

@media screen and (max-width: 1024px) {
    .special_project_typical .support {
        position: relative;
        margin-bottom: 0;
        padding-bottom: 194px;
    }

    .special_project_typical .support__left-bottom {
        margin-bottom: 0;
        position: absolute;
        bottom: 118px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .special_project_typical .support {
        padding-bottom: 160px;
    }

    .special_project_typical .support__left-bottom {
        bottom: 70px;
    }
}

/* SUPPORT CARD MEDIA END */

@media screen and (max-width: 768px) {
    .special_project_typical .gallery {
        margin-bottom: 64px;
    }
}

@media screen and (max-width: 375px) {
    .special_project_typical .gallery {
        margin-bottom: 80px;
    }
}

@media screen and (max-width: 576px) {
    .page-header-with-image__left {
        padding-top: 95px;
    }

    .page-header-with-image__left {
        min-height: 380px;
    }

    .page-header-with-image__bottom-tags {
        justify-content: start;
    }

    .page-header-with-image__top a {
        font-size: 14px;
    }

    .page-header-with-image__bottom>p {
        font-size: 16px;
        max-width: 300px;
        letter-spacing: 0.005em;
    }

    .page-header-with-image__right {
        flex: 1 0 0 !important;
    }

    .special_project_typical .page-content .first-block__title {
        margin-bottom: 8px;
    }

    .special_project_typical .page-content .first-block__right-top {
        font-size: 22px;
    }

    .special_project_typical .page-content .first-block__left {
        margin-bottom: 40px;
    }

    .special_project_typical .page-content .first-block__right-top {
        letter-spacing: 0;
        line-height: 118%;
    }

    .special_project_typical .page-content .first-block__right-bottom-img {
        margin-top: 2px;
        margin-bottom: 18px;
    }

    .special_project_typical .page-content .first-block__right-bottom-text * {
        font-size: 14px;
        letter-spacing: 0.005em;
        line-height: 122%;
    }

    .special_project_typical .page-content .first-block__right-bottom-text b {
        font-weight: 400;
    }

    .first-block {
        /*margin-bottom: 44px;*/
    }

    .special_project_typical .repeated-block__right-title {
        font-size: 28px;
        letter-spacing: 0;
        line-height: 100%;
        margin-bottom: -6px;
    }

    .special_project_typical .repeated-block:nth-child(2) {
        padding: 30px 0 31px 0;
    }

    .special_project_typical .repeated-block__right-text {
        font-size: 16px;
        letter-spacing: 0.005em;
        margin-bottom: 20px;
    }

    .special_project_typical .repeated-block__left-img {
        height: 196px;
        margin-bottom: 0;
    }

    .special_project_typical .repeated-block__left-img-caption {
        line-height: 112%;
    }

    .pre-gallery-block__quote-sign {
        max-width: 56px;
        margin-bottom: 14px;
    }

    .page-content {
        margin-bottom: 85px;
    }

    .pre-gallery-block__right-text {
        font-size: 22px !important;
        letter-spacing: 0;
        line-height: 117% !important;
        margin-bottom: 7px;
    }

    .pre-gallery-block__left-text {
        font-size: 14px;
        padding-right: 0;
        letter-spacing: 0.005em;
    }

    .pre-gallery-block {
        margin-bottom: 35px;
    }

    .special_project_typical .after-gallery-block * {
        font-size: 16px;
        letter-spacing: 0.005em;
    }

    .special_project_typical .after-gallery-block__left-top-text {
        margin-bottom: 17px;
    }

    .special_project_typical .after-gallery-block__left-bottom-text {
        margin-bottom: 15px;
    }

    .special_project_typical {
        margin-bottom: 79px;
    }

    .thank-you__left-header {
        font-size: 28px;
    }

    .thank-you__left {
        padding: 35px 0;
        padding-bottom: 39px;
    }

    .thank-you__left-img {
        max-width: 55px;
    }

    .thank-you__left-text {
        font-size: 16px;
    }

    .thank-you__right-header-with-arrow>h3 {
        font-size: 28px;
        line-height: 100%;
    }

    .thank-you__right {
        padding: 23px 0;
    }

    .thank-you__right-header-with-arrow {
        align-items: flex-start;
        gap: 12px;
    }

    .thank-you__right-header-with-arrow img {
        max-width: 18px;
        margin-top: 4px;
        margin-right: 4px;
    }

    .thank-you__right-text {
        font-size: 16px;
        padding-top: 63px;
    }

    .thank-you {
        margin-bottom: 81px;
    }

    .other-cards-block .card>* {
        padding-left: 8px;
    }

    .other-cards-block .card a.link {
        margin-top: 40px;
    }

    .other-cards-block .card {
        padding-bottom: 20px;
        min-height: unset;
    }

    .other-cards-block .card-link a h3 {
        font-size: 28px;
        line-height: 110%;
    }

    .other-cards-block .card-link a .top-title {
        align-items: flex-start;
    }

    .other-cards-block .card-link a img {
        margin-top: 8px;
    }

    .pre-gallery-block.grid-container {
        padding-top: 6px;
        margin-bottom: 34px;
    }
}