.reader {
  display: flex;
}
@media (min-width: 767px) {
  .reader .reader_img {
	display: flex;
    min-width: 33.33333%;
  }
  .reader .reader_tx {
    min-width: 66.66667%;
  }
}
.reader_img img {
  width: 100%;
  margin: auto 0 0;
}
.reader_tx {
  display: flex;
  align-items: center;
  min-height: 370px;
}
.img-hor-vert {
  -moz-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.read_tx {
  padding: 50px 0;
}
.read_tx h5 {
  font-size: 24px;
  margin: 20px auto 10px auto;
}
.read_tx .read {
  display:none;
}
.read_tx .read_more,
.read_tx .hidden_bt {
  cursor: pointer;
  padding: 15px 15px;
  font-size: 14px;
  transition: color 0.2s ease;
  border: none;
}
.read_tx .hidden_bt {
  display:none;
}

:root {
  --base: #0582F5;
  --main-bg: #fff;
  --text: #292929;
  --button: #e74c3c;
  --button-text: #ffffff;
}
#contact_widget_button * {
  outline: none;
}
#contact_widget_button *,
#contact_widget_button *::before,
#contact_widget_button *::after {
  box-sizing: border-box;
}
#contact_widget_button {
  display: flex;
  background: var(--base);
  position: fixed;
  right: 15px;
  bottom: 140px;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  cursor: pointer;
  z-index: 1001;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.15;
}
.contact-widget-dropdown {
  position: absolute;
  width: 100%;
  bottom: 60px;
  right: 36px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  margin-bottom: 20px;
  transition: margin-bottom .3s ease, opacity .3s ease;
  box-shadow: 5px 12px 30px rgba(0, 0, 0, .35);
  visibility: hidden;
  min-width: 280px;
  overflow: hidden;
  cursor: initial;
}
#contact_widget_button.contact_widget_left {
  left: 45px;
  right: auto;
}
#contact_widget_button.contact_widget_left .contact-widget-dropdown {
  right: auto;
  left: -30px;
}
.contact-widget-dropdown.expanded {
  margin-bottom: 0;
  opacity: .98;
  z-index: 1;
  visibility: visible
}
#contact_widget_button .contact-widget-dropdown .heder {
  background: var(--base);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 20px 10px;
  user-select: none;
}
#contact_widget_button .contact-widget-dropdown .inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}
@keyframes pulsation {
  0% {
    transform: scale(0);
    opacity: 1
  }
  50% {
    opacity: .5
  }
  to {
    transform: scale(1);
    opacity: 0
  }
}
@keyframes iconOpacity {
  0% {
    opacity: .65
  }
  40% {
    opacity: .96
  }
  60% {
    opacity: 1
  }
  80% {
    opacity: .96
  }
  100% {
    opacity: .65
  }
}
/* green #25d366 */
#contact_widget_button.clicked {
  z-index: 1041
}
#contact_widget_substrate {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent;
  z-index: 0;
  display: none
}
#contact_widget_substrate.active {
  z-index: 1020;
  display: block
}
.contact-widget-pulsation {
  background: var(--base);
  width: 100px;
  height: 100px;
  border-radius: 50px;
  position: absolute;
  left: -15px;
  top: -15px;
  z-index: -1;
  transform: scale(0);
  animation: pulsation 2s infinite
}
.contact-widget-icon {
  color: #fff;
  width: 100%;
  font-size: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-widget-icon svg {
  animation: iconOpacity 3s infinite;
  width: 28px;
  height: 28px;
  color: #fff;
}
.contact-widget-icon svg.d-none,
.contact-widget-text.d-none {
  display: none;
}
.contact-widget-text {
  font-size: 7px;
  text-transform: uppercase;
  line-height: 9px;
  color: #fff
}
.contact-widget-item {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.contact-widget-item:hover {
  color: rgb(10, 120, 191);
}
.contact-widget-item:not(:last-child) {
  margin-bottom: 18px
}
.contact-widget-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin-right: 10px;
  color: #fff;
}
.contact-widget-item-icon svg {
  width: 20px !important;
  height: 20px
}
.contact-widget-messenger {
  background: #0084ff
}
.contact-widget-viber {
  background: #7c529d
}
.contact-widget-telegram {
  background: #2ca5e0
}
.contact-widget-skype {
  background: #31c4ed
}
.contact-widget-whatsapp {
  background: #25d366
}
.contact-widget-email {
  background: #50a8ff
}
.contact-widget-call {
  background: #3cba8b
}
.contact-widget-contacts {
  background: #141e1a
}

@media (min-width: 420px) {
  #contact_widget_button {
    
  }
  .contact-widget-icon {
    font-size: 28px
  }
  .contact-widget-text {
    font-size: 9px;
    line-height: 10px
  }
  .contact-widget-dropdown {
    right: 60px
  }
}

