

/* Start:/local/components/custom/doctor.detail/templates/.default/style.css?178238071813082*/
/* ==========================================================================
   custom:doctor.detail — стили детальной страницы врача
   Стиль в духе moscow.vetotvet.com
   ========================================================================== */

:root {
    --dr-orange:        #E67725;   /* основной акцент — оранжевый */
    --dr-orange-dark:   #c9621a;
    --dr-orange-light:  #fff4ec;
    --dr-blue:          #1a6fc4;
    --dr-blue-dark:     #0e4d8f;
    --dr-heading:       #1a1a2e;
    --dr-text:          #333333;
    --dr-muted:         #727272;
    --dr-border:        #e0e0e0;
    --dr-bg-light:      #f5f7fa;
    --dr-bg-orange:     #fff4ec;
    --dr-radius:        12px;
    --dr-radius-sm:     6px;
    --dr-transition:    .22s ease;
}

/* ==========================================================================
   ОБЁРТКА СТРАНИЦЫ
   ========================================================================== */
.doctor-page {
    padding: 36px 0 72px;
    font-size: 16px;
    color: var(--dr-text);
    line-height: 1.7;
}

.doctor-page--not-found {
    padding: 80px 0;
    text-align: center;
    color: var(--dr-muted);
    font-size: 18px;
}

/* ==========================================================================
   ХЛЕБНЫЕ КРОШКИ
   ========================================================================== */
.sd-breadcrumbs {
    margin-bottom: 24px;
}

.sd-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--dr-muted);
}

.sd-breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sd-breadcrumbs__link {
    color: var(--dr-orange);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--dr-transition);
}

.sd-breadcrumbs__link:hover {
    color: var(--dr-muted);
    text-decoration: underline;
}

.sd-breadcrumbs__sep {
    color: var(--dr-muted);
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

.sd-breadcrumbs__item--active {
    color: var(--dr-muted);
}

/* ==========================================================================
   HERO: H1 + фото
   ========================================================================== */
.doctor-page__hero {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}

/* ── H1 ── */
.doctor-page__h1 {
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dr-heading);
    margin: 0 0 16px;
}

.doctor-page__h1-specialist {
    display: block;
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 700;
    color: var(--dr-orange);
    margin-bottom: 6px;
}

/* ── Врачебная практика ── */
.doctor-page__practice {
    font-size: 14px;
    color: var(--dr-muted);
    margin: 0 0 20px;
}

/* ── Направления (теги-пули) ── */
.doctor-page__prof-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doctor-page__prof-item {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    color: var(--dr-text);
    line-height: 1.5;
}

.doctor-page__prof-item::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--dr-orange);
    font-weight: 700;
}

/* ── Фото врача ── */
.doctor-page__hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-page__photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.doctor-page__photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 25px;
    box-shadow: 5px 7px 0px 3px rgb(31 111 190);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #1f6fbe47;
    margin: 0 20px 20px 0 ;
}

/* ==========================================================================
   CTA-КНОПКИ (Записаться на приём)
   ========================================================================== */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--dr-orange);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    border: none;
    border-radius: 38px;
    cursor: pointer;
    transition: background var(--dr-transition), transform var(--dr-transition);
}

.btn-primary:hover {
    background: var(--dr-orange-dark);
    transform: translateY(-1px);
}

.doctor-page__photo-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.doctor-page__cta {
    margin-top: 48px;
    text-align: center;
}

.doctor-page__cta-btn {
    padding: 16px 48px;
    font-size: 16px;
}

/* ==========================================================================
   ДЕТАЛЬНЫЙ ТЕКСТ (rich-text, DETAIL_TEXT)
   Разделы: Образование, Опыт работы, Повышение квалификации и т.д.
   ========================================================================== */
.doctor-body {
    margin-bottom: 40px;
}

/* ── H2 — заголовок раздела ── */
.doctor-body h2 {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    color: var(--dr-heading);
    margin: 36px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dr-border);
    position: relative;
}

.doctor-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--dr-orange);
    border-radius: 2px;
}

.doctor-body > *:first-child h2,
.doctor-body h2:first-child {
    margin-top: 0;
}

/* ── H3 ── */
.doctor-body h3 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    color: var(--dr-heading);
    margin: 28px 0 12px;
}

/* ── Параграфы ── */
.doctor-body p {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--dr-text);
}

