@font-face {
  font-family: "Montserrat";
  src: url("/wp-content/themes/dr-khalil/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/wp-content/themes/dr-khalil/Montserrat/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --accent-1: #D8D0A1;  
  --grey-A4: #A4A4A4;
  --grey-BF: #BFBFBF;
  --grey-E9: #E9E9E9;
  --grey-F1: #F1F1F1;
  --grey-F8: #F8F8F8;
  --grey-6D: #6D6D6D;
  --grey-67: #677178;
  --grey-56: #565656;
  --grey-9A: #9AC2C1;
  --grey-99: #999999;
  --scale: calc(100vw / 1920px);
}

@media (min-width: 1920px) {
  :root {
    --scale: 1;
  }
}
@media (max-width: 1600px) {
  :root {
    --scale: calc(100vw / 1600px);
  }
}
@media (max-width: 1440px) {
  :root {
    --scale: calc(100vw / 1440px);
  }
}
@media (max-width: 768px) {
  :root {
    --scale: 1;
  }
}
@media (max-width: 380px) {
  :root {
    --scale: calc(100vw / 380px);
  }
}

* {
	box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}
body.overflow {
  overflow: hidden;
}
.container-1920 {
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
}
.container-1296 {
  max-width: 1296px;
  margin: auto;
  padding: 0 20px;
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
@media (max-width:768px) {
  .container-1296 {
    padding: 0 15px;
  }
}

/* default */
.default-circle {
  min-width: calc(14px * var(--scale));
  min-height: calc(14px * var(--scale));
  border: 3px solid var(--accent-1);
  border-radius: 100%;
}
@media (max-width:768px) {
  .default-circle {
    min-width: calc(10px * var(--scale));
    min-height: calc(10px * var(--scale));
    border: 1px solid var(--accent-1);
  }
}

.default-button {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  position: relative;
  padding-right: calc(63px * var(--scale));
  color: inherit;
  font-family: 'Montserrat';
  cursor: pointer;
}
.default-button span {
  position: absolute;
  bottom: 0;
  transform: translate(calc(-35px * var(--scale)), calc(-32px * var(--scale)));
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  transition: .3s;
}
.default-button img {
  width: calc(99px * var(--scale));
}
.default-button:active span, .default-button:focus-visible span {
  color: var(--accent-1);
}
@media (hover:hover) {
  .default-button:hover span {
    color: var(--accent-1);
  }
}

.default-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: calc(30px * var(--scale));
  border-bottom: 1px solid var(--grey-BF);
  margin-bottom: calc(60px * var(--scale));
}
.default-title__main {
  color: var(--grey-6D);
  font-size: calc(40px * var(--scale));
  font-weight: 600;
}
.default-title__sub {
  color: var(--grey-6D);
  font-size: calc(25px * var(--scale));
  font-style: italic;
}
.default-title__sub span:nth-child(1) {
  color: var(--accent-1);
}
@media (max-width:768px) {
  .default-title {
    gap: 1rem;
    padding-bottom: calc(9px * var(--scale));
    margin-bottom: calc(15px * var(--scale));
  }
  .default-title__main {
    font-size: calc(24px * var(--scale));
  }
  .default-title__sub {
    font-size: calc(14px * var(--scale));
  }
}

.default-all {
  margin-top: calc(29px * var(--scale));
}
.default-all-link {
  float: right;
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-99);
  transition: .3s;
}
.default-all-link span {
  margin-right: calc(3px * var(--scale));
}
.default-all-link img {
  width: calc(47px * var(--scale));
}
.default-all-link:active, .default-all-link:focus-visible {
  color: var(--grey-9A);
}
@media (hover:hover) {
  .default-all-link:hover {
    color: var(--grey-9A);
  }
}
@media (max-width:768px) {
  .default-all-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: calc(14px * var(--scale));
  }
  .default-all-link img {
    width: calc(22px * var(--scale));
  }
}

.default-swiper-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: calc(32px * var(--scale));
}
.default-button-prev, .default-button-next {
  width: calc(111px * var(--scale));
  height: calc(15px * var(--scale));
  z-index: 11;
  cursor: pointer;
}
.default-button-prev path, .default-button-next path {
  transition: .3s;
}
.default-button-prev:active path, .default-button-next:active path,
.default-button-prev:focus-visible path, .default-button-next:focus-visible path {
  fill: #9AC2C1;
}
@media (hover: hover) {
  .default-button-prev:hover path, .default-button-next:hover path {
    fill: #9AC2C1;
  }
}
.default-pagination {
  position: relative !important;
  width: fit-content !important;
}
.default-pagination .swiper-pagination-bullet {
  opacity: 1;
  background: var(--grey-F8);
  color: var(--grey-6D);
  width: fit-content;
  height: fit-content;
  padding: calc(5px * var(--scale)) calc(13px * var(--scale));
  font-size: calc(18px * var(--scale));
  transition: .3s;
}
.default-pagination .swiper-pagination-bullet-active {
  color: var(--grey-9A);
  font-size: calc(35px * var(--scale));
  padding: calc(7px * var(--scale)) calc(19px * var(--scale));
}
@media (max-width:768px) {
  .default-swiper-block {
    display: none;
  }
}

.default-scrollbar {
  display: none;
}
@media (max-width:768px) {
  .default-scrollbar {
    display: block;
    height: calc(8px * var(--scale));
    background: var(--grey-F1);
    margin-top: calc(12px * var(--scale));
    border-radius: calc(12px * var(--scale));
    padding: calc(2px * var(--scale));
  }
  .default-scrollbar .swiper-scrollbar-drag {
    background: var(--grey-9A);
  }
}
.certificates-scrollbar, .examples-scrollbar {
  display: block;
  height: calc(8px * var(--scale));
  background: var(--grey-F1);
  margin-top: calc(12px * var(--scale));
  border-radius: calc(12px * var(--scale));
  padding: calc(2px * var(--scale));
}

.default-form {
  background: #fff;
  border-radius: calc(34px * var(--scale));
  padding: calc(56px * var(--scale)) calc(35px * var(--scale)) calc(17px * var(--scale));
}
.default-form p {
	margin: 0;
}
.default-form__title {
  font-size: calc(30px * var(--scale));
  font-weight: 600;
  color: var(--grey-56);
  margin-bottom: calc(17px * var(--scale));
  text-transform: uppercase;
  text-align: center;
}
.default-form__subtitle {
  font-size: calc(20px * var(--scale));
  color: var(--grey-67);
  margin-bottom: calc(47px * var(--scale));
  text-align: center;
}
.default-form__label {
  display: flex;
  position: relative;
  font-size: calc(16px * var(--scale));
  color: var(--grey-99);
  margin-bottom: 2em;
}
.default-form__label .default-form__span {
  position: absolute;
  transition: .3s;
  transform: translateX(1em);
	z-index: 1;
}
.default-form__label .wpcf7-form-control-wrap {
	width: 100%;
}
.default-form__label input {
  border: none;
  border-bottom: 1px solid var(--grey-99);
  width: 100%;
  padding: .3em 1em;
  font-size: inherit;
  color: inherit;
}
.default-form__label:has(input:focus) .default-form__span,
.default-form__label:has(input:not(:placeholder-shown)) .default-form__span {
  transform: translate(0%, -120%);
}
.default-form__submit p {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--grey-9A);
  font-size: calc(16px * var(--scale));
  gap: 1em;
}
.default-form__submit label {
  cursor: pointer;
}
.default-form__submit a {
  text-decoration: underline;
  transition: .3s;
}
.default-form__submit a:active, .default-form__submit a:focus-visible {
  color: var(--accent-1);
}
@media (hover: hover) {
  .default-form__submit a:hover {
    color: var(--accent-1);
  }
}
@media (max-width:768px) {
  .default-form {
    padding: calc(17px * var(--scale)) calc(20px * var(--scale)) 0;
  }
  .default-form__title {
    font-size: calc(18px * var(--scale));
    margin-bottom: calc(12px * var(--scale));
  }
  .default-form__subtitle {
    font-size: calc(14px * var(--scale));
    margin-bottom: calc(18px * var(--scale));
  }
  .default-form__label, .default-form__submit {
    font-size: calc(16px * var(--scale));
  }
  .default-form__submit p {
    flex-direction: column;
  }
  .default-form__submit label {
    align-self: flex-start;
  }
}

.breadcrumbs {
	color: var(--grey-6D);
    text-align: left;
    font-size: calc(14px * var(--scale));
    font-weight: 500;
    margin-top: calc(15px * var(--scale));
	margin-bottom: calc(13px * var(--scale));
}
.breadcrumbs span.breadcrumbs-link {
    transition: .3s;
    position: relative;
}
.breadcrumbs span.breadcrumbs-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--grey-6D);
    transition: .3s;
}
.breadcrumbs span.breadcrumbs-link a {
    color: inherit;
    text-decoration: none;
}
.breadcrumbs span.breadcrumbs-link:active::after,
.breadcrumbs span.breadcrumbs-link:focus-visible::after {
    width: 100%;
}
@media (hover: hover) {
    .breadcrumbs span.breadcrumbs-link:hover::after {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: calc(12px * var(--scale));
    }
}

/* swiper */
.swiper-wrapper {
  height: auto !important;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 9999;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  border-radius: calc(34px * var(--scale));
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  font-size: calc(40px * var(--scale));
  color: #fff;
  cursor: pointer;
  padding: calc(10px * var(--scale));
}
.lightbox__close { top: calc(20px * var(--scale)); right: calc(20px * var(--scale)); }
.lightbox__prev { left: calc(40px * var(--scale)); }
.lightbox__next { right: calc(40px * var(--scale)); }
@media (max-width:768px) {
  .lightbox__image {
    max-width: 80%;
    max-height: 80%;
  }
  .lightbox__prev { left: calc(10px * var(--scale)); }
  .lightbox__next { right: calc(10px * var(--scale)); }
}

/* header */
header {
  position: relative;
  padding-top: calc(5px * var(--scale));
}
header .container-1296 {
  overflow: visible;
}
.header-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--grey-6D);
}
.header-logo img {
  width: calc(329px * var(--scale));
}
.header-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: calc(5px * var(--scale));
  padding-top: calc(28px * var(--scale));
}
.header-block__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-block__phone a {
  font-size: calc(16px * var(--scale));
  font-weight: 700;
}
.header-block__phone span {
  font-size: calc(12px * var(--scale));
  color: var(--grey-A4);
}
.header-block__address, .header-block__email {
  font-size: calc(14px * var(--scale));
  font-weight: 500;
}
.header-block__email a img {
  max-width: calc(26px * var(--scale));
  max-height: calc(26px * var(--scale));
}
.header-block__email a:nth-child(1) {
  margin-right: calc(5px * var(--scale));
}
.header-nav {
  margin-top: calc(14px * var(--scale));
  margin-bottom: calc(10px * var(--scale));
}
.header-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: calc(24px * var(--scale));
  text-transform: uppercase;
  color: var(--grey-A4);
}
.header-nav ul li {
  transition: .3s;
  list-style: none;
  position: relative;
}
.header-nav ul li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grey-6D);
  transition: .3s;
}
.header-nav .header-submenu {
  position: absolute;
  z-index: 2;
  top: 100%;
  right: 0;
  max-height: 0;
  transition: .6s;
  padding-top: 11px;
  transform: translateY(-3px);
  overflow: hidden;
}
.header-nav .header-submenu__block {
  position: relative;
  background: var(--grey-6D);
  color: #fff;
  padding-top: calc(16px * var(--scale));
  padding-bottom: calc(30px * var(--scale));
}
.header-nav .header-submenu__block::before {
  content: "";
  position: absolute;
  top: calc(-9px * var(--scale));
  left: 71%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: calc(50px * var(--scale)) solid transparent;
  border-right: calc(3px * var(--scale)) solid transparent;
  border-bottom: calc(11px * var(--scale)) solid var(--grey-6D);
}
.header-nav .header-submenu ul {
  display: none;
  flex-direction: column;
  gap: calc(20px * var(--scale));
  list-style: none;
  margin: 0;
  padding-left: calc(32px * var(--scale));
  padding-right: calc(20px * var(--scale));
  color: #fff;
}
.header-nav .header-submenu ul li {
  position: relative;
  font-size: calc(14px * var(--scale));
  font-weight: 600;
}
.header-nav .header-submenu ul li::before {
  content: '';
  position: absolute;
  width: calc(10px * var(--scale));
  height: calc(10px * var(--scale));
  border: 1px solid var(--accent-1);
  border-radius: 100%;
  transform: translate(-150%, 20%);
}
.header-nav .header-submenu ul li::after {
  background: #fff;
}

.header-nav > ul > li:active, .header-nav > ul > li:focus-visible {
  color: var(--grey-6D);
}
.header-nav ul li:active .header-submenu, .header-nav ul li:focus-visible .header-submenu {
  max-height: 20em;
}
.header-nav ul li:active .header-submenu ul, .header-nav ul li:focus-visible .header-submenu ul {
  display: flex;
}
.header-nav ul li:active::after, .header-nav ul li:focus-visible::after {
  width: 100%;
}
.header-top a {
  transition: .3s;
}
.header-top a:active, .header-top a:focus-visible {
  color: var(--accent-1);
}
@media (hover:hover) {
  .header-nav > ul > li:hover {
    color: var(--grey-6D);
  }
  .header-nav ul li:hover .header-submenu {
    max-height: 20em;
  }
  .header-nav ul li:hover .header-submenu ul {
    display: flex;
  }
  .header-nav ul li:hover::after {
    width: 100%;
  }
  .header-top a:hover {
    color: var(--accent-1);
  }
}
.header-img__mobile, .header-button__mobile {
  display: none;
}
.header-menu__mobile {
  position: absolute;
  z-index: 2;
  top: 100%;
  right: 0;
  max-height: 0;
  transition: .6s;
  padding-top: 11px;
  transform: translateY(-11px);
  overflow: hidden;
}
.header-menu__mobile.open .header-menu__mobile--block::before {
  content: "";
  position: absolute;
  top: calc(-9px * var(--scale));
  left: 71%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: calc(50px * var(--scale)) solid transparent;
  border-right: calc(3px * var(--scale)) solid transparent;
  border-bottom: calc(11px * var(--scale)) solid var(--grey-6D);
}
.header-menu__mobile.open {
  max-height: 20em;
}
.header-menu__mobile--block {
  position: relative;
  background: var(--grey-6D);
  color: #fff;
  padding-top: calc(16px * var(--scale));
  padding-bottom: calc(30px * var(--scale));
}
.header-menu__mobile ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: calc(32px * var(--scale));
  padding-right: calc(20px * var(--scale));
}
.header-menu__mobile.open ul {
  display: block;
}
.header-menu__mobile ul li {
  position: relative;
  font-size: calc(14px * var(--scale));
  font-weight: 600;
}
.header-menu__mobile ul li:not(:nth-last-child(1)) {
  margin-bottom: calc(20px * var(--scale));
}
.header-menu__mobile ul li::before {
  content: '';
  position: absolute;
  width: calc(10px * var(--scale));
  height: calc(10px * var(--scale));
  border: 1px solid var(--accent-1);
  border-radius: 100%;
  transform: translate(-150%, 20%);
}
@media (max-width:768px) {
  header {
    padding-bottom: calc(5px * var(--scale));
  }
  .header-top {
    align-items: center;
  }
  .header-block {
    padding-top: 0;
  }
  .header-logo {
    display: block;
    width: calc(117px * var(--scale));
    object-fit: cover;
    overflow: hidden;
  }
  .header-logo img {
    width: calc(151px * var(--scale));
  }
  .header-block__phone a {
    font-size: calc(12px * var(--scale));
  }
  .header-block__phone span {
    font-size: calc(14px * var(--scale));
  }
  .header-block:has(.header-block__address), .header-block:has(.header-block__email), .header-top div:has(.default-button) {
    display: none;
  }
  .header-img__mobile {
    display: block;
    width: calc(26px * var(--scale));
  }
  .header-button__mobile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: inherit;
    border: none;
    padding: 0;
    gap: 10px;
  }
  .header-button__mobile i {
    height: calc(5px * var(--scale));
    background-color: var(--grey-6D);
    border-radius: 5px;
    width: 76%;
  }
  .header-button__mobile::after, .header-button__mobile::before {
    content: '';
    display: block;
    width: calc(41px * var(--scale));
    height: calc(5px * var(--scale));
    background-color: var(--grey-6D);
    border-radius: 5px;
  }
  .header-nav {
    display: none;
  }
}

