/* LClinic modern design layer v2.0.1 (2026-09-05) — подключается в header-single.php после стилей темы */

/* ############################################################################
   ############################################################################
   ##                                                                        ##
   ##          V2.0 — СОВРЕМЕННЫЙ ВИЗУАЛЬНЫЙ СЛОЙ (2026-09-05)               ##
   ##      Скругления · тени · стекло · Golos Text · плавность                ##
   ##                                                                        ##
   ############################################################################
   ############################################################################ */

/* --------------------------------------------------------------------------
   1. Шрифт Golos Text — самохостинг (variable 400–900)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('https://milleniummedc.ru/wp-content/uploads/fonts/golos-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('https://milleniummedc.ru/wp-content/uploads/fonts/golos-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Дизайн-токены
   -------------------------------------------------------------------------- */
:root {
    /* Палитра клиники (сохранена, оттенки освежены) */
    --lcl-navy: #243d57;          /* основной тёмно-синий (как был) */
    --lcl-navy-deep: #1b2f44;     /* глубже — футер, топбар */
    --lcl-navy-soft: #3d5a7a;     /* мягкий синий для второстепенного */
    --lcl-gold: #cdb471;          /* фирменное золото (как было) */
    --lcl-gold-bright: #dcc489;   /* светлее — градиенты */
    --lcl-gold-deep: #b89b56;     /* темнее — hover */
    --lcl-bg: #f4f6fa;            /* фон страницы — холодный светлый */
    --lcl-surface: rgba(255, 255, 255, 0.82);  /* стеклянная карточка */
    --lcl-surface-solid: #ffffff;
    --lcl-border: rgba(36, 61, 87, 0.10);
    --lcl-text: #2b3a4d;
    --lcl-text-muted: #5d6b7d;

    /* Радиусы */
    --lcl-r-sm: 10px;
    --lcl-r: 16px;
    --lcl-r-lg: 22px;
    --lcl-r-pill: 999px;

    /* Тени */
    --lcl-shadow-sm: 0 1px 2px rgba(27, 47, 68, 0.06), 0 2px 8px rgba(27, 47, 68, 0.06);
    --lcl-shadow: 0 2px 6px rgba(27, 47, 68, 0.07), 0 12px 32px rgba(27, 47, 68, 0.10);
    --lcl-shadow-lg: 0 4px 12px rgba(27, 47, 68, 0.10), 0 24px 56px rgba(27, 47, 68, 0.14);
    --lcl-ring: 0 0 0 3px rgba(205, 180, 113, 0.35);

    /* Движение */
    --lcl-ease: cubic-bezier(0.33, 1, 0.68, 1);
    --lcl-t: 0.28s var(--lcl-ease);
}

/* --------------------------------------------------------------------------
   3. База: шрифт, сглаживание, плавность, фокус
   -------------------------------------------------------------------------- */
body,
body .wf-container,
.masthead,
.footer,
.page-title,
.entry-content,
.comment-form,
.wpb_text_column,
.widget,
button,
input,
select,
textarea {
    font-family: 'Golos Text', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

/* scroll-behavior убран (V6b): вместе с SmoothScroll создавал ощущение медленной прокрутки */

body {
    background: var(--lcl-bg);
    color: var(--lcl-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    line-height: 1.7;
}

::selection {
    background: rgba(205, 180, 113, 0.45);
    color: var(--lcl-navy-deep);
}

/* Заголовки — крупнее, плотнее, с фирменным начертанием */
h1, h2, h3, h4, h5, h6,
.entry-title,
.heading-color {
    font-family: 'Golos Text', 'Segoe UI', system-ui, sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lcl-navy);
}

/* Плавность для всех интерактивных элементов */
a,
button,
.dt-btn,
input,
select,
textarea,
.aio-icon-box,
.lclinic-article-card,
.single-review,
.wpb_column > .vc_column-inner {
    transition: background-color var(--lcl-t), color var(--lcl-t),
                border-color var(--lcl-t), box-shadow var(--lcl-t),
                transform var(--lcl-t), opacity var(--lcl-t);
}

/* Доступный фокус */
a:focus-visible,
button:focus-visible,
.dt-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--lcl-ring);
    border-radius: var(--lcl-r-sm);
}

/* Тонкий современный скроллбар (WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(36, 61, 87, 0.25);
    border-radius: 999px;
    border: 2px solid var(--lcl-bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(36, 61, 87, 0.4); }

/* Уважение к reduced-motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   4. Шапка сайта: топбар + меню
   -------------------------------------------------------------------------- */
.top-bar {
    background: var(--lcl-navy-deep);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
}

.top-bar a,
.top-bar .mini-wp-login,
.top-bar .mini-contacts,
.top-bar span,
.top-bar i {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--lcl-gold-bright);
}

.top-bar .top-bar-text,
.top-bar .mini-contacts i {
    color: var(--lcl-gold-bright);
}

/* Стеклянная липнущая шапка */
.masthead {
    background: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
}

.phantom-sticky .masthead {
    box-shadow: var(--lcl-shadow-sm);
}

/* Меню: аккуратные «пилюли» с золотым ховером */
.masthead .navigation > ul > li > a,
.masthead .mini-nav > ul > li > a {
    border-radius: var(--lcl-r-pill);
    position: relative;
}

.masthead .navigation > ul > li > a > span.menu-text {
    position: relative;
}

.masthead .navigation > ul > li > a > span.menu-text::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--lcl-gold);
    transform: translateX(-50%);
    transition: width var(--lcl-t);
}

.masthead .navigation > ul > li:hover > a > span.menu-text::after,
.masthead .navigation > ul > li.act > a > span.menu-text::after {
    width: 60%;
}

/* Выпадающие меню */
.masthead .navigation ul.sub-nav,
.masthead .mini-nav ul.sub-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow);
    border: 1px solid var(--lcl-border);
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   5. Кнопки: золотые «пилюли» с градиентом
   -------------------------------------------------------------------------- */
.dt-btn,
.dt-btn-s,
button.dt-btn,
.vc_btn3,
.vc_general.vc_btn3,
.appointment-form .submit-btn,
.lclinic-appt-form button[type="submit"],
input[type="submit"].dt-btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: var(--lcl-r-pill) !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--lcl-gold-bright) 0%, var(--lcl-gold) 55%, var(--lcl-gold-deep) 100%);
    color: var(--lcl-navy-deep) !important;
    box-shadow: 0 4px 14px rgba(184, 155, 86, 0.35);
}

.dt-btn:hover,
.vc_general.vc_btn3:hover,
.appointment-form .submit-btn:hover,
.lclinic-appt-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 155, 86, 0.45);
    filter: brightness(1.04);
}

.dt-btn:active,
.vc_general.vc_btn3:active {
    transform: translateY(0);
}

/* Вторичная (контурная) кнопка */
.dt-btn.dt-btn-m.btn-outline,
.vc_btn3.vc_btn3-style-outline {
    background: transparent;
    color: var(--lcl-navy) !important;
    box-shadow: inset 0 0 0 2px var(--lcl-gold);
}

/* --------------------------------------------------------------------------
   6. Полоса заголовка страницы + хлебные крошки
   -------------------------------------------------------------------------- */
.page-title {
    background:
        radial-gradient(1200px 300px at 85% -40%, rgba(205, 180, 113, 0.18), transparent 60%),
        linear-gradient(135deg, #eef2f8 0%, #f7f4ec 100%);
    border-bottom: 1px solid var(--lcl-border);
}

.page-title .page-title-head h1 {
    font-weight: 800;
}

/* Хлебные крошки — пилюли */
.breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.breadcrumbs li {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-pill);
    padding: 2px 12px;
    transition: background var(--lcl-t), border-color var(--lcl-t);
}

.breadcrumbs li:hover {
    background: #fff;
    border-color: rgba(205, 180, 113, 0.5);
}

.breadcrumbs li.current {
    background: var(--lcl-navy);
    border-color: var(--lcl-navy);
}

.breadcrumbs li.current span {
    color: var(--lcl-gold-bright);
}

/* --------------------------------------------------------------------------
   7. Контент: типографика записей и страниц
   -------------------------------------------------------------------------- */
.entry-content,
.the7-body-text,
.comment-content {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--lcl-text);
}

.entry-content a:not(.dt-btn):not(.vc_btn3) {
    color: var(--lcl-navy-soft);
    text-decoration: none;
    background-image: linear-gradient(var(--lcl-gold), var(--lcl-gold));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    transition: color var(--lcl-t), background-size var(--lcl-t);
}

.entry-content a:not(.dt-btn):not(.vc_btn3):hover {
    color: var(--lcl-gold-deep);
    background-size: 100% 100%;
    border-radius: 3px;
}

/* Смысловые разделы статей — с золотой засечкой */
.entry-content h2 {
    position: relative;
    margin: 1.6em 0 0.7em;
    padding-left: 18px;
    font-size: 1.45em;
    line-height: 1.35;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 5px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

.entry-content h3 {
    margin: 1.4em 0 0.6em;
    font-size: 1.2em;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4em;
}

.entry-content ul li::marker { color: var(--lcl-gold-deep); }
.entry-content ol li::marker { color: var(--lcl-gold-deep); font-weight: 700; }

.entry-content li {
    margin-bottom: 0.45em;
}

.entry-content blockquote {
    margin: 1.4em 0;
    padding: 18px 24px;
    background: rgba(205, 180, 113, 0.10);
    border-left: 4px solid var(--lcl-gold);
    border-radius: 0 var(--lcl-r) var(--lcl-r) 0;
    color: var(--lcl-navy);
    font-style: normal;
}

/* Изображения в контенте */
.entry-content img,
.wpb_text_column img {
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
}

/* Таблицы (цены и др.) */
.entry-content table,
.wpb_text_column table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r);
    overflow: hidden;
    box-shadow: var(--lcl-shadow-sm);
    background: var(--lcl-surface-solid);
    font-size: 15px;
}

.entry-content table th,
.wpb_text_column table th {
    background: var(--lcl-navy);
    color: #fff;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border: none;
}

.entry-content table td,
.wpb_text_column table td {
    padding: 11px 16px;
    border: none;
    border-bottom: 1px solid rgba(36, 61, 87, 0.07);
}

.entry-content table tr:last-child td { border-bottom: none; }
.entry-content table tbody tr { transition: background var(--lcl-t); }
.entry-content table tbody tr:hover { background: rgba(205, 180, 113, 0.08); }

/* --------------------------------------------------------------------------
   8. Главная: карточки направлений (aio-icon-box)
   -------------------------------------------------------------------------- */
.aio-icon-box {
    background: var(--lcl-surface);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 26px 20px !important;
    height: 100%;
}

.aio-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.55);
}

.aio-icon-box .aio-icon-img .img-icon,
.aio-icon-box .aio-icon {
    border-radius: 18px !important;
}

.aio-icon-box .aio-icon-header .aio-icon-title {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    color: var(--lcl-navy);
}

/* Общий заголовок секций (uvc-heading) */
.uvc-main-heading h2,
.uvc-main-heading h3,
.uvc-heading h2,
.uvc-heading h3 {
    font-family: 'Golos Text', sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   9. Карточки новостей/статей (lclinic) — современный вид
   -------------------------------------------------------------------------- */
.lclinic-articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.lclinic-article-card {
    display: flex;
    flex-direction: column;
    background: var(--lcl-surface);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
    box-shadow: var(--lcl-shadow-sm);
    margin-bottom: 0 !important;
}

.lclinic-article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}

.lclinic-article-card .lclinic-article-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #e8edf5, #f3eee1);
}

.lclinic-article-card .lclinic-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--lcl-ease);
}

.lclinic-article-card:hover .lclinic-article-thumb img {
    transform: scale(1.06);
}

.lclinic-article-card .lclinic-article-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.lclinic-article-card .lclinic-article-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.lclinic-article-card .lclinic-article-date,
.lclinic-article-card .lclinic-article-cat {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lclinic-article-card .lclinic-article-date { color: var(--lcl-text-muted); }

.lclinic-article-card .lclinic-article-cat {
    color: var(--lcl-gold-deep);
    background: rgba(205, 180, 113, 0.16);
    border-radius: var(--lcl-r-pill);
    padding: 3px 10px;
}

.lclinic-article-card .lclinic-article-title {
    font-family: 'Golos Text', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.lclinic-article-card .lclinic-article-title a {
    color: var(--lcl-navy);
    text-decoration: none;
}

.lclinic-article-card .lclinic-article-title a:hover {
    color: var(--lcl-gold-deep);
}

.lclinic-article-card .lclinic-article-excerpt {
    color: var(--lcl-text-muted);
    font-size: 14.5px;
    line-height: 1.65;
    flex: 1;
}

.lclinic-article-card .lclinic-article-readmore {
    margin-top: 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--lcl-gold-deep);
    text-decoration: none;
}

.lclinic-article-card .lclinic-article-readmore:hover {
    color: var(--lcl-navy);
}

/* Пагинация */
.lclinic-pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    margin: 3px;
    border-radius: var(--lcl-r-pill);
    border: 1px solid var(--lcl-border);
    background: var(--lcl-surface-solid);
    color: var(--lcl-navy);
    text-decoration: none;
    font-weight: 600;
}

.lclinic-pagination .page-numbers.current {
    background: var(--lcl-navy);
    color: var(--lcl-gold-bright);
    border-color: var(--lcl-navy);
}

.lclinic-pagination .page-numbers:hover:not(.current) {
    border-color: var(--lcl-gold);
    background: rgba(205, 180, 113, 0.12);
}

/* --------------------------------------------------------------------------
   10. Одиночная новость (статья)
   -------------------------------------------------------------------------- */
.single-post .entry-content {
    background: var(--lcl-surface);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 34px 38px;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .single-post .entry-content {
        padding: 20px 16px;
    }
}

/* Мета-строка (дата, категория, автор) */
.single-post .entry-meta .category-link a,
.single-post .entry-meta .data-link,
.single-post .entry-meta .fn {
    background: rgba(205, 180, 113, 0.14);
    border-radius: var(--lcl-r-pill);
    padding: 3px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--lcl-navy-soft);
}

/* Похожие записи — «Читайте также» */
.single-related-posts {
    margin-top: 34px;
    padding: 26px 28px;
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
}

.single-related-posts > h3 {
    font-family: 'Golos Text', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--lcl-navy);
    margin: 0 0 18px;
    padding-left: 16px;
    position: relative;
}

.single-related-posts > h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

.single-related-posts .items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.single-related-posts .related-item {
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r);
    overflow: hidden;
    box-shadow: var(--lcl-shadow-sm);
    transition: transform var(--lcl-t), box-shadow var(--lcl-t);
    padding: 0 !important;
}

.single-related-posts .related-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
}

.single-related-posts .related-item .post-thumbnail img {
    border-radius: 0;
    width: 100%;
}

.single-related-posts .related-item .entry-title a {
    color: var(--lcl-navy);
}

.single-related-posts .related-item .entry-title a:hover {
    color: var(--lcl-gold-deep);
}

/* Навигация по записям (Предыдущая/Следующая) */
.post-navigation .nav-links a {
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r);
    padding: 14px 18px;
    box-shadow: var(--lcl-shadow-sm);
}

.post-navigation .nav-links a:hover {
    border-color: rgba(205, 180, 113, 0.5);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   11. Отзывы — стекло и золотой акцент
   -------------------------------------------------------------------------- */
.doctor-reviews-section {
    background: transparent;
    padding: 0;
}

.review-summary-box {
    background: var(--lcl-surface);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 24px 28px;
}

.single-review {
    background: var(--lcl-surface);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-left: none;
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
    position: relative;
    padding: 22px 24px 22px 28px;
    margin-bottom: 16px;
}

.single-review::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

.single-review:hover {
    box-shadow: var(--lcl-shadow);
    transform: translateY(-2px);
}

.single-review .review-author {
    color: var(--lcl-navy);
}

.review-form-wrapper {
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
}

/* --------------------------------------------------------------------------
   12. Блоки лэндинга (отзывы / новости / CTA) — рендерятся в page.php
   -------------------------------------------------------------------------- */
.lclinic-landing-block {
    max-width: 1240px;
    margin: 46px auto 10px;
    padding: 0 20px;
}

.lclinic-block-head {
    text-align: center;
    margin-bottom: 30px;
}

.lclinic-block-head h2 {
    font-family: 'Golos Text', sans-serif;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    color: var(--lcl-navy);
    margin: 0 0 8px;
}

.lclinic-block-head .lclinic-block-sub {
    color: var(--lcl-text-muted);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

/* Отзывы сеткой */
.lclinic-landing-reviews .doctor-reviews-section {
    max-width: none;
}

.lclinic-landing-reviews .doctor-reviews-section > h3 {
    display: none; /* дублирующий заголовок шорткода не нужен */
}

.lclinic-landing-reviews .single-review {
    margin-bottom: 16px;
}

.lclinic-landing-reviews .review-summary-box {
    max-width: 560px;
    margin: 0 auto 28px;
}

/* CTA-плашка «Записаться на приём» */
.lclinic-cta {
    max-width: 1240px;
    margin: 40px auto 30px;
    padding: 0 20px;
}

.lclinic-cta .lclinic-cta-inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--lcl-r-lg);
    background:
        radial-gradient(700px 260px at 90% -30%, rgba(205, 180, 113, 0.45), transparent 60%),
        linear-gradient(135deg, var(--lcl-navy) 0%, var(--lcl-navy-deep) 100%);
    color: #fff;
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--lcl-shadow-lg);
    flex-wrap: wrap;
}

