/* The same link treatment as the theme's .section-text a; no new block design. */
.home .shema_raboty--item-text a,
.home .why-content-items--item-text a,
.home .advantages--item-text a,
.home .faq-answer a {
    color: #ff914d;
    text-decoration: underline;
}

/* Equal bottom edges, independent of line wrapping. */
.home .why-content-row + .why-content-row > div {display:flex;flex-direction:column;height:auto;}
.home .why-content-row + .why-content-row .why-content-items--item {display:flex;flex-direction:column;flex:1;}
.home .why-content-row + .why-content-row .why-content-items--item-text {flex:1;}
/* A document is not a photo: show the entire sheet in the existing frame. */
.home .serts--item-image {height:auto;aspect-ratio:210 / 297;background-size:contain;background-color:#fff;}

@media (max-width:990px) {
    .home .why-content-row + .why-content-row > .why-content-right {height:auto;}
}

/* Mobile homepage hero: override the lazy loader's inline PNG, preserving its geometry. */
@media (max-width:767px) {
    .home .banner-image_bg {background-image:url('../images/newbanner2-mobile.webp') !important;}
}
