.header-top-phone {
    font-weight: bold;
    font-size: 15px !important;
}


.mail-header-col {
    padding: 0;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .mail-header-col {
        /* Сверху 10px, Справа 0, Снизу 10px, Слева 0 */
        padding: 10px 0; 
    }
}

.callback-header-btn {
	font-size: 11px !important;
	background: #ea7392;
    color: #fff !important;
}

.callback-header-btn:hover {
	background: #b95670;
}

.header-top .work-time, .header-top .contact-info > .row{
	display: flex;
	align-items: center;
}


.row {
	margin-right: -15px !important;
    margin-left: -15px !important;
}
@media screen and (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
    }
}

table .discount-price {
	color: #f34d5e !important;
}

table .old-price {
	position: relative;
}

table .old-price:before {
	position: absolute;
    left: -6px;
    right: -6px;
    bottom: 44%;
    content: '';
    width: auto;
    border-top: 1px solid #2cab50;
}

.sub-s_item-important table .old-price:before {
    border-top: 1px solid #fff;
}

table .btn-round {
    border-radius: 30px;
    font-weight: bold;
    padding: .5rem 1rem;
    background-color: #f34d5e;
    color: #fff !important;
    display: inline-block;
    margin: 10px auto;
    text-transform: uppercase;
    font-size: 14px;
    margin: 5px;
}

.response-table .td-1 {
	width:55%;
	text-align:left;
}

.response-table .td-2 {
	width:15%;
	text-align:right;
}

.response-table table tr .td-3 {
	width:15%;
	text-align:right;
}

.response-table .td-4 {
	width:15%;text-align:right;
}

.response-table--pervichnyj-priyom table tr .td-2 {
    padding-right: 10px;
    box-sizing: border-box;
}


.wa-btn svg {
	height: 20px;
	margin-left: 8px; 
}

.telegram-btn {
	margin-left: 8px; 
}

.header-right-btns {
	padding-left: 0;
	padding-right: 0;
}

.position-static {
	position: static;
}

.btn-call-doctor-list-wrapper {
	justify-content: center;
	display: flex;
}

.btn-call-doctor-list {
	position: absolute;
	bottom: 0;
	font-size: 12px;
	
}

.doctor-detail {
position: absolute;
bottom: 60px;
} 

.single-doctor.slick-slide {
    padding-bottom: 75px;
}

.liczenzii {
	width: 100%;
	height: 300px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
}

.liczenzii-wrapper {
	margin-bottom: 40px;
	position: relative;
}

.liczenzii-wrapper h2 {
	text-align: center;
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 2rem;
	color: #212529;
}

.liczenzii-link {
	position: absolute;
	top: 30px;
	right: 130px;
	border-bottom: 2px dotted #1f87c8;
	color: #1f87c8;
	text-decoration: none;
}

.main-page-wpapper .liczenzii-link {
	top: 60px;
}

.photo-wrapper .slick-next:before, .photo-wrapper .slick-prev:before {
	color: #1f87c8;
}

.photo-item {
	width: 100%;
	height: 300px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	display: block;
	margin: 0 10px;
}

.photo-wrapper {
	margin-bottom: 40px;
	position: relative;
}

.photo-wrapper h2 {
	text-align: center;
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 2rem;
	color: #212529;
}

.work-time a {
	color: #6c757d;
}

.slide-17265 .mrt-banner-btn {
	display: flex;
	align-items: baseline;
}

.slide-17265 .caption-wrap .caption .mrt-banner-btn-status {
    position: relative;
	margin-left: 10px;
	z-index: 10;
	color: #2cab50;
	top: 0;
}

.services .mrt-banner-btn-status {
    top: 35px !important;
    font-size: 13px !important;
    color: #2cab50;
}

@media (min-width: 1199px) {
	.rbf .nd_services_headline_wrap {
		width: 100%;
	}
}
@media (max-width: 1199px) {
	.work-time-text {
		padding-left: 15px;
		display: inline-block;
		margin-top: -18px;
	}

	.response-table .sub-s_item-in-title,
	.response-table .sub-s_item-in-price,
	.response-table .td-4 span
	{
		font-size: 15px;
	}

	.response-table .td-2, .response-table table tr .td-3 {
		width:20%;
	}

	.response-table  table tr .td-3 {
		padding-right: 10px;
		box-sizing: border-box;
	}
}

@media (min-width: 991px) {
	.liczenzii-wrapper .slick-prev, .photo-wrapper .slick-prev{
		top: -27px;
		left: 94%;
	}

	.liczenzii-wrapper .slick-next, .photo-wrapper .slick-next {
		top: -27px;
	}
}