.lclinic-cta .lclinic-cta-text h2 {
    color: #fff;
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 8px;
}

.lclinic-cta .lclinic-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.lclinic-cta .lclinic-cta-text .lclinic-cta-phone {
    display: inline-block;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--lcl-gold-bright);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.lclinic-cta .dt-btn {
    background: #fff;
    color: var(--lcl-navy) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.lclinic-cta .dt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .lclinic-cta .lclinic-cta-inner {
        padding: 30px 24px;
    }
}

/* --------------------------------------------------------------------------
   13. Футер — глубокий синий, аккуратные виджеты
   -------------------------------------------------------------------------- */
.footer {
    background: var(--lcl-navy-deep) !important;
    color: rgba(255, 255, 255, 0.78);
}

.footer .widgettitle,
.footer h3,
.footer h4 {
    color: var(--lcl-gold-bright);
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
}

.footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer a:hover {
    color: var(--lcl-gold-bright);
}

.footer .wf-container-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   14. Прочее: SEO-блоки, кнопка «вверх», чат-кнопка, формы
   -------------------------------------------------------------------------- */
/* SEO-блоки (этап 2) — в единый стиль стекла */
.seo-block {
    background: var(--lcl-surface) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border) !important;
    border-radius: var(--lcl-r-lg) !important;
    box-shadow: var(--lcl-shadow-sm) !important;
    padding: 30px 34px !important;
}

.seo-block h2 {
    margin-top: 0 !important;
    padding-left: 16px !important;
    position: relative;
}

.seo-block h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

/* Кнопка «наверх» */
.scroll-top {
    border-radius: var(--lcl-r-pill) !important;
    box-shadow: var(--lcl-shadow);
    background: var(--lcl-navy) !important;
    color: var(--lcl-gold-bright) !important;
    transition: transform var(--lcl-t), box-shadow var(--lcl-t);
}

.scroll-top:hover {
    transform: translateY(-3px);
}

/* Кнопка чата — фирменный синий вместо «печатного» */
.chat-appointment-btn {
    background: var(--lcl-navy);
}

.chat-appointment-btn:hover {
    background: var(--lcl-navy-soft);
}

/* Форма записи — современные поля */
.appointment-form input,
.appointment-form select,
.appointment-form textarea,
.lclinic-appt-form input,
.lclinic-appt-form select,
.lclinic-appt-form textarea,
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
    border-radius: var(--lcl-r-sm);
    border: 1.5px solid rgba(36, 61, 87, 0.16);
    background: #fff;
    padding: 12px 15px;
    transition: border-color var(--lcl-t), box-shadow var(--lcl-t);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus,
.lclinic-appt-form input:focus,
.lclinic-appt-form select:focus,
.lclinic-appt-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--lcl-gold);
    outline: none;
    box-shadow: var(--lcl-ring);
}

.appointment-form .submit-btn {
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold) 55%, var(--lcl-gold-deep));
    border-radius: var(--lcl-r-pill);
    color: var(--lcl-navy-deep);
    font-weight: 600;
}

.appointment-form .submit-btn:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
}

/* Врачи (dt_team) и карточки команды */
.dt-css-grid .team-container,
.dt-css-grid .wf-cell {
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
}

/* Карточки врачей The7 */
.team-container {
    border-radius: var(--lcl-r-lg);
}

/* Всплывающая форма и модалки */
.lpopup,
.pswp__bg {
    /* лайтбокс остаётся как есть */
}

/* --------------------------------------------------------------------------
   15. Хедер-версия для слабовидящих и совместимость
   -------------------------------------------------------------------------- */
/* Режим слабовидящих перекрашивает сайт своими классами — не мешаем ему */
body.vi-active .masthead,
body.vi-active .footer {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* --------------------------------------------------------------------------
   V2.1 (2026-09-05) — HEADER / MENU / FOOTER + ГАРМОНИЯ ОТСТУПОВ
   -------------------------------------------------------------------------- */

/* Токены вертикального ритма */
:root {
    --lcl-space-xs: 8px;
    --lcl-space-sm: 14px;
    --lcl-space: 22px;
    --lcl-space-lg: 34px;
    --lcl-space-xl: 48px;
}

/* Фолбэк для браузеров без backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .masthead,
    .masthead .navigation ul.sub-nav,
    .single-post .entry-content,
    .single-related-posts,
    .lclinic-article-card,
    .single-review,
    .review-summary-box,
    .seo-block,
    .aio-icon-box {
        background-color: #ffffff !important;
    }
}

/* ==========================================================================
   HEADER — топбар
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, #1b2f44 0%, #22384f 55%, #1b2f44 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    letter-spacing: 0.01em;
}

.top-bar .mini-widgets {
    align-items: center;
}

.top-bar .mini-contacts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    transition: background 0.28s, color 0.28s;
}

.top-bar .mini-contacts:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--lcl-gold-bright);
}

.top-bar .mini-contacts i,
.top-bar .mini-contacts .fa-fw {
    color: var(--lcl-gold);
    font-size: 12px;
}

/* Иконки соцсетей в топбаре — круглые */
.top-bar .soc-ico a {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.28s, border-color 0.28s, transform 0.28s;
}

.top-bar .soc-ico a:hover {
    background: var(--lcl-gold) !important;
    border-color: var(--lcl-gold);
    transform: translateY(-1px);
}

.top-bar .soc-ico a .soc-font-icon {
    color: #fff !important;
    font-size: 12px !important;
}

/* Кнопка поиска */
.mini-search .submit,
.mini-search .search-icon {
    transition: color 0.28s, transform 0.28s;
}

.mini-search .submit:hover .the7-mw-icon-search-bold,
.mini-search .search-icon:hover .the7-mw-icon-search-bold {
    color: var(--lcl-gold-deep) !important;
    transform: scale(1.08);
}

/* ==========================================================================
   HEADER — основная полоса и меню
   ========================================================================== */
.header-bar {
    border-bottom: 1px solid rgba(36, 61, 87, 0.08);
}

.phantom-sticky .header-bar {
    border-bottom-color: rgba(36, 61, 87, 0.12);
}

/* Логотип — мягкая тень */
.branding .logo img,
.branding .mobile-logo img {
    filter: drop-shadow(0 2px 6px rgba(27, 47, 68, 0.12));
}

/* Пункты меню: «пилюли» при ховере */
.masthead .main-nav > li {
    margin: 0 2px;
}

.masthead .main-nav > li > a {
    padding: 10px 16px !important;
    border-radius: 999px;
    transition: background 0.28s, color 0.28s;
}

.masthead .main-nav > li > a > span.menu-item-text > span.menu-text {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14.5px;
    letter-spacing: 0.05em;
    transition: color 0.28s;
}

.masthead .main-nav > li:hover > a,
.masthead .main-nav > li.act > a {
    background: rgba(205, 180, 113, 0.14) !important;
}

.masthead .main-nav > li:hover > a > span.menu-item-text > span.menu-text,
.masthead .main-nav > li.act > a > span.menu-item-text > span.menu-text {
    color: var(--lcl-gold-deep) !important;
}

/* Золотое подчёркивание — плавное */
.main-nav.underline-decoration li > a .menu-text::after {
    background: var(--lcl-gold) !important;
    height: 2px !important;
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.33, 1, 0.68, 1), left 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Выпадающие подменю — карточка с золотой кромкой */
.masthead .main-nav ul.sub-nav,
.masthead .mini-nav ul.sub-nav {
    padding: 10px !important;
    border-top: 2px solid var(--lcl-gold) !important;
    min-width: 230px;
}

.masthead .main-nav ul.sub-nav li > a,
.masthead .mini-nav ul.sub-nav li > a {
    border-radius: 10px;
    padding: 9px 14px !important;
    transition: background 0.28s, color 0.28s, padding 0.28s;
}

.masthead .main-nav ul.sub-nav li > a > span.menu-text,
.masthead .mini-nav ul.sub-nav li > a > span.menu-text {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 500 !important;
}

.masthead .main-nav ul.sub-nav li:hover > a,
.masthead .mini-nav ul.sub-nav li:hover > a {
    background: rgba(205, 180, 113, 0.16) !important;
    color: var(--lcl-gold-deep) !important;
    padding-left: 18px !important;
}

/* Версия для слабовидящих — кнопка-глаз */
a.vi_widget_img img {
    border-radius: 999px;
    transition: transform 0.28s, filter 0.28s;
}

a.vi_widget_img img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 6px rgba(205, 180, 113, 0.5));
}

/* ==========================================================================
   MOBILE MENU — панель и пункты
   ========================================================================== */
.dt-mobile-header,
.mobile-header-bar {
    background: #1b2f44 !important;
}

.dt-mobile-header .mobile-main-nav > li > a,
.dt-mobile-header .main-nav > li > a {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 10px;
    margin: 2px 10px;
    transition: background 0.28s, color 0.28s;
}

.dt-mobile-header .mobile-main-nav > li > a:hover,
.dt-mobile-header .mobile-main-nav > li.open > a,
.dt-mobile-header .mobile-main-nav > li.act > a {
    background: rgba(205, 180, 113, 0.12) !important;
    color: var(--lcl-gold-bright) !important;
}

.dt-mobile-header .mobile-sub-nav,
.dt-mobile-header ul.sub-nav {
    background: transparent !important;
}

.dt-mobile-header .mobile-sub-nav li a,
.dt-mobile-header ul.sub-nav li a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.dt-mobile-header .mobile-sub-nav li a:hover,
.dt-mobile-header ul.sub-nav li a:hover {
    color: var(--lcl-gold-bright) !important;
}

/* ==========================================================================
   FOOTER — глубокий синий с золотым свечением
   ========================================================================== */
.footer {
    background:
        radial-gradient(900px 320px at 85% -60%, rgba(205, 180, 113, 0.16), transparent 65%),
        linear-gradient(180deg, #1b2f44 0%, #152838 100%) !important;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--lcl-gold) 30%, var(--lcl-gold-bright) 50%, var(--lcl-gold) 70%, transparent);
    opacity: 0.85;
}

.footer .widget {
    padding: 8px;
}

/* Заголовки виджетов — золото с подчёркиванием */
.footer .widget-title {
    display: inline-block;
    margin-bottom: 18px !important;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.03em;
    color: var(--lcl-gold-bright) !important;
}

.footer .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--lcl-gold-bright), var(--lcl-gold));
}

/* Форма в футере — тёмные стеклянные поля */
.footer .dt-contact-form input:not([type="submit"]):not([type="checkbox"]),
.footer .dt-contact-form textarea {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;
    color: #fff !important;
    transition: border-color 0.28s, background 0.28s, box-shadow 0.28s;
}

.footer .dt-contact-form input:focus,
.footer .dt-contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--lcl-gold) !important;
    box-shadow: 0 0 0 3px rgba(205, 180, 113, 0.35);
    outline: none;
}

.footer .dt-contact-form ::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer .dt-contact-form .dt-btn-submit {
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold) 55%, var(--lcl-gold-deep)) !important;
    color: #1b2f44 !important;
    border-radius: 999px !important;
    font-weight: 600;
}

/* Контактная информация — иконки золото */
.footer .contact-info .color-primary,
.footer .contact-info i,
.footer .contact-info .fa-fw {
    color: var(--lcl-gold) !important;
}

.footer .contact-info a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer .contact-info a:hover {
    color: var(--lcl-gold-bright) !important;
}

/* Соцкнопки в футере — круглые с контуром */
.footer .soc-ico a {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: background 0.28s, border-color 0.28s, transform 0.28s;
}

.footer .soc-ico a:hover {
    background: var(--lcl-gold) !important;
    border-color: var(--lcl-gold) !important;
    transform: translateY(-3px);
}

.footer .soc-ico a .soc-font-icon {
    color: #fff !important;
}

/* Нижняя полоса футера */
.footer .wf-container-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer .wf-container-bottom a {
    color: rgba(255, 255, 255, 0.65);
}

.footer .wf-container-bottom a:hover {
    color: var(--lcl-gold-bright);
}

/* ==========================================================================
   ГАРМОНИЯ ОТСТУПОВ — вертикальный ритм
   ========================================================================== */
.page-title {
    padding-top: 34px;
    padding-bottom: 34px;
}

#content {
    padding-top: 34px;
    padding-bottom: 48px;
}

.lclinic-landing-block {
    margin-top: 48px;
    margin-bottom: 8px;
}

.lclinic-cta {
    margin-top: 48px;
    margin-bottom: 34px;
}

.lclinic-cta .lclinic-cta-inner {
    padding: 48px 34px;
}

.seo-block {
    margin-top: 34px !important;
    margin-bottom: 22px !important;
}

.lclinic-articles-list {
    gap: 34px;
}

.footer .wf-container {
    padding-top: 48px;
    padding-bottom: 34px;
}

.footer .widget {
    margin-bottom: 22px;
}

.page-title .page-title-breadcrumbs {
    margin-top: 14px;
}

/* --------------------------------------------------------------------------
   V2.1 — Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .lclinic-landing-block,
    .lclinic-cta {
        margin-top: 34px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    #content {
        padding-top: 22px;
        padding-bottom: 34px;
    }

    .lclinic-landing-block,
    .lclinic-cta {
        margin-top: 22px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .lclinic-cta .lclinic-cta-inner {
        padding: 34px 22px;
    }

    .footer .wf-container {
        padding-top: 34px;
        padding-bottom: 22px;
    }

    .masthead .main-nav > li > a {
        padding: 8px 12px !important;
    }
}

@media (max-width: 480px) {
    .lclinic-landing-block,
    .lclinic-cta {
        margin-top: 22px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .single-post .entry-content {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .single-related-posts {
        padding: 18px 14px;
    }

    .seo-block {
        padding: 20px 16px !important;
    }
}

/* --------------------------------------------------------------------------
   V2.2 (2026-09-05) — ЕДИНЫЕ КНОПКИ + ПОЧИНКА ТОПБАРА + НОВОСТИ
   -------------------------------------------------------------------------- */

/* --- 1. Топбар: убираем белый слой .top-bar-bg --------------------------- */
.top-bar .top-bar-bg,
.top-bar.full-width-line .top-bar-bg {
    background: transparent !important;
    background-color: transparent !important;
}

/* На случай других полос-«bg» в шапке */
.masthead .header-bar-bg,
.header-bar .header-bar-bg {
    background: transparent !important;
}

/* --- 2. Единые кнопки: золотой градиент принудительно --------------------- */
.dt-btn,
button.dt-btn,
a.dt-btn,
input[type="submit"].dt-btn,
.vc_general.vc_btn3,
.appointment-form .submit-btn,
.lclinic-appt-form button[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, var(--lcl-gold-bright) 0%, var(--lcl-gold) 55%, var(--lcl-gold-deep) 100%) !important;
    background-color: var(--lcl-gold) !important;
    color: var(--lcl-navy-deep) !important;
    border-radius: 999px !important;
    border: none !important;
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    text-shadow: none !important;
    box-shadow: 0 4px 14px rgba(184, 155, 86, 0.35) !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, filter 0.28s;
}

.dt-btn:hover,
button.dt-btn:hover,
a.dt-btn:hover,
.vc_general.vc_btn3:hover,
.appointment-form .submit-btn:hover,
.lclinic-appt-form button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(184, 155, 86, 0.5) !important;
    filter: brightness(1.05) !important;
    color: var(--lcl-navy-deep) !important;
}