/* banner */
.banner {
  display: grid;
  grid-template-columns: 57fr 43fr;
  grid-template-rows: 5fr 4fr;
  gap: calc(17px * var(--scale));
  overflow: hidden;
}
.banner-left__background {
  grid-row: 1 / 3;
  background-image: url(/wp-content/themes/dr-khalil/images/banner-left.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  border-bottom-right-radius: calc(98px * var(--scale));
  display: flex;
}
.banner-left {
  padding: calc(70px * var(--scale)) calc(10px * var(--scale)) calc(57px * var(--scale)) calc(310px * var(--scale));
}
.banner-title {
  font-size: calc(55px * var(--scale));
  font-weight: 700;
  color: #fff;
  margin-bottom: calc(50px * var(--scale));
}
.banner-list {
  position: relative;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #fff;
  padding-left: calc(20px * var(--scale));
}
.banner-list__header {
    font-size: calc(25px * var(--scale));
    margin-bottom: calc(30px * var(--scale));
    color: #fff;
}
.banner-list__row {
	display: flex;
    column-gap: calc(55px * var(--scale));
    margin-bottom: calc(55px * var(--scale));
}
.banner-list__row .banner-list a {
	border-bottom: 1px solid;
}
.banner-list__row .banner-list a:hover {
	border-bottom: none;
}
.banner-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    #fff,
    transparent
  );
}
.banner-left .banner-list {
    gap: calc(10px * var(--scale));
    font-size: calc(20px * var(--scale));
    font-weight: 500;
}
.banner-right-bottom .banner-list {
  gap: calc(14px * var(--scale));
  margin-left: calc(105px * var(--scale));
}
.banner-left .default-button {
  color: var(--grey-56);
  margin-left: calc(30px * var(--scale));
  margin-bottom: calc(58px * var(--scale));
}
.banner-pins {
  display: flex;
  flex-direction: row;
  gap: calc(46px * var(--scale));
}
.banner-pin {
  position: relative;
  background-color: rgba(255, 255, 255, .69);
  max-width: calc(149px * var(--scale));
  border-radius: calc(26px * var(--scale));
  padding: calc(57px * var(--scale)) calc(15px * var(--scale)) calc(20px * var(--scale)) calc(20px * var(--scale));
}
.banner-pin::before {
  content: '';
  position: absolute;
  width: calc(51px * var(--scale));
  height: calc(51px * var(--scale));
  top: 0;
  background-size: contain;
  background-image: url('/wp-content/themes/dr-khalil/images/banner-pin.png');
  transform: translate(20%, -50%);
}
.banner-pin__title {
  font-size: calc(90px * var(--scale));
  color: var(--grey-6D);
}
.banner-pin__text {
  font-size: calc(14px * var(--scale));
  color: #000;
}
.banner-right-top {
  border-bottom-left-radius: calc(98px * var(--scale));
}
.banner-right-top img {
  display: block;
  width: calc(506px * var(--scale));
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom-left-radius: 98px;
}
.banner-right-bottom {
  background-image: url('/wp-content/themes/dr-khalil/images/banner-right-bottom.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  border-top-left-radius: calc(98px * var(--scale));
  border-bottom-left-radius: calc(98px * var(--scale));
}
.banner-left .default-button:active span, .banner-left .default-button:focus-visible span {
  color: var(--grey-A4);
}
@media (hover: hover) {
  .banner-left .default-button:hover span {
    color: var(--grey-A4);
  }
}
@media (min-width:1921px) {
  .banner-left__background {
    justify-content: flex-end;
  }
  .banner-left {
    padding: calc(70px * var(--scale)) 3vw calc(57px * var(--scale)) 0;
  }
}
@media (max-width:1600px) {
  .banner-left {
    padding-left: calc(148px * var(--scale));
  }
}
@media (max-width:1440px) {
  .banner-left {
    padding-left: calc(65px * var(--scale));
  }
}
@media (max-width:768px) {
  .banner {
    display: block;
  }
  .banner-right-top, .banner-right-bottom {
    display: none;
  }
  .banner-left {
    padding: calc(26px * var(--scale)) calc(15px * var(--scale)) calc(18px * var(--scale));
    border-bottom-right-radius: calc(79px * var(--scale));
  }
  .banner-title {
    font-size: calc(24px * var(--scale));
    margin-bottom: calc(15px * var(--scale));
  }
	.banner-list__row {
		flex-direction: column;
	}
  .banner-left .banner-list {
     gap: calc(8px * var(--scale));
     font-size: calc(16px * var(--scale));
     margin-left: calc(27px * var(--scale));
     margin-bottom: calc(5px * var(--scale));
     padding-left: calc(11px * var(--scale));
  }
  .banner-left .default-button {
    display: none;
  }
  .banner-pins {
    gap: calc(19px * var(--scale));
  }
  .banner-pin {
    flex: 33%;
    max-width: calc(104px * var(--scale));
    border-radius: calc(17px * var(--scale));
    padding: calc(31px * var(--scale)) calc(16px * var(--scale)) calc(24px * var(--scale));
  }
  .banner-pin__title {
    font-size: calc(43px * var(--scale));
  }
  .banner-pin__text {
    font-size: calc(14px * var(--scale));
  }
  .banner-pins .banner-pin:nth-last-child(1) {
    background-image: url('/wp-content/uploads/2026/03/frame-5.jpg.webp');
    background-size: cover;
    border-bottom-right-radius: calc(44px * var(--scale));
    background-position: 50% 10%;
  }
  .banner-pins .banner-pin:nth-last-child(1) div {
    opacity: 0;
  }
  .banner-pins .banner-pin:nth-last-child(1)::before {
    width: 0;
  }
}
@media (max-width:400px) {
  .banner-pins {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* services */
.services {
  overflow: hidden;
  margin-top: calc(46px * var(--scale));
}
.services .container-1296 {
  overflow: visible;
}
.services-swiper {
  position: relative;
}
.services-swiper::before, .services-swiper::after {
  content: '';
  position: absolute;
  width: calc(304px * var(--scale));
  height: calc(384px * var(--scale));
  border: 2px solid var(--grey-9A);
  border-radius: calc(34px * var(--scale));
  top: 0;
}
.services-swiper::before {
  left: 0;
  transform: translateX(calc(-100% - 24px * var(--scale)));
}
.services-swiper::after {
  right: 0;
  transform: translateX(calc(100% + 24px * var(--scale)));
  border-color: var(--accent-1);
}
.services-card {
  display: flex;
  align-items: flex-end;
  border-radius: calc(34px * var(--scale));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: calc(388px * var(--scale));
  overflow: hidden;
  position: relative;
}
.services-card-1 {
  background-image: url('/wp-content/themes/dr-khalil/images/services-card-1.png');
}
.services-card-2 {
  background-image: url('/wp-content/themes/dr-khalil/images/services-card-2.png');
}
.services-card-3 {
  background-image: url('/wp-content/themes/dr-khalil/images/services-card-3.png');
}
.services-card-4 {
  background-image: url('/wp-content/themes/dr-khalil/images/services-card-4.png');
}
.services-card__title {
  width: 100%;
  padding: calc(23px * var(--scale)) calc(17px * var(--scale)) calc(35px * var(--scale)) calc(17px * var(--scale));
  background-color: rgba(238, 238, 238, .88);
  transition: .3s;
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  color: #000;
}
.services-card__list {
  position: absolute;
  opacity: 0;
  background-color: rgba(154, 194, 193, 0.91);
  width: 100%;
  height: 100%;
  transition: .3s;
}
.services-card__list ul {
  margin: 0;
  padding: calc(54px * var(--scale)) calc(15px * var(--scale)) calc(10px * var(--scale)) 0;
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  color: #fff;
  list-style: none;
}
.services-card__list ul li {
  position: relative;
  padding-left: calc(54px * var(--scale));
  margin-bottom: calc(10px * var(--scale));
}
.services-card__list ul li::before {
  content: '';
  position: absolute;
  width: calc(4px * var(--scale));
  height: calc(4px * var(--scale));
  border: 3px solid #fff;
  border-radius: 100%;
  transform: translate(-200%, 50%);
}
.services-card:active .services-card__list, .services-card:focus-visible .services-card__list {
  opacity: 1;
}
.services-card:active .services-card__title, .services-card:focus-visible .services-card__title {
  opacity: 0;
}
@media (hover: hover) {
  .services-card:hover .services-card__list {
    opacity: 1;
  }
  .services-card:hover .services-card__title {
    opacity: 0;
  }
}
@media (max-width:768px) {
  .services {
    margin-top: calc(15px * var(--scale));
  }
  .services-card {
    height: calc(210px * var(--scale));
  }
  .services-card__title {
    padding: calc(7px * var(--scale)) calc(9px * var(--scale)) calc(11px * var(--scale));
    font-size: calc(14px * var(--scale));
    text-align: center;
  }
  .services-card__list ul {
    padding: calc(14px * var(--scale)) calc(5px * var(--scale)) calc(14px * var(--scale)) 0;
    font-size: calc(14px * var(--scale));
  }
  .services-card__list ul li {
    padding-left: calc(34px * var(--scale));
    margin-bottom: calc(5px * var(--scale));
  }
  .services-card__list ul li::before {
    width: calc(6px * var(--scale));
    height: calc(6px * var(--scale));
    border: 1px solid #fff;
  }
  .services-card.swaped .services-card__list {
    opacity: 1;
  }
  .services-card.swaped .services-card__title {
    opacity: 0;
  }
  .services-swiper::before, .services-swiper::after {
    display: none;
  }
}

/* faq */
.faq {
  margin-top: calc(90px * var(--scale));
}
.faq-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: calc(80px * var(--scale));
  margin-top: calc(37px * var(--scale));
}
.faq-img {

}
.faq-img img {
  width: calc(440px * var(--scale));
  border-radius: calc(34px * var(--scale));
}
.faq-block {
  border-top: 1px solid var(--grey-BF);
}
.faq-elem {
  overflow: hidden;
}
.faq-elem:not(:nth-child(1)) {
  border-top: 1px solid var(--grey-E9);
}
.faq-question {
  width: 100%;
  background: inherit;
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  padding: calc(19px * var(--scale)) calc(24px * var(--scale)) calc(17px * var(--scale)) 0;
  cursor: pointer;
}
.faq-question__text span:nth-child(1) {
  font-size: calc(15px * var(--scale));
  font-weight: 500;
  color: var(--grey-BF);
  margin-right: calc(20px * var(--scale));
  transition: .3s;
}
.faq-question__text span:nth-child(2) {
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-56);
  transition: .3s;
}
.faq-question__icon {

}
.faq-question__icon img {
  width: calc(21px * var(--scale));
  transition: .3s;
}
.faq-elem.open .faq-question__icon img {
  display: none;
}
.faq-question__icon span {
  display: none;
  font-size: calc(12px * var(--scale));
  padding: calc(5px * var(--scale)) calc(6px * var(--scale));
  background: var(--accent-1);
  border-radius: 100%;
  line-height: 1;
}
.faq-elem.open .faq-question__icon span {
  display: block;
}
.faq-answer {
  font-size: calc(15px * var(--scale));
  font-weight: 500;
  color: var(--grey-A4);
  max-height: 0;
  transition: .5s;
}
.faq-elem.open .faq-answer {
  max-height: fit-content;
}
.faq-answer > div {
  padding: calc(17px * var(--scale)) calc(86px * var(--scale)) calc(29px * var(--scale)) calc(86px * var(--scale));
}
.faq-question:active .faq-question__icon img, .faq-question:focus-visible .faq-question__icon img {
  transform: rotate(90deg);
}
.faq-question:active .faq-question__text span:nth-child(1), .faq-question:active .faq-question__text span:nth-child(2),
.faq-question:focus-visible .faq-question__text span:nth-child(1), .faq-question:focus-visible .faq-question__text span:nth-child(2) {
  color: var(--accent-1);
}
@media (hover: hover) {
  .faq-question:hover .faq-question__icon img {
    transform: rotate(90deg);
  }
  .faq-question:hover .faq-question__text span:nth-child(1), .faq-question:hover .faq-question__text span:nth-child(2) {
    color: var(--accent-1);
  }
}
@media (max-width:768px) {
  .faq {
    margin-top: calc(15px * var(--scale));
  }
  .faq-main {
    gap: 0;
    margin-top: calc(9px * var(--scale));
  }
  .faq-img {
    display: none;
  }
  .faq-question {
    padding: calc(14px * var(--scale)) calc(14px * var(--scale)) calc(14px * var(--scale)) 0;
  }
  .faq-question__text {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .faq-question__text span:nth-child(1) {
    font-size: calc(16px * var(--scale));
    margin-right: calc(11px * var(--scale));
  }
  .faq-question__text span:nth-child(2) {
    font-size: calc(16px * var(--scale));
    text-align: left;
  }
  .faq-question__icon img {
    width: calc(18px * var(--scale));
  }
  .faq-answer {
    font-size: calc(14px * var(--scale));
  }
  .faq-elem.open .faq-answer {
    max-height: 20em;
  }
  .faq-answer > div {
    padding: 0 0 calc(5px * var(--scale)) calc(40px * var(--scale));
  }
  .faq-question__icon span {
    font-size: calc(12px * var(--scale));
    padding: calc(6px * var(--scale));
  }
}

/* numbers */
.numbers {
  margin-top: calc(146px * var(--scale));
  display: flex;
  flex-direction: row;
}
.numbers-elem {
  flex: 25%;
  display: flex;
  flex-direction: column;
}
.numbers-num {
  font-size: calc(46px * var(--scale));
  font-weight: 700;
  color: var(--grey-56);
  padding-bottom: calc(8px * var(--scale));
  border-bottom: 1px solid var(--grey-BF);
  margin-bottom: calc(10px * var(--scale));
}
.numbers-text {
  padding-right: calc(100px * var(--scale));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.numbers-title {
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-56);
  margin-bottom: calc(19px * var(--scale));
}
.numbers-subtitle {
  font-size: calc(18px * var(--scale));
  color: var(--grey-6D);
}
@media (max-width:768px) {
  .numbers {
    margin-top: calc(25px * var(--scale));
    row-gap: calc(24px * var(--scale));
    flex-wrap: wrap;
  }
  .numbers-elem {
    flex: 50%;
  }
  .numbers-num {
    font-size: calc(30px * var(--scale));
  }
  .numbers-text {
    padding-right: calc(24px * var(--scale));
  }
  .numbers-title {
    font-size: calc(13px * var(--scale));
    margin-bottom: calc(16px * var(--scale));
  }
  .numbers-subtitle {
    font-size: calc(13px * var(--scale));
  }
}

/* advantage */
.advantage-background {
  background: url(/wp-content/themes/dr-khalil/images/advantage.png);
  background-size: cover;
  margin-top: calc(67px * var(--scale));
}
.advantage {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1em;
  padding: calc(78px * var(--scale)) calc(105px * var(--scale)) calc(79px * var(--scale)) calc(310px * var(--scale));
  background: url('/wp-content/themes/dr-khalil/images/advantage.png');
  background-size: cover;
  color: #fff;
}
.advantage-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.advantage-title {
  font-size: calc(40px * var(--scale));
  font-weight: 700;
}
.advantage-title span {
  color: var(--accent-1);
}
.advantage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  font-size: calc(14px * var(--scale));
  font-weight: 700;
}
.advantage-list__elem {
  display: flex;
  flex-direction: row;
  gap: .6em;
  align-items: center;
}
.advantage-text {
  font-size: calc(14px * var(--scale));
}
.advantage .default-button {

}
.advantage-img img {
  width: calc(698px * var(--scale));
  border-radius: calc(34px * var(--scale));
}
@media (max-width:1600px) {
  .advantage {
    padding-left: calc(148px * var(--scale));
  }
}
@media (max-width:1440px) {
  .advantage {
    padding-left: calc(65px * var(--scale));
  }
  .advantage-img img {
    width: calc(598px * var(--scale));
  }
}
@media (max-width:768px) {
  .advantage-background {
    margin-top: calc(34px * var(--scale));
  }
  .advantage {
    padding: calc(24px * var(--scale)) calc(15px * var(--scale));
  }
  .advantage-title {
    font-size: calc(17px * var(--scale));
    margin-bottom: calc(30px * var(--scale));
    text-align: center;
  }
  .advantage-list {
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    font-size: calc(12px * var(--scale));
    margin-bottom: calc(21px * var(--scale));
  }
  .advantage-list__elem {
    align-items: flex-start;
  }
  .advantage-text {
    font-size: calc(12px * var(--scale));
    margin-bottom: calc(12px * var(--scale));
  }
  .advantage-button {
    margin: auto;
  }
  .advantage-img {
    display: none;
  }
}

/* articles */
.articles {
  overflow: hidden;
  margin-top: calc(54px * var(--scale));
}
.articles-card {
  padding: calc(18px * var(--scale)) calc(11px * var(--scale)) calc(37px * var(--scale)) calc(31px * var(--scale));
  background: #FFFFFF;
  box-shadow: 1px -1px 19.7px rgba(0, 0, 0, 0.1);
  border-radius: calc(34px * var(--scale));
  height: calc(275px * var(--scale));
  display: grid;
  grid-template-rows: 25fr 10fr;
  transition: .3s;
}
.articles-card__header {
  font-size: calc(20px * var(--scale));
  font-weight: 600;
  color: var(--grey-56);
  margin-bottom: calc(20px * var(--scale));
  border-bottom: 1px solid var(--grey-BF);
}
.articles-card__title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.articles-card__title svg {
  height: calc(53px * var(--scale));
}
.articles-card__footer {
  font-size: calc(18px * var(--scale));
  color: var(--grey-6D);
}
.articles-card:active, .articles-card:focus-visible {
  background: var(--accent-1);
}
.articles-card:active path, .articles-card:focus-visible path {
  fill: #fff;
}
@media (hover: hover) {
  .articles-card:hover {
    background: var(--accent-1);
  }
  .articles-card:hover path {
    fill: #fff;
  }
}
@media (max-width:768px) {
  .articles {
    margin-top: calc(19px * var(--scale));
  }
  .articles .default-title__sub {
    display: none;
  }
  .articles-card {
    padding: calc(20px * var(--scale)) calc(20px * var(--scale)) calc(30px * var(--scale)) calc(20px * var(--scale));
    border-radius: calc(26px * var(--scale));
    height: calc(184px * var(--scale));
    grid-template-rows: 1fr 1fr;
  }
  .articles-card__title svg {
    height: calc(40px * var(--scale));
  }
  .articles-card__header {
    font-size: calc(12px * var(--scale));
    margin-bottom: calc(10px * var(--scale));
	height: 150px;
  }
  .articles-card__footer {
    font-size: calc(12px * var(--scale));
  }
}

/* examples */
.examples {
  margin-top: calc(65px * var(--scale));
}
.examples-main {
  display: flex;
  flex-direction: row;
  gap: calc(54px * var(--scale));
}
.examples-img img {
  width: calc(438px * var(--scale));
}
.examples-swiper {
  position: relative;
  overflow: hidden;
}
.examples-card {
  --card-height: calc(564px * var(--scale));
  display: flex;
  align-items: center;
  gap: calc(9px * var(--scale));
  width: fit-content;
  margin: auto;
  height: var(--card-height);
}
.examples-card__img {
  position: relative;
}
.examples-card img {
  position: relative;
  width: 100%;
  max-height: var(--card-height);
  object-fit: contain;
  border-radius: calc(34px * var(--scale));
}
.examples-card__img span {
  position: absolute;
  left: 50%;
  top: calc(33px * var(--scale));
  font-size: calc(35px * var(--scale));
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  transform: translateX(-50%);
}
@media (max-width:768px) {
  .examples {
    margin-top: calc(23px * var(--scale));
  }
  .examples-main {
    gap: calc(54px * var(--scale));
  }
  .examples-img {
    display: none;
  }
  .examples-swiper {
    padding-bottom: calc(26px * var(--scale));
  }
  .examples-card {
    --card-height: calc(182px * var(--scale));
  }
  .examples-card img {
    border-radius: calc(26px * var(--scale));
  }
  .examples-card__img span {
    left: 50%;
    top: calc(11px * var(--scale));
    font-size: calc(25px * var(--scale));
  }
}

/* prices */
.prices {
  margin-top: calc(116px * var(--scale));
}
.prices-radio {
  display: flex;
  flex-direction: row;
  gap: calc(24px * var(--scale));
  padding-bottom: calc(30px * var(--scale));
}
.prices-radio label {
  flex: 25%;
  background: #FFF;
  box-shadow: 0px 1px 16.3px rgba(0, 0, 0, 0.1);
  border-radius: calc(15px * var(--scale));
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-56);
  padding: calc(20px * var(--scale)) 0;
  text-align: center;
  transition: .3s;
  cursor: pointer;
}
.prices-radio label:has(input[type="radio"]:checked) {
  background: var(--grey-9A);
  color: #fff;
}
.prices-radio input[type="radio"] {
  display: none;
}
.prices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--grey-BF);
  visibility: hidden;
  transition: 1s;
  opacity: 0;
}
.prices-grid.visible {
  visibility: visible;
  opacity: 1;
}
.prices-grid__elem {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--grey-BF);
  padding-top: calc(23px * var(--scale));
  padding-bottom: calc(21px * var(--scale));
}
.prices-grid.visible .prices-grid__elem {
  display: flex;
}
.prices-grid__elem:nth-child(odd) {
  border-right: 1px solid var(--grey-BF);
  padding-right: calc(8px * var(--scale));
}
.prices-grid__elem:nth-child(even) {
  padding-left: calc(32px * var(--scale));
}
.prices-grid__name {

}
.prices-grid__title {
  font-size: calc(18px * var(--scale));
  font-weight: 500;
  color: var(--grey-56);
  margin-bottom: calc(6px * var(--scale));
}
.prices-grid__text {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-99);
}
.prices-grid__price {
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-56);
}
.prices-radio label:active, .prices-radio label:focus-visible {
  background: var(--grey-9A);
  color: #fff;
}
@media (hover: hover) {
  .prices-radio label:hover {
    background: var(--grey-9A);
    color: #fff;
  }
}
@media (max-width:768px) {
  .prices {
    margin-top: calc(25px * var(--scale));
  }
  .prices .default-title__sub {
    display: none;
  }
  .prices-radio {
    flex-wrap: wrap;
    gap: calc(8px * var(--scale));
  }
  .prices-radio label {
    flex: 40%;
    border-radius: calc(9px * var(--scale));
    font-size: calc(14px * var(--scale));
    padding: calc(10px * var(--scale));
  }
  .prices-grid {
    grid-template-columns: 1fr;
  }
  .prices-grid__elem {
    padding-top: calc(12px * var(--scale));
    gap: 1em;
  }
  .prices-grid__elem:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
  .prices-grid__elem:nth-child(even) {
    padding-left: 0;
  }
  .prices-grid__title {
    font-size: calc(16px * var(--scale));
    margin-bottom: calc(6px * var(--scale));
  }
  .prices-grid__text {
    font-size: calc(14px * var(--scale));
  }
  .prices-grid__price {
    min-width: max-content;
    font-size: calc(16px * var(--scale));
  }
}