.callback_frame,
.record_online_frame {
  width: 100% !important;
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
  left: 50% !important;
  transform: translateX(-50%);
  right: auto !important;
  background-color: transparent !important;
  border-radius: none;
}
.callback_frame .wrap,
.record_online_frame .wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 3px;
}
.callback_frame .wrap .img,
.record_online_frame .wrap .img {
  width: 40%;
  background-image: url(/local/img/bg_01_1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}
.callback_frame .wrap .img img,
.record_online_frame .wrap .img img {
  max-width: 100%;
}
.callback_frame .wrap .inner,
.record_online_frame .wrap .inner {
  width: 60%;
}
.callback_frame .wrap .inner .modal--header .modal--descr,
.record_online_frame .wrap .inner .modal--header .modal--descr {
  display: none;
}
.jqmWindow .inner .cap {
  display: none;
}
.callback_frame .wrap .inner .cap,
.record_online_frame .wrap .inner .cap {
  display: block;
  padding: 0 60px 15px;
}
@media(max-width:992px) {
  .callback_frame .wrap .img,
  .record_online_frame .wrap .inner {
    width: 100%;
  }
}
@media(max-width:768px) {
  .record_online_frame .wrap .inner .cap {
    padding: 0 30px 15px;
  }
  .callback_frame .wrap .inner,
  .record_online_frame .wrap .inner {
    width: 100%;
  }
}

.callback_frame .jqmClose.top-close,
.record_online_frame .jqmClose.top-close {
  top: 7px;
}

.up-btn {
  bottom: 120px !important; 
  left: auto !important;
  right: 20px;
}

/* --- СЕТКА --- */
.main-services .flex-services-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Отключаем влияние старых флоатов Bootstrap */
.main-services .flex-services-row::before,
.main-services .flex-services-row::after {
  display: none !important;
}

.main-services .service-col {
  display: flex;
  margin-bottom: 60px !important; /* Увеличили отступ и добавили !important */
  float: none !important;
}

/* --- КАРТОЧКА УСЛУГИ --- */
.main-services .service {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  /* ВОТ ГЛАВНЫЙ ФИКС: Делаем внутренние отступы сверху и снизу */
  padding: 30px 0 50px 0 !important;
  /* На всякий случай убираем рамки, если это они дают серую полосу */
  border: none !important;
}

/* --- КАРТИНКА (ЖЕЛЕЗОБЕТОННЫЙ КРУГ) --- */
.main-services .service--img-link {
  display: flex; /* Помогает центрировать внутренний блок */
  justify-content: center;
  width: 100%;
  text-decoration: none;
  margin-bottom: 20px !important;
}

.main-services .service--img {
  /* Фиксируем размеры со всех сторон, чтобы флексбоксы не могли их сплющить */
  width: 200px !important;
  height: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  /* САМОЕ ВАЖНОЕ: запрещаем блоку сжиматься, если мало места */
  flex-shrink: 0 !important;
}

.main-services .service--img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  /* Отключаем глобальные стили сайта, которые могут ломать пропорции */
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  border-radius: 50% !important; /* Дублируем скругление на саму картинку для надежности */
}

/* --- ТЕКСТЫ И ЗАГОЛОВКИ --- */
.main-services .service--title,
.main-services .service--text {
  width: 100%;
  text-align: center !important; /* Убиваем выравнивание вправо */
  margin-left: 0 !important; /* Убиваем лишние отступы темы */
  margin-right: 0 !important; /* Убиваем лишние отступы темы */
}

