/* body {
    background-color: var(--grey-100);
} */

/* Выравнивает вертикальное расположение текста,
компенсируя излишний line-height первой строки */

/* Двигает только визуальную часть, а не физическое тело элемента */
.special_project_typical .h2_vertical_align h2 {
    transform: translateY(-0.23em);
}


.special_project_typical .h3_vertical_align h3 {
    transform: translateY(-0.18em);
}

.special_project_typical .p_vertical_align p {
    transform: translateY(-0.26em);
}

/* Двигает только визуальную часть И физическое тело элемента */
.special_project_typical .h2_vertical_align_physical h2 {
    margin-top: -0.23em;
}

.special_project_typical .h3_vertical_align_physical h3 {
    margin-top: -0.18em;
}

.special_project_typical .p_vertical_align_physical p {
    margin-top: -0.26em;
}

.special_project_typical .support {
    margin-bottom: 0;
}

/* PAGE CONTENT START */

.special_project_typical .page-content .first-block *,
.special_project_typical .page-content .repeated-block * {
    text-align: left;
}

.page-header-with-image__left {
    justify-content: unset;
}

.page-header-with-image__top a {
    display: flex;
    align-items: center;
    margin-left: 3px;
    font-size: 18px;
    letter-spacing: -0.02em;
    margin-bottom: 63px;
}

.page-header-with-image__bottom {
    margin-top: auto;
}

.page-header-with-image__bottom>p {
    max-width: 400px;
    margin-bottom: 25px;
}

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

/* FIRST BLOCK */

.special_project_typical .page-content .first-block__title {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.special_project_typical .page-content .first-block__left {
    grid-column: 1 / 5;
    padding-right: 30px;
}

.special_project_typical .page-content .first-block__right-top {
    grid-column: 5 / -1;
}


.special_project_typical .page-content .first-block__right-bottom-img {
    grid-column: 5 / 8;
    object-fit: contain;
    width: 100%;
    height: auto;
    padding-right: 30px;
    margin-top: 34px;
}

.special_project_typical .page-content .first-block__right-bottom-text {
    grid-column: 8 / -1;
    display: grid;
    align-items: end;
}

/* REPEATED BLOCK */

.special_project_typical .repeated-block:nth-child(2) {
    padding: 50px 0 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.special_project_typical .repeated-block {
    padding: 50px 0 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.special_project_typical .repeated-block__left-img {
    grid-column: 1 / 8;
    /* object-fit: contain; */
    /* height: auto; */
    object-fit: cover;
    height: 100%;
    width: 100%;
    grid-row: 1 / span 2;
    padding-right: 30px;
}

.special_project_typical .repeated-block__right-title {
    grid-column: 8 / -1;
    grid-row: 1;
    max-width: 600px;
}

.special_project_typical .repeated-block__right-text {
    grid-column: 8 / -1;
    grid-row: 2;
    align-self: end;
    transform: translateY(0.3em);
    margin-bottom: 7px;
}

.special_project_typical .repeated-block__left-img-caption {
    grid-column: 1 / 8;
    grid-row: 3;
    font-size: 16px;
    line-height: 100%;
    padding-right: 30px;
    letter-spacing: -0.015em;
}

/* PRE GALLERY BLOCK */

/* .pre-gallery-block {
    margin-bottom: 64px;
} */

.pre-gallery-block * {
    text-align: left;
}

.pre-gallery-block__quote-sign {
    grid-column: 4 / span 1;
    grid-row: 1;
    align-self: start;
    width: 100%;
}

.pre-gallery-block__left-text {
    grid-column: 1 / span 4;
    grid-row: 2;
    align-self: end;
    margin-bottom: 4px;
    font-size: 22px;
    text-align: right;
    padding-right: 30px;
}

.pre-gallery-block__right-text {
    grid-column: 5 / -1;
    grid-row: 1 / span 2;
}

/* PAGE CONTENT END */

/* AFTER GALLERY BLOCK */
.special_project_typical .after-gallery-block * {
    text-align: left;
}
.special_project_typical .after-gallery-block__left-top-text {
    grid-column: 1 / span 8;
    grid-row: 1;
    padding-right: 30px;
    margin-bottom: 42px;
}

.special_project_typical .after-gallery-block__left-bottom-text {
    grid-column: 1 / span 7;
    grid-row: 2;
}

.special_project_typical .after-gallery-block__left-right-text {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
}

/* AFTER GALLERY BLOCK END */


.special_project_typical .gallery {
    margin-bottom: 80px;
}

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

.support.sp-support {
    margin-bottom: 0;
}