/* promo */
.promo-background {
  background: url('/wp-content/themes/dr-khalil/images/promo-back.png');
  background-size: cover;
  margin-top: calc(63px * var(--scale));
}
.promo {
  display: flex;
  flex-direction: row;
  gap: calc(115px * var(--scale));
  padding: calc(24px * var(--scale)) calc(10px * var(--scale)) calc(25px * var(--scale)) calc(98px * var(--scale));
}
.promo-img img {
  width: calc(665px * var(--scale));
}
.promo-text {
  padding-top: calc(36px * var(--scale));
}
.promo-title {
  font-size: calc(40px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(28px * var(--scale));
}
.promo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: calc(48px * var(--scale));
  font-size: calc(25px * var(--scale));
  font-weight: 600;
  color: #fff;
}
.promo-row:not(:nth-last-child(1)) {
  margin-bottom: calc(62px * var(--scale));
}
.promo-row img {
  width: calc(189px * var(--scale));
}
@media (max-width:1440px) {
  .promo {
    gap: calc(85px * var(--scale));
    padding-left: calc(68px * var(--scale));
  }
  .promo-img img {
    width: calc(565px * var(--scale));
  }
  .promo-row img {
    width: calc(149px * var(--scale));
  }
}
@media (max-width:768px) {
  .promo-background {
    margin-top: calc(19px * var(--scale));
  }
  .promo {
    padding: calc(17px * var(--scale)) calc(15px * var(--scale)) calc(14px * var(--scale)) calc(15px * var(--scale));
  }
  .promo-img {
    display: none;
  }
  .promo-text {
    padding-top: 0;
  }
  .promo-title {
    font-size: calc(18px * var(--scale));
    margin-bottom: calc(7px * var(--scale));
  }
  .promo-row img {
    width: calc(63px * var(--scale));
  }
  .promo-row {
    gap: calc(11px * var(--scale));
    font-size: calc(14px * var(--scale));
  }
  .promo-row:not(:nth-last-child(1)) {
    margin-bottom: calc(11px * var(--scale));
  }
}

/* certificates */
.certificates {
  margin-top: calc(24px * var(--scale));
}
.certificates-swiper {
  position: relative;
  padding-bottom: calc(80px * var(--scale));
}
.certificates-card img {
  width: 100%;
  height: calc(388px * var(--scale));
  object-fit: contain;
  cursor: pointer;
  border-radius: calc(34px * var(--scale));
}
@media (max-width:768px) {
  .certificates {
    margin-top: calc(16px * var(--scale));
  }
  .certificates .default-title__sub {
    display: none;
  }
  .certificates-swiper {
    padding-bottom: 0;
  }
  .certificates-card img {
    height: calc(230px * var(--scale));
  }
}

/* clinic */
.clinic {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: calc(15px * var(--scale));
  padding: 0 calc(10px * var(--scale)) 0 calc(310px * var(--scale));
  margin-top: calc(111px * var(--scale));
}
.clinic-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
}
.clinic-description {

}
.clinic-title {
  font-size: calc(40px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(21px * var(--scale));
}
.clinic-text {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-99);
}
.clinic-rows {
  display: flex;
  flex-direction: column;
  gap: calc(21px * var(--scale));
}
.clinic-row {
  border: 2px solid var(--grey-9A);
  border-radius: calc(34px * var(--scale));
  padding: calc(22px * var(--scale)) calc(60px * var(--scale)) calc(30px * var(--scale)) calc(72px * var(--scale));
}
.clinic-row__title {
  margin-bottom: calc(29px * var(--scale));
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
}
.clinic-row__text {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-99);
}
.clinic-grid {
  display: grid;
  align-items: center;
  grid-template-columns: auto auto;
  gap: calc(20px * var(--scale));
}
.clinic-grid img:nth-child(1) {
  grid-row: 1/3;
  width: calc(453px * var(--scale));
  border-radius: calc(34px * var(--scale));
}
.clinic-grid img:not(:nth-child(1)) {
  width: calc(554px * var(--scale));
  border-radius: calc(34px * var(--scale));
}
.clinic-rows__mobile {
  display: none;
}
@media (max-width:1600px) {
  .clinic {
    padding-left: calc(148px * var(--scale));
  }
  .clinic-grid img:nth-child(1) {
    width: calc(403px * var(--scale));
  }
  .clinic-grid img:not(:nth-child(1)) {
    width: calc(504px * var(--scale));
  }
}
@media (max-width:1440px) {
  .clinic {
    padding-left: calc(65px * var(--scale));
  }
  .clinic-grid img:nth-child(1) {
    width: calc(353px * var(--scale));
  }
  .clinic-grid img:not(:nth-child(1)) {
    width: calc(424px * var(--scale));
  }
}
@media (max-width:768px) {
  .clinic {
    flex-direction: column;
    gap: calc(15px * var(--scale));
    padding: 0 calc(15px * var(--scale));
    margin-top: calc(33px * var(--scale));
  }
  .clinic-title {
    width: 100%;
    font-size: calc(24px * var(--scale));
    padding-bottom: calc(9px * var(--scale));
    margin-bottom: calc(22px * var(--scale));
    border-bottom: 1px solid var(--grey-BF);
  }
  .clinic-text, .clinic-grid {
    display: none;
  }
  .clinic-info {
    gap: 0;
  }
  .clinic-rows {
    gap: calc(9px * var(--scale));
  }
  .clinic-row {
    border: 2px solid var(--grey-9A);
    border-radius: calc(24px * var(--scale));
    padding: calc(14px * var(--scale)) calc(50px * var(--scale)) calc(22px * var(--scale)) calc(52px * var(--scale));
  }
  .clinic-row__title {
    margin-bottom: calc(12px * var(--scale));
    font-size: calc(16px * var(--scale));
  }
  .clinic-row__text {
    font-size: calc(14px * var(--scale));
  }
  .clinic-rows__mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(14px * var(--scale));
  }
  .clinic-rows__mobile img {
    height: calc(188px * var(--scale));
    object-fit: cover;
    width: 100%;
    border-radius: calc(26px * var(--scale));
  }
}

/* reviews */
.reviews {
  margin-top: calc(120px * var(--scale));
}
.reviews .default-title {
  margin-bottom: 0;
}
.reviews-text {
  font-size: calc(28px * var(--scale));
  font-weight: 500;
  color: var(--grey-6D);
  margin: 1em 0;
}
.reviews-main {
  display: grid;
  grid-template-columns: 2fr 3fr;
}
.reviews-sites {
  display: flex;
  flex-direction: column;
  gap: calc(90px * var(--scale));
}
.reviews-row {
  display: flex;
  flex-direction: row;
  gap: calc(20px * var(--scale));
  color: #000;
}
.reviews-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.reviews-rating {
  display: flex;
  align-items: flex-start;
  gap: calc(10px * var(--scale));
}
.reviews-rating__num {
  font-size: calc(48px * var(--scale));
  font-weight: 700;
}
.reviews-rating__svg {
  
}
.reviews-rating__svg svg {
  width: calc(12px * var(--scale));
  height: calc(12px * var(--scale));
}
.reviews-quantity {
  font-size: calc(12px * var(--scale));
}
.reviews-row > img {
  width: calc(249px * var(--scale));
  object-fit: contain;
}
.reviews-swiper {
  overflow: hidden;
  position: relative;
  padding: calc(70px * var(--scale))
}
.reviews-card {
  width: fit-content;
}
.reviews-card img {
  height: calc(499px * var(--scale));
  object-fit: contain;
  transition: .3s;
}
.reviews-button-prev, .reviews-button-next {
  width: calc(50px * var(--scale));
  height: calc(15px * var(--scale));
  z-index: 11;
  cursor: pointer;
  position: absolute;
  top: 50%;
}
.reviews-button-prev {
  left: 0;
}
.reviews-button-next {
  right: 0;
}
.reviews-button-prev path, .reviews-button-next path {
  transition: .3s;
}
.reviews-button-prev:active path, .reviews-button-next:active path,
.reviews-button-prev:focus-visible path, .reviews-button-next:focus-visible path {
  fill: var(--grey-9A);
}
@media (hover: hover) {
  .reviews-button-prev:hover path, .reviews-button-next:hover path {
    fill: var(--grey-9A);
  }
}
@media (min-width:769px) {
  .reviews-swiper .swiper-slide {
    display: flex;
    align-items: center;
  }
  .reviews-swiper .swiper-slide-next {
    z-index: 1;
  }
  .reviews-swiper .swiper-slide-next .reviews-card {
    margin: 0 auto;
  }
  .reviews-swiper .swiper-slide-next .reviews-card img {
    transform: scale(1.3);
    margin: 0 auto;
    z-index: 1;
  }
  .reviews-swiper .swiper-slide.swiper-slide-active .reviews-card {
    margin-left: auto;
  }
  .reviews-swiper .swiper-slide img {
    display: none;
  }
  .reviews-swiper .swiper-slide.swiper-slide-active img, 
  .reviews-swiper .swiper-slide.swiper-slide-next img,
  .reviews-swiper .swiper-slide-next + .swiper-slide img {
    display: block;
  }
}
@media (max-width:768px) {
  .reviews {
    margin-top: calc(16px * var(--scale));
  }
  .reviews .default-title {
    margin-bottom: calc(12px * var(--scale));
  }
  .reviews .default-title__sub, .reviews-text, .reviews-sites {
    display: none;
  }
  .reviews-main {
    display: block;
  }
  .reviews-swiper {
    padding: 0;
  }
  .reviews-card img {
    height: calc(306px * var(--scale));
    margin: auto;
  }
  .reviews-card {
    width: 100%;
    display: flex;
  }
  .reviews-button-prev, .reviews-button-next {
    display: none;
  }
}

/* contacts */
.contacts-background {
  margin-top: calc(120px * var(--scale));
  background: url('/wp-content/themes/dr-khalil/images/contacts-back.png');
  background-size: cover;
}
.contacts {
  position: relative;
  padding: calc(120px * var(--scale)) 0 calc(80px * var(--scale));
  overflow: visible;
}
.contacts-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(150px * var(--scale));
}
.contacts-block {
  color: #fff;
}
.contacts-title {
  font-size: calc(30px * var(--scale));
  font-weight: 600;
  margin-bottom: calc(42px * var(--scale));
  text-transform: uppercase;
}
.contacts-rows {
  display: grid;
  grid-template-columns: auto auto;
  gap: calc(48px * var(--scale)) calc(52px * var(--scale));
  margin-bottom: calc(42px * var(--scale));
}
.contacts-rows span {
  font-size: calc(20px * var(--scale));
}
.contacts-rows span:nth-child(odd) {
  font-weight: 600;
}
.contacts-rows span:nth-child(even) {

}
.contacts-rows span a {
  transition: .3s;
}
.contacts-soc {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: calc(35px * var(--scale));
}
.contacts-soc a img {
  width: calc(35px * var(--scale));
  height: calc(35px * var(--scale));
}
.contacts-arrow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  box-shadow: 0px 7px 13.4px rgba(0, 0, 0, 0.15);
  border-radius: 100%;
  padding: calc(27.5px * var(--scale)) calc(40px * var(--scale));
}
.contacts-arrow svg {
  width: calc(15px * var(--scale));
  height: calc(36px * var(--scale));
}
.contacts-cut {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -70%);
}
.contacts-cut svg {
  width: calc(208px * var(--scale));
  height: calc(208px * var(--scale));
}
.contacts-rows span a:active, .contacts-rows span a:focus-visible {
  color: var(--grey-67);
}
@media (hover: hover) {
  .contacts-rows span a:hover {
    color: var(--grey-67);
  }
}
@media (max-width:768px) {
  .contacts-background {
    margin-top: calc(20px * var(--scale));
  }
  .contacts {
    padding: calc(15px * var(--scale)) 0;
  }
  .contacts-arrow, .contacts-cut {
    display: none;
  }
  .contacts-main {
    display: flex;
    flex-direction: column;
    gap: calc(36px * var(--scale));
  }
  .contacts-title {
    font-size: calc(20px * var(--scale));
    margin-bottom: calc(21px * var(--scale));
  }
  .contacts-rows {
    gap: calc(28px * var(--scale)) calc(52px * var(--scale));
    margin-bottom: calc(19px * var(--scale));
  }
  .contacts-rows span:nth-child(odd) {
    font-size: calc(16px * var(--scale));
  }
  .contacts-rows span:nth-child(even) {
    font-size: calc(14px * var(--scale));
  }
  .contacts-soc a img {
    width: calc(20px * var(--scale));
    height: calc(20px * var(--scale));
  }
}

/* about */
.about {
  display: flex;
  flex-direction: row;
  gap: calc(37px * var(--scale));
  padding: 0 calc(10px * var(--scale)) 0 calc(310px * var(--scale));
  margin-top: calc(44px * var(--scale));
  overflow: hidden;
}
.about-text {
  padding: calc(50px * var(--scale)) calc(80px * var(--scale)) calc(10px * var(--scale)) calc(80px * var(--scale));
  border: 2px solid var(--grey-9A);
  border-radius: calc(34px * var(--scale));
}
.about-text .default-title__main {
  margin-bottom: calc(63px * var(--scale));
}
.about-text p {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-6D);
}
.about-img img {
  width: calc(784px * var(--scale));
  font-weight: 500;
  color: var(--grey-6D);
}
@media (max-width:1600px) {
  .about {
    padding-left: calc(148px * var(--scale));
  }
  .about-img img {
    width: calc(684px * var(--scale));
  }
}
@media (max-width:1440px) {
  .about {
    padding-left: calc(65px * var(--scale));
  }
  .about-img img {
    width: calc(584px * var(--scale));
  }
}
@media (max-width:768px) {

}
@media (max-width:768px) {
  .about {
    padding: 0 calc(15px * var(--scale));
  }
  .about-img {
    display: none;
  }
  .about-text {
    padding: calc(13px * var(--scale)) calc(23px * var(--scale)) calc(15px * var(--scale)) calc(25px * var(--scale));
  }
  .about-text .default-title__main {
    margin-bottom: calc(19px * var(--scale));
  }
  .about-text p {
    font-size: calc(14px * var(--scale));
  }
}

