/* Боевая /uslugi/vedenie-beremennosti/planirovanie-beremennosti/ */

html {
    scroll-padding-top: calc(var(--yz-header-offset, 220px) + 40px);
}
h2[id],
h3[id],
[id="about"],
[id="benefits"],
[id="indications"],
[id="contraindications"],
[id="specTag"],
[id="doctors"],
[id="faq"],
[id="licenses"],
[id="prep"],
[id="result"],
[id="steps"],
[id="programs"] {
    scroll-margin-top: calc(var(--yz-header-offset, 220px) + 40px);
}

.yz-banner-hero,
.yz-photo-wide {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    border-radius: 8px;
}

.uslugi-banner_wrap#hero .yz-banner-hero.yz-photo-wide {
    margin: 8px 0 0;
}

.yz-prog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 20px;
    align-items: stretch;
}
.yz-prog-card,
.yz-prog-card h3,
.yz-prog-card p {
    text-align: left !important;
}
.yz-prog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--yz-border, #dee0e4);
    border-radius: var(--yz-radius, 10px);
    padding: 16px 18px;
    background: var(--yz-blue-100, rgba(58, 149, 191, 0.1));
    box-sizing: border-box;
    min-width: 0;
}
.yz-prog-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--yz-text, #333);
}
.yz-prog-price {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px;
}
.yz-prog-card .yz-prog-meta {
    font-size: 14px;
    color: #707070;
    margin: 0 0 8px;
}
.yz-prog-grid + .yz-prog-note {
    margin: 12px 0 8px;
    font-size: 13px;
    font-style: italic;
    line-height: 1.45;
    color: #707070;
}
.yz-prog-card .ubtn {
    margin-top: auto;
    align-self: flex-start;
}

.yz-useful-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 24px;
}
.yz-useful-card {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid var(--yz-border, #dee0e4);
    border-radius: var(--yz-radius, 10px);
    padding: 16px;
    background: var(--yz-blue-100, rgba(58, 149, 191, 0.1));
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}
.yz-useful-card .yz-useful-ico {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--yz-blue, #3a95bf);
}
.yz-useful-card span {
    font-weight: 600;
    color: var(--yz-blue, #3a95bf);
}

.yz-fig {
    margin: 0 0 16px;
}
.yz-fig img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.yz-cta-mini {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 16px 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--yz-border, #dee0e4);
    border-radius: var(--yz-radius, 10px);
    background: var(--yz-blue-100, rgba(58, 149, 191, 0.1));
    box-sizing: border-box;
}
.yz-cta-mini p {
    margin: 0;
    flex: 1 1 220px;
    text-align: left !important;
}

.yz-med-note {
    font-size: 13px;
    color: #666;
    margin: 24px 0 8px;
}

@media (max-width: 900px) {
    .yz-prog-grid {
        grid-template-columns: 1fr;
    }
}
