@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro-Bold.eot');
    src: local('../fonts/Gotham Pro Bold'), local('../fonts/GothamPro-Bold'),
        url('../fonts/GothamPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamPro-Bold.woff2') format('woff2'),
        url('../fonts/GothamPro-Bold.woff') format('woff'),
        url('../fonts/GothamPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro-Black.eot');
    src: local('../fonts/Gotham Pro Black'), local('../fonts/GothamPro-Black'),
        url('../fonts/GothamPro-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamPro-Black.woff2') format('woff2'),
        url('../fonts/GothamPro-Black.woff') format('woff'),
        url('../fonts/GothamPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro Narrow';
    src: url('../fonts/GothamProNarrow-Bold.eot');
    src: local('../fonts/Gotham Pro Narrow Bold'), local('../fonts/GothamProNarrow-Bold'),
        url('../fonts/GothamProNarrow-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamProNarrow-Bold.woff2') format('woff2'),
        url('../fonts/GothamProNarrow-Bold.woff') format('woff'),
        url('../fonts/GothamProNarrow-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro-Medium.eot');
    src: local('../fonts/Gotham Pro Medium'), local('../fonts/GothamPro-Medium'),
        url('../fonts/GothamPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamPro-Medium.woff2') format('woff2'),
        url('../fonts/GothamPro-Medium.woff') format('woff'),
        url('../fonts/GothamPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro.eot');
    src: local('../fonts/Gotham Pro'), local('../fonts/GothamPro'),
        url('../fonts/GothamPro.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamPro.woff2') format('woff2'),
        url('../fonts/GothamPro.woff') format('woff'),
        url('../fonts/GothamPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Pro Narrow';
    src: url('../fonts/GothamProNarrow-Medium.eot');
    src: local('../fonts/Gotham Pro Narrow Medium'), local('../fonts/GothamProNarrow-Medium'),
        url('../fonts/GothamProNarrow-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/GothamProNarrow-Medium.woff2') format('woff2'),
        url('../fonts/GothamProNarrow-Medium.woff') format('woff'),
        url('../fonts/GothamProNarrow-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}



:root {
  --accent-color: #C28864;
  --text-color: #fff;
  --text-color-dark: #000;
  --gray-1: #F3F3F3;
  --gray-2: #36383F;
  --gray-3: #3F363B;
  --pepel: #3F3936;
  --dark-color: #1C1C1C;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-color-dark);
  background: #fff;
  font-family: 'Gotham Pro', sans-serif;
}
.container {
  max-width: 1420px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease-in-out;
}
ul {
  list-style-type: none;
}
ul, h1, h2, h3, h4, p {
  margin: 0;
  padding: 0;
}
input, select, textarea {
  outline:none;
}
img {
  max-width: 100%;
}

.title__block {
	font-size: clamp(28px, 4.8vw, 51px);
	line-height: 1.1;
	font-weight: 500;
	color: var(--text-color-dark);
}
.title__block span {
	color: var(--accent-color);
}

.block-to-animate {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.block-to-animate.animate-fadeIn {
  opacity: 1;
}
.block-to-slide {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.9s ease-out, transform 1.9s ease-out;
}

.block-to-slide.animate-slideIn {
  opacity: 1;
  transform: translateY(0);
}

/* затримка для кожного елемента */
.block-to-slide:nth-child(1) { transition-delay: 0.1s; }
.block-to-slide:nth-child(2) { transition-delay: 0.4s; }
.block-to-slide:nth-child(3) { transition-delay: 0.7s; }
.block-to-slide:nth-child(4) { transition-delay: 1.0s; }
.block-to-slide:nth-child(5) { transition-delay: 1.3s; }
.block-to-slide:nth-child(6) { transition-delay: 1.6s; }
.block-to-slide:nth-child(7) { transition-delay: 1.9s; }


.btn {
	padding: 20px;
  position: relative;
	max-width: fit-content;
	display: block;
	color: var(--text-color);
	font-size: 18px;
	background: var(--accent-color);
	border-radius: 24px;
	text-align: center;
	line-height: 1.7;
	white-space: nowrap;
}
.btn:hover {
  background: #9E7B68;
}
.btn-light {
  background: var(--gray-1);
  color: var(--text-color-dark);
}
.btn-light:hover {
  background: #dbd9d9;
}

.header {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.single .header, .category-blog .header, .page-template-contact-page .header, .error404 .header {
  top: 20px;
}
.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
	gap:1px;
}
.header__block {
  padding: 18px 20px;
  width: calc(100% - 204px);
  display: flex;
  align-items: center;
  background: #FFFFFFE5;
  border-radius: 50px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header__logo {
  line-height: 1;
}
.header__logo img {
  max-height: 24px;
}
.nav__wrapper {
  margin-left: 34px;
}
.nav__wrapper.mobile {
	display: none;
}
.menu {
  position: relative;
}
.menu {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.5vw, 24px);
}
.menu a {
  color: var(--text-color-dark);
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 15px;
}
.menu a:hover {
  color: #C28864;
}
.menu-item {
  position: relative;
}
#primary-menu > .menu-item:after {
  position: absolute;
  content: '';
  top: 20px;
  left: 0;
  width: 100%;
  height: 35px;
}
#primary-menu .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  position: absolute;
  top: 48px;
  transition: 0.25s ease;
  pointer-events: none;
}
#primary-menu li:hover > .sub-menu {
  width: 640px;
  padding: 32px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  background: #FFFFFFE5;
  border-radius: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#primary-menu li {
  position: relative;
}
.submenu-header {
  width: 100%;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.sub-menu .menu-item {
  display: inline-block;
  margin-bottom: 6px;
  padding: 8px 12px;
  background: var(--text-color);
  border-radius: 24px;
  transition: 0.25s ease;
}
.sub-menu .menu-item:hover {
  background: var(--accent-color);
}
.sub-menu .menu-item:hover a {
  color: var(--text-color);
}
.submenu-title a {
  font-size: 24px;
}
.menu .submenu-all {
  color: #616161;
  font-size: 15px;
}
.submenu-all:hover {
  color: var(--accent-color);
}
#primary-menu .sub-menu, #primary-menu li:hover > .sub-menu {
  z-index: 9999;
}

.header__wrapper-phone {
  padding: 12px 16px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-color);
  border-radius: 94px;
}
.header__wrapper-phone.mobile {
  display: none;
}
.header__phone {
  font-weight: 600;
  font-size: 18px;
  color: #000;
  white-space: nowrap;
}
.header__phone-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text-color);
}
.header__phone-text > p {
  font-size: 12px;
}
.header__phone-text a, p.header__phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
}
.header__phone-ico {
  border-radius: 50%;
  background: url(../img/phone-ico.svg), var(--text-color);
  background-repeat: no-repeat;
  background-position: center;
  animation: phone-ring 5s infinite;
  transform-origin: 50% 50%;
}
.header__phone-ico a {
  display: block;
  width: 40px;
  height: 40px;
}