/* footer */
.footer {
  margin-top: calc(46px * var(--scale));
  background: var(--accent-1);
  padding: calc(30px * var(--scale)) 0;
}
.footer .default-circle {
  border-color: var(--grey-9A);
}
.footer-main {
  display: flex;
  flex-direction: row;
  gap: calc(85px * var(--scale));
}
.footer-logo img {
  width: calc(329px * var(--scale));
}
.footer .footer-block:nth-child(2) {
  margin-top: calc(34px * var(--scale));
}
.footer-block {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: calc(5px * var(--scale));
  margin-bottom: calc(24px * var(--scale));
}
.footer-block__text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-block__text.footer-block__email {
  gap: calc(18px * var(--scale));
}
.footer-block__phone a {
  font-size: calc(16px * var(--scale));
  font-weight: 700;
  color: var(--grey-56);
}
.footer-block__phone span {
  font-size: calc(12px * var(--scale));
  color: var(--grey-A4);
}
.footer-block__address, .footer-block__email {
  font-size: calc(14px * var(--scale));
  font-weight: 500;
  color: var(--grey-6D);
}
.footer-block__email .footer-block__soc {
  display: flex;
  flex-direction: row;
  gap: calc(20px * var(--scale));
  align-items: center;
}
.footer-block__email .footer-block__soc a {
  display: block;
}
.footer-block__email .footer-block__soc a img, .footer-block__email .footer-block__soc a svg {
  max-width: calc(26px * var(--scale));
  max-height: calc(26px * var(--scale));
}
.footer-block__email .footer-block__soc a svg path {
  fill: var(--grey-9A);
}
.footer-block a {
  transition: .3s;
}
@media (hover: hover) {
  .footer-block a:hover {
    color: var(--grey-9A);
  }
}
.footer-column {
  margin-top: calc(65px * var(--scale));
}
.footer-column__title {
  font-size: calc(20px * var(--scale));
  font-weight: 600;
  color: var(--grey-56);
  margin-bottom: calc(26px * var(--scale));
}
.footer-column__elem {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-6D);
  margin-bottom: calc(14px * var(--scale));
}
@media (max-width:768px) {
  .footer {
    margin-top: calc(15px * var(--scale));
    padding: calc(15px * var(--scale)) 0 calc(19px * var(--scale));
  }
  .footer-column {
    display: none;
  }
  .footer-main {
    justify-content: center;
  }
  .footer-logo {
    display: block;
    width: calc(261px * var(--scale));
	margin: auto;
  }
  .footer-logo img {
    object-fit: cover;
  }
  .footer .footer-block:nth-child(2) {
    margin-top: calc(47px * var(--scale));
  }
  .footer-block {
    padding-left: calc(23px * var(--scale));
  }
  .footer .default-circle {
    min-width: calc(14px * var(--scale));
    min-height: calc(14px * var(--scale));
    border: 3px solid var(--grey-9A);
  }
}

/* modal */
.modal {
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  justify-content: center;
  align-items: center;
  transition: opacity 1s;
  display: flex;
  position: fixed;
  inset: 0;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-background {
  background-color: #00000080;
  width: 100%;
  height: 100%;
  position: absolute;
}
.modal-content {
  opacity: 0;
  z-index: 1;
  max-width: 80%;
  max-height: 80%;
  transition: .5s;
}
.modal.open .modal-content {
  opacity: 1;
}
@media (max-width:768px) {
  .modal-content {
    max-width: 100%;
    max-height: 90%;
  }
}

/* stomatolog-ortoped */
.ortho-hero {
  padding: calc(80px * var(--scale)) 0 calc(60px * var(--scale));
  background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 40%, #F1F1F1 100%);
}
.ortho-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: calc(60px * var(--scale));
  align-items: center;
}
.ortho-hero__pretitle {
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-1);
  margin-bottom: calc(12px * var(--scale));
}
.ortho-hero__title {
  margin: 0 0 calc(24px * var(--scale));
  font-size: calc(42px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
}
.ortho-hero__text {
  font-size: calc(16px * var(--scale));
  line-height: 1.6;
  color: var(--grey-67);
  margin-bottom: calc(28px * var(--scale));
}
.ortho-hero__text p {
  margin: 0 0 calc(10px * var(--scale));
}
.ortho-hero__text p:last-child {
  margin-bottom: 0;
}
.ortho-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(10px * var(--scale));
  margin-bottom: calc(30px * var(--scale));
}
.ortho-hero__note {
  font-size: calc(14px * var(--scale));
  color: var(--grey-99);
}
.ortho-hero__info {
  display: flex;
  flex-wrap: wrap;
  gap: calc(24px * var(--scale));
}
.ortho-hero__info-item {
  min-width: calc(150px * var(--scale));
}
.ortho-hero__info-num {
  font-size: calc(28px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(4px * var(--scale));
}
.ortho-hero__info-text {
  font-size: calc(14px * var(--scale));
  color: var(--grey-67);
}
.ortho-hero__image {
  position: relative;
}
.ortho-hero__photo {
  border-radius: calc(32px * var(--scale));
  overflow: hidden;
  box-shadow: 0 calc(24px * var(--scale)) calc(60px * var(--scale)) rgba(0, 0, 0, 0.08);
}
.ortho-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ortho-hero__badge {
  position: absolute;
  left: calc(24px * var(--scale));
  bottom: calc(24px * var(--scale));
  padding: calc(14px * var(--scale)) calc(18px * var(--scale));
  background: #FFFFFF;
  border-radius: calc(18px * var(--scale));
  box-shadow: 0 calc(12px * var(--scale)) calc(30px * var(--scale)) rgba(0, 0, 0, 0.06);
  max-width: calc(260px * var(--scale));
}
.ortho-hero__badge-main {
  display: block;
  font-size: calc(14px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(4px * var(--scale));
}
.ortho-hero__badge-sub {
  display: block;
  font-size: calc(12px * var(--scale));
  color: var(--grey-67);
}

.ortho-content {
  padding: 0 0 calc(80px * var(--scale));
}
.ortho-content__inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: calc(16px * var(--scale));
  line-height: 1.7;
  color: var(--grey-67);
}
.ortho-content__inner h2,
.ortho-content__inner h3 {
  color: var(--grey-6D);
}

@media (max-width:1024px) {
  .ortho-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(40px * var(--scale));
  }
}
@media (max-width:768px) {
  .ortho-hero {
    padding: calc(40px * var(--scale)) 0 calc(40px * var(--scale));
  }
  .ortho-hero__title {
    font-size: calc(30px * var(--scale));
  }
  .ortho-hero__info {
    gap: calc(16px * var(--scale));
  }
  .ortho-hero__badge {
    left: calc(16px * var(--scale));
    bottom: calc(16px * var(--scale));
    max-width: calc(220px * var(--scale));
  }
  .ortho-content {
    padding-bottom: calc(50px * var(--scale));
  }
}

.ortho-about {
  padding: calc(70px * var(--scale)) 0 calc(40px * var(--scale));
}
.ortho-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: calc(60px * var(--scale));
  align-items: flex-start;
}
.ortho-about__text p {
  font-size: calc(16px * var(--scale));
  line-height: 1.7;
  color: var(--grey-67);
}
.ortho-about__text p:not(:last-child) {
  margin-bottom: calc(14px * var(--scale));
}
.ortho-about__list {
  display: flex;
  flex-direction: column;
  gap: calc(16px * var(--scale));
}
.ortho-about__item {
  display: flex;
  gap: calc(12px * var(--scale));
  align-items: flex-start;
}
.ortho-about__item-text {
  font-size: calc(15px * var(--scale));
  color: var(--grey-67);
}

.ortho-when {
  padding: calc(40px * var(--scale)) 0;
}
.ortho-when__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(24px * var(--scale));
}
.ortho-when__card {
  padding: calc(20px * var(--scale));
  border-radius: calc(24px * var(--scale));
  background: var(--grey-F8);
}
.ortho-when__title {
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(8px * var(--scale));
}
.ortho-when__text {
  font-size: calc(15px * var(--scale));
  color: var(--grey-67);
  line-height: 1.6;
}

.ortho-types {
  padding: calc(60px * var(--scale)) 0;
}
.ortho-types__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(24px * var(--scale));
}
.ortho-types__card {
  padding: calc(22px * var(--scale));
  border-radius: calc(24px * var(--scale));
  border: 1px solid var(--grey-E9);
  background: #fff;
}
.ortho-types__card-title {
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(6px * var(--scale));
}
.ortho-types__card-text {
  font-size: calc(15px * var(--scale));
  color: var(--grey-67);
  line-height: 1.6;
}

.ortho-steps {
  padding: calc(70px * var(--scale)) 0;
  background: var(--grey-F8);
}
.ortho-steps__inner {
  position: relative;
}
.ortho-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(32px * var(--scale));
}
.ortho-steps__item {
  display: flex;
  align-items: flex-start;
  gap: calc(14px * var(--scale));
}
.ortho-steps__num {
  font-size: calc(20px * var(--scale));
  font-weight: 600;
  color: var(--accent-1);
  min-width: calc(40px * var(--scale));
}
.ortho-steps__title {
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(4px * var(--scale));
}
.ortho-steps__text {
  font-size: calc(14px * var(--scale));
  color: var(--grey-67);
  line-height: 1.6;
}

.ortho-prices {
  padding: calc(70px * var(--scale)) 0 calc(30px * var(--scale));
}
.ortho-prices__grid {
  display: flex;
  flex-direction: column;
  gap: calc(12px * var(--scale));
}
.ortho-prices__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(16px * var(--scale)) 0;
  border-bottom: 1px solid var(--grey-E9);
  gap: calc(16px * var(--scale));
}
.ortho-prices__title {
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
}
.ortho-prices__text {
  font-size: calc(14px * var(--scale));
  color: var(--grey-99);
}
.ortho-prices__value {
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  white-space: nowrap;
}
.ortho-prices__note {
  margin-top: calc(16px * var(--scale));
  font-size: calc(14px * var(--scale));
  color: var(--grey-99);
}

.ortho-faq {
  padding: calc(50px * var(--scale)) 0 calc(70px * var(--scale));
}
.ortho-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(20px * var(--scale));
}
.ortho-faq__item {
  padding: calc(18px * var(--scale));
  border-radius: calc(22px * var(--scale));
  background: var(--grey-F8);
}
.ortho-faq__question {
  font-size: calc(16px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(6px * var(--scale));
}
.ortho-faq__answer {
  font-size: calc(14px * var(--scale));
  color: var(--grey-67);
  line-height: 1.6;
}

.ortho-cta {
  padding: calc(50px * var(--scale)) 0 calc(70px * var(--scale));
  background: var(--grey-F1);
}
.ortho-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(40px * var(--scale));
}
.ortho-cta__title {
  font-size: calc(24px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(8px * var(--scale));
}
.ortho-cta__subtitle {
  font-size: calc(15px * var(--scale));
  color: var(--grey-67);
}

@media (max-width:1024px) {
  .ortho-about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: calc(40px * var(--scale));
  }
  .ortho-when__grid,
  .ortho-types__grid,
  .ortho-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ortho-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:768px) {
  .ortho-about,
  .ortho-when,
  .ortho-types,
  .ortho-steps,
  .ortho-prices,
  .ortho-faq,
  .ortho-cta {
    padding-top: calc(40px * var(--scale));
    padding-bottom: calc(40px * var(--scale));
  }
  .ortho-steps__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ortho-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ortho-prices__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* block: default, page: services */
.page-services--line {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: var(--grey-BF);
}
.page-services--line img {
    position: absolute;
    top: 50%;
    left: 95.3%;
    transform: translate(-50%, -50%);
}
.page-services--title__wrapper {
    display: flex;
    flex-direction: column;
    gap: calc(36px * var(--scale));
}
.page-services--title {
    font-weight: 600;
    font-size: calc(40px * var(--scale));
    color: var(--grey-6D);
}
.page-services .numbers {
    margin-top: calc(54px * var(--scale));
}
@media (max-width: 768px) {
    .page-services--title__wrapper {
        gap: calc(20px * var(--scale));
    }

    .page-services--title {
        font-size: calc(28px * var(--scale));
    }
    .page-services--line img {
        left: 90%;
    }
    .page-services .numbers {
        margin-top: calc(25px * var(--scale));
    }
}

/* block: banner, page: services */
.page-services--banner {
    background-image: url('/wp-content/uploads/2026/03/services-banner.jpg');
    border-bottom-right-radius: calc(98px * var(--scale));
    color: #fff;
    text-align: center;
    padding-top: calc(15px * var(--scale));
    padding-bottom: calc(94px * var(--scale));
    background-size: cover;
}
.page-services--breadcrumbs {
    color: #fff;
    margin-top: 0;
    margin-bottom: calc(46px * var(--scale));
}
.page-services--breadcrumbs span.page-services--breadcrumbs--link::after {
    background: #fff;
}
.page-services--supertitle {
    font-size: calc(25px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(14px * var(--scale));
}
.page-services--name {
    font-size: calc(55px * var(--scale));
    font-weight: 700;
    margin-bottom: calc(15px * var(--scale));
}
.page-services--banner .default-button {
    font-weight: 500;
}
.page-services--banner .default-button svg path {
    fill: var(--accent-1);
}
.page-services--img {
    position: relative;
    margin-bottom: calc(49px * var(--scale));
    margin-top: calc(12px * var(--scale));
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.page-services--img::after {
    content: '';
    height: 2px;
    width: calc(1069px * var(--scale));
    position: absolute;
    background: #fff;
    bottom: 0;
}
.page-services--img img {
    width: 124%;
    margin-left: calc(2% * var(--scale));
    max-height: 352px;
    object-fit: contain;
}
.page-services--description {
    font-size: calc(20px * var(--scale));
    margin-bottom: calc(101px * var(--scale));
    margin-inline: auto;
    max-width: calc(919px * var(--scale));
}
.page-services--links {
    display: flex;
    gap: calc(30px * var(--scale));
    justify-content: space-evenly;
}
.page-services--links a {
    --padding-x: calc(56px * var(--scale));
    --padding-y: calc(26px * var(--scale));
    --padding-x-hover: calc(49px * var(--scale));
    --padding-y-hover: calc(25px * var(--scale));
    font-size: calc(25px * var(--scale));
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    padding: var(--padding-y) var(--padding-x);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transition: border-radius .3s;
}

.page-services--links a:active,
.page-services--links a:focus-visible {
    border: 2px solid #fff;
    border-radius: calc(35px * var(--scale));
    padding: var(--padding-y-hover) var(--padding-x-hover);
    font-weight: 700;
}
@media (hover: hover) {
    .page-services--links a:hover {
        border: 2px solid #fff;
        border-radius: calc(35px * var(--scale));
        padding: var(--padding-y-hover) var(--padding-x-hover);
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .page-services--banner {
        padding-top: calc(10px * var(--scale));
        padding-bottom: calc(50px * var(--scale));
    }
    .page-services--breadcrumbs {
        margin-bottom: calc(20px * var(--scale));
    }
    .page-services--supertitle {
        font-size: calc(18px * var(--scale));
        margin-bottom: calc(8px * var(--scale));
    }
    .page-services--name {
        font-size: calc(30px * var(--scale));
        margin-bottom: 0;
    }
    .page-services--img::after {
        width: calc(100% - 30px);
        margin-top: 0;
    }
    .page-services--description {
        font-size: calc(16px * var(--scale));
        margin-bottom: calc(50px * var(--scale));
    }
    .page-services--links {
        flex-direction: column;
        gap: calc(15px * var(--scale));
    }
    .page-services--links a {
        --padding-x: calc(40px * var(--scale));
        --padding-y: calc(20px * var(--scale));
        --padding-x-hover: var(--padding-x);
        --padding-y-hover: calc(19px * var(--scale));
        font-size: calc(18px * var(--scale));
    }
}

/* block: prosthetics, page: stomatolog-ortoped */
#main-ortoped .prosthetics {
    background: url('/wp-content/themes/dr-khalil/images/prosthetics-ortoped.svg') no-repeat center;
    background-size: contain;
    margin-top: calc(41px * var(--scale));
    padding-top: calc(87px * var(--scale));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(314px * var(--scale));
}
#main-ortoped .prosthetics-column .prosthetics-column__title {
    margin-bottom: calc(128px * var(--scale));
}
#main-ortoped .prosthetics-column .prosthetics-column__list {
    list-style: none;
    padding-left: calc(32px * var(--scale));
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: calc(68px * var(--scale));
}
#main-ortoped .prosthetics-column .prosthetics-column__list li {
    font-weight: 500;
    font-size: calc(21px * var(--scale));
    color: var(--grey-6D);
    display: flex;
    flex-direction: row;
    gap: calc(15px * var(--scale));
    text-wrap: balance;
}
#main-ortoped .prosthetics-column .prosthetics-column__list li span {
    min-width: calc(50px * var(--scale));
    height: calc(50px * var(--scale));
    border: 1px solid var(--grey-9A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #main-ortoped .prosthetics {
        background: 
            linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
            url(/wp-content/themes/dr-khalil/images/prosthetics-ortoped.svg) no-repeat center;
        grid-template-columns: 1fr;
        gap: calc(50px * var(--scale));
        padding-top: calc(30px * var(--scale));
    }
    #main-ortoped .prosthetics-column .prosthetics-column__title {
        margin-bottom: calc(64px * var(--scale));
    }
    #main-ortoped .prosthetics-column .prosthetics-column__list {
        gap: calc(32px * var(--scale));
        padding-left: calc(16px * var(--scale));
    }
    #main-ortoped .prosthetics-column .prosthetics-column__list li {
        font-size: calc(18px * var(--scale));
    }
    #main-ortoped .prosthetics-column .prosthetics-column__list li span {
        min-width: calc(40px * var(--scale));
        height: calc(40px * var(--scale));
    }
}