/* Кнопка в тёмном CTA-баннере — белая (контраст с синим фоном) */
.lclinic-cta .dt-btn {
    background: #ffffff !important;
    background-image: none !important;
    color: var(--lcl-navy) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.lclinic-cta .dt-btn:hover {
    background: #ffffff !important;
    color: var(--lcl-gold-deep) !important;
    transform: translateY(-2px) !important;
}

/* Контурная кнопка на тёмном фоне (если появится) */
.dt-btn.btn-outline,
.dt-btn.dt-btn-outline {
    background: transparent !important;
    background-image: none !important;
    box-shadow: inset 0 0 0 2px var(--lcl-gold) !important;
    color: var(--lcl-navy) !important;
}

.dt-btn.btn-outline:hover,
.dt-btn.dt-btn-outline:hover {
    background: rgba(205, 180, 113, 0.12) !important;
    color: var(--lcl-gold-deep) !important;
}

/* --- 3. Кнопки слайдера (Smart Slider) — в единый стиль ------------------- */
.n2-ss-button-container a,
.n2-ss-button-container a * {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
}

.n2-ss-button-container a {
    background: linear-gradient(135deg, var(--lcl-gold-bright) 0%, var(--lcl-gold) 55%, var(--lcl-gold-deep) 100%) !important;
    background-color: var(--lcl-gold) !important;
    color: var(--lcl-navy-deep) !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 18px rgba(184, 155, 86, 0.45) !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, filter 0.28s !important;
}

.n2-ss-button-container a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 26px rgba(184, 155, 86, 0.55) !important;
    filter: brightness(1.05) !important;
}

/* --- 4. Страница «Новости» (список) — полировка карточек ------------------ */
/* Золотая полоска сверху каждой карточки */
.lclinic-article-card {
    position: relative;
}

.lclinic-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    opacity: 0;
    transition: opacity 0.28s;
    z-index: 1;
}

.lclinic-article-card:hover::before {
    opacity: 1;
}

/* Дата-плашка на карточках без фото */
.lclinic-article-card .lclinic-article-body {
    position: relative;
}

.lclinic-article-card .lclinic-article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(36, 61, 87, 0.06);
    border-radius: 999px;
    padding: 3px 12px;
}

/* Категория — золотой чип (усилено) */
.lclinic-article-card .lclinic-article-cat {
    background: rgba(205, 180, 113, 0.2) !important;
    color: var(--lcl-gold-deep) !important;
}

/* «Читать далее» — стрелка уезжает вправо */
.lclinic-article-card .lclinic-article-readmore::after {
    content: '→';
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

.lclinic-article-card:hover .lclinic-article-readmore::after {
    transform: translateX(5px);
}

/* Пустые карточки (без фото) — одинаково красивая высота */
.lclinic-articles-list .lclinic-article-card {
    min-height: 100%;
}

/* Заголовок-ссылка: плавный сдвиг цвета */
.lclinic-article-card .lclinic-article-title a {
    transition: color 0.28s;
}

/* Пагинация: hover стрелками */
.lclinic-pagination .page-numbers.prev,
.lclinic-pagination .page-numbers.next {
    padding: 0 18px;
}

/* --- 5. Одиночная новость — добиваем красоту ------------------------------ */
/* Мета-чипы (дата, автор, категория) в один ряд с золотой обводкой */
.single-post .entry-meta .entry-meta-item,
.single-post .entry-meta .data-link,
.single-post .entry-meta .fn,
.single-post .entry-meta .category-link a {
    display: inline-block;
    margin: 2px 4px 2px 0;
}

/* Фото в одиночной новости */
.single-post .post-thumbnail img,
.single-post .vertical-fancy-style .post-thumbnail img {
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow);
    width: 100%;
    height: auto;
}

/* Таблицы в новостях — уже стилизованы; списки проверки */
.single-post .entry-content ul li::marker {
    color: var(--lcl-gold-deep);
}

/* Навигация Предыдущая/Следующая — симметричный ритм */
.single-post .post-navigation .nav-links {
    gap: 14px;
    display: flex;
    flex-wrap: wrap;
}

.single-post .post-navigation .nav-links .nav-previous,
.single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 280px;
}

.single-post .post-navigation .nav-links a {
    display: block;
}

/* --------------------------------------------------------------------------
   V2.2 — Адаптив кнопок и новостей
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .n2-ss-button-container a {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .lclinic-articles-list {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   V2.3 (2026-09-05) — СТРАНИЦА «НАПРАВЛЕНИЯ» (/category/)
   -------------------------------------------------------------------------- */

/* Заголовок секции — золотое подчёркивание по центру */
.uvc-main-heading h2,
.uvc-main-heading h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.uvc-main-heading h2::after,
.uvc-main-heading h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 58px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

/* Плитка-ссылка направления */
a.aio-icon-box-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.aio-icon-box-link .aio-icon-box {
    text-align: center;
    height: 100%;
}

/* Иконка направления — в золотом круге */
.aio-icon-box-link .aio-icon-img {
    width: 104px !important;
    height: 104px !important;
    margin: 0 auto 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55) 60%),
        linear-gradient(135deg, rgba(220, 196, 137, 0.30), rgba(205, 180, 113, 0.16));
    box-shadow:
        inset 0 0 0 1px rgba(205, 180, 113, 0.35),
        0 6px 16px rgba(184, 155, 86, 0.18);
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.3s;
}