@media (max-width: 991px) {
	.rbf .nd_services_headline_wrap {
		width: 100%;
	}
	
	.liczenzii-link {
		position: static;
		display: table;
		margin: 10px auto 25px;
	}
	.mobile-col-mb {
		margin-bottom: 6px;
	}

	.header-top-phone {
    font-size: 14px !important;
}

/* Мобильная версия (до 768px) */
@media (max-width: 767px) {
    .header-top-phone {
        font-size: 18px !important;
    } 
}

	.response-table .sub-s_item-in table td:nth-child(3) {
	    width: 20% !important;
	}

	.response-table .sub-s_item-in table td:nth-child(2) {
	    width: 20% !important;
	}

	.nd_services_top_wrapper {
	    flex-wrap: wrap;
	    justify-content: center;
	    padding: 15px 0;
	}

	.nd_services_headline_wrap {
	    width: 100%;
	}

.nd_services_headline_btn_wrap {
	    justify-content: space-around;
	} 




	.flexslider .slides > li, .flexslider .slides {
		height: 350px !important;
	}

	.flexslider .caption-wrap {
		bottom: 0;
		height: 100%;
	}

	.flexslider .slides > li > img, .flexslider .slides > li > a > img {
		object-fit: cover !important;
		height: 100% !important;
	}
}

@media (max-width: 767px) {
	.btn-call-doctor-list {
	    font-size: 12px !important;
	}
	.work-time-text {
		padding-left: 0;
		display: inline;
		margin-top: 0;
	}

	.response-table td, .sub-s_item-in table td {
		display: block !important;
		width: 100% !important;
		text-align: center !important;
	}

	.response-table .sub-s_item-in table td:nth-child(2),
	.response-table .sub-s_item-in table td:nth-child(3),
	.sub-s_item-in table td:nth-child(2),
	.sub-s_item-in table td:nth-child(3) {
	    width: 100% !important;
	}
	
	

	.response-table .sub-s_item-in, .sub-s_item-in {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.sub-s_item-in .nd_cf_green {
		margin: 0 auto;
	}
}

@media (max-width: 455px) {
	.services .mrt-banner-btn-status {
	    top: 35px !important;
	    font-size: 13px !important;
	    color: #2cab50;
	}

	.flexslider .slides > li, .flexslider .slides {
		height: 250px !important;
	}
}

@media (max-width: 377px) {
	.nd_services_headline_btn_wrap {
	    flex-direction: column;
	}

	.nd_services_headline_btn_wrap a:first-child {
		margin-bottom: 15px;
	}

	.nd_services_headline_list, .nd_services_headline_list ul {
		padding: 0;
	}
}


.liczenzii-wrapper2 .slick-prev, .photo-wrapper .slick-prev {
	top: 50%;
	left: -15px;
}

.liczenzii-wrapper2 .slick-next, .photo-wrapper .slick-next {
	top: 50%;
	right: -15px;
}

.podpiska-link {
	color: #fff;
	text-decoration: underline;
}

.podpiska-link:hover {
	color: #fff;
}

.podpiska-link span:after {
	background-color: transparent;
}

/* --- Основные стили для навигации --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-nav-sticky__wrap {
  position: sticky;
  top: 5px;
  z-index: 1000;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 10px 10px; /* Убрал лишний padding сверху/снизу */
  margin: 5px 10px; /* Для отступа от контента */
  min-height: 44px; /* Фиксированная высота для ровного отображения */
	margin-bottom: 20px;
	margin-top: 0px !important;
}

.page-nav-sticky__items {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  min-height: 44px;
  align-items: center; /* Выравнивание элементов по центру */
}

.page-nav-sticky__item {
  display: block;
  padding: 8px 12px; /* Увеличил padding для лучшей читаемости */
  background-color: #e8f4fc;
  color: #2c3e50;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 400;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1px solid #e0e7ff;
  flex: 1 1 auto;
  min-width: 0; /* Убрал фиксированный min-width для адаптивности */
  text-align: center;
  box-sizing: border-box; /* Включает padding в общую ширину */
  margin: 3px 3px; /* Отступы между элементами для предотвращения наложений */
}
.page-nav-sticky__item:hover {
  background-color: #3498db;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.page-nav-sticky__item:active {
  transform: translateY(0);
}

.page-nav-sticky__item.active {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
  font-weight: 600;
}