@keyframes phone-ring {
  0%, 30%, 100% {
    transform: rotate(0deg);
  }

  2% { transform: rotate(20deg); }
  4% { transform: rotate(-20deg); }
  6% { transform: rotate(20deg); }
  8% { transform: rotate(-20deg); }
  10% { transform: rotate(15deg); }
  12% { transform: rotate(-15deg); }
  14% { transform: rotate(10deg); }
  16% { transform: rotate(-10deg); }
  18% { transform: rotate(5deg); }
  20% { transform: rotate(-5deg); }

  30%, 100% {
    transform: rotate(0deg);
  }
}


.hero {
	padding-top: 20px;
}
.hero__media {
  max-width: 1480px;
  position: relative;
  border-radius: 52px;
  display: flex;
	flex-direction: column;
  height: 52rem;
	max-height: 98vh;
  overflow: hidden;
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #00000080;
  z-index: 1;
  pointer-events: none;
}
.hero__bg.mobile, .hero__video.mobile, .video__mobile-block {
  display: none;
}
.hero__video {
  object-fit: cover;
}
.hero__bg {
  background-size: cover;
  background-position: center;
}
.hero__bg,
.hero__video {
    position: absolute;
    inset: -80px 0 -80px 0; 
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 160px);
    object-fit: cover;
    background-size: cover;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.hero__wrapper {
  position: relative;
  margin: auto 56px 56px 56px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 50px;
  z-index: 2;
}
.blur-block {
	background: #00000026;
	backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
	border-radius: 32px;
}
.hero__title-block {
  padding: 40px;
	width: clamp(500px, 40vw, 662px);
  color: var(--text-color);
  z-index: 2;
}
.hero__title {
	font-size: clamp(32px, 3vw, 51px);
	color: var(--text-color);
	line-height: 1.1;
	font-weight: 500;
}
.hero__text {
  margin: 16px 0 24px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}
.hero__info-block {
	display: flex;
	gap: 8px;
}
.hero__info-block-item {
  max-width: fit-content;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 8px;
  line-height: 1.2;
	color: var(--text-color);
}
.hiro__title-item {
  margin-bottom: 5px;
  font-size: 22px;
  line-height: 1;
}
.hero .btn {
	max-width: 100%;
}