.aio-icon-box-link .aio-icon-img .img-icon {
    width: 68px !important;
    height: 68px !important;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.aio-icon-box-link:hover .aio-icon-img {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        inset 0 0 0 1px rgba(205, 180, 113, 0.55),
        0 10px 24px rgba(184, 155, 86, 0.3);
}

.aio-icon-box-link:hover .aio-icon-img .img-icon {
    transform: scale(1.08);
}

/* Заголовок направления */
.aio-icon-box-link .aio-icon-title,
.aio-icon-box-link h3.aio-icon-title {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.04em;
    color: var(--lcl-navy) !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    transition: color 0.28s;
}

.aio-icon-box-link:hover .aio-icon-title {
    color: var(--lcl-gold-deep) !important;
}

/* Ритм сетки: вертикальные зазоры между плитками */
.aio-icon-component {
    margin-bottom: 26px;
}

@media (max-width: 768px) {
    .aio-icon-component {
        margin-bottom: 18px;
    }

    .aio-icon-box-link .aio-icon-img {
        width: 88px !important;
        height: 88px !important;
    }

    .aio-icon-box-link .aio-icon-img .img-icon {
        width: 56px !important;
        height: 56px !important;
    }

    .aio-icon-box-link .aio-icon-title,
    .aio-icon-box-link h3.aio-icon-title {
        min-height: 0;
    }
}

/* --------------------------------------------------------------------------
   V2.4 (2026-09-05) — BREADCRUMBS (единый светлый стиль) + 3 КАРТОЧКИ В РЯД
   -------------------------------------------------------------------------- */

/* --- Хлебные крошки: ровные светлые чипы с шевронами ---------------------- */
.breadcrumbs {
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

/* Сам li — прозрачный контейнер (убираем старые тёмные пилюли) */
.breadcrumbs li {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

/* Шеврон между чипами */
.breadcrumbs li + li::before {
    content: '\203A'; /* › */
    margin: 0 9px;
    color: rgba(36, 61, 87, 0.35);
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
}

/* Чип-ссылка */
.breadcrumbs li a {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid var(--lcl-border) !important;
    color: var(--lcl-navy-soft) !important;
    font-family: 'Golos Text', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.28s, border-color 0.28s, color 0.28s;
}

.breadcrumbs li a:hover {
    background: #ffffff !important;
    border-color: rgba(205, 180, 113, 0.55) !important;
    color: var(--lcl-gold-deep) !important;
}

.breadcrumbs li a span {
    color: inherit !important;
    font: inherit !important;
}

/* Текущий пункт — светлая золотая плашка (НЕ тёмная) */
.breadcrumbs li.current > span,
.breadcrumbs li.current span {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(205, 180, 113, 0.18) !important;
    border: 1px solid rgba(205, 180, 113, 0.45) !important;
    color: var(--lcl-navy) !important;
    font-family: 'Golos Text', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35;
}

/* На всякий случай — любые span внутри крошек наследуют аккуратный вид */
.breadcrumbs li span {
    font-family: 'Golos Text', sans-serif;
}

/* --- Новости: 3 карточки в ряд на десктопе -------------------------------- */
@media (min-width: 1025px) {
    .lclinic-articles-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .single-related-posts .items-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .lclinic-articles-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .single-related-posts .items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .lclinic-articles-list,
    .single-related-posts .items-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --------------------------------------------------------------------------
   V2.5 (2026-09-05) — HEADER: full-width + градиент + контраст текста
                     FOOTER: вторая волна красоты
   -------------------------------------------------------------------------- */

/* --- 1. Топбар: на всю ширину экрана -------------------------------------- */
.top-bar {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    background: linear-gradient(90deg, #16293a 0%, #24425f 30%, #2c4d6e 50%, #24425f 70%, #16293a 100%) !important;
    box-shadow: 0 1px 0 rgba(205, 180, 113, 0.35);
}

/* Все тексты топбара — белые (перебиваем динамический CSS темы) */
.top-bar,
.top-bar a,
.top-bar span,
.top-bar div,
.top-bar i,
.top-bar .mini-contacts,
.top-bar .mini-contacts * {
    color: rgba(255, 255, 255, 0.88) !important;
}

.top-bar a:hover,
.top-bar .mini-contacts:hover,
.top-bar .mini-contacts:hover * {
    color: var(--lcl-gold-bright) !important;
}

.top-bar .mini-contacts i,
.top-bar .mini-contacts .fa-fw {
    color: var(--lcl-gold) !important;
}

/* --- 2. Основная шапка: светлый градиент + золотая линия ------------------ */
.masthead {
    background: linear-gradient(160deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(246, 248, 252, 0.92) 45%,
        rgba(248, 245, 238, 0.92) 100%) !important;
}

.header-bar {
    border-bottom: none !important;
    position: relative;
}

/* Золотая волосяная линия под шапкой */
.header-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(205, 180, 113, 0.55) 18%, rgba(220, 196, 137, 0.9) 50%, rgba(205, 180, 113, 0.55) 82%, transparent 100%);
    pointer-events: none;
}

/* Цвет пунктов меню — фирменный синий, ховер — золото */
.masthead .main-nav > li > a > span.menu-item-text > span.menu-text {
    color: var(--lcl-navy) !important;
}

.masthead .main-nav > li:hover > a > span.menu-item-text > span.menu-text,
.masthead .main-nav > li.act > a > span.menu-item-text > span.menu-text {
    color: var(--lcl-gold-deep) !important;
}

/* --- 3. Футер: вторая волна ----------------------------------------------- */
/* Плитки-виджеты на тёмном фоне */
.footer .wf-container > .wf-cell {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 26px 28px !important;
    margin-bottom: 0 !important;
    transition: border-color 0.28s, background 0.28s, transform 0.28s;
}

.footer .wf-container > .wf-cell:hover {
    border-color: rgba(205, 180, 113, 0.35);
    background: rgba(255, 255, 255, 0.065);
}

/* Разделитель между контентом футера и виджетами */
.footer .wf-container {
    gap: 22px;
}

/* Крупный телефон в контактном виджете */
.footer .contact-info .color-primary {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

/* Заголовок формы */
.footer .widget PressCore-contact-form-widget .widget-title,
.footer .widget.widget_presscore-contact-form-widget .widget-title {
    margin-top: 0 !important;
}

/* Кнопка формы — шире */
.footer .dt-contact-form .dt-btn-submit {
    width: 100%;
    text-align: center;
    padding: 13px 20px !important;
}

/* Поля формы — темнее фона плитки */
.footer .dt-contact-form input:not([type="submit"]):not([type="checkbox"]),
.footer .dt-contact-form textarea {
    background: rgba(13, 27, 40, 0.45) !important;
}

/* Нижняя полоса — по центру, тонко */
.footer .wf-container-bottom {
    text-align: center;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    margin-top: 26px;
}

.footer .wf-container-bottom .wf-float-left,
.footer .wf-container-bottom .wf-float-right {
    float: none !important;
    display: inline-block;
    vertical-align: middle;
    margin: 0 12px;
}

/* Кнопка «наверх» в футере — золотая */
.footer .scroll-top,
.scroll-top {
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold) 55%, var(--lcl-gold-deep)) !important;
    color: var(--lcl-navy-deep) !important;
    box-shadow: 0 6px 18px rgba(184, 155, 86, 0.4) !important;
}

.scroll-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 26px rgba(184, 155, 86, 0.5) !important;
}

/* --------------------------------------------------------------------------
   V2.5 — Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Топбар на мобильном — без отрицательных полей, если он скрыт/показан */
    .top-bar {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .footer .wf-container > .wf-cell {
        padding: 20px 18px !important;
    }
}

/* --------------------------------------------------------------------------
   V2.6 (2026-09-05) — иконки соцсетей, слайдер, блок «О клинике»,
                       футер-flex, новости на всю ширину
   -------------------------------------------------------------------------- */

/* --- 1. Иконки VK/TG в топбаре — белые (перебиваем тему) ------------------- */
body .masthead .top-bar .soc-ico a {
    color: #ffffff !important;
}

body .masthead .mini-widgets .soc-ico a:not(:hover) .soc-font-icon,
body .masthead .top-bar .soc-ico a .soc-font-icon,
body .top-bar .soc-ico .soc-font-icon,
body .masthead .mini-widgets .soc-ico a .soc-font-icon {
    color: #ffffff !important;
}

body .masthead .top-bar .soc-ico a {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

body .masthead .top-bar .soc-ico a:hover {
    background: var(--lcl-gold) !important;
    border-color: var(--lcl-gold) !important;
}

/* --- 2. Слайдер: стеклянные панели с текстом ------------------------------- */
/* Контейнер — глубина */
.n2-ss-slider-1,
.n2-ss-slider {
    box-shadow: 0 22px 54px rgba(27, 47, 68, 0.22);
}

/* Текстовая колонка слайда — матовое стекло */
.n2-ss-layer[data-sstype="col"] {
    background: rgba(255, 255, 255, 0.72) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 40px rgba(27, 47, 68, 0.20) !important;
    padding: 26px 28px !important;
}

/* Типографика в панели */
.n2-ss-layer[data-sstype="col"] h1,
.n2-ss-layer[data-sstype="col"] h2,
.n2-ss-layer[data-sstype="col"] h3,
.n2-ss-layer[data-sstype="col"] h4,
.n2-ss-layer[data-sstype="col"] h5,
.n2-ss-layer[data-sstype="col"] h6 {
    font-family: 'Golos Text', sans-serif !important;
    font-weight: 800 !important;
    color: var(--lcl-navy) !important;
    text-shadow: none !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

.n2-ss-layer[data-sstype="col"] p,
.n2-ss-layer[data-sstype="col"] div:not(.n2-ss-button-container):not(.n2-ss-button-container *),
.n2-ss-layer[data-sstype="col"] span {
    color: var(--lcl-text) !important;
    text-shadow: none !important;
}

/* Строка юридической пометки (erid) — приглушённая */
.n2-ss-layer[data-sstype="col"] p:last-child,
.n2-ss-layer[data-sstype="col"] .n2-ss-layer[data-sstype="layer"]:last-child {
    opacity: 0.65;
    font-size: 11px !important;
}

/* Кнопка слайдера — чуть крупнее */
.n2-ss-layer[data-sstype="col"] .n2-ss-button-container a {
    margin-top: 8px;
}

/* Слайд — воздух */
.n2-ss-layer[data-sstype="slide"] {
    padding: 26px 40px 60px !important;
}

/* Стрелки слайдера — золото */
.n2-ss-widget n2-ss-arrow,
.n2-ss-slider .nextend-arrow n2-ow-all svg,
.n2-ss-slider .nextend-arrow svg * {
    fill: var(--lcl-gold) !important;
}

/* --- 3. Блок «Медицинский центр Миллениум» — под общий стиль --------------- */
/* Заголовок с золотым штрихом */
.vc_row.vc_custom_1579008966192 .vc_column-inner {
    padding-top: 14px;
}

.vc_row.vc_custom_1579008966192 h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
}

.vc_row.vc_custom_1579008966192 h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 58px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

.vc_row.vc_custom_1579008966192 .wpb_text_column p {
    color: var(--lcl-text-muted);
    font-size: 17px;
    line-height: 1.75;
}

/* Ряд кнопок — центрирование и ритм */
.vc_row.vc_custom_1768941385452 {
    padding-top: 8px;
    padding-bottom: 26px;
}

.vc_row.vc_custom_1768941385452 .wpb_wrapper {
    text-align: center;
}

.vc_row.vc_custom_1768941385452 .dt-btn {
    min-width: 200px;
    margin: 6px 4px;
}

/* --- 4. Футер: виджеты в flex с зазорами ----------------------------------- */
.footer .wf-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.footer .wf-container > .wf-cell {
    float: none !important;
    width: auto !important;
    flex: 1 1 300px;
    margin: 0 !important;
}

@media (max-width: 900px) {
    .footer .wf-container {
        flex-direction: column;
    }
}

/* --- 5. Кнопки: максимальный контраст текста -------------------------------- */
.dt-btn,
button.dt-btn,
a.dt-btn,
.vc_general.vc_btn3,
.appointment-form .submit-btn,
.lclinic-appt-form button[type="submit"],
input[type="submit"],
.n2-ss-button-container a {
    color: #16293a !important;
    font-weight: 700 !important;
}

/* --- 6. Страница новостей (/articles/) — контент на всю ширину (col-12) ----- */
/* The7 строит layout на grid: трек контента 830px — перекрываем шаблон сетки */
.page-id-5173 .wf-container-main,
.page-id-5173 #main .wf-container-main {
    display: block !important;
}

.page-id-5173 #main .content,
.page-id-5173 .content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.page-id-5173 #main .sidebar,
.page-id-5173 .sidebar {
    display: none !important;
}

@media (max-width: 768px) {
    .n2-ss-layer[data-sstype="slide"] {
        padding: 14px 16px 50px !important;
    }

    .n2-ss-layer[data-sstype="col"] {
        padding: 18px 16px !important;
        border-radius: 16px !important;
    }
}

/* --------------------------------------------------------------------------
   V2.7 (2026-09-05) — слайдер без квадратов, текст кнопок, градиент футера
   -------------------------------------------------------------------------- */

/* --- 1. Слайдер: убираем белые подложки ряда/колонки ---------------------- */
.n2-ss-layer-row.n2-ss-layer-with-background,
.n2-ss-layer-col.n2-ss-layer-with-background {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Стеклянной остаётся только панель с кнопкой (текстовый блок) */
.n2-ss-layer[data-sstype="col"] {
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.n2-ss-layer[data-sstype="col"]:has(.n2-ss-button-container) {
    background: rgba(255, 255, 255, 0.72) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.3) !important;
    backdrop-filter: blur(14px) saturate(1.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 40px rgba(27, 47, 68, 0.20) !important;
    padding: 26px 28px !important;
}

/* --- 2. Текст кнопок: внутренние span наследуют цвет ---------------------- */
.dt-btn span,
.dt-btn *,
.vc_general.vc_btn3 span,
.vc_general.vc_btn3 *,
input[type="submit"] span,
.lclinic-appt-form button[type="submit"] *,
.appointment-form .submit-btn span,
.n2-ss-button-container a span,
.n2-ss-button-container a div {
    color: inherit !important;
}

/* Иконки-шрифты внутри кнопок тоже наследуют */
.dt-btn i,
.vc_general.vc_btn3 i {
    color: inherit !important;
}

/* --- 3. Футер: горизонтальный градиент как в топбаре ---------------------- */
.footer {
    background:
        radial-gradient(900px 320px at 85% -60%, rgba(205, 180, 113, 0.18), transparent 65%),
        linear-gradient(90deg, #16293a 0%, #24425f 28%, #2c4d6e 50%, #24425f 72%, #16293a 100%) !important;
}

/* Нижняя полоса — чуть темнее основного градиента */
.footer .wf-container-bottom {
    background: rgba(13, 27, 40, 0.35);
}

/* --------------------------------------------------------------------------
   V2.8 (2026-09-05) — кнопка футера в границах + нижняя полоса на всю ширину
   -------------------------------------------------------------------------- */

/* --- 1. Кнопки: border-box, чтобы не вылезали за контейнер ---------------- */
.dt-btn,
button.dt-btn,
a.dt-btn,
.vc_general.vc_btn3,
input[type="submit"],
button[type="submit"],
.appointment-form .submit-btn,
.lclinic-appt-form button[type="submit"] {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.footer .dt-contact-form .dt-btn-submit {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    display: block;
    text-align: center;
}

/* --- 2. Нижняя полоса футера: затемнение на всю ширину экрана -------------- */
.footer .wf-container-bottom {
    position: relative;
    z-index: 0;
    background: transparent !important;
}

.footer .wf-container-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: rgba(13, 27, 40, 0.42);
    z-index: -1;
}

/* --------------------------------------------------------------------------
   V2.9 (2026-09-05) — страницы услуг: единая типографика и блоки
   Скоуп: body.lclinic-service (все дочерние страницы каталога услуг)
   -------------------------------------------------------------------------- */

/* --- 1. Контент услуги — стеклянная карточка ------------------------------- */
body.lclinic-service .wpb-content-wrapper {
    background: var(--lcl-surface) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 42px 46px;
    margin-top: 6px;
}

@media (max-width: 768px) {
    body.lclinic-service .wpb-content-wrapper {
        padding: 22px 16px;
        border-radius: var(--lcl-r);
    }
}

/* --- 2. Типографика: заголовки разделов ------------------------------------ */
/* H2 в текстовых колонках — с золотым штрихом (как в статьях) */
body.lclinic-service .wpb_text_column h2 {
    position: relative;
    padding-left: 18px;
    margin: 1.5em 0 0.7em;
    font-size: 26px !important;
    line-height: 1.35 !important;
}

body.lclinic-service .wpb_text_column h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 5px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

/* Крупные секционные H2 — приводим к единому размеру */
body.lclinic-service .wpb-content-wrapper h2 {
    font-size: 30px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.01em;
}

body.lclinic-service .wpb-content-wrapper h3 {
    font-size: 21px !important;
    line-height: 1.4 !important;
}

/* --- 3. Абзацы, списки, ссылки ---------------------------------------------- */
body.lclinic-service .wpb-content-wrapper p {
    color: var(--lcl-text);
    font-size: 16.5px;
    line-height: 1.75;
    margin: 0 0 1.1em;
}

body.lclinic-service .wpb-content-wrapper ul,
body.lclinic-service .wpb-content-wrapper ol {
    padding-left: 1.4em;
    margin: 0 0 1.2em;
}

body.lclinic-service .wpb-content-wrapper li {
    margin-bottom: 0.5em;
    line-height: 1.7;
    color: var(--lcl-text);
}

body.lclinic-service .wpb-content-wrapper ul li::marker {
    color: var(--lcl-gold-deep);
}

body.lclinic-service .wpb-content-wrapper ol li::marker {
    color: var(--lcl-gold-deep);
    font-weight: 700;
}

/* Ссылки — фирменное подчёркивание */
body.lclinic-service .wpb-content-wrapper p a,
body.lclinic-service .wpb-content-wrapper li a,
body.lclinic-service .wpb-content-wrapper .wpb_text_column a {
    color: var(--lcl-navy-soft);
    text-decoration: none;
    background-image: linear-gradient(var(--lcl-gold), var(--lcl-gold));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    transition: color 0.28s, background-size 0.28s;
}

body.lclinic-service .wpb-content-wrapper p a:hover,
body.lclinic-service .wpb-content-wrapper li a:hover,
body.lclinic-service .wpb-content-wrapper .wpb_text_column a:hover {
    color: var(--lcl-gold-deep);
    background-size: 100% 100%;
    border-radius: 3px;
}

/* Вертикальный ритм между рядами WPBakery */
body.lclinic-service .wpb-content-wrapper .vc_row {
    margin-bottom: 26px;
}

body.lclinic-service .wpb-content-wrapper .vc_row:last-child {
    margin-bottom: 0;
}

/* --- 4. Таблицы услуг — уже стилизованы глобально; страховка для ширины ----- */
body.lclinic-service .wpb-content-wrapper table {
    margin: 1.2em 0;
}

/* --------------------------------------------------------------------------
   V3.0 (2026-09-05) — услуги: фото-баннеры, CTA, равные карточки
   Классы lclinic-photo-row / lclinic-cta-row / lclinic-fill-row
   проставляет JS-классификатор из плагина.
   -------------------------------------------------------------------------- */

/* --- 1. Общие правила для fill-рядов услуг --------------------------------- */
/* WPBakery растягивает такие ряды на вьюпорт (data-vc-full-width) — запрещаем */
body.lclinic-service .wpb-content-wrapper .vc_row.vc_row-has-fill {
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
    position: relative;
    z-index: 0;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
}

/* --- 2. Фото-баннер: скругление + текст на фото ----------------------------- */
body.lclinic-service .lclinic-photo-row {
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
}

/* Вложенная белая панель внутри фото-баннера → матовое стекло со скруглением */
body.lclinic-service .lclinic-photo-row .vc_row.vc_row-has-fill,
body.lclinic-service .lclinic-photo-row .vc_row {
    background: rgba(255, 255, 255, 0.78) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 36px rgba(27, 47, 68, 0.22) !important;
    margin: 22px !important;
}

body.lclinic-service .lclinic-photo-row .vc_row * {
    color: var(--lcl-navy) !important;
    text-shadow: none !important;
}

body.lclinic-service .lclinic-photo-row .vc_row .dt-btn,
body.lclinic-service .lclinic-photo-row .vc_row .n2-ss-button-container a {
    color: #16293a !important;
}

/* --- 3. CTA-блок «Запишитесь на приём» — единый стиль ----------------------- */
body.lclinic-service .lclinic-cta-row {
    background: linear-gradient(135deg, var(--lcl-navy) 0%, var(--lcl-navy-deep) 100%) !important;
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
    padding: 34px 38px !important;
    box-shadow: var(--lcl-shadow);
}

body.lclinic-service .lclinic-cta-row h2,
body.lclinic-service .lclinic-cta-row h3 {
    color: #ffffff !important;
    font-size: 26px !important;
    margin: 0 0 10px !important;
}

body.lclinic-service .lclinic-cta-row p,
body.lclinic-service .lclinic-cta-row span,
body.lclinic-service .lclinic-cta-row div {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Телефон — крупный, золотой */
body.lclinic-service .lclinic-cta-row a[href^="tel:"] {
    color: var(--lcl-gold-bright) !important;
    font-family: 'Golos Text', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

/* Кнопка — белая на синем (как в CTA на главной) */
body.lclinic-service .lclinic-cta-row .dt-btn,
body.lclinic-service .lclinic-cta-row .vc_btn3,
body.lclinic-service .lclinic-cta-row a.vc_btn3 {
    background: #ffffff !important;
    background-image: none !important;
    color: var(--lcl-navy) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

body.lclinic-service .lclinic-cta-row .dt-btn:hover,
body.lclinic-service .lclinic-cta-row .vc_btn3:hover {
    color: var(--lcl-gold-deep) !important;
}

/* --- 4. Секционные заголовки: navy вместо золотого -------------------------- */
body.lclinic-service .wpb-content-wrapper h2 {
    color: var(--lcl-navy) !important;
}

body.lclinic-service .lclinic-cta-row h2 {
    color: #ffffff !important;
}

/* --- 5. Карточки подразделов — одинаковая высота ---------------------------- */
body.lclinic-service .wpb-content-wrapper .vc_row:has(.aio-icon-box) {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

body.lclinic-service .wpb-content-wrapper .vc_row:has(.aio-icon-box) > .wpb_column {
    float: none !important;
    width: auto !important;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

body.lclinic-service .wpb-content-wrapper .vc_row:has(.aio-icon-box) > .wpb_column > .vc_column-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.lclinic-service .wpb-content-wrapper .vc_row:has(.aio-icon-box) .aio-icon-box {
    flex: 1;
    height: auto;
}

/* Обтекание: стеклянная карточка контента не выпускает углы детей */
body.lclinic-service .wpb-content-wrapper {
    overflow: hidden;
}

/* --- 6. Мобильная адаптация -------------------------------------------------- */
@media (max-width: 768px) {
    body.lclinic-service .lclinic-cta-row {
        padding: 24px 20px !important;
    }

    body.lclinic-service .lclinic-photo-row .vc_row {
        margin: 12px !important;
        padding: 16px !important;
    }
}

/* --------------------------------------------------------------------------
   V3.1 (2026-09-05) — слайдер услуг по контенту, CTA-выравнивание,
                       отступы топбара, SEO-блок вполную ширину карточки
   -------------------------------------------------------------------------- */

/* --- 1. Фото-баннер услуги — высота по контенту ---------------------------- */
body.lclinic-service .lclinic-photo-row {
    height: auto !important;
    min-height: 0 !important;
}

/* --- 2. CTA «Запишитесь на приём» — ровный, красивый ----------------------- */
body.lclinic-service .lclinic-cta-row {
    align-items: center !important;
    gap: 20px;
}

/* Убираем «серые» подложки колонок внутри CTA */
body.lclinic-service .lclinic-cta-row .vc_column-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.lclinic-service .lclinic-cta-row h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
}

/* --- 3. Топбар: текст с отступами как в контентной части ------------------- */
.top-bar {
    box-sizing: border-box !important;
    padding-left: max(20px, calc((100% - 1300px) / 2)) !important;
    padding-right: max(20px, calc((100% - 1300px) / 2)) !important;
}

/* --- 4. SEO-блок — вполную ширину карточки контента (её «футер») ----------- */
body.lclinic-service .wpb-content-wrapper .seo-block {
    margin: 26px -46px -42px !important;
    border: none !important;
    border-top: 1px solid var(--lcl-border) !important;
    border-radius: 0 0 var(--lcl-r-lg) var(--lcl-r-lg) !important;
    box-shadow: none !important;
    background: rgba(246, 244, 238, 0.6) !important;
}

@media (max-width: 768px) {
    body.lclinic-service .wpb-content-wrapper .seo-block {
        margin: 18px -16px -22px !important;
    }
}

/* --------------------------------------------------------------------------
   V3.2 (2026-09-05) — фото-баннер по контенту, CTA впритык, топбар по контенту
   -------------------------------------------------------------------------- */

/* --- 1. Фото-баннер: высота строго по контенту ----------------------------- */
body.lclinic-service .lclinic-photo-row {
    display: flex !important;
    align-items: flex-start !important;
}

body.lclinic-service .lclinic-photo-row > .wpb_column {
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
}

/* Пустая колонка-«распорка» — скрыть */
body.lclinic-service .lclinic-photo-row > .wpb_column:not(:has(*)) {
    display: none !important;
}

/* --- 2. CTA-блок — впритык к нижнему краю стеклянной карточки --------------- */
body.lclinic-service .wpb-content-wrapper {
    padding-bottom: 0 !important;
}

body.lclinic-service .wpb-content-wrapper .lclinic-cta-row {
    margin-left: -46px !important;
    margin-right: -46px !important;
    margin-bottom: 0 !important;
    border-radius: 0 0 var(--lcl-r-lg) var(--lcl-r-lg) !important;
}

@media (max-width: 768px) {
    body.lclinic-service .wpb-content-wrapper .lclinic-cta-row {
        margin-left: -16px !important;
        margin-right: -16px !important;
        border-radius: 0 0 var(--lcl-r) var(--lcl-r) !important;
    }
}

/* --- 3. Топбар: текст по границам контентной колонки (1200px) --------------- */
.top-bar {
    padding-left: max(20px, calc((100% - 1200px) / 2)) !important;
    padding-right: max(20px, calc((100% - 1200px) / 2)) !important;
}

/* --------------------------------------------------------------------------
   V3.3 (2026-09-05) — дочистка: фото-ряд по контенту, флаш последнего ряда
   -------------------------------------------------------------------------- */

/* --- 1. CTA: возвращаем в отступы карточки (флаш делает последний ряд) ----- */
body.lclinic-service .wpb-content-wrapper .lclinic-cta-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: var(--lcl-r-lg) !important;
}

/* --- 2. Последний ряд контента — вполную ширину карточки (её «футер») ------ */
body.lclinic-service .wpb-content-wrapper .vc_row:last-child {
    margin-left: -46px !important;
    margin-right: -46px !important;
    margin-bottom: 0 !important;
    width: calc(100% + 92px) !important;
    border-radius: 0 0 var(--lcl-r-lg) var(--lcl-r-lg) !important;
}

/* --- 3. Фото-баннер: колонки без лишних высот и паддингов ------------------- */
body.lclinic-service .lclinic-photo-row .vc_column-inner {
    padding: 0 !important;
    min-height: 0 !important;
}

body.lclinic-service .lclinic-photo-row .wpb_wrapper {
    min-height: 0 !important;
}

@media (max-width: 768px) {
    body.lclinic-service .wpb-content-wrapper .vc_row:last-child {
        margin-left: -16px !important;
        margin-right: -16px !important;
        width: calc(100% + 32px) !important;
        border-radius: 0 0 var(--lcl-r) var(--lcl-r) !important;
    }
}

/* --------------------------------------------------------------------------
   V3.4 (2026-09-05) — стеклянная карточка контента на ВСЕХ страницах
   (кроме главной) + нейтрализация «фута» последнего ряда
   -------------------------------------------------------------------------- */

/* --- 1. Карточка контента — все WPBakery-страницы, кроме главной ----------- */
body:not(.home) .wpb-content-wrapper {
    background: var(--lcl-surface) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 42px 46px;
    margin-top: 6px;
    overflow: hidden;
}

/* --- 2. Типографика — единая на всех страницах ------------------------------ */
body:not(.home) .wpb_text_column h2 {
    position: relative;
    padding-left: 18px;
    margin: 1.5em 0 0.7em;
    font-size: 26px !important;
    line-height: 1.35 !important;
}

body:not(.home) .wpb_text_column h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 5px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

body:not(.home) .wpb-content-wrapper h2 {
    color: var(--lcl-navy) !important;
    letter-spacing: 0.01em;
}

body:not(.home) .wpb-content-wrapper p {
    color: var(--lcl-text);
    font-size: 16.5px;
    line-height: 1.75;
    margin: 0 0 1.1em;
}

body:not(.home) .wpb-content-wrapper ul li::marker,
body:not(.home) .wpb-content-wrapper ol li::marker {
    color: var(--lcl-gold-deep);
}

/* --- 3. НейтRALизация «фута» последнего ряда (V3.3) — обычные отступы ------ */
body.lclinic-service .wpb-content-wrapper {
    padding-bottom: 42px !important;
}

body.lclinic-service .wpb-content-wrapper .vc_row:last-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    border-radius: var(--lcl-r-lg) !important;
}

/* --- 4. Блок ссылок на услугах — сразу под breadcrumbs ---------------------- */
.content > .seo-block {
    margin: 8px 0 20px !important;
}

/* --- 5. Мобильная адаптация -------------------------------------------------- */
@media (max-width: 768px) {
    body:not(.home) .wpb-content-wrapper {
        padding: 22px 16px;
        border-radius: var(--lcl-r);
    }
}

/* --------------------------------------------------------------------------
   V3.5 (2026-09-05) — карточка контента для не-WPBakery страниц (policy и др.)
   -------------------------------------------------------------------------- */
body.lclinic-plain-content #content {
    background: var(--lcl-surface) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 42px 46px;
}

body.lclinic-plain-content #content h2 {
    position: relative;
    padding-left: 18px;
    font-size: 26px !important;
    line-height: 1.35 !important;
}

body.lclinic-plain-content #content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 5px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

body.lclinic-plain-content #content p,
body.lclinic-plain-content #content li {
    color: var(--lcl-text);
    font-size: 16.5px;
    line-height: 1.75;
}

@media (max-width: 768px) {
    body.lclinic-plain-content #content {
        padding: 22px 16px;
        border-radius: var(--lcl-r);
    }
}

/* --------------------------------------------------------------------------
   V3.6 (2026-09-05) — услуги: старый CTA-ряд скрыт, вместо него —
   единый блок «Запишитесь на приём онлайн» (добавляется из плагина)
   -------------------------------------------------------------------------- */
body.lclinic-service .lclinic-cta-row {
    display: none !important;
}

/* --------------------------------------------------------------------------
   V3.7 (2026-09-06) — компактная полоса заголовка (H1 + крошки в строку),
   фото-баннер с равными отступами, типографика панелей
   -------------------------------------------------------------------------- */

/* --- 1. Полоса заголовка: компактно, H1 слева / крошки справа -------------- */
.page-title {
    padding: 16px 0 !important;
}

.page-title .wf-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.page-title .page-title-head h1,
.page-title h1 {
    font-size: clamp(20px, 2.2vw, 28px) !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

/* Компактные чипы крошек */
.breadcrumbs li a,
.breadcrumbs li.current > span,
.breadcrumbs li.current span {
    padding: 3px 11px !important;
    font-size: 12px !important;
}

.breadcrumbs li + li::before {
    margin: 0 6px !important;
    font-size: 13px !important;
}

/* Меньше воздуха под полосой */
#content {
    padding-top: 24px !important;
}

/* --- 2. Фото-баннер услуг: равные отступы со всех сторон -------------------- */
body.lclinic-service .lclinic-photo-row {
    padding: 24px !important;
}

/* Панель — без собственных полей, отступ даёт рамка баннера */
body.lclinic-service .lclinic-photo-row .vc_row.vc_row-has-fill {
    margin: 0 !important;
}

/* Текст в панели — читабельный */
body.lclinic-service .lclinic-photo-row .vc_row p,
body.lclinic-service .lclinic-photo-row .vc_row div {
    line-height: 1.65 !important;
    font-size: 15.5px !important;
}

body.lclinic-service .lclinic-photo-row .vc_row h2,
body.lclinic-service .lclinic-photo-row .vc_row h3 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

/* --- 3. Гармоничный текст в контенте услуг ---------------------------------- */
body.lclinic-service .wpb-content-wrapper .wpb_text_column {
    line-height: 1.75;
}

body.lclinic-service .wpb-content-wrapper p {
    margin-bottom: 1.15em;
}

@media (max-width: 900px) {
    .page-title .wf-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   V3.8 (2026-09-06) — полоса заголовка ещё компактнее, панель баннера ровно
   -------------------------------------------------------------------------- */
.page-title .wf-wrap {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.page-title-breadcrumbs {
    margin-top: 0 !important;
}

.breadcrumbs {
    margin: 0 !important;
}

body.lclinic-service .lclinic-photo-row .vc_row.vc_row-has-fill {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   V3.9 (2026-09-06) — финальная дочистка полосы и панели баннера
   -------------------------------------------------------------------------- */
.page-title {
    padding: 10px 0 !important;
}

body.lclinic-service .lclinic-photo-row .wpb_column .vc_row.vc_row-has-fill,
body.lclinic-service .lclinic-photo-row .wpb_column .vc_row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   V4.0 (2026-09-06) — запрет растяжения рядов и скругление на ВСЕХ страницах
   (кроме главной): фото+форма, фото+текст — всё в границах карточки
   -------------------------------------------------------------------------- */
body:not(.home) .wpb-content-wrapper .vc_row[data-vc-full-width],
body:not(.home) .wpb-content-wrapper .vc_row.vc_row-has-fill {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

/* Фото-баннеры (классификатор) — правила для всех страниц, не только услуг */
body:not(.home) .lclinic-photo-row {
    padding: 24px !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}

body:not(.home) .lclinic-photo-row > .wpb_column {
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    padding: 0 !important;
}

body:not(.home) .lclinic-photo-row .vc_column-inner {
    padding: 0 !important;
    min-height: 0 !important;
}

body:not(.home) .lclinic-photo-row .vc_row.vc_row-has-fill,
body:not(.home) .lclinic-photo-row .vc_row {
    background: rgba(255, 255, 255, 0.78) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 36px rgba(27, 47, 68, 0.22) !important;
    margin: 0 !important;
}

body:not(.home) .lclinic-photo-row .vc_row p,
body:not(.home) .lclinic-photo-row .vc_row div {
    color: var(--lcl-navy) !important;
    text-shadow: none !important;
    line-height: 1.65 !important;
    font-size: 15.5px !important;
}

body:not(.home) .lclinic-photo-row .vc_row h2,
body:not(.home) .lclinic-photo-row .vc_row h3 {
    color: var(--lcl-navy) !important;
    text-shadow: none !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

/* Формы внутри фото-баннеров и карточек — не вылезают */
body:not(.home) .wpb-content-wrapper form,
body:not(.home) .lclinic-photo-row form {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body:not(.home) .wpb-content-wrapper form input,
body:not(.home) .wpb-content-wrapper form select,
body:not(.home) .wpb-content-wrapper form textarea,
body:not(.home) .lclinic-photo-row form input,
body:not(.home) .lclinic-photo-row form select,
body:not(.home) .lclinic-photo-row form textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Изображения в контенте — не шире своего блока */
body:not(.home) .wpb-content-wrapper img,
body:not(.home) .lclinic-photo-row img {
    max-width: 100% !important;
    height: auto !important;
}

/* --------------------------------------------------------------------------
   V4.1 (2026-09-06) — Врачи: стеклянные карточки; страница врача;
   Контакты: карта в границах
   -------------------------------------------------------------------------- */

/* --- 1. Сетка врачей — стеклянные карточки, равная высота ------------------- */
.lc-grid {
    gap: 24px !important;
}

.lc-card {
    background: var(--lcl-surface-solid) !important;
    border: 1px solid var(--lcl-border) !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: var(--lcl-shadow-sm) !important;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}

.lc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lcl-shadow) !important;
    border-color: rgba(205, 180, 113, 0.5) !important;
}

.lc-card-photo {
    overflow: hidden;
}

.lc-card-photo img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.lc-card:hover .lc-card-photo img {
    transform: scale(1.05);
}

.lc-card b,
.lc-card strong,
.lc-card h3,
.lc-card h4 {
    font-family: 'Golos Text', sans-serif !important;
    color: var(--lcl-navy) !important;
}

.lc-card {
    color: var(--lcl-text);
}

/* --- 2. Страница врача — стеклянная карточка контента ------------------------ */
body.lclinic-doctor-single #content {
    background: var(--lcl-surface) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 42px 46px;
    overflow: hidden;
}

body.lclinic-doctor-single #content h2,
body.lclinic-doctor-single #content h3 {
    position: relative;
    padding-left: 18px;
    font-size: 26px !important;
    line-height: 1.35 !important;
}

body.lclinic-doctor-single #content h2::before,
body.lclinic-doctor-single #content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 5px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
}

body.lclinic-doctor-single #content p,
body.lclinic-doctor-single #content li {
    color: var(--lcl-text);
    font-size: 16.5px;
    line-height: 1.75;
}

body.lclinic-doctor-single #content img {
    max-width: 100% !important;
    border-radius: var(--lcl-r);
}

@media (max-width: 768px) {
    body.lclinic-doctor-single #content {
        padding: 22px 16px;
        border-radius: var(--lcl-r);
    }
}