/* block: stages, page: stomatolog-ortoped */
#main-ortoped .stages {
    display: grid;
    grid-template-columns: 17fr 33fr;
    margin-top: calc(66px * var(--scale));
}
#main-ortoped .stages-img {
    text-align: center;
}
#main-ortoped .stages-img img {
    max-height: 315px;
    width: 100%;
    object-fit: contain;
}
#main-ortoped .stages-title {
    margin-bottom: calc(6px * var(--scale));
}
#main-ortoped .stages-table__row {
    border-top: 1px solid var(--grey-E9);
    border-bottom: 1px solid var(--grey-E9);
    font-size: calc(18px * var(--scale));
    font-weight: 600;
    display: flex;
    flex-direction: row;
    gap: calc(37px * var(--scale));
}
#main-ortoped .stages-table__row--num {
    color: #fff;
    margin-left: calc(21px * var(--scale));
    height: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: calc(63px * var(--scale));
}
#main-ortoped .stages-table__row:nth-child(1) .stages-table__row--num {
    background-color: #EBEBEB;
}
#main-ortoped .stages-table__row:nth-child(2) .stages-table__row--num {
    background-color: #d9d9d9;
}
#main-ortoped .stages-table__row:nth-child(3) .stages-table__row--num {
    background-color: #bababa;
}
#main-ortoped .stages-table__row:nth-child(4) .stages-table__row--num {
    background-color: #888;
}
#main-ortoped .stages-table__row:nth-child(5) .stages-table__row--num {
    background-color: #585858;
}
#main-ortoped .stages-table__row--text {
    color: var(--grey-56);
    padding: calc(21px * var(--scale)) 0 calc(19px * var(--scale));
}

@media (max-width:768px) {
    #main-ortoped .stages {
        display: block;
    }
    #main-ortoped .stages-img {
        margin-bottom: calc(20px * var(--scale));
    }
    #main-ortoped .stages-table__row {
        font-size: calc(16px * var(--scale));
        gap: calc(20px * var(--scale));
    }
    #main-ortoped .stages-table__row--num {
        margin-left: calc(16px * var(--scale));
    }
}

/* block: types, page: stomatolog-ortoped */
#main-ortoped .types {
    position: relative;
    max-width: 1296px;
    margin: calc(156px * var(--scale)) auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 7fr;
}
#main-ortoped .types-img--wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
#main-ortoped .types-img {
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 50vw;
    right: 0;
    display: flex;
    background: #D8D2AF;
}
#main-ortoped .types-img img {
    height: 100%;
    object-fit: contain;
    width: auto;
    margin-left: auto;
}
#main-ortoped .types-block {
    display: flex;
    flex-direction: column;
    gap: calc(50px * var(--scale));
    padding-bottom: calc(50px * var(--scale));
}
#main-ortoped .types-title {
    margin-left: calc(70px * var(--scale));
    gap: calc(27px * var(--scale));
}
#main-ortoped .types-list {
    display: flex;
    flex-direction: column;
    gap: calc(11px * var(--scale));
    margin-left: calc(-159px * var(--scale));
}
#main-ortoped .types-list__item {
    display: flex;
    gap: calc(14px * var(--scale));
    align-items: center;
}
#main-ortoped .types-list__item--num {
    font-size: calc(82px * var(--scale));
    font-weight: 300;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(9px * var(--scale));
    min-width: 1.95em;
    justify-content: space-between;
}
#main-ortoped .types-list__item--num::after {
    content: '';
    width: 0.5em;
    height: 1em;
    background-color: #fff;
    border-radius: 1em 0 0 1em;
}
#main-ortoped .types-list__item--description {
    display: flex;
    flex-direction: column;
    gap: calc(11px * var(--scale));
    color: var(--grey-6D);
}
#main-ortoped .types-list__item--title {
    font-size: calc(20px * var(--scale));
    font-weight: 600;
}
#main-ortoped .types-list__item--text {
    font-size: calc(14px * var(--scale));
    font-weight: 500;
}

@media (max-width: 768px) {
    #main-ortoped .types {
        grid-template-columns: auto;
        padding: 0 15px;
        margin-top: calc(80px * var(--scale));
    }
    #main-ortoped .types-img--wrapper {
        display: none;
    }
    #main-ortoped .types-block {
        padding-bottom: 0;
    }
    #main-ortoped .types-title {
        margin-left: 0;
        gap: calc(20px * var(--scale));
    }
    #main-ortoped .types-list {
        margin-left: 0;
        gap: calc(20px * var(--scale));
    }
    #main-ortoped .types-list__item--num {
        position: relative;
        font-size: calc(42px * var(--scale));
        background-color: var(--grey-6D);
        border-radius: 1em;
        height: 1.5em;
        justify-content: center;
        min-width: 1.5em;
    }
    #main-ortoped .types-list__item--num::after {
        display: none;
    }
}

/* block: methods, page: stomatolog-ortodont */
#main-ortodont .methods {
    margin-top: calc(26px * var(--scale));
}
#main-ortodont .methods-title {
    margin-bottom: calc(45px * var(--scale));
}
#main-ortodont .methods-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(9px * var(--scale));
}
#main-ortodont .methods-block__item {
    display: flex;
    gap: calc(10px * var(--scale));
}
#main-ortodont .methods-block__item--num {
    background: linear-gradient(185.03deg, rgba(216, 208, 161, 0.37) 3.11%, #D8D0A1 96.47%);
    font-size: calc(34px * var(--scale));
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: calc(11px * var(--scale)) calc(15px * var(--scale));
    --border-radius: calc(19px * var(--scale));
}
#main-ortodont .methods-block__item:nth-child(1) .methods-block__item--num {
    border-radius: var(--border-radius);
}
#main-ortodont .methods-block__item:nth-child(2) .methods-block__item--num {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
#main-ortodont .methods-block__item:nth-child(3) .methods-block__item--num {
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
}
#main-ortodont .methods-block__item:nth-child(4) .methods-block__item--num {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}
#main-ortodont .methods-block__item--block {
    color: var(--grey-6D);
}
#main-ortodont .methods-block__item--title {
    font-size: calc(21px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(17px * var(--scale));
    min-height: 2em;
}
#main-ortodont .methods-block__item--text {
    font-size: calc(14px * var(--scale));
}

@media (max-width:768px) {
    #main-ortodont .methods-block {
        grid-template-columns: repeat(2, 1fr);
    }
    #main-ortodont .methods-block__item--num {
        padding: calc(11px * var(--scale)) 0;
        min-width: 2.2em;
    }
    #main-ortodont .methods-block__item--title {
        min-height: auto;
    }
}
@media (max-width:600px) {
    #main-ortodont .methods-block {
        grid-template-columns: 1fr;
    }
}

/* block: stages, page: stomatolog-ortodont */
#main-ortodont .stages-wrapper {
    background: url('/wp-content/uploads/2026/03/ortodont-stages.jpg');
    background-size: 100% 100%;
    margin-top: calc(64px * var(--scale));
    padding: calc(67px * var(--scale)) 0 calc(32px * var(--scale));
}
#main-ortodont .stages {
    position: relative;
    padding-left: calc(39px * var(--scale));
    padding-bottom: calc(48px * var(--scale));
    max-width: calc(1113px * var(--scale));
}
#main-ortodont .stages::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 11px;
    height: 91%;
    background-image: url('/wp-content/themes/dr-khalil/images/ortodont-line.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
#main-ortodont .stages-title {
    margin-bottom: calc(49px * var(--scale));
}
#main-ortodont .stages-list {
    display: flex;
    flex-direction: column;
    gap: calc(46px * var(--scale));
}
#main-ortodont .stages-list__item {
    font-size: calc(18px * var(--scale));
    color: var(--grey-6D);
}
#main-ortodont .stages-list__item--title {
    font-weight: 600;
    margin-bottom: calc(14px * var(--scale));
}
@media (max-width: 1600px) {
    #main-ortodont .stages {
        max-width: calc(913px * var(--scale));
    }
}
@media (max-width: 1440px) {
    #main-ortodont .stages {
        max-width: calc(813px * var(--scale));
    }
}
@media (max-width: 768px) {
    #main-ortodont .stages-wrapper {
        background: none;
        padding: 0 0 0 15px;
        margin-top: calc(32px * var(--scale));
    }
    #main-ortodont .stages {
        max-width: auto;
        padding-bottom: calc(24px * var(--scale));
    }
    #main-ortodont .stages-title {
        margin-bottom: 1em;
    }
    #main-ortodont .stages-list {
        gap: calc(23px * var(--scale));
    }
    #main-ortodont .stages-list__item {
        font-size: calc(16px * var(--scale));
    }
    #main-ortodont .stages-list__item--title {
        margin-bottom: calc(7px * var(--scale));
    }
}

/* block: types, page: stomatolog-ortodont */
#main-ortodont .types {
    margin-top: calc(46px * var(--scale));
}
#main-ortodont .types-title {
    margin-bottom: calc(43px * var(--scale));
}
#main-ortodont .types-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(24px * var(--scale));
    margin-bottom: calc(14px * var(--scale));;
}
#main-ortodont .types-card {
    flex: 15%;
    box-shadow: 0px 1px 6.6px rgba(0, 0, 0, 0.15);
    border-radius: calc(40px * var(--scale));
    padding: calc(23px * var(--scale)) calc(28px * var(--scale));
    color: var(--grey-6D);
}
#main-ortodont .types-card__title {
    text-align: center;
    font-size: calc(20px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(13px * var(--scale));
}
#main-ortodont .types-card__text {
    font-size: calc(14px * var(--scale));
}
#main-ortodont .types-img {
    width: 100%;
    height: fit-content;
    border-radius: calc(46px * var(--scale));
    overflow: hidden;
}
#main-ortodont .types-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 50px;
}

@media (max-width: 768px) {
    #main-ortodont .types-title {
        margin-bottom: calc(23px * var(--scale));
    }
    #main-ortodont .types-cards {
        gap: calc(16px * var(--scale));
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    #main-ortodont .types-cards {
        grid-template-columns: 1fr;
    }
}

/* block: reasons, page: stomatolog-terapevt */
#main-terapevt .reasons {
    margin-top: calc(26px * var(--scale));
}
#main-terapevt .reasons-title {
    margin-bottom: calc(51px * var(--scale));
}
#main-terapevt .reasons-img {
    margin-bottom: calc(32px * var(--scale));
}
#main-terapevt .reasons-img img {
    width: 100%;
    object-fit: contain;
}
#main-terapevt .reasons-img--mobile {
    display: none;
    max-height: 600px;
}
#main-terapevt .reasons-block {
    display: flex;
    flex-direction: row;
    gap: calc(154px * var(--scale));
}
#main-terapevt .reasons-item {
    position: relative;
    color: var(--grey-6D);
    padding-left: calc(38px * var(--scale));
    padding-top: calc(15px * var(--scale));
}
#main-terapevt .reasons-item__title {
    font-size: calc(20px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(17px * var(--scale));
    min-height: 2em;
}
#main-terapevt .reasons-item__text {
    font-size: calc(15px * var(--scale));
}
#main-terapevt .reasons-item svg {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(30px * var(--scale));
}

@media (max-width:768px) {
    #main-terapevt .reasons {
        margin-top: calc(16px * var(--scale));
    }
    #main-terapevt .reasons-title {
        margin-bottom: calc(21px * var(--scale));
    }
    #main-terapevt .reasons-img {
        margin-bottom: calc(16px * var(--scale));
    }
    #main-terapevt .reasons-img--desktop {
        display: none;
    }
    #main-terapevt .reasons-img--mobile {
        display: block;
    }
    #main-terapevt .reasons-block {
        flex-direction: column;
        gap: calc(24px * var(--scale));
    }
    #main-terapevt .reasons-item__title {
        font-size: calc(18px * var(--scale));
        min-height: auto;
    }
    #main-terapevt .reasons-item__text {
        font-size: calc(14px * var(--scale));
    }
}

/* block: types, page: stomatolog-terapevt */
#main-terapevt .types {
    margin-top: calc(114px * var(--scale));
    padding-bottom: calc(76px * var(--scale));
}
#main-terapevt .types-title {
    margin-bottom: calc(50px * var(--scale));
}
#main-terapevt .types-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(24px * var(--scale));
}
#main-terapevt .types-card {
    display: flex;
    flex-direction: column;
    gap: calc(21px * var(--scale));
    box-shadow: 0px 1px 6.7px rgba(0, 0, 0, 0.1);
    border-radius: calc(30px * var(--scale));
    padding: calc(21px * var(--scale)) calc(13px * var(--scale)) calc(27px * var(--scale)) calc(19px * var(--scale));
    color: var(--grey-6D);
}
#main-terapevt .types-card__title {
    display: flex;
    flex-direction: row;
    gap: calc(14px * var(--scale));
    font-size: calc(18px * var(--scale));
    font-weight: 600;
}
#main-terapevt .types-card__title::before {
    content: '';
    min-width: calc(51px * var(--scale));
    min-height: calc(70px * var(--scale));
    border-top-left-radius: calc(170px * var(--scale));
    border-top-right-radius: calc(170px * var(--scale));
}
#main-terapevt .types-card:nth-child(1) .types-card__title::before {
    background: linear-gradient(196.7deg, #D8D0A1 9.44%, #FFFFFF 96.83%);
}
#main-terapevt .types-card:nth-child(2) .types-card__title::before {
    background: linear-gradient(155.41deg, #FFFFFF 13.31%, #D8D0A1 96%), #D8D0A1;
}
#main-terapevt .types-card:nth-child(3) .types-card__title::before {
    background: linear-gradient(203.67deg, #FFFFFF 11.04%, #D8D0A1 97.61%), #D8D0A1;
}
#main-terapevt .types-card:nth-child(4) .types-card__title::before {
    background: linear-gradient(158.99deg, #D8D0A1 12.48%, #FFFFFF 97.55%);
}
#main-terapevt .types-card__text {
    font-size: 12px;
}

@media (max-width: 960px) {
    #main-terapevt .types-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    #main-terapevt .types {
        margin-top: calc(54px * var(--scale));
        padding-bottom: calc(36px * var(--scale));
    }
    #main-terapevt .types-cards {
        gap: calc(16px * var(--scale));
    }
}
@media (max-width: 600px) {
    #main-terapevt .types-cards {
        grid-template-columns: 1fr;
    }
}

/* block: diagnostics, page: stomatolog-terapevt */
#main-terapevt .diagnostics {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: calc(31px * var(--scale));
    align-items: center;
}
#main-terapevt .diagnostics-title {
    margin-bottom: calc(35px * var(--scale));
}
#main-terapevt .diagnostics .page-services--title__wrapper {
    gap: calc(51px * var(--scale));
    width: fit-content;
}
#main-terapevt .diagnostics .page-services--line img {
    left: 85.3%;
}
#main-terapevt .diagnostics-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(37px * var(--scale));
    padding-left: calc(36px * var(--scale));
    margin-left: calc(16px * var(--scale));
    color: var(--grey-6D);
}
#main-terapevt .diagnostics-list::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 11px;
    height: 100%;
    background-image: url(/wp-content/themes/dr-khalil/images/ortodont-line.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
#main-terapevt .diagnostics-item__title {
    font-size: calc(18px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(21px * var(--scale));
}
#main-terapevt .diagnostics-item__text {
    font-size: calc(14px * var(--scale));
}
#main-terapevt .diagnostics-img {
    border-bottom-right-radius: calc(300px * var(--scale));
    overflow: hidden;
}
#main-terapevt .diagnostics-img img {
    width: 100%;
    height: auto;
}

@media (max-width:768px) {
    #main-terapevt .diagnostics {
        grid-template-columns: 1fr;
    }
    #main-terapevt .diagnostics-img {
        display: none;
    }
    #main-terapevt .diagnostics .page-services--title__wrapper {
        width: auto;
        gap: calc(20px * var(--scale));
    }
    #main-terapevt .diagnostics-list {
        margin-left: calc(8px * var(--scale));
    }
    #main-terapevt .diagnostics-title {
        margin-bottom: calc(25px * var(--scale));
    }
    #main-terapevt .diagnostics-item__title {
        margin-bottom: calc(11px * var(--scale));
    }
}

/* block: indication, page: stomatolog-terapevt-endodont */
#main-terapevt-endodont .indication {
    margin-top: calc(26px * var(--scale));
}
#main-terapevt-endodont .indication-title {
    margin-bottom: calc(26px * var(--scale));
}
#main-terapevt-endodont .indication-block {
    display: grid;
    grid-template-columns: 21fr 41fr 38fr;
    gap: calc(54px * var(--scale));
}
#main-terapevt-endodont .indication-img img {
    width: 100%;
    height: auto;
}
#main-terapevt-endodont .indication-img--1 img {
    border-top-left-radius: calc(250px * var(--scale));
}
#main-terapevt-endodont .indication-img--2 img {
    border-bottom-right-radius: calc(250px * var(--scale));
}
#main-terapevt-endodont .indication-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(1em * var(--scale));
    padding-left: calc(35px * var(--scale));
    color: var(--grey-6D);
    justify-content: space-around;
    font-size: calc(20px * var(--scale));
    font-weight: 600;
}
#main-terapevt-endodont .indication-list::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 11px;
    height: 100%;
    background-image: url(/wp-content/themes/dr-khalil/images/ortodont-line.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width:768px) {
    #main-terapevt-endodont .indication-block {
        grid-template-columns: 1fr 2fr;
        gap: calc(34px * var(--scale));
    }
    #main-terapevt-endodont .indication-img--2 {
        display: none;
    }
    #main-terapevt-endodont .indication-list {
        font-size: calc(16px * var(--scale));
        padding-left: calc(25px * var(--scale));
    }
}

@media (max-width: 550px) {
    #main-terapevt-endodont .indication-block {
        grid-template-columns: auto;
    }
    #main-terapevt-endodont .indication-img--1 {
        display: none;
    }
}