/* ── Ссылки ── */
.doctor-body a {
    color: var(--dr-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--dr-transition);
}

.doctor-body a:hover {
    color: var(--dr-orange-dark);
}

/* ── UL (хронология, перечень) ── */
.doctor-body ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-body ul li {
    position: relative;
    padding: 10px 16px 10px 42px;
    background: var(--dr-bg-light);
    border-radius: var(--dr-radius-sm);
    border-left: 3px solid var(--dr-orange);
    font-size: 14px;
    line-height: 1.6;
    color: var(--dr-text);
    transition: background var(--dr-transition);
}

.doctor-body ul li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--dr-orange);
    border-radius: 50%;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M8 13.17L4.83 10 3.41 11.41 8 16 17 7l-1.41-1.42z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M8 13.17L4.83 10 3.41 11.41 8 16 17 7l-1.41-1.42z'/%3E%3C/svg%3E");
    -webkit-mask-size: cover;
    mask-size: cover;
}

.doctor-body ul li:hover {
    background: var(--dr-bg-orange);
}

.doctor-body ul li strong {
    font-weight: 700;
    color: var(--dr-heading);
}

/* ── OL ── */
.doctor-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.doctor-body ol li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   СЕКЦИИ (аккордеон)
   ========================================================================== */
.doctor-page__section {
    border-top: 1px solid var(--dr-border);
    margin-bottom: 0;
}

/* ── Кнопка-переключатель ── */
.doctor-section__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: color var(--dr-transition);
}

.doctor-section__toggle:hover {
    color: var(--dr-orange);
}

.doctor-section__toggle-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dr-heading);
    flex: 1;
    text-align: left;
    transition: color var(--dr-transition);
}

.doctor-section__toggle:hover .doctor-section__toggle-title {
    color: var(--dr-orange);
}

.doctor-section__toggle-icon {
    flex-shrink: 0;
    color: var(--dr-orange);
    display: flex;
    align-items: center;
    transition: transform var(--dr-transition);
}

.doctor-section__toggle.is-open .doctor-section__toggle-icon {
    transform: rotate(45deg);
}

/* ── Контент аккордеона ── */
.doctor-certs,
.doctor-reviews {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

/* ==========================================================================
   СЕРТИФИКАТЫ
   ========================================================================== */
.doctor-certs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding: 0 0 24px;
}

.doctor-certs__item {
    display: block;
    border-radius: var(--dr-radius-sm);
    overflow: hidden;
    border: 1px solid var(--dr-border);
    transition: box-shadow var(--dr-transition), transform var(--dr-transition);
    line-height: 0;
}

.doctor-certs__item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.doctor-certs__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   ОТЗЫВЫ
   ========================================================================== */
.doctor-reviews {
    padding-bottom: 0;
}

.doctor-reviews__empty {
    padding: 16px 0 24px;
    color: var(--dr-muted);
    font-size: 14px;
}

/* ==========================================================================
   ЦЕНЫ
   ========================================================================== */
.doctor-prices__heading {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: var(--dr-heading);
    margin: 0 0 20px;
    padding-top: 32px;
}

.doctor-prices__list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-prices__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: #1e5fa6;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    transition: background var(--dr-transition);
}

.doctor-prices__item:hover {
    background: #2874c8;
}

.doctor-prices__name {
    flex: 1;
    font-weight: 400;
}

.doctor-prices__value {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */

/* Планшет */
@media (max-width: 1024px) {
    .doctor-page__hero {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }
}

/* Мобильный */
@media (max-width: 768px) {
    .doctor-page {
        padding: 24px 0 48px;
    }

    /* Hero: колонки в стопку */
    .doctor-page__hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Фото — СВЕРХУ h1 на мобиле */
    .doctor-page__hero-right {
        order: -1;
    }

    .doctor-page__photo {
        max-width: 240px;
        margin: 0 auto;
    }

    .doctor-page__photo-btn {
        max-width: 240px;
    }

    .doctor-certs__grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .doctor-prices__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .doctor-page__cta-btn {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Маленький телефон */
@media (max-width: 480px) {
    .doctor-page__h1 {
        font-size: 20px;
    }

    .doctor-body h2 {
        font-size: 17px;
    }

    .doctor-certs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* End */
/* /local/components/custom/doctor.detail/templates/.default/style.css?178238071813082 */