/* --- 3. Контакты: карта/канвас в границах ------------------------------------ */
body:not(.home) .wpb-content-wrapper canvas,
body:not(.home) .wpb-content-wrapper iframe,
body:not(.home) .wpb-content-wrapper object,
body:not(.home) .wpb-content-wrapper embed {
    max-width: 100% !important;
}

/* V4.1b — все карточки врачей строго одной высоты */
.lc-grid {
    grid-auto-rows: 1fr !important;
}

.lc-grid .lc-card {
    display: flex;
    flex-direction: column;
}

.lc-grid .lc-card-photo {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   V4.2 (2026-09-06) — дочистка по QA-проходу (главная, /blog/, услуги)
   -------------------------------------------------------------------------- */

/* 1. Карточки новостей (/blog/, архивы): мета-строка — фирменные цвета
      вместо cyan #2fcfde из инлайн-CSS темы The7 */
#page .blog-shortcode .entry-meta * {
    color: var(--lcl-gold-deep) !important;
}
#page .blog-shortcode .entry-meta .data-link,
#page .blog-shortcode .entry-meta .data-link time {
    color: var(--lcl-text-muted) !important;
}
#page .blog-shortcode .entry-meta > a:hover,
#page .blog-shortcode .entry-meta > span a:hover {
    color: var(--lcl-navy) !important;
}
/* разделители мета-строки — золотые, не cyan */
#page .blog-shortcode .entry-meta > a:after,
#page .blog-shortcode .entry-meta > span:after {
    background: rgba(205, 180, 113, 0.55) !important;
}

/* 2. Мета-строка: пустой «Автор:» (display_name автора не задан) и ссылка
      «Оставить комментарий» — скрыть; хвостовой разделитель после даты */
#page .entry-meta a.author.vcard {
    display: none !important;
}
#page .entry-meta .comment-link {
    display: none !important;
}
#page .blog-shortcode .entry-meta > a.data-link:after {
    display: none !important;
}

/* 3. Кардиология: ряд «СТОИМОСТЬ УСЛУГ» без таблицы в контенте — скрыть,
      пока таблица не добавлена через WPBakery */
#cardiolog {
    display: none !important;
}

/* --------------------------------------------------------------------------
   V4.3 (2026-09-06) — Контакты, О нас, Акции, Отзывы: единый стиль;
   блок отзывов Яндекс; скоуп услуг расширен на вложенные страницы
   -------------------------------------------------------------------------- */

/* --- 1. Контакты (page-id-2373) ------------------------------------------- */
/* Три контакт-колонки → стеклянные плитки равной высоты */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    display: flex;
    gap: 24px;
    padding: 26px 0 30px !important;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 32px 30px !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Иконки — золотые круги с белым глифом */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.35);
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner .soc-icon {
    color: #fff !important;
    font-size: 24px !important;
}
/* Заголовки и текст плиток */
body.page-id-2373 .vc_custom_1579256061863 .wpb_text_column h3,
body.page-id-2373 .vc_custom_1579256061863 h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 12px !important;
    padding: 0;
}
body.page-id-2373 .vc_custom_1579256061863 p {
    color: var(--lcl-text);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 10px;
}
/* Карта — скругление и рамка */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 iframe,
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 canvas {
    border-radius: var(--lcl-r-lg);
    border: 1px solid var(--lcl-border);
    box-shadow: var(--lcl-shadow-sm);
}

/* --- 2. О нас (page-id-1070) ----------------------------------------------- */
/* Сломанный ряд: две узкие колонки 386px → две равные половины */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 {
    display: flex;
    gap: 34px;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
}
body.page-id-1070 .vc_custom_1705423224360 img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
}
/* Галерея: фото со скруглением и тенью */
body.page-id-1070 .wpb_gallery img,
body.page-id-1070 .dt-gallery-container img {
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
    transition: transform 0.28s;
}
body.page-id-1070 .wpb_gallery img:hover {
    transform: scale(1.02);
}
/* «Наши преимущества» и «Лицензии» — колонки по центру карточки */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1768765230216 > .wpb_column,
body.page-id-1070 .wpb-content-wrapper .vc_custom_1703687390877 > .wpb_column {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 3. Акции (page-id-2860) ------------------------------------------------ */
/* Два ряда плиток: колонки 257px → равные третьи, стеклянные карточки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2),
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column:hover > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column:hover > .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Контент внутри плитки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    width: 100% !important;
    height: 190px;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
    display: block;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper {
    padding: 6px 22px 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h4,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h4 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper > p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper > p {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    flex: 1;
}
/* Кнопки внутри плиток прижаты к низу */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .dt-btn,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .dt-btn {
    margin-top: auto !important;
    align-self: flex-start;
}
/* «Подробности акции…» — панель мелкого шрифта */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) > .wpb_column > .vc_column-inner {
    background: rgba(36, 61, 87, 0.04);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    padding: 30px 34px !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) li {
    color: var(--lcl-text-muted) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* --- 4. Отзывы (page-id-2876): отступ как на остальных страницах ---------- */
body.page-id-2876 #content {
    padding-top: 40px !important;
}
body.page-id-2876 .doctor-reviews-section h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 26px !important;
    color: var(--lcl-navy) !important;
}