/* block: symptoms, page: stomatolog-terapevt-endodont */
#main-terapevt-endodont .symptoms {
    margin-top: calc(53px * var(--scale));
}
#main-terapevt-endodont .symptoms-title {
    margin-bottom: calc(17px * var(--scale));
}
#main-terapevt-endodont .symptoms-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(37px * var(--scale));
    color: var(--grey-6D);
    font-size: calc(20px * var(--scale));
    font-weight: 600;
    margin-left: calc(36px * var(--scale));
    padding-left: calc(50px * var(--scale));
    padding-top: calc(9px * var(--scale));
}
#main-terapevt-endodont .symptoms-list::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 11px;
    height: 100%;
    background-image: url(/wp-content/themes/dr-khalil/images/ortodont-line.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
#main-terapevt-endodont .symptoms-list span {
    font-size: calc(14px * var(--scale));
    font-weight: 400;
}

@media (max-width: 768px) {
    #main-terapevt-endodont .symptoms {
        margin-top: calc(33px * var(--scale));
    }
    #main-terapevt-endodont .symptoms-list {
        gap: calc(17px * var(--scale));
        font-size: calc(18px * var(--scale));
        margin-left: calc(16px * var(--scale));
        padding-left: calc(30px * var(--scale));
        padding-top: calc(9px * var(--scale));
    }
    .symptoms-item {
        display: flex;
        flex-direction: column;
    }
}

/* block: stages, page: stomatolog-terapevt-endodont */
#main-terapevt-endodont .stages {
    margin-top: calc(54px * var(--scale));
    padding-bottom: 14px;
}
#main-terapevt-endodont .stages-title {
    margin-bottom: calc(54px * var(--scale));
}
#main-terapevt-endodont .stages-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: calc(37px * var(--scale)) calc(24px * var(--scale));
}
#main-terapevt-endodont .stages-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0px 1px 14.1px rgba(0, 0, 0, 0.08);
    border-radius: calc(30px * var(--scale));
    padding: calc(34px * var(--scale)) calc(28px * var(--scale)) calc(59px * var(--scale));
    color: var(--grey-6D);
}
#main-terapevt-endodont .stages-card__title {
    display: flex;
    flex-direction: column;
    gap: calc(28px * var(--scale));
    margin-bottom: calc(23px * var(--scale));
    font-size: calc(18px * var(--scale));
    font-weight: 600;
}
#main-terapevt-endodont .stages-card__title::before {
    content: '';
    width: 64%;
    height: 2px;
    margin: auto;
    background: linear-gradient(to right, #fff, var(--accent-1), #fff);
}
#main-terapevt-endodont .stages-card__text {
    font-size: calc(14px * var(--scale));
}
#main-terapevt-endodont .stages-card__num {
    position: absolute;
    font-size: calc(100px * var(--scale));
    bottom: 0;
    right: 0;
    color: rgba(0, 0, 0, 0.08);
    z-index: -1;
    transform: translate(-20%, 32%);
}
#main-terapevt-endodont + section {
    margin-top: calc(40px * var(--scale));
}

@media (max-width:768px) {
    #main-terapevt-endodont .stages-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: calc(24px * var(--scale));
    }
    #main-terapevt-endodont .stages-title {
        margin-bottom: calc(34px * var(--scale));
    }
    #main-terapevt-endodont .stages-card {
        padding: calc(24px * var(--scale)) calc(18px * var(--scale)) calc(47px * var(--scale));
    }
    #main-terapevt-endodont .stages-card__title {
        gap: calc(18px * var(--scale));
        margin-bottom: calc(13px * var(--scale));
    }
    #main-terapevt-endodont .stages-card__num {
        font-size: calc(80px * var(--scale));
    }
    #main-terapevt-endodont + section {
        margin-top: calc(11px * var(--scale));
    }
}
@media (max-width:600px) {
    #main-terapevt-endodont .stages-cards {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

/* block: reasons, page: lechenie-i-perelechivanie-kisty */
#main-kista .reasons-wrapper {
    position: relative;
}
#main-kista .reasons-wrapper::before {
    content: '';
    position: absolute;
    width: calc(53% - 500px);
    height: 60%;
    background: linear-gradient(90deg, #D8D0A1 0%, rgba(216, 208, 161, 0.05) 100%);
    border-radius: 0px calc(100px * var(--scale)) calc(100px * var(--scale)) 0px;
    bottom: calc(11px * var(--scale));
    z-index: -1;
}
#main-kista .reasons {
    margin-top: calc(29px * var(--scale));
    padding-bottom: calc(11px * var(--scale));
    color: var(--grey-6D);
}
#main-kista .reasons-title {
    margin-bottom: calc(26px * var(--scale));
}
#main-kista .reasons-subtitle {
    font-size: calc(21px * var(--scale));
    font-weight: 500;
    margin-bottom: 1em;
}
#main-kista .reasons-block {
    display: flex;
    flex-direction: column;
    gap: calc(8px * var(--scale));
    padding-left: calc(247px * var(--scale));
    padding-right: calc(25px * var(--scale));
}
#main-kista .reasons-block__item {
    display: flex;
    gap: calc(17px * var(--scale));
    box-shadow: 0px 1px 10.6px rgba(0, 0, 0, 0.08);
    border-radius: calc(22px * var(--scale));
    padding: calc(17px * var(--scale)) calc(23px * var(--scale));
    font-size: calc(14px * var(--scale));
}
.seo-text {
	margin-top: calc(120px * var(--scale));
}
.seo-text__wrap {
    position: relative;
}

.seo-text__body {
    max-height: 120px; /* высота обрезки — подберите под себя */
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}

/* Градиент-fade снизу */
.seo-text__body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Когда раскрыто — убираем fade и снимаем ограничение высоты */
.seo-text__wrap.is-open .seo-text__body {
    max-height: fit-content;
}

.seo-text__wrap.is-open .seo-text__body::after {
    opacity: 0;
}

/* Кнопка */
.seo-text__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: inherit;
    padding: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.seo-text__toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.seo-text__toggle-hide {
    display: none;
}

/* Состояние «открыто» */
.seo-text__wrap.is-open .seo-text__toggle-show { display: none; }
.seo-text__wrap.is-open .seo-text__toggle-hide { display: inline; }
.seo-text__wrap.is-open .seo-text__toggle svg  { transform: rotate(180deg); }
@media (max-width:1296px) {
    #main-kista .reasons-wrapper::before {
        width: 17%;
    }
}
@media (max-width:768px) {
    #main-kista .reasons-wrapper::before {
        width: 10%;
    }
    #main-kista .reasons-subtitle {
        font-size: calc(18px * var(--scale));
    }
    #main-kista .reasons-block {
        padding-left: 10%;
        padding-right: 0;
    }
    #main-kista .reasons-block__item {
        gap: calc(7px * var(--scale));
    }
}

/* block: how, page: lechenie-i-perelechivanie-kisty */
#main-kista .how-wrapper {
    background: url('/wp-content/uploads/2026/03/how-kista.jpg');
    border-top-right-radius: calc(120px * var(--scale));
    margin-top: calc(50px * var(--scale));
    padding-top: calc(51px * var(--scale));
}
#main-kista .how {
    display: grid;
    grid-template-columns: 30fr 71fr;
    gap: calc(38px * var(--scale));
    color: #fff;
}
#main-kista .how-text__title {
    font-size: calc(40px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(23px * var(--scale));
}
#main-kista .how-text__description {
    font-size: calc(18px * var(--scale));
    font-weight: 500;
}
#main-kista .how-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(21px * var(--scale));
    font-size: calc(14px * var(--scale));
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: calc(32px * var(--scale));
    mask-image: radial-gradient(
        ellipse at center,
        black 60%,
        transparent 100%
    );
    -webkit-mask-image: radial-gradient(
        ellipse at center,
        black 60%,
        transparent 100%
    );
}
#main-kista .how-cards::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/wp-content/uploads/2026/03/how-card-kista.png");
    pointer-events: none;
}
#main-kista .how-card {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: calc(20px * var(--scale));
}

@media (max-width:1296px) {
    #main-kista .how {
        display: flex;
        flex-direction: column;
        gap: calc(18px * var(--scale));
    }
}
@media (max-width:1024px) {
    #main-kista .how-text__title {
        font-size: calc(28px * var(--scale));
        margin-bottom: 1em;
    }
    #main-kista .how-cards {
        grid-template-columns: 1fr;
    }
}
@media (max-width:768px) {
    #main-kista .how-wrapper {
        margin-top: calc(30px * var(--scale));
        padding-top: calc(31px * var(--scale));
    }
    #main-kista .how-cards {
        grid-template-columns: 1fr;
        padding: calc(16px * var(--scale));
    }
}

/* block: when, page: lechenie-i-perelechivanie-kisty */
#main-kista .when-wrapper {
    margin-top: calc(42px * var(--scale));
    background-image: url('/wp-content/uploads/2026/03/when-kista.png');
    background-position: bottom;
    background-size: 100% 80%;
    background-repeat: no-repeat;
}
#main-kista .when {
    color: var(--grey-6D);
}
#main-kista .when-title {
    margin-bottom: calc(75px * var(--scale));
}
#main-kista .when-block__text, #main-kista .when-block__text--mob {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: calc(20px * var(--scale));
}
#main-kista .when-block__text {
    margin-bottom: calc(62px * var(--scale));
}
#main-kista .when-block__text--mob {
    display: none;
}
#main-kista .when-block__text span:nth-child(1) {
    font-weight: 500;
}
#main-kista .when-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(72px * var(--scale));
}
#main-kista .when-card {
    position: relative;
    padding-left: calc(24px * var(--scale));
}
#main-kista .when-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 91%;
    background-color: var(--grey-6D);
}
#main-kista .when-card__line svg {
    transform: translate(-46%, -50%);
}
#main-kista .when-card__title {
    margin-bottom: calc(23px * var(--scale));
    font-weight: 600;
    font-size: calc(20px * var(--scale));
}
#main-kista .when-card__text {
    position: relative;
    padding: calc(29px * var(--scale));
    font-weight: 500;
    font-size: calc(16px * var(--scale));
    min-height: 7.5em;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    mask-image: radial-gradient(ellipse at center, black 80%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 80%, transparent 100%);
}
#main-kista .when-card__text::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/03/how-card-kista.png');
    pointer-events: none;
}
@media (max-width:768px) {
    #main-kista .when-wrapper {
        background-size: cover;
    }
    #main-kista .when-title {
        margin-bottom: calc(30px * var(--scale));
    }
    #main-kista .when-block__text {
        margin-bottom: calc(32px * var(--scale));
    }
    #main-kista .when-block__text span:nth-child(2) {
        display: none;
    }
    #main-kista .when-block__text--mob {
        display: block;
    }
    #main-kista .when-cards {
        grid-template-columns: 1fr;
        gap: calc(20px * var(--scale));
        margin-bottom: calc(16px * var(--scale));
    }
    #main-kista .when-card__text {
        min-height: auto;
        padding: calc(19px * var(--scale));
    }
}

/* block: contacts, pages: about, contacts */
@media (min-width: 769px) {
    #page-about .contacts-background, #page-contacts .contacts-background {
        margin-top: calc(150px * var(--scale));
    }
}

/* block: reasons, page: hirurgicheskaya-stomatologiya */
#hirurgicheskaya-stomatologiya .reasons {
    margin-top: calc(26px * var(--scale));
}
#hirurgicheskaya-stomatologiya .reasons-title {
    margin-bottom: calc(29px * var(--scale));
}
#hirurgicheskaya-stomatologiya .reasons-block {
    display: grid;
    grid-template-columns: 10fr 6.35fr;
    gap: calc(29px * var(--scale));
}
#hirurgicheskaya-stomatologiya .reasons-list {
    display: flex;
    flex-direction: column;
    gap: calc(17px * var(--scale));
    padding-left: calc(20px * var(--scale));
}
#hirurgicheskaya-stomatologiya .reasons-list__elem {
    display: flex;
    gap: calc(10px * var(--scale));
}
#hirurgicheskaya-stomatologiya .reasons-list__elem--num {
    position: relative;
    display: inline-block;
    color: var(--accent-1);
    height: fit-content;
    padding: calc(5px * var(--scale)) calc(10px * var(--scale));
}
#hirurgicheskaya-stomatologiya .reasons-list__elem--num::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 2px solid var(--accent-1);
    border-radius: 100%;
    clip-path: inset(0 0 0 50%);
}
#hirurgicheskaya-stomatologiya .reasons-list__elem--text {
    font-size: calc(15px * var(--scale));
    font-weight: 500;
    padding-bottom: calc(19px * var(--scale));
    color: var(--grey-6D);
    border-bottom: 1px solid var(--grey-E9);
}
#hirurgicheskaya-stomatologiya .reasons-img {
    width: 100%;
    object-fit: contain;
    border-radius: calc(40px * var(--scale));
}
@media (max-width: 768px) {
    #hirurgicheskaya-stomatologiya .reasons-block {
        grid-template-columns: auto;
    }
    #hirurgicheskaya-stomatologiya .reasons-list {
        padding-left: 0;
    }
    #hirurgicheskaya-stomatologiya .reasons-img {
        display: none;
    }
}

/* block: operations, page: hirurgicheskaya-stomatologiya */
#hirurgicheskaya-stomatologiya .operations {
    margin-top: calc(62px * var(--scale));
}
#hirurgicheskaya-stomatologiya .operations-title {
    margin-bottom: calc(37px * var(--scale));
}
#hirurgicheskaya-stomatologiya .operations-block {
    display: flex;
    gap: calc(24px * var(--scale));
}
#hirurgicheskaya-stomatologiya .operations-elem {
    position: relative;
    flex: 33%;
    padding: calc(58px * var(--scale)) calc(86px * var(--scale)) calc(96px * var(--scale)) calc(86px * var(--scale));
    border-radius: calc(54px * var(--scale));
    font-size: calc(27px * var(--scale));
    font-weight: 600;
    color: #fff;
    background: url('/wp-content/themes/dr-khalil/images/hirurgicheskaya-stomatologiya-operations.png');
    background-color: var(--accent-1);
    background-size: 75%;
    background-repeat: no-repeat;
}
#hirurgicheskaya-stomatologiya .operations-elem::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: calc(96px * var(--scale));
    height: calc(96px * var(--scale));
    border-radius: 100%;
    background: #fff;
}

@media (max-width: 768px) {
    #hirurgicheskaya-stomatologiya .operations {
        margin-top: calc(32px * var(--scale));
    }
    #hirurgicheskaya-stomatologiya .operations-block {
        flex-direction: column;
    }
    #hirurgicheskaya-stomatologiya .operations-elem {
        padding: calc(38px * var(--scale)) calc(56px * var(--scale)) calc(66px * var(--scale)) calc(56px * var(--scale));
        border-radius: calc(34px * var(--scale));
        font-size: calc(22px * var(--scale));
    }
    #hirurgicheskaya-stomatologiya .operations-elem::after {
        width: calc(66px * var(--scale));
        height: calc(66px * var(--scale));
    }
}

/* block: deletion, page: hirurgicheskaya-stomatologiya */
#hirurgicheskaya-stomatologiya .deletion {
    margin-top: calc(83px * var(--scale));
    padding-bottom: calc(54px * var(--scale));
}
#hirurgicheskaya-stomatologiya .deletion-title {
    margin-bottom: calc(38px * var(--scale));
}
#hirurgicheskaya-stomatologiya .deletion-block {
    display: flex;
    flex-wrap: wrap;
    gap: calc(22px * var(--scale)) calc(24px * var(--scale));
}
#hirurgicheskaya-stomatologiya .deletion-elem {
    flex: 40%;
    display: flex;
    align-items: baseline;
    gap: calc(37px * var(--scale));
    color: var(--grey-9A);
    font-size: calc(20px * var(--scale));
    font-weight: 500;
    background: #FFF;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.15);
    border-radius: calc(37px * var(--scale));
    padding: calc(19px * var(--scale)) calc(45px * var(--scale)) calc(33px * var(--scale)) calc(30px * var(--scale));
}
#hirurgicheskaya-stomatologiya .deletion-elem__num {
    font-size: 2em;
    font-weight: 600;
}
.page-services #hirurgicheskaya-stomatologiya + .numbers {
    margin-top: 0;
}

@media (max-width: 768px) {
    #hirurgicheskaya-stomatologiya .deletion {
        margin-top: calc(53px * var(--scale));
        padding-bottom: calc(25px * var(--scale));
    }
    #hirurgicheskaya-stomatologiya .deletion-elem {
        gap: calc(17px * var(--scale));
        font-size: calc(16px * var(--scale));
    }
}

/* block: implantation, page: implantatsiya-zubov */
#implantatsiya-zubov .implantation {
    display: grid;
    grid-template-columns: 10fr 7fr;
    gap: calc(120px * var(--scale));
    margin-top: calc(64px * var(--scale));
}
#implantatsiya-zubov .implantation-block {
    display: flex;
    flex-direction: column;
}
#implantatsiya-zubov .implantation-title {
    font-weight: 600;
    font-size: calc(40px * var(--scale));
    margin-bottom: 1em;
    color: var(--grey-6D);
}
#implantatsiya-zubov .implantation-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(30px * var(--scale));
    padding-left: calc(36px * var(--scale));
    color: var(--grey-6D);
    font-size: calc(20px * var(--scale));
    font-weight: 600;
}
#implantatsiya-zubov .implantation-list::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 11px;
    height: 100%;
    background-image: url(/wp-content/themes/dr-khalil/images/ortodont-line.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
#implantatsiya-zubov .implantation-readings {
    position: relative;
    height: 100%;
}
#implantatsiya-zubov .implantation-readings__title {
    padding-left: 3em;
}
#implantatsiya-zubov .implantation-round {
    height: 100%;
    padding: 10%;
    clip-path: inset(0 50% 0 0);
}
#implantatsiya-zubov .implantation-round::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: 0px -7px 17.2px #FFFFFF, -13px 1px 47.1px rgba(0, 0, 0, 0.18);
    border-radius: 100%;
}
#implantatsiya-zubov .implantation-readings__elem {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(31px * var(--scale));
    font-size: calc(20px * var(--scale));
    font-weight: 600;
    color: var(--grey-6D);
}
#implantatsiya-zubov .implantation-readings__elem img {
    background: var(--accent-1);
    padding: calc(20px * var(--scale));
    border-radius: 100%;
    max-width: calc(138px * var(--scale));
    max-height: calc(138px * var(--scale));
}