.about {
  padding: 75px 0 38px;
}
.about__block {
  display: flex;
  justify-content: space-between;
  align-self: stretch;
}
.about video {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__video {
  height: auto;
  width: 660px;
  max-width: 48%;
  max-height: 610px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
video.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__block-text {
  margin: 2% 0;
  width: 670px;
  max-width: 50%;
  font-size: 18px;
}
.about .title__block {
  margin-bottom: 20px;
}

.directions {
  padding: 38px 0;
}
.directions__list {
  margin-top: 30px;
  display: flex;
  gap: 8px;
}
.directions__item {
  width: calc(33% - 4px);
  background: var(--gray-1);
  border-radius: 32px;
  padding: 0 24px 24px;
}
.directions__item-img {
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  height: 260px;
}
.directions__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.directions__item:hover .directions__item-img img {
	transform: scale(1.05);
}
.directions__item-block {
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.directions__item-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 500;
}
.directions__item-link {
  display: block;
  width: 52px;
  min-width: 52px;
  height: 52px;
  background: url("../img/arrow-service-link.svg")no-repeat center, var(--accent-color);
  border-radius: 50%;
}
.directions__item-link:hover {
  background: url("../img/arrow-service-link.svg")no-repeat center, #9E7B68;
  transform: rotate(45deg);
}

.why {
  padding: 48px 0 65px;
}
.why__list {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.why__item {
  background: var(--gray-1);
  border-radius: 36px;
  width: calc(33.333% - 5.33px);
  overflow: hidden;
}
.why__item:first-child {
  width: 100%;
  padding: 0 32px;
  display: flex;
  gap: 35px;
}
.why__item-block {
  width: 480px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why__item-title {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.15;
}
.why__item-text {
  margin: 10px 0 16px;
}
.why__item:first-child .why__item-img {
  max-width: 60%;
}
.why__item-img img {
  display: block;
}
.btn--why {
  padding: 9px 46px 9px 16px;
  font-size: 16px;
  line-height: 1;
  background: url("../img/arrow-btn.svg") no-repeat right 16px center, var(--accent-color);
}
.btn--why:hover {
  background: url("../img/arrow-btn.svg") no-repeat right 16px center, #9E7B68;
}
.why__item-img img.mobile {
  display: none;
}
.why__item--small {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.why__item--small .why__item-title {
  padding: 42px 32px 26px;
  font-size: clamp(20px, 2.2vw, 28px);
}

.cases {
  padding: 25px 0;
}
.cases__wrapper {
  padding: 64px;
  border-radius: 52px;
  background: url("../img/Clinic-17-2.svg") no-repeat top right, #1C1C1C;
  color: var(--text-color);
}
.cases__pane {
  display: none;
}
.cases__pane.active {
  display: block;
}
.cases .title__block {
  color: var(--text-color);
}
.cases__tabs {
  margin: 16px 0 32px;
  display: flex;
  flex-wrap: wrap;
}
.cases__tab {
  border: 1px solid #FFFFFF33;
  background: transparent;
  color: var(--text-color);
  padding: 10px 16px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.cases__tab.active {
  background: var(--text-color);
  color: var(--text-color-dark);
}
.cases__item {
  display: flex;
  gap: 48px;
  align-items: center;
}
.cases__item-content {
  width: calc(100% - clamp(440px, 38vw, 600px));
}
.cases__item-image, .cases__content .case-single-doctor__slider {
  width: clamp(400px, 35vw, 550px);
  height: clamp(400px, 35vw, 550px);
  border-radius: 36px;
  overflow: hidden;
}
.cases__content .case-single-doctor__slider {
  min-width: clamp(400px, 35vw, 550px);
}
.cases__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.updown .cases__item-image {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.updown .cases__item-image img {
  width: 100%;
  height: 50%;
  object-fit: cover;
}
.leftright .cases__item-image {
  display: flex;
  overflow: hidden;
}
.leftright .cases__item-image img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}
.cases__item-title {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.2vw, 32px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-color);
}
.cases__item-text {
  margin: 15px 0 30px;
  color: #A9ACB2;
  line-height: 1.5;
}
.cases__item-text h3 {
  margin: 8px 0;
  font-size: 20px;
  color: var(--text-color);
}
.splide__arrow {
  width: 58px;
  height: 58px;
  background: url("../img/arrow-slider-ico.svg") no-repeat center, var(--accent-color);
  border-radius: 50%;
  top: calc(50% - 29px);
  transform: none;
}
.splide__arrow:hover {
  background: url("../img/arrow-slider-ico.svg") no-repeat center, #9E7B68;
}
.splide__arrow svg {
  display: none;
}
.splide__arrow--next {
  left: calc(clamp(400px, 35vw, 550px) - 80px);
  transform: rotate(180deg);
}
.mobile-tabs {
  display: none;
}
.cases--odd .cases__wrapper {
  background: url("../img/Clinic-17-2.svg") no-repeat top right, #36383F;
}
.cases--odd .cases__item {
  flex-direction: row-reverse;
}
.cases--odd .cases__slider .splide__arrow--next {
  right: 1rem;
  left: auto;
}
.cases--odd .cases__slider .splide__arrow--prev {
  right: calc(clamp(400px, 35vw, 550px) - 80px);
  left: auto;
}
.cases--color .cases__wrapper {
  background: url("../img/Clinic-17-2.svg") no-repeat top right, #3F363B;
}

.doctors-home {
  padding: 65px 0 45px;
}
.doctors-home__link.mobile {
  display: none;
}
.doctors-home__wrapper {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doctors-home__link {
	max-width: fit-content;
	padding: 19px 68px 19px 20px;
	display: block;
	background: var(--gray-1);
	color: var(--text-color-dark);
	line-height: 1;
	font-weight: 500;
	border-radius: 32px;
	letter-spacing: 0.8px;
	position: relative;
}
.doctors-home__link::after {
	content: '';
	width: 24px;
	height: 24px;
	position: absolute;
	top: calc(50% - 12px);
	right: 20px;
	background: url(../img/arrow-gray-right.svg) no-repeat center;
  transition: all 0.3s ease-in-out;
}
.doctors-home__link:hover::after {
  transform: rotate(45deg);
}
.doctors-home__list {
  display: flex;
  cursor: grab;
}
.doctors-home__list:active {
	cursor: grabbing;
}
.doctors-home__slider, .reviews__slide {
  max-width: 1000%;
  margin-left: calc((100% - 1420px) / 2);
}
.doctors-home__slider .doctors-home__item, .doctors-home__list-notslider .doctors-home__item {
  min-width: 460px;
  height: 510px;
  overflow: hidden;
  position: relative;
  background: var(--gray-1);
  border-radius: 36px;
}
.doctors-home__list-notslider .doctors-home__item {
  width: 460px;
  max-width: 100%;
}
.doctors-home__text {
  margin-top: 20px;
}
.doctors-home__photo {
  width: 100%;
  text-align: center;
}
.doctors-home__photo img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
.doctors-home__item-content {
  padding: 23px 24px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: #FFFFFFD9;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  color: var(--text-color-dark);
}
.doctors-home__name {
  font-weight: 500;
  line-height: 1.1;
}
.doctors-home__position {
  margin-top: 5px;
  font-size: 14px;
}
.doctors-home__item-link {
	display: block;
	width: 52px;
  min-width: 52px;
	height: 52px;
	border: 1px solid #EEEEEE;
	border-radius: 50%;
	position: relative;
	transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.doctors-home__item-link::after {
	content: '';
	width: 18px;
	height: 18px;
	position: absolute;
	top: calc(50% - 9px);
	left: calc(50% - 9px);
	background-color: #A0A0A0;
	mask: url(../img/arrow-gray-right.svg) no-repeat center;
	-webkit-mask: url(../img/arrow-gray-right.svg) no-repeat center;
	mask-size: contain;
	-webkit-mask-size: contain;
	transition: all 0.3s ease-in-out;
}
.doctors-home__item-content:hover .doctors-home__item-link {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
}
.doctors-home__item-content:hover .doctors-home__item-link:after {
	background-color: #FFFFFF;
	transform: rotate(45deg);
}

.treatment {
  padding: 45px 0;
}
.treatment__list {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.treatment__item {
  width: calc(25% - 4px);
  border-radius: 38px;
  overflow: hidden;
  background: var(--gray-1);
  color: var(--text-color-dark);
}
.treatment__image {
  position: relative;
  height: 314px;
  overflow: hidden;
}
.treatment__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.treatment__number {
  position: absolute;
  bottom: 0;
  left: 24px;
  font-size: 52px;
  color: #9E7B68;
}
.treatment__content {
  padding: 24px;
  color: #616161;
  font-size: 16px;
  line-height: 1.5;
}
.treatment__title {
  margin-bottom: 6px;
  color: var(--text-color-dark);
  font-size: 22px;
}
.treatment__block {
  margin-top: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pepel);
  border-radius: 38px;
  color: var(--text-color);
}
.treatment__block .btn {
  margin-left: auto;
}
.treatment__block-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-color);
}

.reviews {
  padding: 45px 0;
}
.reviews__slide {
  margin-top: 40px;
  margin-bottom: 40px;
  cursor: grab;
}
.reviews__slide:active {
  cursor: grabbing;
}
.reviews__item {
  position: relative;
  min-width: 320px;
  height: 484px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url("../img/quotation-ico.svg") no-repeat top 24px left 24px, var(--pepel);
  border-radius: 38px;
  color: var(--text-color);
  overflow: hidden;
}
.video__name {
  position: absolute;
  max-width: fit-content;
  padding: 12px 18px;
  top: 24px;
  left: 24px;
  font-size: 14px;
  font-weight: 500;
  background: #1C1C1C;
  border-radius: 32px;
  line-height: 1;
  z-index: 3;
}
.reviews__text {
  padding: 96px 24px 0;
}
.reviews__item-block {
  padding: 24px;
}
.video-wrapper::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #3F393699;
  z-index: 2;
}
.review-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reviews__item--video .reviews__item-block {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
}
.reviews__item--video {
  cursor: pointer;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  transition: 0.3s ease;
  pointer-events: none;
}
.video-wrapper.is-playing .video-play-btn {
  opacity: 0;
  visibility: hidden;
}
.reviews__name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 500;
}
.reviews__department {
  color: #A9ACB2;
}
.reviews__google-wrapper {
  display: flex;
  gap: 60px;
}
.reviews__google-block {
  width: 340px;
  min-width: 340px;
  height: 285px;
  padding: 45px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  background: var(--gray-1);
  border-radius: 38px;
  text-align: center;
  color: #616161;
}
.reviews__google-ico {
  width: 107px;
  line-height: 1;
}
.reviews__google-name-company {
  font-size: 28px;
  font-weight: 500;
  color: var(--pepel);
  line-height: 1;
}
.reviews__google-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FDB000;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}
.ti-widget.ti-goog {
  max-width: calc(100% - 400px);
}
.reviews__google-wrapper .ti-platform-icon.ti-with-tooltip,
.reviews__google-wrapper .ti-widget.ti-goog img.ti-star {
  display: none !important;
}
.reviews__google-wrapper .ti-widget.ti-goog .ti-review-item>.ti-inner {
  min-height: 285px;
  border-radius: 38px !important;
}
.reviews__google-wrapper .ti-widget.ti-goog .ti-review-content {
  height: 100% !important;
  max-height: 150px;
}
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-next, .reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-prev {
  position: absolute;
  width: 52px;
  height: 52px;
  background-color: #F3F3F3;
  border-radius: 50%;
}
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-next:hover, 
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-next:focus, 
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-prev:hover, 
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-prev:focus {
  cursor: pointer;
  background-color: #C28864 !important;
  outline-color: transparent !important;
  box-shadow: none;
}
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-prev {
  left: -50px;
}
.reviews__google-wrapper .ti-widget.ti-goog .ti-controls .ti-next {
  right: -50px;
}

.contact-form {
  padding: 48px 0 50px;
}
.contact-form__wrapper {
  display: flex;
  border-radius: 52px;
  overflow: hidden;
}
.contact-form__block {
  width: 50%;
}
.contact-form__block > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-form__block--right {
  padding: 50px 50px 50px 84px;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: flex-start;
  background: url(../img/Clinic-17-3.svg) no-repeat top right, #3f3936;
}
.contact-form__form-wrapper {
  width: 500px;
  max-width: 100%;
  color: var(--text-color);
}
.contact-form__form-wrapper > h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;         
}
.contact-form__text {
  margin: 20px 0;
}
.contact-form .wpcf7 label input, .contact-form input:not([type="submit"]),
.form-single-doctor .wpcf7 label input, .form-single-doctor input:not([type="submit"]) {
  width: 100%;
  margin: 6px 0 22px;
  padding: 16px !important;
  background: #595755;
  border: none;
  color: var(--text-color);
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
}
input::placeholder {
	color:  var(--text-color);
}
.contact-form .wpcf7 br {
  display: none;
}
.contact-form .wpcf7 label {
  font-size: 14px;
}
.contact-form__block .wpcf7-submit.btn {
  max-width: 100%;
  width: 100%;
  padding: 18px;
  border: none;
  cursor: pointer;
}
.form__link-block {
  font-size: 14px;
}
.form__link-block a {
  color: var(--accent-color);
}
.form__link-block a:hover {
  text-decoration: underline;
}

.home-blog {
  padding: 50px 0;
}
.home-blog__slider {
  margin-top: 40px;
  cursor: grab;
}
.home-blog__slider:active {
  cursor: grabbing;
}
.home-blog__slider .splide__track,
.home-blog__slider .splide__list {
  height: 100%;
}
.home-blog__slider .splide__slide {
  height: auto;
  display: flex;
}
.home-blog__item {
  padding: 0 24px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--gray-1);
  border-radius: 38px;
}
.home-blog__image {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}
.home-blog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.home-blog__item:hover .home-blog__image img {
  transform: scale(1.05);
}
.home-blog__category {
  padding: 10px 17px;
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 14px;
  background: var(--pepel);
  border-radius: 32px;
}
.home-blog__category:hover {
  background: var(--accent-color);
}
.home-blog__content {
  margin-top: 35px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-blog__title {
  margin: 12px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}
.home-blog__text {
  margin-bottom: 12px;
}
.home-blog__content .btn{
  margin: auto auto 0;
  max-width: 100%;
  width: 100%;
}

.faq {
  padding: 50px 0;
}
.faq__wrapper {
  padding: 64px;
  background: url(../img/Clinic-17-3.svg) no-repeat top right, var(--dark-color);
  color: var(--text-color);
  border-radius: 52px;
}
.faq__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  position: relative;
  padding: 24px ;
  font-size: 18px;
  border: 1px solid var(--pepel);
  border-radius: 20px;
}
.faq__item.active {
  background: var(--pepel);
}
.faq__item:hover {
  border-color: var(--accent-color);
}
.faq__question {
  padding-right: 52px;
  position: relative;
  cursor: pointer;
}
.faq__question::after {
  content: '';
  position: absolute;
  top: calc(50% - 26px);
  right: 0;
  width: 52px;
  height: 52px;
  background: url(../img/arrow-faq.svg) no-repeat center, var(--accent-color);
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;
}
.faq__item.active .faq__question::after {
  transform: rotate(180deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item.active .faq__answer {
  max-height: 500px;
}
.faq__answer > p {
  margin-top: 18px;
}
.faq .title__block {
  color: var(--text-color);
}

.home-contacts {
  padding: 50px 0;
}
.home-contacts__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.home-contacts__block {
  width: 460px;
  max-width: 100%;
}
.home-contacts__wrapper iframe {
  width: 880px;
  max-width: 100%;
  height: 570px;
  border-radius: 20px;
}
.home-contacts .title__block {
  margin-bottom: 36px;
}
.home-contacts__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-contacts__item {
  padding: 16px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--pepel);
  border-radius: 20px;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 500;
}
.home-contacts__item-title {
  font-size: 16px;
  color: #A9ACB2
}
.messengers__list {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.messenger__link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}
.messenger__link.instagram {
  background: url(../img/instagram-ico.svg) no-repeat center, var(--accent-color);
}
.messenger__link.youtube {
  background: url(../img/youtube.png) no-repeat center, var(--accent-color);
}
.messenger__link.tiktok {
  background: url(../img/tiktok-ico.svg) no-repeat center, var(--accent-color);
}
.messenger__link:hover {
  background-color: #9E7B68;
}

.footer {
  padding: 72px 0 25px;
  margin-top: 45px;
  background: url(../img/Clinic-17-4.svg) no-repeat top left, var(--dark-color);
}
.footer__wrapper {
  margin-bottom: 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.footer__block-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #D9D9D9;
  font-size: 15px;
}
.footer__logo {
  margin-bottom: 22px;
}
.footer__phone {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-color);
}
.footer__logo {
  width: 302px;
}
.footer__block-menu {
  min-width: 180px;
  margin-top: 50px;
  color: var(--text-color);
  font-size: 14px;
}
.footer__block-title {
  margin-bottom:  18px;
  color: #A9ACB2;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__menu a:hover, .footer__phone:hover {
  color: var(--accent-color);

}
.footer__wrapper-after {
  display: flex;
  gap: 46px;
  font-size: 14px;
  color: #A9ACB2;
}
.footer__wrapper-after a {
  display: block;
  color: #A9ACB2;
  text-decoration: underline;
}
.footer__wrapper-after a:hover {
  opacity: 0.8;
}

