

/* Start:/local/components/custom/content.page/templates/.default/style.css?178242634310975*/
/* =========================================================
   custom:content.page — стили компонента
   Стиль в духе moscow.vetotvet.com
   ========================================================= */

/* ---- Переменные ---- */
:root {
    --cp-color-primary:  #1a6fc4;
    --cp-color-primary-dark: #0e4d8f;
    --cp-color-heading:  #1a1a2e;
    --cp-color-text:     #333;
    --cp-color-muted:    #888;
    --cp-color-border:   #e0e0e0;
    --cp-color-bg-light: #f5f7fa;
    --cp-color-bg-blue:  #f0f6ff;
    --cp-color-accent:   #ef801c;     /* жёлтый акцент как на vetotvet */
    --cp-radius:         10px;
    --cp-radius-sm:      6px;
}

/* ── Breadcrumbs ─────────────────────────────────────────── */
.sd-breadcrumbs__list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: #E67725;
}
.sd-breadcrumbs__link {
    color: #E67725;
    text-decoration: none;
    transition: color .2s;
}
.sd-breadcrumbs__link:hover { color: #727272; }
.sd-breadcrumbs__sep { margin: 0 2px; }
.sd-breadcrumbs__item--active { color: #727272; }

/* =========================================================
   ОБЁРТКА СТРАНИЦЫ
   ========================================================= */
.content-page {
    padding: 40px 0 70px;
}

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

/* =========================================================
   H1
   ========================================================= */
.content-page__title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--cp-color-heading);
    margin: 0 0 36px;
}

/* =========================================================
   HERO-БЛОК: текст слева / картинка справа
   Показывается только когда загружена DETAIL_PICTURE
   ========================================================= */
.content-page__hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    margin-bottom: 48px;
    grid-auto-flow: row;
    align-content: start;
    justify-items: start;
}

.content-page__hero-text {
    /* текстовая колонка */
}

.content-page__lead {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
    color: var(--cp-color-text);
    margin: 0;
}

.content-page__hero-image {
    /* правая колонка */
    border-radius: var(--cp-radius);
    overflow: hidden;
    line-height: 0;           /* убираем зазор под img */
}

.content-page__hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--cp-radius);
}

/* =========================================================
   ДЕТАЛЬНОЕ ОПИСАНИЕ (rich-text из редактора)
   ========================================================= */
.content-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--cp-color-text);
}

/* --- H2 — главный акцент разделов, как на vetotvet.com --- */
.content-body h2 {
    position: relative;
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--cp-color-heading);
    margin: 48px 0 20px;
    padding-bottom: 14px;
}

/* Подчёркивание: синяя полоса + жёлтый акцент */
.content-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-color-accent) 60%, var(--cp-color-accent) 100%);
    border-radius: 2px;
}

/* Первый h2 без верхнего отступа */
.content-body > *:first-child h2,
.content-body h2:first-child {
    margin-top: 0;
}

/* --- H3 --- */
.content-body h3 {
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--cp-color-heading);
    margin: 36px 0 14px;
}

/* --- Параграфы --- */
.content-body p {
    margin: 0 0 18px;
}

/* --- Ссылки --- */
.content-body a {
    color: var(--cp-color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}
.content-body a:hover {
    color: var(--cp-color-primary-dark);
}

/* =========================================================
   СПИСКИ ul/li/strong — стиль vetotvet.com
   ========================================================= */
.content-body ul {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.content-body ul li {
    position: relative;
    padding: 12px 16px 12px 52px;
    margin-bottom: 10px;
    background: var(--cp-color-bg-light);
    border-radius: var(--cp-radius-sm);
    font-size: 15px;
    line-height: 1.6;
    color: var(--cp-color-text);
    transition: background .2s, border-color .2s;
}

/* Иконка-маркер */
.content-body ul li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--cp-color-primary);
    border-radius: 50%;
    /* Галочка SVG */
    -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;
}

.content-body ul li:hover {
    background: #e8f0fb;
    border-color: var(--cp-color-primary-dark);
}