/* --- 5. Блок отзывов Яндекс (.lclinic-ya) ----------------------------------- */
.lclinic-ya {
    margin: 0 0 34px;
}
.lclinic-ya-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--lcl-navy), var(--lcl-navy-deep));
    border-radius: var(--lcl-r-lg);
    padding: 28px 34px;
    color: #fff;
    box-shadow: var(--lcl-shadow);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lclinic-ya-score {
    font-family: 'Golos Text', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-score span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    letter-spacing: 0.4px;
}
.lclinic-ya-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lclinic-ya-source {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.lclinic-ya-source em {
    font-style: normal;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 3px;
}
.lclinic-ya-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
.lclinic-ya-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}
.lclinic-ya-badge b {
    display: block;
    color: #fc3f1d;
    font-size: 20px;
    letter-spacing: 0.5px;
}
.lclinic-ya-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}
.lclinic-ya-card {
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
.lclinic-ya-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
.lclinic-ya-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lclinic-ya-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lclinic-ya-author {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--lcl-navy);
}
.lclinic-ya-date {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
.lclinic-ya-card-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.lclinic-ya-text {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}
.lclinic-ya-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.lclinic-ya-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #16293a !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--lcl-r-pill);
    padding: 12px 26px;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.3);
    transition: transform 0.28s, box-shadow 0.28s;
}
.lclinic-ya-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 155, 86, 0.4);
}
.lclinic-ya-note {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
@media (max-width: 900px) {
    .lclinic-ya-grid { grid-template-columns: 1fr; }
    .lclinic-ya-badge { display: none; }
}

/* --- 6. Вложенные страницы услуг: типографика контента ---------------------- */
body.lclinic-service .wpb-content-wrapper .wpb_text_column p {
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   V4.3 (2026-09-06) — Контакты, О нас, Акции, Отзывы: единый стиль;
   блок отзывов Яндекс; скоуп услуг расширен на вложенные страницы
   -------------------------------------------------------------------------- */

/* --- 1. Контакты (page-id-2373) ------------------------------------------- */
/* Три контакт-колонки → стеклянные плитки равной высоты */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    display: flex;
    gap: 24px;
    padding: 26px 0 30px !important;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 32px 30px !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Иконки — золотые круги с белым глифом */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.35);
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner .soc-icon {
    color: #fff !important;
    font-size: 24px !important;
}
/* Заголовки и текст плиток */
body.page-id-2373 .vc_custom_1579256061863 .wpb_text_column h3,
body.page-id-2373 .vc_custom_1579256061863 h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 12px !important;
    padding: 0;
}
body.page-id-2373 .vc_custom_1579256061863 p {
    color: var(--lcl-text);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 10px;
}
/* Карта — скругление и рамка */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 iframe,
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 canvas {
    border-radius: var(--lcl-r-lg);
    border: 1px solid var(--lcl-border);
    box-shadow: var(--lcl-shadow-sm);
}

/* --- 2. О нас (page-id-1070) ----------------------------------------------- */
/* Сломанный ряд: две узкие колонки 386px → две равные половины */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 {
    display: flex;
    gap: 34px;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
}
body.page-id-1070 .vc_custom_1705423224360 img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
}
/* Галерея: фото со скруглением и тенью */
body.page-id-1070 .wpb_gallery img,
body.page-id-1070 .dt-gallery-container img {
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
    transition: transform 0.28s;
}
body.page-id-1070 .wpb_gallery img:hover {
    transform: scale(1.02);
}
/* «Наши преимущества» и «Лицензии» — колонки по центру карточки */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1768765230216 > .wpb_column,
body.page-id-1070 .wpb-content-wrapper .vc_custom_1703687390877 > .wpb_column {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 3. Акции (page-id-2860) ------------------------------------------------ */
/* Два ряда плиток: колонки 257px → равные третьи, стеклянные карточки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2),
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column:hover > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column:hover > .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Контент внутри плитки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    width: 100% !important;
    height: 190px;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
    display: block;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper {
    padding: 6px 22px 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h4,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h4 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper > p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper > p {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    flex: 1;
}
/* Кнопки внутри плиток прижаты к низу */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .dt-btn,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .dt-btn {
    margin-top: auto !important;
    align-self: flex-start;
}
/* «Подробности акции…» — панель мелкого шрифта */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) > .wpb_column > .vc_column-inner {
    background: rgba(36, 61, 87, 0.04);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    padding: 30px 34px !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) li {
    color: var(--lcl-text-muted) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* --- 4. Отзывы (page-id-2876): отступ как на остальных страницах ---------- */
body.page-id-2876 #content {
    padding-top: 40px !important;
}
body.page-id-2876 .doctor-reviews-section h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 26px !important;
    color: var(--lcl-navy) !important;
}

/* --- 5. Блок отзывов Яндекс (.lclinic-ya) ----------------------------------- */
.lclinic-ya {
    margin: 0 0 34px;
}
.lclinic-ya-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--lcl-navy), var(--lcl-navy-deep));
    border-radius: var(--lcl-r-lg);
    padding: 28px 34px;
    color: #fff;
    box-shadow: var(--lcl-shadow);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lclinic-ya-score {
    font-family: 'Golos Text', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-score span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    letter-spacing: 0.4px;
}
.lclinic-ya-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lclinic-ya-source {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.lclinic-ya-source em {
    font-style: normal;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 3px;
}
.lclinic-ya-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
.lclinic-ya-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}
.lclinic-ya-badge b {
    display: block;
    color: #fc3f1d;
    font-size: 20px;
    letter-spacing: 0.5px;
}
.lclinic-ya-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}
.lclinic-ya-card {
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
.lclinic-ya-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
.lclinic-ya-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lclinic-ya-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lclinic-ya-author {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--lcl-navy);
}
.lclinic-ya-date {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
.lclinic-ya-card-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.lclinic-ya-text {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}
.lclinic-ya-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.lclinic-ya-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #16293a !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--lcl-r-pill);
    padding: 12px 26px;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.3);
    transition: transform 0.28s, box-shadow 0.28s;
}
.lclinic-ya-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 155, 86, 0.4);
}
.lclinic-ya-note {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
@media (max-width: 900px) {
    .lclinic-ya-grid { grid-template-columns: 1fr; }
    .lclinic-ya-badge { display: none; }
}

/* --- 6. Вложенные страницы услуг: типографика контента ---------------------- */
body.lclinic-service .wpb-content-wrapper .wpb_text_column p {
    line-height: 1.75;
}

/* V4.3b — иконки контактов: блоком над заголовком (иначе круг перекрывает H3) */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    margin-bottom: 14px;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-with-text-shortcode {
    display: block;
}

/* --------------------------------------------------------------------------
   V4.3 (2026-09-06) — Контакты, О нас, Акции, Отзывы: единый стиль;
   блок отзывов Яндекс; скоуп услуг расширен на вложенные страницы
   -------------------------------------------------------------------------- */

/* --- 1. Контакты (page-id-2373) ------------------------------------------- */
/* Три контакт-колонки → стеклянные плитки равной высоты */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    display: flex;
    gap: 24px;
    padding: 26px 0 30px !important;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 32px 30px !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Иконки — золотые круги с белым глифом */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.35);
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner .soc-icon {
    color: #fff !important;
    font-size: 24px !important;
}
/* Заголовки и текст плиток */
body.page-id-2373 .vc_custom_1579256061863 .wpb_text_column h3,
body.page-id-2373 .vc_custom_1579256061863 h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 12px !important;
    padding: 0;
}
body.page-id-2373 .vc_custom_1579256061863 p {
    color: var(--lcl-text);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 10px;
}
/* Карта — скругление и рамка */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 iframe,
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 canvas {
    border-radius: var(--lcl-r-lg);
    border: 1px solid var(--lcl-border);
    box-shadow: var(--lcl-shadow-sm);
}

/* --- 2. О нас (page-id-1070) ----------------------------------------------- */
/* Сломанный ряд: две узкие колонки 386px → две равные половины */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 {
    display: flex;
    gap: 34px;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
}
body.page-id-1070 .vc_custom_1705423224360 img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
}
/* Галерея: фото со скруглением и тенью */
body.page-id-1070 .wpb_gallery img,
body.page-id-1070 .dt-gallery-container img {
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
    transition: transform 0.28s;
}
body.page-id-1070 .wpb_gallery img:hover {
    transform: scale(1.02);
}
/* «Наши преимущества» и «Лицензии» — колонки по центру карточки */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1768765230216 > .wpb_column,
body.page-id-1070 .wpb-content-wrapper .vc_custom_1703687390877 > .wpb_column {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 3. Акции (page-id-2860) ------------------------------------------------ */
/* Два ряда плиток: колонки 257px → равные третьи, стеклянные карточки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2),
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column:hover > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column:hover > .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Контент внутри плитки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    width: 100% !important;
    height: 190px;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
    display: block;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper {
    padding: 6px 22px 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h4,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h4 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper > p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper > p {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    flex: 1;
}
/* Кнопки внутри плиток прижаты к низу */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .dt-btn,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .dt-btn {
    margin-top: auto !important;
    align-self: flex-start;
}
/* «Подробности акции…» — панель мелкого шрифта */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) > .wpb_column > .vc_column-inner {
    background: rgba(36, 61, 87, 0.04);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    padding: 30px 34px !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) li {
    color: var(--lcl-text-muted) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* --- 4. Отзывы (page-id-2876): отступ как на остальных страницах ---------- */
body.page-id-2876 #content {
    padding-top: 40px !important;
}
body.page-id-2876 .doctor-reviews-section h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 26px !important;
    color: var(--lcl-navy) !important;
}

/* --- 5. Блок отзывов Яндекс (.lclinic-ya) ----------------------------------- */
.lclinic-ya {
    margin: 0 0 34px;
}
.lclinic-ya-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--lcl-navy), var(--lcl-navy-deep));
    border-radius: var(--lcl-r-lg);
    padding: 28px 34px;
    color: #fff;
    box-shadow: var(--lcl-shadow);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lclinic-ya-score {
    font-family: 'Golos Text', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-score span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    letter-spacing: 0.4px;
}
.lclinic-ya-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lclinic-ya-source {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.lclinic-ya-source em {
    font-style: normal;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 3px;
}
.lclinic-ya-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
.lclinic-ya-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}
.lclinic-ya-badge b {
    display: block;
    color: #fc3f1d;
    font-size: 20px;
    letter-spacing: 0.5px;
}
.lclinic-ya-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}
.lclinic-ya-card {
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
.lclinic-ya-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
.lclinic-ya-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lclinic-ya-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lclinic-ya-author {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--lcl-navy);
}
.lclinic-ya-date {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
.lclinic-ya-card-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.lclinic-ya-text {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}
.lclinic-ya-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.lclinic-ya-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #16293a !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--lcl-r-pill);
    padding: 12px 26px;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.3);
    transition: transform 0.28s, box-shadow 0.28s;
}
.lclinic-ya-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 155, 86, 0.4);
}
.lclinic-ya-note {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
@media (max-width: 900px) {
    .lclinic-ya-grid { grid-template-columns: 1fr; }
    .lclinic-ya-badge { display: none; }
}

/* --- 6. Вложенные страницы услуг: типографика контента ---------------------- */
body.lclinic-service .wpb-content-wrapper .wpb_text_column p {
    line-height: 1.75;
}

/* V4.3b — иконки контактов: блоком над заголовком (иначе круг перекрывает H3) */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    margin-bottom: 14px;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-with-text-shortcode {
    display: block;
}

/* V4.3c — контакты: круги иконок + строго равная высота плиток */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    border-radius: 999px !important;
    overflow: hidden;
}
body.page-id-2373 .vc_custom_1579256061863 > .wpb_column {
    align-items: stretch;
}
body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: 100% !important;
    margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   V4.3 (2026-09-06) — Контакты, О нас, Акции, Отзывы: единый стиль;
   блок отзывов Яндекс; скоуп услуг расширен на вложенные страницы
   -------------------------------------------------------------------------- */

/* --- 1. Контакты (page-id-2373) ------------------------------------------- */
/* Три контакт-колонки → стеклянные плитки равной высоты */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    display: flex;
    gap: 24px;
    padding: 26px 0 30px !important;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 32px 30px !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Иконки — золотые круги с белым глифом */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.35);
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner .soc-icon {
    color: #fff !important;
    font-size: 24px !important;
}
/* Заголовки и текст плиток */
body.page-id-2373 .vc_custom_1579256061863 .wpb_text_column h3,
body.page-id-2373 .vc_custom_1579256061863 h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 12px !important;
    padding: 0;
}
body.page-id-2373 .vc_custom_1579256061863 p {
    color: var(--lcl-text);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 10px;
}
/* Карта — скругление и рамка */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 iframe,
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 canvas {
    border-radius: var(--lcl-r-lg);
    border: 1px solid var(--lcl-border);
    box-shadow: var(--lcl-shadow-sm);
}

/* --- 2. О нас (page-id-1070) ----------------------------------------------- */
/* Сломанный ряд: две узкие колонки 386px → две равные половины */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 {
    display: flex;
    gap: 34px;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
}
body.page-id-1070 .vc_custom_1705423224360 img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
}
/* Галерея: фото со скруглением и тенью */
body.page-id-1070 .wpb_gallery img,
body.page-id-1070 .dt-gallery-container img {
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
    transition: transform 0.28s;
}
body.page-id-1070 .wpb_gallery img:hover {
    transform: scale(1.02);
}
/* «Наши преимущества» и «Лицензии» — колонки по центру карточки */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1768765230216 > .wpb_column,
body.page-id-1070 .wpb-content-wrapper .vc_custom_1703687390877 > .wpb_column {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 3. Акции (page-id-2860) ------------------------------------------------ */
/* Два ряда плиток: колонки 257px → равные третьи, стеклянные карточки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2),
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column:hover > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column:hover > .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Контент внутри плитки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    width: 100% !important;
    height: 190px;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
    display: block;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper {
    padding: 6px 22px 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h4,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h4 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper > p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper > p {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    flex: 1;
}
/* Кнопки внутри плиток прижаты к низу */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .dt-btn,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .dt-btn {
    margin-top: auto !important;
    align-self: flex-start;
}
/* «Подробности акции…» — панель мелкого шрифта */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) > .wpb_column > .vc_column-inner {
    background: rgba(36, 61, 87, 0.04);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    padding: 30px 34px !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) li {
    color: var(--lcl-text-muted) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* --- 4. Отзывы (page-id-2876): отступ как на остальных страницах ---------- */
body.page-id-2876 #content {
    padding-top: 40px !important;
}
body.page-id-2876 .doctor-reviews-section h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 26px !important;
    color: var(--lcl-navy) !important;
}

/* --- 5. Блок отзывов Яндекс (.lclinic-ya) ----------------------------------- */
.lclinic-ya {
    margin: 0 0 34px;
}
.lclinic-ya-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--lcl-navy), var(--lcl-navy-deep));
    border-radius: var(--lcl-r-lg);
    padding: 28px 34px;
    color: #fff;
    box-shadow: var(--lcl-shadow);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lclinic-ya-score {
    font-family: 'Golos Text', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-score span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    letter-spacing: 0.4px;
}
.lclinic-ya-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lclinic-ya-source {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.lclinic-ya-source em {
    font-style: normal;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 3px;
}
.lclinic-ya-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
.lclinic-ya-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}
.lclinic-ya-badge b {
    display: block;
    color: #fc3f1d;
    font-size: 20px;
    letter-spacing: 0.5px;
}
.lclinic-ya-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}
.lclinic-ya-card {
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
.lclinic-ya-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
.lclinic-ya-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lclinic-ya-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lclinic-ya-author {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--lcl-navy);
}
.lclinic-ya-date {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
.lclinic-ya-card-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.lclinic-ya-text {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}
.lclinic-ya-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.lclinic-ya-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #16293a !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--lcl-r-pill);
    padding: 12px 26px;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.3);
    transition: transform 0.28s, box-shadow 0.28s;
}
.lclinic-ya-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 155, 86, 0.4);
}
.lclinic-ya-note {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
@media (max-width: 900px) {
    .lclinic-ya-grid { grid-template-columns: 1fr; }
    .lclinic-ya-badge { display: none; }
}

/* --- 6. Вложенные страницы услуг: типографика контента ---------------------- */
body.lclinic-service .wpb-content-wrapper .wpb_text_column p {
    line-height: 1.75;
}

/* V4.3b — иконки контактов: блоком над заголовком (иначе круг перекрывает H3) */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    margin-bottom: 14px;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-with-text-shortcode {
    display: block;
}

/* V4.3c — контакты: круги иконок + строго равная высота плиток */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    border-radius: 999px !important;
    overflow: hidden;
}
body.page-id-2373 .vc_custom_1579256061863 > .wpb_column {
    align-items: stretch;
}
body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: 100% !important;
    margin-bottom: 0 !important;
}

/* V4.3d — акции: таргет рядов через :has() (nth-of-type ломался из-за
   спейсеров vc_row-full-width между рядами) + снятие фикс-ширин колонок */