/* --- Адаптивность для мобильных устройств --- */
@media (max-width: 768px) {
  .page-nav-sticky__wrap {
    top: 60px;
    padding: 10px 8px;
  }

  .page-nav-sticky__item {
    padding: 10px 12px;
    background-color: #f0f8ff;
    color: #2c3e50;
    border-radius: 8px;
    border: 1px solid #e0e7ff;
    font-size: 14px; /* Уменьшаем для мобильных */
    font-weight: 400;
    text-align: center;
    white-space: nowrap; /* Или normal + word-break, см. выше */
    overflow: hidden; /* Если nowrap */
    text-overflow: ellipsis; /* Обрезать длинный текст */
    max-width: 120px; /* Фиксированная ширина */
    flex: 0 0 auto; /* Не растягиваться */
    margin: 1px; /* Уменьшенный отступ */
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }
}

/* --- Для очень маленьких экранов --- */
@media (max-width: 480px) {
  .page-nav-sticky__items {
    justify-content: flex-start; /* Убираем центровку */
    gap: 4px; /* Вместо margin */
  }

  .page-nav-sticky__item {
    padding: 6px 8px;
    font-size: 14px; /* Еще меньше для крошек */
    min-width: 80px; /* Минимальная ширина */
    max-width: 100%; /* Может занимать всю доступную ширину */
  }
}

/* Уменьшаем размер на мобильной версии (ширина ≤ 767px) */
@media (max-width: 767px) {
  h2 {
    font-size: 1.5rem !important; /* 28.8px */
  }

  h3 {
    font-size: 1.3rem !important; /* 24px */
		
  }
	h4 {
    font-size: 1.1rem !important; /* 24px */
}
}

/*длительность мрт */ 
.mrt-info {
  font-family: 'Segoe UI', Arial, sans-serif;
  max-width: 100%;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	margin-left: 0.95rem;    /* Лево 16px */
    margin-right: 0.95rem;   /* Право 16px */
	padding-bottom: 0.1rem;
}

.mrt-title {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
	font-size: 1.8rem;
}

.mrt-duration {
  display: grid;
  gap: 0.4rem;
	margin-left: 0.05rem;
    margin-right: 0.05rem; 
	
	margin-bottom: 1rem;
	
} 

.duration-item {
  background: white;
  padding: 1.2rem;
	
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
	margin-left: 0.05rem;    
    margin-right: 0.05rem; 
	margin-bottom: 0.5rem;
	
}

.duration-item h3 {
  color: #2980b9;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.note {
  margin-top: 0.8rem;
  padding: 0.8rem;
  background: #e8f4fc;
  border-left: 2px solid #3498db;
  font-size: 0.9rem;
}

.icon {
  margin-right: 0.5rem;
}

.mrt-tips {
  margin-top: 2rem;
  background: white;
  padding: 1.2rem;
  border-radius: 6px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.03);
}

.mrt-tips h3 {
  color: #2c3e50;
  margin-bottom: 0.8rem;
}

.mrt-tips ul {
  padding-left: 1.5rem;
}

.mrt-tips li {
  margin-bottom: 0.5rem;
  color: #555;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .mrt-info {
    margin-bottom: 2rem; /* Отступ снизу 32px (2rem) */
    margin-top: 1.5rem;   /* Отступ сверху 8px (0.5rem) */
    margin-left: 0.75rem;    /* Лево 16px */
    margin-right: 0.75rem;   /* Право 16px */
    padding: 1rem;
  }

  .mrt-duration {
    padding: 0 0.3rem; /* 8px по бокам */
  }

  .duration-item {
    padding: 0.5rem; /* ~12.8px (вместо 1.2rem) */
  }
}

  .mrt-duration {
    padding: 0 0.5rem; /* 8px по бокам */
  }


    /* Основные стили для списка*/
    .mrt-menu {
      font-family: 'Segoe UI', Arial, sans-serif;
      max-width: 100%;
      margin: 1.5rem auto;
      padding: 1.5rem;
      background: #f9f9f9;
      border-radius: 5px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
			padding-bottom: 4px; /* Уменьшаем нижний отступ внутри блока */
  margin-bottom: 40px; 
    }
/* Стиль для контейнера с изображением */
.mrt-image {
  margin-bottom: 20px; /* Отступ снизу */
  text-align: center; /* Выравнивание изображения по центру */
  
  padding: 10px; /* Внутренний отступ */
  background: white;
  margin-left: 10px; /* Отступ слева */
  margin-right: 10px; /* Отступ справа */
  border-radius: 6px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.03);
}