/* strong внутри li — жирный текст с цветом акцента */
.content-body ul li strong,
.content-body ul li > strong:first-child {
    color: var(--cp-color-heading);
    font-weight: 700;
}

/* --- ol --- */
.content-body ol {
    margin: 0 0 24px;
    padding-left: 28px;
}
.content-body ol li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================================
   ВЛОЖЕННЫЕ DIV-БЛОКИ (about__intro, about__unique и т.д.)
   ========================================================= */

/* Общий стиль для смысловых блоков */
.content-body [class*="about__"],
.content-body .content-block {
    margin-bottom: 40px;
}

/* Lead-абзац (intro) */
.content-body .about__lead,
.content-body .content-page__lead {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.75;
    color: #555;
    border-left: 4px solid var(--cp-color-accent);
    padding: 16px 20px;
    background: var(--cp-color-bg-blue);
    border-radius: 0 var(--cp-radius-sm) var(--cp-radius-sm) 0;
    margin-bottom: 36px;
}

/* CTA-блок */
.content-body .about__cta {
    background: #1e5fa6;
    color: #fff;
    border-radius: var(--cp-radius);
    padding: 36px 40px;
    margin-top: 48px;
}
.content-body .about__cta h2 {
    color: #fff;
    margin-top: 0;
}
.content-body .about__cta h2::after {
    background: linear-gradient(90deg, var(--cp-color-accent) 60%, var(--cp-color-primary) 100%);
}
.content-body .about__cta p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
}
.content-body .about__cta a {
    color: var(--cp-color-accent);
}
.content-body .about__cta a:hover {
    color: #fff;
}

/* =========================================================
   БЛОК СТАТИСТИКИ (stats-grid / stat)
   ========================================================= */
.content-body .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 24px;
    grid-auto-flow: column;
}

.content-body .stat {
    background: var(--cp-color-bg-light);
    border: 1px solid var(--cp-color-border);
    border-radius: var(--cp-radius);
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
}
.content-body .stat:hover {
    box-shadow: 0 6px 24px rgba(26,111,196,.12);
    transform: translateY(-2px);
}

.content-body .stat__number {
    display: block;
    font-size: clamp(28px, 4vw, 24px);
    font-weight: 800;
    color: var(--cp-color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.content-body .stat__label {
    display: block;
    font-size: 13px;
    color: var(--cp-color-muted);
    line-height: 1.4;
}

/* =========================================================
   ПРОЧИЕ RICH-TEXT ЭЛЕМЕНТЫ
   ========================================================= */
.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--cp-radius);
    margin: 12px 0;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 15px;
}
.content-body table th,
.content-body table td {
    border: 1px solid var(--cp-color-border);
    padding: 10px 14px;
    text-align: left;
}
.content-body table th {
    background: var(--cp-color-bg-light);
    font-weight: 600;
    color: var(--cp-color-heading);
}

.content-body blockquote {
    border-left: 4px solid var(--cp-color-primary);
    margin: 24px 0;
    padding: 12px 20px;
    background: var(--cp-color-bg-blue);
    color: #444;
    font-style: italic;
    border-radius: 0 var(--cp-radius-sm) var(--cp-radius-sm) 0;
}

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

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

/* Мобильный — Hero: картинка снизу */
@media (max-width: 768px) {
    .content-page {
        padding: 24px 0 48px;
    }

    .content-page__title {
        margin-bottom: 24px;
    }

    /* Картинка уходит под текст и занимает всю ширину */
    .content-page__hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .content-page__hero-image {
        order: -1;          /* на мобиле картинка СВЕРХУ (можно убрать для «снизу») */
    }

    .content-body ul li {
        padding: 10px 12px 10px 44px;
    }

    .content-body .about__cta {
        padding: 24px 20px;
    }

    .content-body .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Маленький телефон */
@media (max-width: 480px) {
    .content-body .stats-grid {
        grid-template-columns: 1fr;
    }

    .content-body h2 {
        margin-top: 36px;
    }
}

/* End */
/* /local/components/custom/content.page/templates/.default/style.css?178242634310975 */
