

/* Start:/local/templates/medcentrservis/css/custom-fix.css?1768465264176*/
.wysiwyg .image {
    width: 100%;
    margin: 10px 0;
}

section.apply-form {
    margin: 20px 0;
}

.popular-diseases {
    margin: 20px 0px;
}

.mt {
    margin: 20px 0px;
}
/* End */


/* Start:/service/css/direction-page.css?17739141763743*/
/**
 * @file direction-page.css
 * @description Единообразные отступы для страницы направления (index_new.php).
 *              Подключается только на этой странице.
 * @created 2026-03-19
 */

/* --- Единый межблочный отступ: 40px (desktop), 32px (mobile) --- */

.wysiwyg > section,
.wysiwyg > div[id] {
    margin-top: 40px;
    margin-bottom: 0;
}

.wysiwyg > section:first-child,
.wysiwyg > .page-heading:first-child {
    margin-top: 0;
}

.wysiwyg h2,
.wysiwyg .section-heading {
    margin-top: 40px !important;
    margin-bottom: 24px !important;
}

.wysiwyg .section-heading h2 {
    margin: 0 !important;
}

/* --- H1 + навигация: плотный блок без разрывов --- */

.wysiwyg .page-heading + * {
    margin-top: 0;
}

.page-heading__title {
    margin-bottom: 16px !important;
}

.page-anchors-wrapper {
    margin-bottom: 24px;
}

.page-heading + .page-anchors-wrapper {
    margin-top: 0;
}

.page-anchors-wrapper + .page-heading {
    margin-top: 8px;
}

.page-heading .stats {
    margin-top: 0;
}

/* --- Текстовые wrap-left: тот же ритм --- */

.wysiwyg > .wrap-left,
.wysiwyg > section.wrap-left {
    margin-top: 40px;
    margin-bottom: 0;
}

.wysiwyg > .wrap-left:empty,
.wysiwyg > section.wrap-left:empty {
    display: none;
}

/* --- Утилиты --- */

.mt-40 {
    margin-top: 40px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

/* --- Формы (callback, CTA) --- */

section.apply-form,
.wysiwyg section.apply-form {
    margin: 40px 0 0;
}

/* --- Компонентные секции (отзывы и др.) --- */

.wysiwyg .doctors-reviews {
    margin-top: 40px !important;
}

/* WHY: .doctors-reviews__heading имеет margin-top:80px из dist CSS,
   который "проваливается" наружу через margin collapsing */
.wysiwyg .doctors-reviews .doctors-reviews__heading {
    margin-top: 0 !important;
}

.wysiwyg .doctors-reviews h2,
.wysiwyg section[id] > *:first-child > h2:first-child {
    margin-top: 0 !important;
}

/* --- Попапы отзывов: не занимают место в потоке --- */

.wysiwyg > .popup,
.wysiwyg > div.popup {
    margin-top: 0 !important;
}

/* --- Прайсы --- */

.content-nav-heading {
    margin-top: 40px;
}

/* --- Описание/табы --- */

.wysiwyg > .description {
    margin-top: 40px;
}

.wysiwyg .description h2 {
    margin: 10px 0 24px;
}

/* WHY: h2 внутри таба получает margin-top:40px из общего правила,
   но после tabs-controls (margin-bottom:36px) разрыв выходит ~76px */
.wysiwyg .description .tab-element > h2:first-child {
    margin-top: 0 !important;
}

.wysiwyg .appeal {
    margin: 10px 0 24px;
}

/* --- Лицензии --- */

.wysiwyg > .licenses {
    margin-top: 40px;
}

/* --- Мобильные: 32px ритм --- */

@media (max-width: 1023px) {
    .wysiwyg > section,
    .wysiwyg > div[id],
    .wysiwyg > .wrap-left,
    .wysiwyg > section.wrap-left,
    .wysiwyg > .description,
    .wysiwyg .doctors-reviews,
    .content-nav-heading {
        margin-top: 32px !important;
    }

    section.apply-form,
    .wysiwyg section.apply-form {
        margin-top: 32px;
    }

    .wysiwyg h2,
    .wysiwyg .section-heading {
        margin-top: 32px !important;
        margin-bottom: 16px !important;
    }

    .page-heading__title {
        margin-bottom: 12px !important;
    }

    .page-anchors-wrapper {
        margin-bottom: 16px;
    }

    .mt-40 {
        margin-top: 32px !important;
    }

    .mb-40 {
        margin-bottom: 32px !important;
    }
}

/* End */


/* Start:/local/templates/medcentrservis/css/author.css?17580254881994*/
.author-card2 {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 12px;
    padding: 16px;
    margin: 10px 5px 0 0;
    background: #f9f8fb;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    justify-content: flex-end;
}

/* фоновая картинка */
.author-card2 > picture {
    position: absolute;
    top: -75px;
    right: -6px;
    width: 151px;
    height: 151px;
    z-index: -1;
}

.author-card2 > picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
}

/* заголовок/имя автора */
.author-card2 > .strong {
    color: #372648;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

/* блок данных */
.author-card2__data {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px 16px;
}

.author-card2__data span:not([class]) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    color: #9a91ad;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.author-card2__data > .strong {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    color: #372648;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
}

/* аватар */
.author-card2__img {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 52px;
    height: 52px;
    align-self: center;
}

.author-card2__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    -webkit-user-select: none;
    user-select: none;
}

/* теги */
.author-card2__tags {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* модификатор */
.author-card2--blog {
    margin: 80px 0 16px;
}

/* layout секции (минимально необходимое) */
@media (min-width: 523px) {
    section.author-block {
        display: flex;
        align-items: stretch;
    }
}

/* End */
/* /local/templates/medcentrservis/css/custom-fix.css?1768465264176 */
/* /service/css/direction-page.css?17739141763743 */
/* /local/templates/medcentrservis/css/author.css?17580254881994 */