body.page-id-2860 .wpb-content-wrapper .vc_row:has(> .wpb_column.vc_col-sm-4) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper .vc_row:has(> .wpb_column.vc_col-sm-4) > .wpb_column {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper .vc_row:has(> .wpb_column.vc_col-sm-4) > .wpb_column > .vc_column-inner {
    width: 100% !important;
    max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   V4.3 (2026-09-06) — Контакты, О нас, Акции, Отзывы: единый стиль;
   блок отзывов Яндекс; скоуп услуг расширен на вложенные страницы
   -------------------------------------------------------------------------- */

/* --- 1. Контакты (page-id-2373) ------------------------------------------- */
/* Три контакт-колонки → стеклянные плитки равной высоты */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    display: flex;
    gap: 24px;
    padding: 26px 0 30px !important;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 32px 30px !important;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column > .vc_column-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Иконки — золотые круги с белым глифом */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px !important;
    height: 54px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.35);
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner .soc-icon {
    color: #fff !important;
    font-size: 24px !important;
}
/* Заголовки и текст плиток */
body.page-id-2373 .vc_custom_1579256061863 .wpb_text_column h3,
body.page-id-2373 .vc_custom_1579256061863 h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 12px !important;
    padding: 0;
}
body.page-id-2373 .vc_custom_1579256061863 p {
    color: var(--lcl-text);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 10px;
}
/* Карта — скругление и рамка */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 iframe,
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579193910518 canvas {
    border-radius: var(--lcl-r-lg);
    border: 1px solid var(--lcl-border);
    box-shadow: var(--lcl-shadow-sm);
}

/* --- 2. О нас (page-id-1070) ----------------------------------------------- */
/* Сломанный ряд: две узкие колонки 386px → две равные половины */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 {
    display: flex;
    gap: 34px;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
}
body.page-id-1070 .vc_custom_1705423224360 img {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
}
/* Галерея: фото со скруглением и тенью */
body.page-id-1070 .wpb_gallery img,
body.page-id-1070 .dt-gallery-container img {
    border-radius: var(--lcl-r);
    box-shadow: var(--lcl-shadow-sm);
    transition: transform 0.28s;
}
body.page-id-1070 .wpb_gallery img:hover {
    transform: scale(1.02);
}
/* «Наши преимущества» и «Лицензии» — колонки по центру карточки */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1768765230216 > .wpb_column,
body.page-id-1070 .wpb-content-wrapper .vc_custom_1703687390877 > .wpb_column {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 3. Акции (page-id-2860) ------------------------------------------------ */
/* Два ряда плиток: колонки 257px → равные третьи, стеклянные карточки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2),
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column {
    flex: 1 1 0;
    width: auto !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column > .vc_column-inner {
    width: 100%;
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) > .wpb_column:hover > .vc_column-inner,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) > .wpb_column:hover > .vc_column-inner {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
/* Контент внутри плитки */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    width: 100% !important;
    height: 190px;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
    display: block;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper {
    padding: 6px 22px 22px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) h4,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) h4 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    color: var(--lcl-navy) !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .wpb_wrapper > p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .wpb_wrapper > p {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    flex: 1;
}
/* Кнопки внутри плиток прижаты к низу */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .vc_btn3,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) .dt-btn,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) .dt-btn {
    margin-top: auto !important;
    align-self: flex-start;
}
/* «Подробности акции…» — панель мелкого шрифта */
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) > .wpb_column > .vc_column-inner {
    background: rgba(36, 61, 87, 0.04);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    padding: 30px 34px !important;
}
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) p,
body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(4) li {
    color: var(--lcl-text-muted) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* --- 4. Отзывы (page-id-2876): отступ как на остальных страницах ---------- */
body.page-id-2876 #content {
    padding-top: 40px !important;
}
body.page-id-2876 .doctor-reviews-section h3 {
    font-family: 'Golos Text', sans-serif !important;
    font-size: 26px !important;
    color: var(--lcl-navy) !important;
}

/* --- 5. Блок отзывов Яндекс (.lclinic-ya) ----------------------------------- */
.lclinic-ya {
    margin: 0 0 34px;
}
.lclinic-ya-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--lcl-navy), var(--lcl-navy-deep));
    border-radius: var(--lcl-r-lg);
    padding: 28px 34px;
    color: #fff;
    box-shadow: var(--lcl-shadow);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.lclinic-ya-score {
    font-family: 'Golos Text', sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-score span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    letter-spacing: 0.4px;
}
.lclinic-ya-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lclinic-ya-source {
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.lclinic-ya-source em {
    font-style: normal;
    color: var(--lcl-gold-bright);
}
.lclinic-ya-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 3px;
}
.lclinic-ya-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}
.lclinic-ya-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}
.lclinic-ya-badge b {
    display: block;
    color: #fc3f1d;
    font-size: 20px;
    letter-spacing: 0.5px;
}
.lclinic-ya-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}
.lclinic-ya-card {
    background: var(--lcl-surface-solid);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow-sm);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.28s, border-color 0.28s;
}
.lclinic-ya-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lcl-shadow);
    border-color: rgba(205, 180, 113, 0.5);
}
.lclinic-ya-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.lclinic-ya-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lclinic-ya-author {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--lcl-navy);
}
.lclinic-ya-date {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
.lclinic-ya-card-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.lclinic-ya-text {
    color: var(--lcl-text);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}
.lclinic-ya-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.lclinic-ya-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep));
    color: #16293a !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--lcl-r-pill);
    padding: 12px 26px;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(184, 155, 86, 0.3);
    transition: transform 0.28s, box-shadow 0.28s;
}
.lclinic-ya-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 155, 86, 0.4);
}
.lclinic-ya-note {
    font-size: 12.5px;
    color: var(--lcl-text-muted);
}
@media (max-width: 900px) {
    .lclinic-ya-grid { grid-template-columns: 1fr; }
    .lclinic-ya-badge { display: none; }
}

/* --- 6. Вложенные страницы услуг: типографика контента ---------------------- */
body.lclinic-service .wpb-content-wrapper .wpb_text_column p {
    line-height: 1.75;
}

/* V4.3b — иконки контактов: блоком над заголовком (иначе круг перекрывает H3) */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    margin-bottom: 14px;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-with-text-shortcode {
    display: block;
}

/* V4.3c — контакты: круги иконок + строго равная высота плиток */
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    border-radius: 999px !important;
    overflow: hidden;
}
body.page-id-2373 .vc_custom_1579256061863 > .wpb_column {
    align-items: stretch;
}
body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: 100% !important;
    margin-bottom: 0 !important;
}

/* V4.3d — акции: таргет рядов через :has() (nth-of-type ломался из-за
   спейсеров vc_row-full-width между рядами) + снятие фикс-ширин колонок */
body.page-id-2860 .wpb-content-wrapper .vc_row:has(> .wpb_column.vc_col-sm-4) {
    display: flex;
    gap: 24px;
}
body.page-id-2860 .wpb-content-wrapper .vc_row:has(> .wpb_column.vc_col-sm-4) > .wpb_column {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .wpb-content-wrapper .vc_row:has(> .wpb_column.vc_col-sm-4) > .wpb_column > .vc_column-inner {
    width: 100% !important;
    max-width: 100% !important;
}

/* V4.3e — акции: начисто по vc_custom классам (nth-of-type ненадёжен:
   WPBakery вставляет vc_row-full-width спейсеры между рядами) */
/* Плитки: ряды 1769099194961 (5 акций) и 1768936150382 (2 акции) */
body.page-id-2860 .vc_custom_1769099194961,
body.page-id-2860 .vc_custom_1768936150382 {
    display: flex;
    gap: 24px;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column,
body.page-id-2860 .vc_custom_1768936150382 > .wpb_column {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    display: flex;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column > .vc_column-inner,
body.page-id-2860 .vc_custom_1768936150382 > .wpb_column > .vc_column-inner {
    width: 100% !important;
    max-width: 100% !important;
}
/* «Подробности акции…» — панель мелкого шрифта (ряд 1768941632035) */
body.page-id-2860 .vc_custom_1768941632035 > .wpb_column > .vc_column-inner {
    background: rgba(36, 61, 87, 0.04);
    border: 1px solid var(--lcl-border);
    border-radius: var(--lcl-r-lg);
    padding: 30px 34px !important;
}
body.page-id-2860 .vc_custom_1768941632035 p,
body.page-id-2860 .vc_custom_1768941632035 li {
    color: var(--lcl-text-muted) !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

/* --------------------------------------------------------------------------
   V4.4 (2026-09-06) — компактные фото-баннеры; акции 2-в-ряд; сетка «О нас»;
   одна линия у заголовков; отступы отзывов; интерлиньяж услуг; иконки
   -------------------------------------------------------------------------- */

/* 1. Фото-баннеры (все страницы): компактная высота */
.lclinic-photo-row div.vc_column_container:first-of-type {
    width: 58% !important;
}
.lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 42% !important;
}
.lclinic-photo-row h1 {
    font-size: 27px !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}
.lclinic-photo-row h2,
.lclinic-photo-row h3 {
    font-size: 17px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    margin: 0 0 12px !important;
}
.lclinic-photo-row .the7-form-terms-wrap {
    line-height: 1.4 !important;
}

/* 2. Заголовки секций: только одна линия (тема рисует свою, нашу убираем) */
.uvc-main-heading h2::after,
.uvc-main-heading h3::after {
    display: none !important;
}

/* 3. Акции: по 2 карточки в ряд (5-я — во всю ширину) */
body.page-id-2860 .vc_custom_1769099194961 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: 1 / -1;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column > .vc_column-inner {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child > .vc_column-inner img {
    height: 230px;
}

/* 4. О нас: ровная сетка — фото одной высоты, список в 2 колонки */
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    width: 100% !important;
    height: 280px;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .standard-arrow {
    column-count: 2;
    column-gap: 28px;
}

/* 5. Контакты: воздух под иконками */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    margin-bottom: 18px !important;
}

/* 6. Отзывы: отступы карточки от полосы заголовка и футера — как везде */
body.page-id-2876 #content {
    margin-top: 24px !important;
    margin-bottom: 48px !important;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
}

/* 7. Услуги: межстрочный интервал контента */
body.lclinic-service .wpb-content-wrapper p,
body.lclinic-service .wpb-content-wrapper li,
body.lclinic-service .wpb-content-wrapper td {
    line-height: 1.7 !important;
}
body.lclinic-service .wpb-content-wrapper p {
    font-size: 15.5px;
}
body.lclinic-service .wpb-content-wrapper .wpb_accordion_content p {
    line-height: 1.7 !important;
}

/* --------------------------------------------------------------------------
   V4.4 (2026-09-06) — компактные фото-баннеры; акции 2-в-ряд; сетка «О нас»;
   одна линия у заголовков; отступы отзывов; интерлиньяж услуг; иконки
   -------------------------------------------------------------------------- */

/* 1. Фото-баннеры (все страницы): компактная высота */
.lclinic-photo-row div.vc_column_container:first-of-type {
    width: 58% !important;
}
.lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 42% !important;
}
.lclinic-photo-row h1 {
    font-size: 27px !important;
    line-height: 1.25 !important;
    margin: 0 0 10px !important;
}
.lclinic-photo-row h2,
.lclinic-photo-row h3 {
    font-size: 17px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    margin: 0 0 12px !important;
}
.lclinic-photo-row .the7-form-terms-wrap {
    line-height: 1.4 !important;
}

/* 2. Заголовки секций: только одна линия (тема рисует свою, нашу убираем) */
.uvc-main-heading h2::after,
.uvc-main-heading h3::after {
    display: none !important;
}

/* 3. Акции: по 2 карточки в ряд (5-я — во всю ширину) */
body.page-id-2860 .vc_custom_1769099194961 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: 1 / -1;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column > .vc_column-inner {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child > .vc_column-inner img {
    height: 230px;
}

/* 4. О нас: ровная сетка — фото одной высоты, список в 2 колонки */
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    width: 100% !important;
    height: 280px;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .standard-arrow {
    column-count: 2;
    column-gap: 28px;
}

/* 5. Контакты: воздух под иконками */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    margin-bottom: 18px !important;
}

/* 6. Отзывы: отступы карточки от полосы заголовка и футера — как везде */
body.page-id-2876 #content {
    margin-top: 24px !important;
    margin-bottom: 48px !important;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
}

/* 7. Услуги: межстрочный интервал контента */
body.lclinic-service .wpb-content-wrapper p,
body.lclinic-service .wpb-content-wrapper li,
body.lclinic-service .wpb-content-wrapper td {
    line-height: 1.7 !important;
}
body.lclinic-service .wpb-content-wrapper p {
    font-size: 15.5px;
}
body.lclinic-service .wpb-content-wrapper .wpb_accordion_content p {
    line-height: 1.7 !important;
}

/* V4.4b — оверрайды специфичности (ранние правила !important перебивали) */
body:not(.home) .lclinic-photo-row .vc_row h2,
body:not(.home) .lclinic-photo-row .vc_row h3 {
    font-size: 17px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 280px !important;
    object-fit: cover !important;
    opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   V4.5 (2026-09-06) — по фидбеку: контакты (иконка в своём боксе),
   о нас (блоки на всю ширину колонок, без центрирования)
   -------------------------------------------------------------------------- */

/* 1. Контакты: бокс иконки = размер круга (54px), иначе круг наезжает на H3 */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 18px !important;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    width: 54px !important;
    height: 54px !important;
}

/* 2. О нас, ряд 2: фото во всю ширину колонки, без полупрозрачности */
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
    opacity: 1 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    opacity: 1 !important;
}
/* заголовки и списки секции — по левому краю, как на остальных страницах */
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-main-heading,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h2,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h3 {
    text-align: left !important;
}
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-heading-spacer {
    margin-left: 0 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .standard-arrow {
    text-align: left !important;
}

/* --------------------------------------------------------------------------
   V4.5 (2026-09-06) — по фидбеку: контакты (иконка в своём боксе),
   о нас (блоки на всю ширину колонок, без центрирования)
   -------------------------------------------------------------------------- */

/* 1. Контакты: бокс иконки = размер круга (54px), иначе круг наезжает на H3 */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 18px !important;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    width: 54px !important;
    height: 54px !important;
}

/* 2. О нас, ряд 2: фото во всю ширину колонки, без полупрозрачности */
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
    opacity: 1 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    opacity: 1 !important;
}
/* заголовки и списки секции — по левому краю, как на остальных страницах */
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-main-heading,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h2,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h3 {
    text-align: left !important;
}
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-heading-spacer {
    margin-left: 0 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .standard-arrow {
    text-align: left !important;
}

/* V4.5b — о нас: fancy-media-wrap (450px от инлайн-CSS шорткода) на всю колонку */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 .shortcode-single-image-wrap .fancy-media-wrap {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 .shortcode-single-image-wrap .fancy-media-wrap img {
    width: 100% !important;
}

/* --------------------------------------------------------------------------
   V4.5 (2026-09-06) — по фидбеку: контакты (иконка в своём боксе),
   о нас (блоки на всю ширину колонок, без центрирования)
   -------------------------------------------------------------------------- */

/* 1. Контакты: бокс иконки = размер круга (54px), иначе круг наезжает на H3 */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 18px !important;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    width: 54px !important;
    height: 54px !important;
}

/* 2. О нас, ряд 2: фото во всю ширину колонки, без полупрозрачности */
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
    opacity: 1 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    opacity: 1 !important;
}
/* заголовки и списки секции — по левому краю, как на остальных страницах */
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-main-heading,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h2,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h3 {
    text-align: left !important;
}
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-heading-spacer {
    margin-left: 0 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .standard-arrow {
    text-align: left !important;
}

/* V4.5b — о нас: fancy-media-wrap (450px от инлайн-CSS шорткода) на всю колонку */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 .shortcode-single-image-wrap .fancy-media-wrap {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 .shortcode-single-image-wrap .fancy-media-wrap img {
    width: 100% !important;
}

/* V4.5c — о нас: колонки ряда 2 строго рядом (wrap+center складывали
   их в столбик по центру на любых разрешениях из-за min-width контента) */
body.page-id-1070 .vc_custom_1705423224360 {
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}
body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 50% !important;
}

/* --------------------------------------------------------------------------
   V4.5 (2026-09-06) — по фидбеку: контакты (иконка в своём боксе),
   о нас (блоки на всю ширину колонок, без центрирования)
   -------------------------------------------------------------------------- */

/* 1. Контакты: бокс иконки = размер круга (54px), иначе круг наезжает на H3 */
body.page-id-2373 .vc_custom_1579256061863 .text-icon {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 18px !important;
}
body.page-id-2373 .vc_custom_1579256061863 .icon-inner {
    width: 54px !important;
    height: 54px !important;
}

/* 2. О нас, ряд 2: фото во всю ширину колонки, без полупрозрачности */
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
    opacity: 1 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    opacity: 1 !important;
}
/* заголовки и списки секции — по левому краю, как на остальных страницах */
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-main-heading,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h2,
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading h3 {
    text-align: left !important;
}
body.page-id-1070 .vc_custom_1705423224360 .uvc-heading .uvc-heading-spacer {
    margin-left: 0 !important;
}
body.page-id-1070 .vc_custom_1705423224360 .standard-arrow {
    text-align: left !important;
}