.main-services .service--title {
  margin-bottom: 15px;
}

.main-services .service--title a {
  font-size: 18px;
  font-weight: bold;
  color: var(--base, #0582F5); /* Цвет из переменных CSS */
  text-decoration: none;
  display: block;
}

.main-services .service--text {
  flex-grow: 1; /* Растягиваем блок, чтобы вытолкнуть кнопку вниз */
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text, #292929);
}

/* --- КНОПКА --- */
.main-services .btns {
  width: 100%;
  margin-top: auto !important; /* Всегда прижимаем к низу */
  text-align: center !important;
}

/* Дополнительный фикс только для телефонов */
@media (max-width: 767px) {
  .main-services .service-col {
    justify-content: center;
    margin-bottom: 50px !important; /* Жесткий отступ для мобилок */
  }

  .main-services .service {
    max-width: 400px;
    margin: 0 auto;
  }
}

.modern-promo-section,
.modern-promo-section * {
    box-sizing: border-box !important;
}
/* --- ШАПКА БЛОКА АКЦИЙ --- */
.modern-promo-section .promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Для мобильных */
}

/* --- ИДЕАЛЬНАЯ СЕТКА (CSS GRID) --- */
.modern-promo-section .promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки одинаковой ширины */
    gap: 30px; /* Идеальные отступы между карточками */
}

/* --- СОВРЕМЕННАЯ КАРТОЧКА --- */
.modern-promo-section .promo-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px; /* Скругление углов */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Легкая современная тень вместо бордера */
    overflow: hidden; /* Чтобы картинка не вылезала за скругления */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Карточка занимает всю высоту ячейки Grid */
}

.modern-promo-section .promo-card:hover {
    transform: translateY(-5px); /* Легкое поднятие при наведении */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* --- КАРТИНКА АКЦИИ --- */
.modern-promo-section .promo-card--img-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.modern-promo-section .promo-card--img {
    width: 100%;
    height: 220px; /* Фиксированная высота картинки */
    overflow: hidden;
}

.modern-promo-section .promo-card--img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполнение без сплющивания */
    display: block;
    transition: transform 0.5s ease;
}

.modern-promo-section .promo-card:hover .promo-card--img img {
    transform: scale(1.05); /* Эффект зума картинки при наведении */
}

/* --- ВНУТРЕННИЙ БЛОК (ТЕКСТЫ И КНОПКА) --- */
.modern-promo-section .promo-card--content {
	width: 100% !important;
	max-width: 100% !important;
	padding: 20px 15px 25px 15px !important;
	box-sizing: border-box !important;
}

.modern-promo-section .promo-card--title {
    margin-bottom: 15px;
}

.modern-promo-section .promo-card--title a {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--base, #0582F5); /* Ваш синий цвет */
    text-decoration: none;
}

.modern-promo-section .promo-card--title a:hover {
    color: #0056b3;
}

.modern-promo-section .promo-card--text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text, #444);
    margin-bottom: 25px; /* Отступ перед кнопкой */
    flex-grow: 1; /* Магия flexbox - выталкивает ссылку "Подробнее" в самый низ */
}

.modern-promo-section .promo-card--text p:last-child {
    margin-bottom: 0;
}

/* --- ССЫЛКА ПОДРОБНЕЕ --- */
.modern-promo-section .promo-card--footer {
    display: flex;
    justify-content: flex-end; /* Прижимаем к правому краю */
    margin-top: auto; /* Жестко фиксируем внизу */
}

.modern-promo-section .promo-card--more {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--base, #0582F5);
    text-decoration: none;
    font-weight: 500;
}

.modern-promo-section .promo-card--more:hover {
    text-decoration: underline;
}

.modern-promo-section .promo-card--more i {
    margin-left: 8px;
    font-size: 16px;
}