.hero-doctors {
  padding-top: 20px;
}
.hero-doctors__wrapper {
  max-width: 1480px;
  position: relative;
  border-radius: 52px;
  display: flex;
  flex-direction: column;
  height: 41rem;
  max-height: 90vh;
  overflow: hidden;
  background-image: var(--hero-bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-color);
}
.hero-doctors__overlay {
  position: absolute;
  inset: 0;
  background: #00000080;
  z-index: 1;
}
.hero-doctors__block {
  position: relative;
  height: 100%;
  padding: 116px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
  z-index: 2;
}
.hero-doctors .hero__title {
  margin-bottom: 16px;
  color: var(--text-color);
}
.hero-doctors__info-block {
  padding-right: 80px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
}
.breadcrumbs a {
  display: block;
  color: var(--text-color);
}
.breadcrumbs span {
  display: block;
  color: #A9ACB2;
}

.doctors-content {
  padding: 75px 0 38px;
}
.doctors-content__top {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.doctors-content__top .title__block {
  font-size: 32px;
}
.doctors-filter {
  display: flex;
  align-items: center;
}
.doctors-filter__btn {
  padding: 10px 16px;
  color: var(--text-color-dark);
  border: 1px solid var(--pepel);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
}
.doctors-filter__btn.is-active {
  background: var(--pepel);
  color: var(--text-color);
}
.doctors-content__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.doctors-content__item {
  width: calc(33% - 8px);
  height: 510px;
  overflow: hidden;
  position: relative;
  background: var(--gray-1);
  border-radius: 36px;
}
.doctors-content__item-content {
  padding: 23px 24px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #FFFFFFD9;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  color: var(--text-color-dark);
}
.doctors-content__name {
  font-weight: 500;
  line-height: 1.1;
}
.doctors-content__position {
  margin-top: 5px;
  font-size: 14px;
}
.doctors-content__item-link {
	display: block;
	width: 52px;
  min-width: 52px;
	height: 52px;
	border: 1px solid #EEEEEE;
	border-radius: 50%;
	position: relative;
	transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.doctors-content__item-link::after {
	content: '';
	width: 18px;
	height: 18px;
	position: absolute;
	top: calc(50% - 9px);
	left: calc(50% - 9px);
	background-color: #A0A0A0;
	mask: url(../img/arrow-gray-right.svg) no-repeat center;
	-webkit-mask: url(../img/arrow-gray-right.svg) no-repeat center;
	mask-size: contain;
	-webkit-mask-size: contain;
	transition: all 0.3s ease-in-out;
}
.doctors-content__item-content:hover .doctors-content__item-link {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
}
.doctors-content__item-content:hover .doctors-content__item-link:after {
	background-color: #FFFFFF;
	transform: rotate(45deg);
}
.doctors-content__photo {
  width: 100%;
  text-align: center;
}
.doctors-content__photo img {
  height: auto;
}
.doctors-content__experience {
  padding: 6px 12px;
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 13px;
  background: #FFFFFFD9;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
}

.doctors-template-default .header__block, .page-template-home .header__block, .single .header__block,
.category-blog .header__block, .error404 .header__block, .page-template-contact-page .header__block {
  background: #F3F3F3E5;
}
.hero-single-doctor {
  padding-top: 105px;
}
.hero-single-doctor .breadcrumbs span, .single-page-breadcrumbs span, .error-404__breadcrumbs span {
  color: #616161;
}
.hero-single-doctor .breadcrumbs a, .single-page-breadcrumbs a, .error-404__breadcrumbs a {
  color: var(--text-color-dark);
}
.hero-single-doctor__wrapper {
  margin-top: 35px;
  display: flex;
  gap: 40px;
  align-items: center;
}
.hero-single-doctor__photo {
  width: 460px;
  height: 460px;
  border-radius: 52px;
  background: var(--gray-1);
  overflow: hidden;
  text-align: center;
}
.hero-single-doctor__photo img {
  height: auto;
}
.hero-single-doctor__content {
  max-width: calc(100% - 500px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-single-doctor__info-block {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-single-doctor__position {
  font-size: 15px;
}
.hero-single-doctor__experience {
  padding: 6px 12px;
  font-size: 13px;
  background: var(--gray-1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
}
.hero-single-doctor__name {
  font-size: clamp(28px, 3vw, 51px);
}
.hero-single-doctor__text {
  font-size: 18px;
}
.hero-single-doctor .btn {
  padding: 20px 28px;
  margin-top: 8px;
}

.content-single-doctor {
  padding: 52px 0 24px;
}
.content-single-doctor__wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.single-title__block {
  margin-bottom: 28px;
  font-size: 32px;
  font-weight: 500;
}
.content-specialization__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.content-specialization__item {
  padding: 16px 20px;
  background: var(--gray-1);
  border-radius: 32px;
}
.content-single-doctor__text {
  line-height: 1.7;
}
.content-single-doctor__text ul, .content-single-doctor__text ol, .entry-content ul , .entry-content ol {
  padding-left: 25px;
  list-style-type: initial;
}
.content-single-doctor .splide__arrow, .single-blog-doctors__slider .splide__arrow, 
.single-blog__block .directions__list .splide__arrow, .single_blog_case__slider .splide__arrow, 
.about-certificate .splide__arrow, .service-popular__slider .splide__arrow, .home-blog .splide__arrow {
  top: -60px;
  background: url(../img/arrow-slide-black-ico.svg) no-repeat center, #F3F3F3;
  width: 52px;
  height: 52px;
}
.content-single-doctor .splide__arrow--next, .single-blog-doctors__slider .splide__arrow--next, 
.single-blog__block .directions__list .splide__arrow--next, .single_blog_case__slider .splide__arrow--next,
.about-certificate .splide__arrow--next, .service-popular__slider .splide__arrow--next, .home-blog .splide__arrow--next {
  left: auto;
  transform: rotate(180deg);
  right: 0;
}
.content-single-doctor .splide__arrow--prev, .single-blog-doctors__slider .splide__arrow--prev, 
.single-blog__block .directions__list .splide__arrow--prev, .single_blog_case__slider .splide__arrow--prev,
.about-certificate .splide__arrow--prev, .service-popular__slider .splide__arrow--prev, .home-blog .splide__arrow--prev {
  left: auto;
  right: 55px;
}
.content-single-doctor .splide__arrow:hover, .single-blog-doctors__slider .splide__arrow:hover, 
.single-blog__block .directions__list .splide__arrow:hover, .single_blog_case__slider .splide__arrow:hover, 
.about-certificate .splide__arrow:hover, .service-popular__slider .splide__arrow:hover, .home-blog .splide__arrow:hover {
  background: url(../img/arrow-slider-ico.svg) no-repeat center, var(--accent-color);
}
.single-blog__block table {
  width: 100%;
  border-collapse: collapse;
}
.single-blog__block tr {
  border: 1px solid #000;
}
.single-blog__block td {
  padding: 4px 5px;
}
.content-single-doctor__gallery .splide__slide {
  text-align: center;
}
.case-single-doctor {
  padding: 20px 0 22px;
}
.case-single-doctor__list {
  margin-bottom: 28px;
  padding: 36px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: url(../img/background-logo.svg) no-repeat top right , var(--bg, #EEEEEE);
  border-radius: 38px;
}
.case-single-doctor__list.even {
  flex-direction: row-reverse;
}
.case-single-doctor__slider {
  width: 510px;
  height: 510px;
  min-width: 510px;
  overflow: hidden;
  border-radius: 32px;
}
.case-single-doctor .cases__item-image {
  min-width: 510px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* .case-single-doctor .case-single-doctor__slider {
  height: 410px;
} */
 .case-single-doctor .updown .cases__item-image img:first-child {
  border-radius: 36px 36px 0 0;
 }
 .case-single-doctor .updown .cases__item-image img:last-child {
  border-radius: 0 0 36px 36px;
 }
 .case-single-doctor .leftright .cases__item-image img:first-child {
  border-radius: 36px 0 0 36px;
 }
 .case-single-doctor .leftright .cases__item-image img:last-child {
  border-radius: 0 36px 36px 0;
 }
.case-single-doctor__title {
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}
.case-single-doctor__text p:has(br),
.case-single-doctor__text p[data-empty="true"] {
  line-height: 1;
}
.case-single-doctor__text strong {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.case-single-doctor__slider .splide__arrow--next {
  left: auto;
  right: 1em;
}

.form-single-doctor .contact-form__wrapper {
  background: url(../img/Clinic-17-3.svg) no-repeat top right, #3f3936;
}
.form-single-doctor .contact-form__block--left {
  padding: 80px 30px 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-form__block-video {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 32px;
}
.contact-form__block-video video, .contact-form__block-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero {
  padding: 102px 0 0;
}
.blog-hero .breadcrumbs a {
  color: var(--text-color-dark);
}
.blog-hero .breadcrumbs span {
  color: #616161;
}
.blog-hero .hero__title {
  margin: 24px 0;
  color: var(--text-color-dark);
}
.blog-page__tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1px;
}
.blog-page__tab {
  padding: 10px 16px;
  color: var(--text-color-dark);
  border: 1px solid var(--pepel);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
}
.blog-page__tab.active {
  background: var(--pepel);
  color: var(--text-color);
}
.blog-page__list {
  margin-top: 46px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-page__item {
  padding: 0 24px 24px;
  width: calc(33% - 8px);
  display: flex;
  flex-direction: column;
  background: var(--gray-1);
  border-radius: 38px;
}
.blog-page__image {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}
.blog-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.blog-page__image:hover .blog-page__image img {
    transform: scale(1.05);
}
.blog-page__content {
  margin-top: 35px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-page__title {
  margin: 12px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}
.blog-page__text {
  margin-bottom: 12px;
}
.blog-page__item .btn {
  margin: auto auto 0;
  max-width: 100%;
  width: 100%;
}
.blog-page__more {
  margin: 42px auto 0;
  display: block;
  border: none;
  background: var(--gray-1);
  padding: 21px 28px;
  border-radius: 24px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.blog-page__more:hover {
  background: var(--accent-color);
  color: var(--text-color);
}


.single-page-breadcrumbs, .error-404__breadcrumbs {
  padding: 102px 0 26px;
}
.single-blog__wrapper {
  position: relative;
  align-items: flex-start;
  display: flex;
  gap: 20px;
}
.single-blog__fixed-block {
  position: sticky;
  top: 100px;
  width: 340px;
  height: 410px;
  border-radius: 36px;
  background: var(--gray-1);
  overflow: hidden;
}
.single-blog__fixed-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.single-blog__fixed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-blog__fixed-title {
  margin: -10px 32px 0;
  font-size: 25px;
  text-align: center;
  line-height: 1.1;
}
.single-blog__fixed-block .btn {
  max-width: 100%;
  margin: 16px 32px 32px;
}
.single-blog__block {
  width: calc(100% - 340px);
}
.single-blog__thumb {
  margin-bottom: 20px;
  height: 570px;
  overflow: hidden;
  border-radius: 32px;
}
.single-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-blog__start-text {
  margin: 42px 0 24px;
}
.single-blog__wrapper h1 {
  margin-bottom: 24px;
  font-size: 42px;
  line-height: 1.1;
}
.single-blog__toc {
  max-width: fit-content;
  margin-bottom: 15px;
  padding: 32px;
  background: var(--gray-1);
  border-radius: 38px;
}
.single-blog__toc ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-blog__toc > h3 {
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.1;
}
.single-blog__toc .toc-h3 {
  padding-left: 24px;
}
.single-blog__toc a {
  color: var(--text-color-dark);
}
.single-blog__toc a:hover {
  color: var(--accent-color);
}
.single-blog__text-list h2 {
  font-size: 28px;
}
.single-blog__text-list h3 {
  font-size: 24px;
}
.single-blog__text-list h4 {
  font-size: 18px;
}
.single-blog__text-list h2, .single-blog__text-list h3, .single-blog__text-list h4 {
  margin: 22px 0;
  line-height: 1.1;
  font-weight: 500
}
.single-blog__text-list h2 span, .single-blog__text-list h3 span, .single-blog__text-list h4 span {
  font-weight: 500 !important;
}
.single-blog__text-list ul, .single-blog__text-list ol {
  margin: 20px 0 20px 20px;
  padding: 0;
}
.single-blog__text-list ul {
  list-style-type: disc;
}
.single-blog__text-list ol {
  list-style-type: decimal;
}
.single_blog_block__title {
  margin: 40px 0 30px;
  font-size: 28px;
  line-height: 1.1;
}
.single-blog__block .doctors-home__item {
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--gray-1);
  border-radius: 36px;
}
.single-blog__block .doctors-home__item img {
  height: auto;
}
.single-blog__block .directions__item-img {
  height: 190px;
}
.single-blog__block .directions__item-title {
  margin: 0 10px 0 0;
  font-size: 20px;
}
.single-blog__block .directions__list {
  margin: 30px 0 40px;
}
.single-blog__text-list img {
  border-radius: 32px;
}
.single-blog-faq__list {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.single-blog-faq__item {
  padding: 25px 20px;
  background: var(--gray-1);
  border-radius: 20px;
}
.single-blog-faq__question {
  position: relative;
  padding-right: 55px;
}
.single-blog-faq__question::after {
  position: absolute;
  content: '';
  width: 52px;
  height: 52px;
  top: calc(50% - 26px);
  right: 0;
  border: 1px solid #D9D9D9;
  border-radius: 50%;
  background: url("../img/arrow-gray-faq.svg") no-repeat center;
  transition: all .4s ease-in-out;
}
.single-blog-faq__item.active .single-blog-faq__question::after {
  transform: rotate(180deg);
}
.single-blog-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-in-out;
}
.single-blog-faq__answer p {
  margin-top: 18px;
}
.single-blog-faq__item.active .single-blog-faq__answer {
  max-height: 500px;
}
.single_blog_case__item {
  display: flex;
  align-items: center;
  gap: 48px;
}
.single_blog_case__images {
  width: 307px;
  min-width: 307px;
  height: 307px;
  overflow: hidden;
  border-radius: 24px;
}
.single_blog_case__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.updown .single_blog_case__images {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.updown .single_blog_case__images img {
  width: 100%;
  height: 50%;
  object-fit: cover;
}
.leftright .single_blog_case__images {
  display: flex;
  overflow: hidden;
}
.leftright .single_blog_case__images img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}
.single_blog_case__title {
  margin-bottom: 14px;
  font-size: 24px;
}
.single_blog_case__item strong {
  font-size: 20px;
}
.single-blog__autor {
  margin: 40px 0;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-1);
  border-radius: 38px;
}
.single-blog__autor-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--pepel);
}
.single-blog__autor-title {
  color: #616161;
}
.single-blog__author-photo {
  width: 172px;
  min-width: 172px;
  height: 172px;
  border-radius: 50%;
  overflow: hidden;
}
.single-blog__author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-blog__last {
  margin: 40px 0 0;
}
.single-blog__last-list {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}
.single-blog__last-list .home-blog__item {
  position: relative;
}
.single-blog__title {
  font-size: 51px;
}

.error-404 {
  padding: 40px 0 10%;
}
.error-404__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.error-404__img {
  margin-bottom: 15px;
}
.error-404__link-block {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.error-page-title {
  font-size: 51px;
  line-height: 1.1;
  font-weight: 500;
}

.entry-content {
  padding-top: 24px;
  line-height: 1.7;
}

.main-contact .contact-form {
  padding-top: 30px;
}
.main-contact .about__block-text, 
.main-about .about__block-text {
  margin: auto 0;
}
.main-contact .about__video,
.main-about .about__video {
  height: 480px;
}

.hero-about .hero-doctors__info-block, .hero-service .hero-doctors__info-block {
  max-width: 665px;
  margin-bottom: 6%;
  padding: 0;
  font-size: 18px;
}
.hero-service .hero-doctors__info-block {
  padding: 24px;
  border-radius: 32px;
}
.hero-service .hero-doctors__block {
  padding: 116px 36px 36px;
}
.hero-about .hero__title, .hero-service .hero__title {
  font-size: 51px;
}
.hero-about .hero-doctors__info-block .btn, .hero-service .hero-doctors__info-block .btn {
  margin-top: 24px;
}

.about-certificate {
  padding: 35px 0 50px;
}
.about-content__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.about-content__item.even {
  flex-direction: row-reverse;
}
.about-content__item-image {
  width: clamp(400px, 45vw, 700px);
  height: auto;
}
.about-content__item-content {
  width: calc(100% - clamp(430px, 46vw, 730px));
}
.about-content .title__block {
  margin-bottom: 24px;
}
.about-content__item-text ul, .advantages__text ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-content__item-text ul li, .advantages__text ul li {
  position: relative;
  padding-left: 62px;
}
.about-content__item-text ul li::before, .advantages__text ul li::before {
  position: absolute;
  content: url("../img/medal-ribbons-star.svg");
  top: calc(50% - 18px);
  left: 0;
}
.about-content__item-text ul li:nth-child(2):before, .advantages__text ul li:nth-child(2):before {
  content: url("../img/checklist-minimalistic.svg");
}
.about-content__item-text ul li:nth-child(3):before, .advantages__text ul li:nth-child(3):before {
  content: url("../img/eye-scan.svg");
}
.about-content__item-text ul li:nth-child(4):before, .advantages__text ul li:nth-child(4):before {
  content: url("../img/armchair.svg");
}

.gallery {
  padding: 36px 0;
}
.about-gallery-main {
  margin-top: 32px;
}
.about-gallery-main img {
  width: 100%;
  height: clamp(530px, 46vw, 730px);
  object-fit: cover;
  border-radius: 52px;
  cursor: grab;
}
.about-gallery-main img:active {
  cursor: grabbing;
}
.about-gallery-thumbs {
  margin-top: 12px;
}
.about-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-gallery-thumbs .splide__slide {
  opacity: .5;
  border-radius: 24px;
  overflow: hidden;
  border: none;
  transition: all .3s ease-in-out;
}
.about-gallery-thumbs .splide__slide:hover {
  opacity: 0.9;
}
.about-gallery-thumbs .splide__slide.is-active {
  opacity: 1;
}
.splide__track--nav>.splide__list>.splide__slide.is-active {
  border: none;
}
.gallery .splide__arrow {
  background: url(../img/arrow-slide-black-ico.svg) no-repeat center, #F3F3F3;
}
.gallery .splide__arrow:hover {
  background: url(../img/arrow-slider-ico.svg) no-repeat center, var(--accent-color);
}
.gallery .splide__arrow {
  width: 52px;
  height: 52px;
  top: auto;
  bottom: 20px;
}
.gallery .splide__arrow--next {
  left: auto;
  right: 20px;
}
.gallery .splide__arrow--prev {
  left: auto;
  right: 74px;
}
img:focus, 
img:focus-visible {
  outline: none;
}

.service-summary {
  padding: 75px 0 26px;
}
.service-summary .directions__list {
  flex-wrap: wrap;
  gap: 16px 8px;
}
.service-summary .directions__item {
  width: calc(25% - 6px);
}
.service-summary .directions__item-img {
  height: 188px;
}
.service-summary .directions__item-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}
.service-summary .directions__item-block {
  margin-top: 16px;
  align-items: center;
}
.cases-service {
  padding: 36px 0;
}

.service__title {
  font-size: 51px;
  font-weight: 500;
  line-height: 1.1;
}
.service-popular {
  padding: 50px 0 50px;
}
.service-popular__slider {
  margin-top: 40px;
}
.service-popular__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #F3F3F3;
  border-radius: 36px;
  overflow: hidden;
}
.service-popular__content {
  padding: 42px 32px 0;
  margin-bottom: -10px;
  z-index: 2;
}
.service-popular__item .btn {
  padding: 20px 28px;
  position: absolute;
  bottom: 24px;
  left: 32px;
  background: var(--pepel);
  z-index: 2;
}
.service-popular__item .btn:hover {
  background: var(--accent-color);
}
.service-popular__image {
  position: relative;
  height: 300px;
  overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 1) 40%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 1) 40%);
}
.service-popular__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.service-popular__item:hover .service-popular__image img {
  transform: scale(1.05);
}
.service-popular__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
}

.advantages {
  padding: 50px 0 55px;
}
.advantages .about__video {
  width: 700px;
  max-width: 50%;
  border-radius: 46px;
  overflow: hidden;
}
.advantages .about__block-text {
  margin: auto 0;
  max-width: 46%;
}
.advantages__text {
  margin-top: 22px;
}

.thank-you-page__wrapper {
  margin: 20% 0 10%;
  text-align: center;
}

.hero-service-single .hero-doctors__info-wrapper {
  max-width: 550px;
}
.hero-service-single .hero-doctors__info-block .btn {
  margin-top: 24px;
}
.hero-service-single .hero-doctors__info-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-right: 0;
  gap: 24px;
}
.hero-service__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-service__item {
  max-height: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-color);
  border-radius: 32px;
  padding: 24px; 
}
.hero-service-single .hero-service__item  {
  padding: 20px;
  letter-spacing: -0.5px;
  font-size: 15px;
}
.hero-service__item span {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: url(../img/check-ico.svg) no-repeat center, var(--accent-color);
}

.when {
  padding: 80px 0 50px;
}
.when__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.when__img, .when__block {
  max-width: 49%;
}
.when__img {
  max-height: 640px;
  border-radius: 30px;
}
.when__text {
  margin-top: 24px;
}
.when__text ul {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.when__text ul li {
  position: relative;
  padding-left: 62px;
}
.when__text ul li:before {
  position: absolute;
  content: '';
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: url(../img/alert-triangle.svg) no-repeat center, var(--gray-1);
}
.when__text-bottom {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pepel);
  border-radius: 32px;
  padding: 28px 24px;
  color: var(--text-color);
}
.when__text-bottom-block {
  margin-right: auto;
  margin-left: 16px;
}
.when__text-bottom-block h4 {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 500;
}

.service-single-case .case-single-doctor__text {
  padding: 0 0 16px 44px;
}
.service-single-case .case-single-doctor__text-title {
  position: relative;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.service-single-case .case-single-doctor__text-title.mourning {
  color: #BC5555;
}
.service-single-case .case-single-doctor__text-title.decision {
  color: #4CAF5F;
}
.service-single-case .case-single-doctor__text-title::before {
  position: absolute;
  content: url("../img/mourning-ico.svg");
  top: calc(50% - 14px);
  left: -40px;
}
.service-single-case .case-single-doctor__text-title.decision::before {
  position: absolute;
  content: url("../img/decision-ico.svg");
}

.advantages-service {
  padding: 10px 0 35px;
}
.advantages-service .advantages__wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}
.advantages-service .advantages__img, .advantages-service .advantages__block {
  max-width: 49%;
}
.advantages-service .advantages__text {
  margin-top: 24px;
}
.advantages-service .advantages__text ul {
  display: flex;
 flex-wrap: wrap;
 flex-direction: row;
  gap: 23px 8px;
}
.advantages-service .advantages__text ul li {
  width: calc(50% - 8px);
  position: relative;
  padding-left: 62px;
}
.advantages-service .advantages__text {
  margin: 24px 0;
}

.doctors-single-service .btn {
  margin: 40px auto 0;
}

.reviews-single-service .reviews__item {
  background: url(../img/quotation-ico-white.svg) no-repeat top 24px left 24px, #F3F3F3;
  color: #000;
}
.reviews-single-service .reviews__item--video {
  color: var(--text-color);
}

.price-single {
  padding: 50px 0;
}
.price-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--gray-1);
  border-radius: 36px;
  font-size: 15px;
  color: #616161;
}
.price-list__price-block {
  min-width: 160px;
  text-align: right;
  font-size: 16px;
}
.price-list__title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-color-dark);
}
.price-list__price {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-color-dark);
}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: transparent;
}
.wpcf7 form .wpcf7-response-output {
  margin: 5px 0 0;
  padding: 0;
  border: none;
  color: #dc3232;
}

.splide__arrow:disabled {
    opacity: 0.1;
}