/* V4.5b — о нас: fancy-media-wrap (450px от инлайн-CSS шорткода) на всю колонку */
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 .shortcode-single-image-wrap .fancy-media-wrap {
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-1070 .wpb-content-wrapper .vc_custom_1705423224360 .shortcode-single-image-wrap .fancy-media-wrap img {
    width: 100% !important;
}

/* V4.5c — о нас: колонки ряда 2 строго рядом (wrap+center складывали
   их в столбик по центру на любых разрешениях из-за min-width контента) */
body.page-id-1070 .vc_custom_1705423224360 {
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}
body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 50% !important;
}

/* V4.5d — о нас: JS-паддинг full-width рядов на широких экранах сжимает
   контент до 129px — боковые паддинги фиксируем */
body.page-id-1070 .vc_custom_1703592973967,
body.page-id-1070 .vc_custom_1705423224360,
body.page-id-1070 .vc_custom_1768765230216 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* логотип чуть компактнее — зазор до «Поиск» */
  .mobile-header-bar {
    background-size: auto 30px, cover !important;
    background-position: 10px 50%, center !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* логотип чуть компактнее — зазор до «Поиск» */
  .mobile-header-bar {
    background-size: auto 30px, cover !important;
    background-position: 10px 50%, center !important;
  }

  /* контакты: в столбике height:100% иннера схлопывает плитку */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: auto !important;
    min-height: 0 !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* логотип чуть компактнее — зазор до «Поиск» */
  .mobile-header-bar {
    background-size: auto 30px, cover !important;
    background-position: 10px 50%, center !important;
  }

  /* контакты: в столбике height:100% иннера схлопывает плитку */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: auto !important;
    min-height: 0 !important;
  }

  /* в column-направлении flex-basis 0 схлопывает высоту колонок */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column,
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    flex: 0 0 auto !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* логотип чуть компактнее — зазор до «Поиск» */
  .mobile-header-bar {
    background-size: auto 30px, cover !important;
    background-position: 10px 50%, center !important;
  }

  /* контакты: в столбике height:100% иннера схлопывает плитку */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: auto !important;
    min-height: 0 !important;
  }

  /* в column-направлении flex-basis 0 схлопывает высоту колонок */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column,
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    flex: 0 0 auto !important;
  }

  /* о нас: внутренние поля колонок на мобильном — компактнее */
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* логотип чуть компактнее — зазор до «Поиск» */
  .mobile-header-bar {
    background-size: auto 30px, cover !important;
    background-position: 10px 50%, center !important;
  }

  /* контакты: в столбике height:100% иннера схлопывает плитку */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: auto !important;
    min-height: 0 !important;
  }

  /* в column-направлении flex-basis 0 схлопывает высоту колонок */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column,
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    flex: 0 0 auto !important;
  }

  /* о нас: внутренние поля колонок на мобильном — компактнее */
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* «Поиск» — правее, не касается логотипа */
  .mobile-header-bar .mobile-mini-widgets {
    padding-right: 92px !important;
  }

/* --------------------------------------------------------------------------
   V4.6 (2026-09-06) — мобильная версия: светлая шапка с логотипом,
   контрастное меню, адаптив всех сеток, минимальные отступы
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {

  /* --- 1. Шапка: светлая, с логотипом ------------------------------------- */
  .mobile-header-bar {
    background: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-image: url('https://milleniummedc.ru/wp-content/uploads/2021/12/%D0%BB%D0%BE%D0%B3%D0%BE%D1%82%D0%B8%D0%BF-%D0%BC%D0%B8%D0%BB%D0%BB%D0%B5%D0%BD%D0%B8%D1%83%D0%BC_2-90.png'), linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: 14px 50%, center !important;
    background-size: auto 40px, cover !important;
    border-bottom: 1px solid var(--lcl-border);
  }
  /* иконка поиска и подпись — navy на светлом */
  .mobile-header-bar .the7-mw-icon-search-bold,
  .mobile-header-bar .mobile-mini-widgets span {
    color: var(--lcl-navy) !important;
  }
  /* логотип не должен перекрываться поиском: сдвигаем поиск вправо */
  .mobile-header-bar .mobile-mini-widgets {
    margin-left: auto !important;
    padding-right: 60px !important;
  }
  /* верхняя полоса с телефоном — остаётся navy, текст белый (как было) */

  /* --- 2. Меню: шрифт всегда светлый и контрастный ------------------------- */
  .mobile-main-nav li a,
  .mobile-main-nav li a span,
  .mobile-main-nav li.current-menu-item > a,
  .mobile-main-nav li.current-menu-parent > a {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .mobile-main-nav li a:hover,
  .mobile-main-nav li a:active {
    color: var(--lcl-gold-bright) !important;
  }

  /* --- 3. Сетки в столбик на узком экране ---------------------------------- */
  /* фото-баннеры (все страницы) */
  .lclinic-photo-row div.vc_column_container:first-of-type,
  .lclinic-photo-row div.vc_column_container:nth-of-type(2) {
    width: 100% !important;
  }
  /* о нас: две колонки → в столбик */
  body.page-id-1070 .vc_custom_1705423224360 {
    flex-direction: column !important;
    gap: 22px !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    max-width: 100% !important;
  }
  body.page-id-1070 .vc_custom_1705423224360 .shortcode-single-image-wrap img {
    height: 210px !important;
  }
  /* контакты: плитки в столбик */
  body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* акции: одна карточка в ряду */
  body.page-id-2860 .vc_custom_1769099194961,
  body.page-id-2860 .vc_custom_1768936150382 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  body.page-id-2860 .vc_custom_1769099194961 > .wpb_column:last-child {
    grid-column: auto !important;
  }
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(2) img,
  body.page-id-2860 .wpb-content-wrapper > .vc_row:nth-of-type(3) img {
    height: 180px !important;
  }

  /* --- 4. Минимальные отступы контентных карточек --------------------------- */
  body:not(.home) .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-plain-content #content,
  body.page-id-2876 #content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.lclinic-doctor-single #content {
    padding: 20px 14px !important;
  }
  body.parent-pageid-2226 .wpb-content-wrapper,
  body.lclinic-service .wpb-content-wrapper {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 0 !important;
  }
  /* заголовки и таблицы не вылезают */
  body .wpb-content-wrapper table,
  body #content table {
    max-width: 100% !important;
  }
  .lclinic-photo-row {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

  /* логотип компактнее, чтобы не задевал «Поиск» */
  .mobile-header-bar {
    background-size: auto 34px, cover !important;
    background-position: 12px 50%, center !important;
  }

  /* --- 5. Мелкие переполнения ------------------------------------------------ */
  /* таблицы цен: скролл внутри карточки */
  .lclinic-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .lclinic-table-wrap table {
    min-width: 500px;
  }
  /* навигация Пред/След в статьях — в столбик */
  .single-post .post-navigation .nav-links .nav-previous,
  .single-post .post-navigation .nav-links .nav-next {
    flex: 1 1 100% !important;
  }
  /* футер: убрать отрицательные поля- gutters */
  #footer .wf-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* логотип чуть компактнее — зазор до «Поиск» */
  .mobile-header-bar {
    background-size: auto 30px, cover !important;
    background-position: 10px 50%, center !important;
  }

  /* контакты: в столбике height:100% иннера схлопывает плитку */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column > .vc_column-inner {
    height: auto !important;
    min-height: 0 !important;
  }

  /* в column-направлении flex-basis 0 схлопывает высоту колонок */
  body.page-id-2373 .vc_custom_1579256061863 > .wpb_column,
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column {
    flex: 0 0 auto !important;
  }

  /* о нас: внутренние поля колонок на мобильном — компактнее */
  body.page-id-1070 .vc_custom_1705423224360 > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* «Поиск» — правее, не касается логотипа */
  .mobile-header-bar .mobile-mini-widgets {
    padding-right: 92px !important;
  }

  /* два лого накладывались: оставляем родное <img> (105×28), фоновое убрано */
  .mobile-header-bar {
    background-image: linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%) !important;
    background-size: cover !important;
    background-position: center !important;
  }


/* ==========================================================================
   V4.7 (2026-09-06) — Контакты: 3 плитки в ряд (десктоп) / 2 (планшет) / 1 (моб)
   Тема даёт vc_row-flex { flex-wrap: wrap } и перебивает ширины колонок —
   третья плитка («Часы работы») уезжала на вторую строку. Фикс:
   ========================================================================== */
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
    flex-direction: row !important;
    flex-wrap: nowrap;
}
body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
}
@media (max-width: 1024px) {
    body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 {
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
        flex: 0 0 calc(50% - 12px) !important;
    }
}
@media (max-width: 599px) {
    body.page-id-2373 .wpb-content-wrapper .vc_custom_1579256061863 > .wpb_column {
        flex: 1 1 100% !important;
    }
}


/* V4.7b — карта на «Контактах»: скругление и рамка (карта выводится плагином) */
body.page-id-2373 .lclinic-map-row {
    border-radius: var(--lcl-r-lg);
    border: 1px solid var(--lcl-border);
    box-shadow: var(--lcl-shadow-sm);
    overflow: hidden;
    margin: 10px 0 30px;
}


/* ==========================================================================
   V5.1 (2026-09-06) — страницы услуг: единый блок «Заявка + врач» (низ)
   ========================================================================== */
.lclinic-lead {
    margin: 34px 0 0;
}
.lclinic-lead__grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    background: linear-gradient(135deg, var(--lcl-navy) 0%, #1a2f45 100%);
    border-radius: var(--lcl-r-lg);
    box-shadow: var(--lcl-shadow);
    padding: 34px;
    position: relative;
    overflow: hidden;
}
.lclinic-lead__grid::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205,180,113,0.18), transparent 70%);
    pointer-events: none;
}
.lclinic-lead__form-wrap {
    flex: 1 1 58%;
    min-width: 0;
}
.lclinic-lead__title {
    font-family: 'Golos Text', sans-serif !important;
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
}
.lclinic-lead__text {
    color: rgba(255,255,255,0.75) !important;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px !important;
}
.lclinic-lead__msg {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #fff;
}
.lclinic-lead__msg--success { background: rgba(76,175,80,0.25); border: 1px solid rgba(76,175,80,0.5); }
.lclinic-lead__msg--error { background: rgba(229,57,53,0.25); border: 1px solid rgba(229,57,53,0.5); }
.lclinic-lead__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.lclinic-lead__fields input,
.lclinic-lead__fields textarea {
    width: 100%;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px;
    color: #fff !important;
    padding: 12px 16px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.25s;
}
.lclinic-lead__fields input::placeholder,
.lclinic-lead__fields textarea::placeholder { color: rgba(255,255,255,0.55); }
.lclinic-lead__fields input:focus,
.lclinic-lead__fields textarea:focus {
    outline: none;
    border-color: var(--lcl-gold-bright) !important;
}
.lclinic-lead__fields textarea { grid-column: 1 / -1; resize: vertical; }
.lclinic-lead__terms {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 12px 0 0;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    line-height: 1.5;
}
.lclinic-lead__terms a { color: var(--lcl-gold-bright); text-decoration: underline; }
.lclinic-lead__terms input { margin-top: 3px; accent-color: var(--lcl-gold-bright); }
.lclinic-lead__submit {
    margin-top: 16px;
    display: inline-block;
    background: linear-gradient(135deg, var(--lcl-gold-bright), var(--lcl-gold-deep)) !important;
    color: #16293a !important;
    font-weight: 700;
    font-size: 15px;
    border: none !important;
    border-radius: 999px;
    padding: 13px 34px;
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    transition: transform 0.25s, box-shadow 0.25s;
}
.lclinic-lead__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(205,180,113,0.35);
}
.lclinic-lead__doctor {
    flex: 0 0 280px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lclinic-lead__photo {
    width: 190px;
    height: 253px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf2, #d5dce4);
    margin-bottom: 14px;
}
.lclinic-lead__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.lclinic-lead__doc-name {
    color: #fff !important;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
}
.lclinic-lead__doc-spec {
    color: var(--lcl-gold-bright) !important;
    font-size: 14px;
    margin-top: 5px;
}
.lclinic-lead__doc-link {
    margin-top: 12px;
    color: #fff !important;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(205,180,113,0.6);
    padding-bottom: 2px;
    transition: color 0.25s, border-color 0.25s;
}
.lclinic-lead__doc-link:hover { color: var(--lcl-gold-bright) !important; border-color: var(--lcl-gold-bright); }
/* форма без врача — на всю ширину */
.lclinic-lead__form-wrap--wide { flex: 1 1 100%; }
/* адаптив */
@media (max-width: 900px) {
    .lclinic-lead__grid { flex-direction: column; padding: 24px; }
    .lclinic-lead__doctor {
        flex: 1 1 auto;
        flex-direction: row;
        text-align: left;
        gap: 18px;
        align-items: center;
    }
    .lclinic-lead__photo { width: 110px; height: 147px; margin-bottom: 0; flex-shrink: 0; }
    .lclinic-lead__fields { grid-template-columns: 1fr; }
}


/* ==========================================================================
   V5.2 (2026-09-06) — страницы услуг: CTA внизу, ширина и отступы как у контента
   CTA теперь идёт ПОСЛЕ блока «Заявка + врач» (приоритеты фильтров в плагине).
   На страницах услуг CTA внутри стеклянной карточки — растягиваем ровно
   на ширину контента карточки (без лишних боковых полей).
   ========================================================================== */
body.lclinic-service .lclinic-cta {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 26px 0 0 !important;
}
body.lclinic-service .lclinic-cta .lclinic-cta-inner {
    padding: 40px 44px;
}
@media (max-width: 768px) {
    body.lclinic-service .lclinic-cta .lclinic-cta-inner {
        padding: 26px 22px;
    }
}
/* скрытые старые ряды не оставляют дыр */
body.lclinic-service .vc_row[style*="display: none"] + .vc_row-full-width {
    display: none;
}

/* ==========================================================================
   V5.4 (2026-09-06) — услуги: серверный hero-баннер (фото + название + описание)
   Единый для всех 15 страниц услуг; высота — по тексту (min-height 330px).
   ========================================================================== */
body.lclinic-service .lclinic-hero {
    position: relative;
    border-radius: var(--lcl-r-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    min-height: 330px;
    display: flex;
    align-items: center;
    margin: 0 0 6px;
}
body.lclinic-service .lclinic-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(22,41,58,0.82) 0%, rgba(22,41,58,0.55) 55%, rgba(22,41,58,0.35) 100%);
}
body.lclinic-service .lclinic-hero--plain {
    background: linear-gradient(135deg, var(--lcl-navy) 0%, var(--lcl-navy-deep) 100%) !important;
}
body.lclinic-service .lclinic-hero--plain::after { display: none; }
body.lclinic-service .lclinic-hero__inner {
    position: relative;
    z-index: 1;
    padding: 44px 48px;
    max-width: 780px;
}
body.lclinic-service .lclinic-hero__title {
    font-family: 'Golos Text', sans-serif !important;
    color: #fff !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    text-shadow: 0 2px 12px rgba(22, 41, 58, 0.45);
}
body.lclinic-service .lclinic-hero__text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 16px 22px;
}
body.lclinic-service .lclinic-hero__text p {
    color: #fff !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}
@media (max-width: 768px) {
    body.lclinic-service .lclinic-hero { min-height: 0; }
    body.lclinic-service .lclinic-hero__inner { padding: 24px 20px; }
    body.lclinic-service .lclinic-hero__title { font-size: 26px !important; margin-bottom: 10px !important; }
    body.lclinic-service .lclinic-hero__text { padding: 12px 14px; }
    body.lclinic-service .lclinic-hero__text p { font-size: 14.5px !important; }
}


/* ==========================================================================
   V5.5 (2026-09-06) — услуги: только ОДНА форма записи (внизу)
   Старые формы темы (акционные ряды #appointment, «ЗАПИСАТЬСЯ ОНЛАЙН»,
   блоки «форма+врач») дублируют заявку — скрываем на уровне CSS мгновенно
   (JS откладывается WP Rocket и не успевает). Наш lead-блок использует
   собственный класс формы и не затрагивается.
   ========================================================================== */
body.lclinic-service .vc_row:has(form.dt-contact-form),
body.lclinic-service #appointment {
    display: none !important;
}