@media (min-width: 769px) {
    #implantatsiya-zubov .implantation-readings__elem--1 {
        top: 0;
        left: 30%;
    }
    #implantatsiya-zubov .implantation-readings__elem--2 {
        top: 24%;
    }
    #implantatsiya-zubov .implantation-readings__elem--3 {
        top: 56%;
        left: 5%;
    }
    #implantatsiya-zubov .implantation-readings__elem--4 {
        bottom: 0;
        left: 38%;
    }
}
@media (max-width: 768px) {
    #implantatsiya-zubov .implantation {
        margin-top: calc(32px * var(--scale));
        grid-template-columns: auto;
        gap: calc(40px * var(--scale));
    }
    #implantatsiya-zubov .implantation-title {
        padding-left: 0;
        font-size: calc(24px * var(--scale));
    }
    #implantatsiya-zubov .implantation-readings {
        display: flex;
        flex-direction: column;
        gap: calc(10px * var(--scale));
    }
    #implantatsiya-zubov .implantation-round {
        display: none;
    }
    #implantatsiya-zubov .implantation-readings__elem {
        position: relative;
        font-size: calc(16px * var(--scale));
        gap: 1em;
    }
    #implantatsiya-zubov .implantation-readings__elem img {
        padding: calc(8px * var(--scale));
        max-width: calc(78px * var(--scale));
        max-height: calc(78px * var(--scale));
    }
    #implantatsiya-zubov .implantation-list {
        font-size: calc(16px * var(--scale));
        gap: 1em;
    }
}

/* block: types, page: implantatsiya-zubov */
#implantatsiya-zubov .types {
    margin-top: calc(135px * var(--scale));
}
#implantatsiya-zubov .types-title {
    padding-bottom: calc(73px * var(--scale));
}
#implantatsiya-zubov .types-background {
    background-image: url('/wp-content/themes/dr-khalil/images/implantatsiya-zubov-types.png');
    background-size: cover;
}
#implantatsiya-zubov .types-list {
    background-image: url('/wp-content/themes/dr-khalil/images/implantatsiya-zubov-types-back.png');
    background-size: cover;
    max-width: 558px;
    padding: calc(40px * var(--scale)) calc(61px * var(--scale)) calc(47px * var(--scale)) calc(51px * var(--scale));
    display: flex;
    flex-direction: column;
    gap: calc(50px * var(--scale));
}
#implantatsiya-zubov .types-list__elem {
    font-size: calc(14px * var(--scale));
    color: var(--grey-6D);
    font-weight: 500;
}
#implantatsiya-zubov .types-list__elem--title {
    font-size: calc(22px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(5px * var(--scale));
}

@media (max-width:768px) {
    #implantatsiya-zubov .types {
        margin-top: calc(70px * var(--scale));
    }
    #implantatsiya-zubov .types-title {
        padding-bottom: 2em;
    }
    #implantatsiya-zubov .types-list {
        padding: calc(20px * var(--scale)) calc(31px * var(--scale)) calc(22px * var(--scale)) calc(26px * var(--scale));
        gap: calc(25px * var(--scale));
    }
}

/* block: methods, page: implantatsiya-zubov */
#implantatsiya-zubov .methods {
    margin-top: calc(82px * var(--scale));
}
#implantatsiya-zubov .methods-title {
    padding-bottom: calc(71px * var(--scale));
}
#implantatsiya-zubov .methods-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1610px;
    padding-inline: 20px;
}
#implantatsiya-zubov .methods-block__col {
    display: flex;
    color: var(--grey-6D);
    font-size: calc(18px * var(--scale));
}
#implantatsiya-zubov .methods-block__col svg {
    min-width: calc(304px * var(--scale));
    min-height: calc(318px * var(--scale));
}
#implantatsiya-zubov .methods-block__text--title {
    font-size: calc(35px * var(--scale));
    font-weight: 600;
    margin-bottom: calc(46px * var(--scale));
}
#implantatsiya-zubov .methods-block__text--subtitle {
    font-size: calc(20px * var(--scale));
    font-weight: 500;
    margin-bottom: calc(42px * var(--scale));
}

@media (max-width:768px) {
    #implantatsiya-zubov .methods {
        margin-top: calc(42px * var(--scale));
    }
    #implantatsiya-zubov .methods-title {
        padding-bottom: calc(31px * var(--scale));
    }
    #implantatsiya-zubov .methods-block {
        grid-template-columns: auto;
        gap: calc(30px * var(--scale));
        padding-inline: 15px;
    }
    #implantatsiya-zubov .methods-block__col {
        font-size: calc(16px * var(--scale));
    }
    #implantatsiya-zubov .methods-block__col svg {
        display: none;
    }
    #implantatsiya-zubov .methods-block__text--title {
        font-size: calc(24px * var(--scale));
        margin-bottom: 1em;
    }
    #implantatsiya-zubov .methods-block__text--subtitle {
        margin-bottom: .7em;
    }
}


/* about-doctor */
.about-doctor {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: calc(15px * var(--scale));
  padding: 0 calc(10px * var(--scale)) 0 calc(310px * var(--scale));
  margin-top: calc(111px * var(--scale));
}
.about-doctor-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
}
.about-doctor-description {

}
.about-doctor-title {
  font-size: calc(40px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
  margin-bottom: calc(21px * var(--scale));
}
.about-doctor-text {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-99);
}
.about-doctor-rows {
  display: flex;
  flex-direction: column;
  gap: calc(21px * var(--scale));
}
.about-doctor-row {
  border: 2px solid var(--grey-9A);
  border-radius: calc(34px * var(--scale));
  padding: calc(22px * var(--scale)) calc(60px * var(--scale)) calc(30px * var(--scale)) calc(72px * var(--scale));
}
.about-doctor-row__title {
  margin-bottom: calc(29px * var(--scale));
  font-size: calc(18px * var(--scale));
  font-weight: 600;
  color: var(--grey-6D);
}
.about-doctor-row__text {
  font-size: calc(16px * var(--scale));
  font-weight: 500;
  color: var(--grey-99);
}
.about-doctor-grid {
  display: grid;
  align-items: center;
  grid-template-columns: auto auto;
  gap: calc(20px * var(--scale));
}
.about-doctor-grid img:nth-child(1) {
  grid-row: 1/3;
  width: calc(453px * var(--scale));
  border-radius: calc(34px * var(--scale));
}
.about-doctor-grid img:not(:nth-child(1)) {
  width: calc(554px * var(--scale));
  border-radius: calc(34px * var(--scale));
}
.about-doctor-rows__mobile {
  display: none;
}
@media (max-width:1600px) {
  .about-doctor {
    padding-left: calc(148px * var(--scale));
  }
  .about-doctor-grid img:nth-child(1) {
    width: calc(403px * var(--scale));
  }
  .about-doctor img:not(:nth-child(1)) {
    width: calc(504px * var(--scale));
  }
}
@media (max-width:1440px) {
  .about-doctor {
    padding-left: calc(65px * var(--scale));
  }
  .about-doctor-grid img:nth-child(1) {
    width: calc(353px * var(--scale));
  }
  .about-doctor-grid img:not(:nth-child(1)) {
    width: calc(424px * var(--scale));
  }
}
@media (max-width:768px) {
  .about-doctor {
    flex-direction: column;
    gap: calc(15px * var(--scale));
    padding: 0 calc(15px * var(--scale));
    margin-top: calc(33px * var(--scale));
  }
  .about-doctor-title {
    width: 100%;
    font-size: calc(24px * var(--scale));
    padding-bottom: calc(9px * var(--scale));
    margin-bottom: calc(22px * var(--scale));
    border-bottom: 1px solid var(--grey-BF);
  }
  .about-doctor-text, .clinic-grid {
    display: none;
  }
  .clinic-info {
    gap: 0;
  }
  .about-doctor-rows {
    gap: calc(9px * var(--scale));
  }
  .about-doctor-row {
    border: 2px solid var(--grey-9A);
    border-radius: calc(24px * var(--scale));
    padding: calc(14px * var(--scale)) calc(50px * var(--scale)) calc(22px * var(--scale)) calc(52px * var(--scale));
  }
  .about-doctor-row__title {
    margin-bottom: calc(12px * var(--scale));
    font-size: calc(16px * var(--scale));
  }
  .about-doctor-row__text {
    font-size: calc(14px * var(--scale));
  }
  .about-doctor-rows__mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(14px * var(--scale));
  }
  .about-doctor-rows__mobile img {
    height: calc(188px * var(--scale));
    object-fit: cover;
    width: 100%;
    border-radius: calc(26px * var(--scale));
  }
}

/* page: doctors */
.page-doctors .default-title__main {
	text-align: center;
	margin-bottom: calc(48px * var(--scale));
	text-transform: uppercase;
	font-weight: 700;
}
.doctors-block {
	display: flex;
	flex-direction: column;
	gap: calc(33px * var(--scale));
	padding-bottom: calc(25px * var(--scale));
}
.doctor-card {
	display: grid;
	grid-template-columns: minmax(calc(280px * var(--scale)), calc(416px * var(--scale))) minmax(0, 1fr);
	color: var(--grey-6D);
	font-size: calc(20px * var(--scale));
	gap: 1.7em;
}
.doctor-card__photo {
	position: relative;
	overflow: hidden;
	border-radius: 2em;
}
.doctor-card__photo img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.doctor-card__content {
	padding: calc(38px * var(--scale)) calc(58px * var(--scale)) calc(31px * var(--scale)) calc(77px * var(--scale));
	border-radius: 2em;
	background: #f9f9f9;
	box-shadow: 0 1px calc(24.5px * var(--scale)) rgba(0, 0, 0, 0.25);
}
.doctor-card__name {
	color: #6d6d6d;
	font-size: 1.3em;
	font-weight: 500;
}
.doctor-card__speciality {
	margin-top: .8em;
	font-weight: 500;
}
.doctor-card__experience {
	margin-top: .8em;
	color: var(--grey-9A);
	font-weight: 800;
}
.doctor-card__education-title {
	margin-top: 2.55em;
}
.doctor-card__education {
	display: flex;
	flex-direction: column;
	gap: calc(7px * var(--scale));
	margin: 1em 0 0 0;
	list-style: none;
	font-weight: 500;
	padding: 0;
}
.doctor-card__education li {
	display: flex;
	gap: .7em;
}
.doctor-card__education img {
	width: 1em;
	height: 1em;
	object-fit: contain;
}
.doctor-card__button {
	display: flex;
	gap: 1em;
	align-items: center;
	width: fit-content;
	border-radius: 3em;
	background: var(--accent-1);
	font-size: calc(14px * var(--scale));
	text-decoration: none;
	transition: filter 0.2s ease, transform 0.2s ease;
	padding: 1.4em 1.4em 1.4em 4.1em;
	margin-top: 2em;
  border: none;
  color: var(--grey-6D);
  font-family: inherit;
}
.doctor-card__button:hover {
	filter: brightness(0.96);
	transform: translateY(-1px);
}
.doctor-card__button svg {
	width: calc(33px * var(--scale));
	height: calc(12px * var(--scale));
}

@media (max-width: 768px) {
	.doctor-card {
		grid-template-columns: 1fr;
		font-size: calc(16px * var(--scale));
		gap: 1.25em;
	}
	.doctor-card__photo {
		max-height: 416px;
		margin: auto;
		aspect-ratio: 3 / 4;
	}
    .doctor-card__photo img {
        position: relative;
    }
	.doctor-card__content {
		padding:
			calc(30px * var(--scale))
			calc(24px * var(--scale));
	}
	.doctor-card__education-title {
		margin-top: 2em;
	}
	.doctor-card__button {
		width: 100%;
		justify-content: center;
		padding: 1em;
	}
}

/* page: archive-blog */
.page-blog .default-title__main {
    text-align: center;
    margin-bottom: calc(44px * var(--scale));
    text-transform: uppercase;
    font-weight: 700;
}
.blog-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(40px * var(--scale)) calc(24px * var(--scale));
}
.blog-articles > .navigation {
    grid-column: 1 / -1;
}
.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(484px * var(--scale));
    width: 100%;
    overflow: hidden;
    border-radius: calc(40px * var(--scale));
    border-bottom-right-radius: 0;
    max-height: calc(484px * var(--scale));
    color: var(--grey-6D);
    background-position: center;
    background-size: cover;
}
.blog-card__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: calc(5px * var(--scale));
    border-top-right-radius: calc(90px * var(--scale));
    background-color: #f9f9f9;
    padding: calc(46px * var(--scale)) calc(25px * var(--scale)) calc(14px * var(--scale)) calc(32px * var(--scale));
}
.blog-card__title {
    font-size: calc(18px * var(--scale));
    font-weight: 700;
    margin-bottom: calc(6px * var(--scale));
    min-height: 2.5em;
}
.blog-card__excerpt {
    font-size: calc(14px * var(--scale));
    font-weight: 500;
    margin-bottom: calc(12px * var(--scale));
    min-height: 3.7em;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: calc(27px * var(--scale));
}
.blog-card__views {
    display: flex;
    align-items: center;
    gap: calc(8px * var(--scale));
    font-size: calc(11px * var(--scale));
    font-weight: 600;
}
.blog-card__views img {
    width: calc(18px * var(--scale));
    height: calc(18px * var(--scale));
    object-fit: contain;
}
.blog-card__meta time {
    font-size: calc(9px * var(--scale));
}
.blog-card__link {
    padding: calc(14px * var(--scale)) calc(18px * var(--scale));
    display: flex;
    background-color: #F9F9F9;
    border: 1px solid #fff;
    box-shadow: calc(2px * var(--scale)) calc(2px * var(--scale)) calc(10px * var(--scale)) rgba(0, 0, 0, 0.25);
    transition: .3s;
    border-radius: 100%;
}
.blog-card__link svg {
    width: calc(21px * var(--scale));
    height: calc(28px * var(--scale));
}
.blog-card__link svg path {
    transition: .3s;
    fill: var(--grey-9A);
}

.blog-card:hover .blog-card__link {
    background-color: var(--accent-1);
}
.blog-card:hover .blog-card__link svg path {
    fill: #fff;
}

@media (max-width: 768px) {
    .page-blog .default-title__main {
        margin-bottom: calc(30px * var(--scale));
    }
    .blog-articles {
        grid-template-columns: 1fr;
        gap: calc(24px * var(--scale));
    }
    .blog-card {
        width: 100%;
        max-width: 416px;
        min-height: calc(400px * var(--scale));
        max-height: none;
        margin-inline: auto;
    }
    .blog-card__content {
        gap: calc(16px * var(--scale));
        padding:
            calc(30px * var(--scale))
            calc(24px * var(--scale))
            calc(18px * var(--scale));
    }
    .blog-card__title {
        min-height: 0;
    }
    .blog-card__excerpt {
        min-height: 0;
    }
    .blog-card__meta {
        gap: calc(20px * var(--scale));
    }
    .blog-card__link {
        flex: 0 0 auto;
        padding: calc(12px * var(--scale)) calc(16px * var(--scale));
    }
}

@media (max-width: 420px) {
    .blog-card__content {
        padding:
            calc(26px * var(--scale))
            calc(20px * var(--scale))
            calc(16px * var(--scale));
    }
    .blog-card__meta {
        flex-wrap: wrap;
        gap: calc(12px * var(--scale));
    }
    .blog-card__link {
        padding: calc(10px * var(--scale)) calc(14px * var(--scale));
    }
}