/* Стиль для самого изображения */
.mrt-image img {
  max-width: 80%; /* Максимальная ширина изображения равна ширине контейнера */
  height: auto; /* Автоматическая высота для сохранения пропорций */
  display: block; /* Убираем лишний отступ под изображением */
  margin: 0 auto; /* Центрирование изображения, если оно меньше контейнера */
  border-radius: 4px; /* Слегка скругляем углы изображения */
}

/* Контейнер для блока эксперта */

/* Обертка с ограниченной шириной */
.expert-container {
  max-width: 630px; /* Ограничиваем ширину */
 
}
.mrt-duration .expert-block {
  display: flex; /* Используем Flexbox для размещения элементов */
  align-items: center; /* Вертикальное выравнивание по центру */
  gap: 15px; /* Расстояние между фото и текстом */
  flex-wrap: wrap; /* Разрешаем перенос элементов на новую строку на малых экранах */
  justify-content: center; /* Центрируем блок на малых экранах */
}

/* Фото эксперта */
.expert-photo {
  height: 90px;
  width: 90px;
  border-radius: 50%; /* Круглая форма */
  border: 3px solid #e17493; /* Розовая рамка */
  margin-bottom: 10px; /* Отступ снизу */
  object-fit: cover; /* Обеспечивает, что изображение покроет всю область, сохраняя пропорции */
}

/* Контейнер для деталей эксперта (имени и специализации) */
.expert-details {
  text-align: left;
  flex-grow: 1; /* Позволяет блоку с текстом занять доступное пространство */
  min-width: 200px; /* Минимальная ширина для блока текста, чтобы избежать сильного сжатия */
}

/* Имя эксперта */
.expert-name {
  font-size: 16pt;
  margin: 0 0 5px 0; /* Отступ снизу */
  color: #0073aa; /* Синий цвет ссылки */
}

.expert-name a {
  text-decoration: none; /* Убираем подчеркивание у ссылки */
  color: inherit; /* Наследуем цвет от родителя */
}

/* Специализация и стаж */
.expert-specialty {
  font-size: 12pt;
  margin: 0;
  color: #555; /* Более темный серый цвет */
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  /* На мобильных устройствах: */
  .mrt-duration .expert-block {
    flex-direction: column; /* Элементы располагаются вертикально */
    text-align: center;
		
		margin-bottom: 0px; /* Отступ снизу стал меньше */
  }

  /* Увеличиваем фото на мобильных */
  .expert-photo {
    height: 130px; /* Увеличена высота */
    width: 130px;  /* Увеличена ширина */
		
    margin-bottom: -70px; /* Отступ снизу стал меньше */
		
  }

  .expert-details {
   
    margin-top: 10px; /* Уменьшен верхний отступ для деталей */
		
  }

  .expert-name {
		 
		margin-top: 3px; 
      margin-bottom: 0px; /* Уменьшен нижний отступ */
  }
	
}

.button-link {
    display: block; /* Меняем строчно-блочный на просто блочный */
    margin-left: 290px;
    margin-right: 290px;
    
    padding: 12px 30px;
    background-color: #28a745;
    color: #ffffff;
	
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Эффект при наведении остается прежним */
.button-link:hover {
    background-color: #218838;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* список */
.styled-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.styled-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 1px;
    font-size: 16px;
    color: #333;
}

.styled-list li::before {
    content: "+";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #e8f4fc; /* фон кружка */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1f87c8; /* в кружке */
    font-size: 16px;
}

/* вопросы */

.faq-block {
  font-family: sans-serif;
}
.question input { display: none; }
.question label {
  padding: 5px 30px 5px 40px;
  cursor: pointer;
  position: relative;
  color: #333;
  transition: all .2s ease-in-out;
  border-bottom: 1px solid #eaeaea;
  background-color: #fff;
}
/* Стрелка "вниз" */
.question label::before {
  content: '\f107';
  font-family: FontAwesome;
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 1rem;
  transition: transform .2s ease-in-out;
}
/* Стрелка "вверх", когда ответ открыт */
.question input:checked + label::before {
  transform: rotate(180deg);
}
/* Плавно раскрываем текст */
.question p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: -1.1rem;
  transition: all .2s ease-in-out;
	
}
.question input:checked ~ p {
  max-height: 999px;
font-weight: 400; 
  opacity: 1;
  margin-top: 1rem;
	 margin-bottom: -1.1em;
  padding: 5px 20px 5px 20px;
	background-color: #f0f8fe;
		border-radius: 3px;
  
}
