/* Расширяемые коллекции не зависят от исходного количества карточек. Для исходных данных правила не меняют макет. */
.price-snowflakes:has(>:nth-child(6)){height:auto!important;min-height:113px;row-gap:24px!important;padding-block:24px!important}
.price-factors:has(>:nth-child(3)){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px!important}
.price-intro:has(.price-factors>:nth-child(3)),.about-service:has(.about-service-copy>h3:nth-of-type(4)),.warranty-reasons:has(.warranty-row>div>p:nth-child(5)),.service-offer:has(.service-offer-list>ul:nth-child(3)){height:auto!important;min-height:0!important}
.service-offer-list:has(>ul:nth-child(3)){flex-wrap:wrap;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.phone-band:has(p>a:nth-child(3)){height:auto!important;min-height:0!important}
.phone-band p>a:nth-child(n+3){display:block}
.benefits:has(>.wp-block-column:nth-child(4)),.service-cards:has(>.wp-block-column:nth-child(4)){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px!important}
.benefits-section:has(.benefits>.wp-block-column:nth-child(4)),.service-cards-section:has(.service-cards>.wp-block-column:nth-child(4)){height:auto!important;min-height:0!important}
.work-scheme:has(.steps-flow>.step:nth-of-type(6)){height:auto!important;min-height:0!important}
.steps-flow:has(>.step:nth-of-type(6)){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:24px!important}
.steps-flow:has(>.step:nth-of-type(6))>.step{grid-column:auto!important;grid-row:auto!important;width:auto!important}
.steps-flow:has(>.step:nth-of-type(6))>.step-arrow{display:none!important}
.steps-flow:has(>.step:nth-of-type(6))>.step img{width:110px!important;height:110px!important;object-fit:contain!important;margin:0 auto!important}
.coverage-zones:has(>.coverage-zone:nth-child(4)){height:auto!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.coverage-table:has(.coverage-zone:nth-child(4)){height:auto!important;min-height:0!important}
@media(max-width:781px){.benefits:has(>.wp-block-column:nth-child(4)),.service-cards:has(>.wp-block-column:nth-child(4)){grid-template-columns:1fr!important}.steps-flow:has(>.step:nth-of-type(6)){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