/* page: single-blog */
#blog-article {
    color: var(--grey-6D);
    overflow: hidden;
}
#blog-article button {
    font: inherit;
}
#blog-article .breadcrumbs {
    margin-top: calc(35px * var(--scale));
    margin-bottom: calc(47px * var(--scale));
}
#blog-article .article-hero {
    display: grid;
    grid-template-columns: minmax(0, 2.19fr) minmax(0, 1fr);
    gap: calc(39px * var(--scale));
    padding-bottom: calc(40px * var(--scale));
}
#blog-article .article-hero--no-author {
    grid-template-columns: minmax(0, 1fr);
}
#blog-article .article-hero__card,
#blog-article .article-author {
    min-width: 0;
    min-height: calc(458px * var(--scale));
    border-radius: calc(40px * var(--scale));
    background: #fff;
    box-shadow: 0 1px 23px rgba(0, 0, 0, .2);
}
#blog-article .article-hero__card {
    position: relative;
    overflow: hidden;
    padding: calc(34px * var(--scale)) calc(61px * var(--scale));
}
#blog-article .article-hero__card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: url(/wp-content/themes/dr-khalil/images/article/article-hero-pattern.png) center bottom / 100% 100% no-repeat;
}
#blog-article .article-hero__meta,
#blog-article .article-hero__title,
#blog-article .article-hero__lead {
    position: relative;
    z-index: 1;
}
#blog-article .article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(12px * var(--scale));
    color: var(--grey-A4);
    font-size: calc(11px * var(--scale));
}
#blog-article .article-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: calc(7px * var(--scale));
}
#blog-article .article-hero__meta img {
    width: calc(18px * var(--scale));
    height: calc(18px * var(--scale));
    object-fit: contain;
}
#blog-article .article-hero__title {
    max-width: calc(745px * var(--scale));
    margin: calc(30px * var(--scale)) 0 0;
    font-size: calc(40px * var(--scale));
    font-weight: 700;
    line-height: 1.22;
}
#blog-article .article-hero__lead {
    max-width: calc(743px * var(--scale));
    margin: calc(54px * var(--scale)) 0 0;
    font-size: calc(20px * var(--scale));
    font-weight: 500;
    line-height: 1.42;
}
#blog-article .article-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(24px * var(--scale)) calc(25px * var(--scale));
    text-align: center;
}
#blog-article .article-author__eyebrow {
    color: #b5b5b5;
    font-size: calc(14px * var(--scale));
    font-weight: 500;
}
#blog-article .article-author__photo {
    display: block;
    width: calc(219px * var(--scale));
    height: calc(219px * var(--scale));
    margin-top: calc(20px * var(--scale));
    border-radius: 50%;
    object-fit: cover;
}
#blog-article .article-author__name {
    margin: calc(15px * var(--scale)) 0 0;
    font-size: calc(14px * var(--scale));
    font-weight: 600;
    line-height: 1.2;
}
#blog-article .article-author__role {
    margin: calc(11px * var(--scale)) 0 0;
    color: #b5b5b5;
    font-size: calc(12px * var(--scale));
    font-weight: 500;
}
#blog-article .article-author .default-button {
    white-space: nowrap;
    transform: translateX(-30%);
}
#blog-article .article-toc {
    position: relative;
    padding-bottom: calc(30px * var(--scale));
}
#blog-article .article-toc::before,
#blog-article .article-toc::after {
    content: '';
    position: absolute;
    top: calc(48px * var(--scale));
    height: calc(207px * var(--scale));
    pointer-events: none;
}
#blog-article .article-toc::before {
    left: 0;
    right: calc(50% + 575px * var(--scale));
    width: auto;
    border-radius: 0 calc(104px * var(--scale)) calc(104px * var(--scale)) 0;
    background: var(--accent-1);
}
#blog-article .article-toc::after {
    left: calc(50% + 395px * var(--scale));
    right: 0;
    width: auto;
    background:
        url('images/article/article-decoration.svg') left center / calc(604px * var(--scale)) 100% no-repeat,
        linear-gradient(
            to right,
            transparent calc(104px * var(--scale)),
            var(--accent-1) calc(104px * var(--scale))
        );
}
#blog-article .article-toc__inner {
    position: relative;
    z-index: 1;
}
#blog-article .article-toc__title {
    margin: 0 0 calc(42px * var(--scale));
    font-size: calc(30px * var(--scale));
    font-weight: 600;
}
#blog-article .article-toc__list {
    display: grid;
    gap: calc(10px * var(--scale));
    max-width: calc(900px * var(--scale));
    margin: 0 0 0 calc(83px * var(--scale));
    padding: 0;
    list-style: none;
    font-size: calc(23px * var(--scale));
    font-weight: 600;
}
#blog-article .article-intro {
    display: grid;
    grid-template-columns: minmax(0, 804fr) minmax(0, 451fr);
    gap: calc(41px * var(--scale));
    align-items: stretch;
    margin-top: calc(100px * var(--scale));
}
#blog-article .article-intro--no-image {
    grid-template-columns: minmax(0, 1fr);
}
#blog-article .article-intro__image {
    display: block;
    width: 100%;
    height: calc(349px * var(--scale));
    border-radius: calc(40px * var(--scale));
    object-fit: cover;
}
#blog-article .article-intro__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}
#blog-article .article-intro__text,
#blog-article .article-section__text,
#blog-article .article-media-text__text,
#blog-article .article-note__text {
    font-size: calc(18px * var(--scale));
    font-weight: 500;
    line-height: 1.38;
}
#blog-article .article-intro__text,
#blog-article .article-section__text,
#blog-article .article-media-text__text p,
#blog-article .article-note__text p {
    margin: 0;
}
#blog-article .article-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(12px * var(--scale));
    min-height: calc(61px * var(--scale));
    padding: calc(10px * var(--scale)) calc(18px * var(--scale));
    border: 0;
    border-radius: calc(20px * var(--scale));
    background: var(--grey-9A);
    color: #fff;
    cursor: pointer;
    font-size: calc(16px * var(--scale));
    font-weight: 500;
    white-space: nowrap;
}
#blog-article .article-pill:hover,
#blog-article .article-pill:focus-visible {
    background: #83adaa;
}
#blog-article .article-pill img:first-child {
    width: calc(31px * var(--scale));
    height: calc(31px * var(--scale));
    object-fit: contain;
}
#blog-article .article-pill img:last-child {
    width: calc(34px * var(--scale));
    height: calc(11px * var(--scale));
    object-fit: contain;
}
#blog-article .article-section {
    margin-top: calc(48px * var(--scale));
}
#blog-article .article-section__title,
#blog-article .article-media-text__title,
#blog-article .article-note__title {
    margin: 0;
    font-size: calc(30px * var(--scale));
    font-weight: 600;
    line-height: 1.28;
}
#blog-article .article-section__text {
    margin-top: calc(20px * var(--scale));
}
#blog-article .article-section__list-intro {
    margin: calc(34px * var(--scale)) 0 0;
    font-size: calc(18px * var(--scale));
    font-weight: 500;
}
#blog-article .article-accent-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: calc(37px * var(--scale));
    margin: calc(34px * var(--scale)) 0 0 calc(36px * var(--scale));
    padding: calc(9px * var(--scale)) 0 0 calc(50px * var(--scale));
    color: var(--grey-6D);
    font-size: calc(23px * var(--scale));
    font-weight: 500;
}
#blog-article .article-accent-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(11px * var(--scale));
    background: url('/wp-content/themes/dr-khalil/images/ortodont-line.svg') center / 100% 100% no-repeat;
}
#blog-article .article-accent-list__item {
    display: flex;
    flex-direction: column;
    gap: calc(7px * var(--scale));
}
#blog-article .article-accent-list__item span {
    font-size: calc(18px * var(--scale));
    font-weight: 500;
    line-height: 1.38;
}
#blog-article .article-section__outro {
    margin-top: calc(54px * var(--scale));
}
#blog-article .article-media-text {
    display: grid;
    grid-template-columns: minmax(0, 594fr) minmax(0, 666fr);
    gap: calc(36px * var(--scale));
    align-items: start;
    margin-top: calc(34px * var(--scale));
}
#blog-article .article-media-text__placeholder {
    display: block;
    width: 100%;
    height: calc(345px * var(--scale));
    min-height: calc(345px * var(--scale));
    border-radius: calc(40px * var(--scale));
    background: #d9d9d9;
    object-fit: cover;
}
#blog-article .article-media-text__text {
    margin-top: calc(24px * var(--scale));
}
#blog-article .article-media-text__text p + p,
#blog-article .article-note__text p + p {
    margin-top: calc(28px * var(--scale));
}
#blog-article .article-text-accent {
    color: var(--grey-9A);
    text-decoration: underline;
}
#blog-article .article-note {
    position: relative;
    margin-top: calc(31px * var(--scale));
    padding: calc(67px * var(--scale)) 20px calc(48px * var(--scale));
    background: var(--accent-1);
    color: #fff;
}
#blog-article .article-note__inner {
    position: relative;
    max-width: calc(924px * var(--scale));
    min-height: calc(616px * var(--scale));
    margin: 0 auto;
    padding: calc(45px * var(--scale)) calc(103px * var(--scale));
    border: 1px solid #fff;
    border-radius: calc(40px * var(--scale));
}
#blog-article .article-note__quote {
    position: absolute;
    top: calc(8px * var(--scale));
    right: calc(100% - 45px * var(--scale));
    width: calc(215px * var(--scale));
    height: calc(215px * var(--scale));
    object-fit: contain;
    opacity: .23;
    pointer-events: none;
}
#blog-article .article-note__text {
    margin-top: calc(30px * var(--scale));
    line-height: 1.38;
}
#blog-article .article-note__actions {
    display: flex;
    gap: calc(14px * var(--scale));
    margin-top: calc(72px * var(--scale));
}
#blog-article .article-note__actions .article-pill {
    flex: 1;
    justify-content: space-around;
}
#blog-article .article-note__actions .article-pill img:first-child {
    width: calc(36px * var(--scale));
    height: calc(36px * var(--scale));
}
@media (max-width: 1024px) {
    #blog-article .article-hero__lead {
        margin-top: calc(28px * var(--scale));
    }
    #blog-article .article-author__photo {
        width: calc(180px * var(--scale));
        height: calc(180px * var(--scale));
    }
    #blog-article .article-toc::before,
    #blog-article .article-toc::after {
        opacity: .45;
    }
}
@media (max-width: 768px) {
    #blog-article .breadcrumbs {
        margin: calc(24px * var(--scale)) 0;
    }
    #blog-article .article-hero {
        padding-bottom: calc(30px * var(--scale));
    }
    #blog-article .article-hero,
    #blog-article .article-intro,
    #blog-article .article-media-text {
        grid-template-columns: 1fr;
        gap: calc(22px * var(--scale));
    }
    #blog-article .article-hero__card,
    #blog-article .article-author {
        min-height: 0;
        border-radius: calc(26px * var(--scale));
    }
    #blog-article .article-hero__card {
        padding: calc(28px * var(--scale)) calc(24px * var(--scale)) calc(76px * var(--scale));
    }
    #blog-article .article-hero__meta {
        gap: calc(10px * var(--scale));
        font-size: calc(10px * var(--scale));
    }
    #blog-article .article-hero__meta img {
        width: calc(16px * var(--scale));
        height: calc(16px * var(--scale));
    }
    #blog-article .article-hero__title {
        margin-top: calc(28px * var(--scale));
        font-size: clamp(calc(27px * var(--scale)), 8vw, calc(36px * var(--scale)));
    }
    #blog-article .article-hero__lead {
        margin-top: calc(24px * var(--scale));
        font-size: calc(16px * var(--scale));
        line-height: 1.45;
    }
    #blog-article .article-hero__card::after {
        height: 30%;
    }
    #blog-article .article-author {
        padding: calc(24px * var(--scale));
    }
    #blog-article .article-author__eyebrow,
    #blog-article .article-author__name {
        font-size: calc(14px * var(--scale));
    }
    #blog-article .article-author__photo {
        width: calc(170px * var(--scale));
        height: calc(170px * var(--scale));
        margin-top: calc(16px * var(--scale));
    }
    #blog-article .article-author__role {
        font-size: calc(12px * var(--scale));
    }
    #blog-article .article-toc {
        padding-bottom: calc(25px * var(--scale));
    }
    #blog-article .article-toc::before,
    #blog-article .article-toc::after {
        display: none;
    }
    #blog-article .article-toc__title,
    #blog-article .article-section__title,
    #blog-article .article-media-text__title,
    #blog-article .article-note__title {
        font-size: calc(26px * var(--scale));
    }
    #blog-article .article-toc__title {
        margin-bottom: calc(22px * var(--scale));
    }
    #blog-article .article-toc__list {
        gap: calc(14px * var(--scale));
        margin-left: 0;
        font-size: calc(17px * var(--scale));
    }
    #blog-article .article-intro {
        margin-top: calc(40px * var(--scale));
    }
    #blog-article .article-intro__image {
        height: auto;
        aspect-ratio: 804 / 349;
        border-radius: calc(25px * var(--scale));
    }
    #blog-article .article-intro__content {
        gap: calc(22px * var(--scale));
    }
    #blog-article .article-intro__text,
    #blog-article .article-section__text,
    #blog-article .article-media-text__text,
    #blog-article .article-note__text,
    #blog-article .article-section__list-intro {
        font-size: calc(16px * var(--scale));
        line-height: 1.5;
    }
    #blog-article .article-pill {
        min-height: calc(54px * var(--scale));
        padding: calc(10px * var(--scale)) calc(14px * var(--scale));
        border-radius: calc(16px * var(--scale));
        font-size: calc(14px * var(--scale));
    }
    #blog-article .article-pill img:first-child,
    #blog-article .article-note__actions .article-pill img:first-child {
        width: calc(26px * var(--scale));
        height: calc(26px * var(--scale));
    }
    #blog-article .article-pill img:last-child {
        width: calc(28px * var(--scale));
        height: calc(10px * var(--scale));
    }
    #blog-article .article-section {
        margin-top: calc(40px * var(--scale));
    }
    #blog-article .article-section__text {
        margin-top: calc(18px * var(--scale));
    }
    #blog-article .article-section__outro {
        margin-top: calc(24px * var(--scale));
    }
    #blog-article .article-accent-list {
        gap: calc(22px * var(--scale));
        margin: calc(22px * var(--scale)) 0 0 calc(16px * var(--scale));
        padding: calc(9px * var(--scale)) 0 0 calc(30px * var(--scale));
        font-size: calc(18px * var(--scale));
    }
    #blog-article .article-accent-list__item span {
        font-size: calc(15px * var(--scale));
    }
    #blog-article .article-media-text {
        margin-top: calc(32px * var(--scale));
    }
    #blog-article .article-media-text__placeholder {
        height: auto;
        min-height: 0;
        aspect-ratio: 594 / 345;
        border-radius: calc(25px * var(--scale));
    }
    #blog-article .article-media-text__text {
        margin-top: calc(18px * var(--scale));
    }
    #blog-article .article-media-text__text p + p,
    #blog-article .article-note__text p + p {
        margin-top: calc(20px * var(--scale));
    }
    #blog-article .article-note {
        margin-top: calc(35px * var(--scale));
        padding: calc(48px * var(--scale)) calc(15px * var(--scale));
    }
    #blog-article .article-note__inner {
        min-height: 0;
        max-width: 100%;
        padding: calc(36px * var(--scale)) calc(25px * var(--scale));
        border-radius: calc(27px * var(--scale));
    }
    #blog-article .article-note__quote {
        top: calc(-28px * var(--scale));
        right: auto;
        left: calc(-14px * var(--scale));
        width: calc(90px * var(--scale));
        height: calc(90px * var(--scale));
    }
    #blog-article .article-note__text {
        margin-top: calc(22px * var(--scale));
    }
    #blog-article .article-note__actions {
        flex-wrap: wrap;
        gap: calc(12px * var(--scale));
        margin-top: calc(32px * var(--scale));
    }
    #blog-article .article-note__actions .article-pill {
        flex: 1 1 calc(240px * var(--scale));
    }
}
@media (max-width: 420px) {
    #blog-article .article-pill {
        white-space: normal;
        text-align: left;
    }
    #blog-article .article-note__inner {
        padding: calc(34px * var(--scale)) calc(18px * var(--scale));
    }
}
/* article: содержание-ссылки, текст из редактора, «Читайте также» */
#blog-article h2[id] {
    scroll-margin-top: calc(40px * var(--scale));
}
#blog-article .article-toc__list a {
    transition: color .3s;
}
#blog-article .article-toc__list a:hover {
    color: var(--accent-1);
}
#blog-article .article-richtext p + p {
    margin-top: calc(20px * var(--scale));
}
#blog-article .article-richtext h2 {
    margin: calc(40px * var(--scale)) 0 0;
    font-size: calc(30px * var(--scale));
    font-weight: 600;
    line-height: 1.28;
}
#blog-article .article-richtext ul,
#blog-article .article-richtext ol {
    margin: calc(20px * var(--scale)) 0 0;
    padding-left: 1.3em;
}
#blog-article .article-richtext li + li {
    margin-top: calc(8px * var(--scale));
}
.related-articles {
    margin: calc(70px * var(--scale)) 0;
}
.related-articles .default-title__main {
    text-align: center;
    margin-bottom: calc(44px * var(--scale));
    text-transform: uppercase;
    font-weight: 700;
}
.articles-card__footer {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .related-articles { margin: calc(40px * var(--scale)) 0; }
    .related-articles .default-title__main { margin-bottom: calc(30px * var(--scale)); }
}
/* article: варианты блока с изображением и галерея */
#blog-article .article-media-block,
#blog-article .article-gallery {
    margin-top: calc(48px * var(--scale));
}
#blog-article .article-media-block > .article-media-text {
    margin-top: calc(24px * var(--scale));
}
#blog-article .article-media-block > .article-media-text:first-child {
    margin-top: 0;
}
#blog-article .article-media-text .article-media-text__text {
    margin-top: 0;
}
#blog-article .article-media-text--right {
    grid-template-columns: minmax(0, 666fr) minmax(0, 594fr);
}
#blog-article .article-media-text--right .article-media-text__placeholder {
    order: 2;
}
#blog-article .article-media-text--full {
    grid-template-columns: 1fr;
}
#blog-article .article-media-text--full img.article-media-text__img {
    height: auto;
    min-height: 0;
}
#blog-article .article-media-text--framed {
    align-items: center;
    padding: calc(32px * var(--scale));
    border-radius: calc(40px * var(--scale));
    background: #F7F5EA;
}
#blog-article .article-media-text--framed .article-media-text__placeholder {
    border-radius: calc(30px * var(--scale));
}
#blog-article .article-gallery__grid {
    display: grid;
    gap: calc(24px * var(--scale));
    margin-top: calc(24px * var(--scale));
}
#blog-article .article-gallery__grid:first-child {
    margin-top: 0;
}
#blog-article .article-gallery__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#blog-article .article-gallery__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#blog-article .article-gallery__item {
    margin: 0;
}
#blog-article .article-gallery__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(30px * var(--scale));
}
#blog-article .article-gallery__caption {
    margin-top: calc(12px * var(--scale));
    font-size: calc(14px * var(--scale));
    font-weight: 500;
}
@media (max-width: 768px) {
    #blog-article .article-media-text--right,
    #blog-article .article-media-text--full {
        grid-template-columns: 1fr;
    }
    #blog-article .article-media-text--right .article-media-text__placeholder {
        order: 0;
    }
    #blog-article .article-media-text--framed {
        padding: calc(18px * var(--scale));
        border-radius: calc(26px * var(--scale));
    }
    #blog-article .article-gallery__grid {
        gap: calc(10px * var(--scale));
    }
    #blog-article .article-gallery__grid--3 {
        grid-template-columns: 1fr;
    }
    #blog-article .article-gallery__img {
        border-radius: calc(20px * var(--scale));
    }
}