/* === АДАПТИВНОСТЬ (СЕТКА ДЛЯ ПЛАНШЕТОВ И ТЕЛЕФОНОВ) === */
@media (max-width: 991px) {
    /* Планшеты: 2 колонки */
    .modern-promo-section .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    /* 1. ГЛАВНЫЙ КОНТЕЙНЕР: заставляем его вписаться в экран */
    .modern-promo-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;  /* Боковые отступы "безопасности" */
        padding-right: 15px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* 2. СЕКЦИЯ: убираем возможные лишние отступы */
    .modern-promo-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important; /* Чтобы ничего не вылазило */
    }

    /* 3. СЕТКА: делаем её максимально простой */
    .modern-promo-section .promo-grid {
        display: block !important; /* Убираем Grid/Flex, на мобилках блок надежнее */
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 4. КАРТОЧКА: сбрасываем всё до 100% */
    .modern-promo-section .promo-card {
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important; /* Расстояние между карточками по вертикали */
        box-sizing: border-box !important;
    }

    /* 5. КОНТЕНТ ВНУТРИ: зажимаем текст */
    .modern-promo-section .promo-card--content {
        padding: 15px !important; /* Одинаковые отступы со всех сторон */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ФОРСИРУЕМ ПЕРЕНОС ТЕКСТА (важно!) */
    .modern-promo-section .promo-card--text,
    .modern-promo-section .promo-card--text * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* 6. ШАПКА "Акции" */
    .modern-promo-section .promo-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 5px !important; /* Небольшой отступ внутри контейнера */
        margin-bottom: 15px !important;
    }

    .modern-promo-section .promo-header h2 {
        font-size: 22px !important;
    }
}

/* Современный блок "О клинике" */
.about-section-modern {
    padding: 60px 0;
    background-color: #ffffff; /* Или #f9f9f9, если хотите выделить зону */
}

.about-content-wrapper {
    max-width: 900px; /* Ограничиваем ширину для удобства чтения */
    margin: 0 auto;
    text-align: center; /* Центрируем заголовок и кнопку */
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

/* Красивая полоска под заголовком */
.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0582F5; /* Ваш основной синий цвет */
}

.about-text-block {
    text-align: left; /* Текст внутри читаем слева направо */
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.about-text-block p {
    margin-bottom: 20px;
}

.about-highlight {
    font-weight: 600;
    color: #333;
    font-size: 18px;
    text-align: center; /* Акцентную фразу можно отцентровать */
    margin-top: 30px;
}

/* Стилизация кнопки */
.about-actions {
    margin-top: 40px;
}

.custom-btn-med {
    padding: 15px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 50px !important; /* Скругленная современная кнопка */
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-btn-med:hover {
    box-shadow: 0 10px 20px rgba(5, 130, 245, 0.3);
    transform: translateY(-2px);
}

/* Адаптивность для мобилок */
@media (max-width: 767px) {
    .about-section-modern {
        padding: 40px 15px;
    }
    .about-title {
        font-size: 26px;
    }
    .about-text-block {
        font-size: 15px;
        line-height: 1.6;
    }
    .custom-btn-med {
        width: 100%; /* На мобилках кнопка на всю ширину */
    }
}

/* Основной блок */
.seo-info-block {
    padding: 60px 0;
    background-color: #fcfcfc;
    color: #444;
}

/* Вводный текст */
.seo-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.seo-intro h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.seo-intro .lead-text {
    font-size: 18px;
    line-height: 1.6;
    color: #0582F5; /* Акцент цветом на главной мысли */
    font-weight: 500;
    margin-bottom: 15px;
}

/* Сетка карточек */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    gap: 30px;
}

/* Стили карточки */
.seo-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.seo-card:hover {
    border-color: #0582F5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.seo-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Маленькая точка перед заголовком для стиля */
.seo-card h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #0582F5;
    border-radius: 50%;
    margin-right: 12px;
}

.seo-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Адаптивность для мобилок */
@media (max-width: 767px) {
    .seo-grid {
        grid-template-columns: 1fr; /* На мобилках в одну колонку */
        gap: 15px;
    }
    
    .seo-intro h2 {
        font-size: 24px;
    }

    .seo-card {
        padding: 20px;
    }
}