.menu__body>ul>.menu-item-has-children:last-child>.sub-menu {
	    grid-template-columns: 1fr;
	width:100%;
}





.header li.menu-item-has-children:after {
  display: none !important;
}

.header__phone:after {
    background-image: url('./assets/images/arrow-down.svg') !important;

}

	table {
		width: 100%;
}

.lang-switcher {
  gap: 0.5rem !important;
}

.wpcf7-not-valid-tip {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  display: block;
}

.service__item-label P {
  font-family: "FirsNeue", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 130%;
  text-align: center;
  color: #fff;
}
.preop-tests__info-main p {
  max-width: 55rem;
  margin: 0 auto;
}

div.preop-tests__info-main p strong {
  font-size: 2.2rem;
}
.service__item--white .service__item-label p {
  color: #308ecc;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border: 0.1rem solid #308ecc !important;
  margin: 0 !important;
  border-radius: 0.5rem !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  margin: 0 !important;
  border-radius: 0.5rem !important;
}

.consultation-form__button-wrapper {
  position: relative;
  margin-bottom: 3rem;
}
.header li.menu-item-has-children a:after {
  display: none !important;
}

.wpcf7-spinner {
  /* visibility: hidden; */
  display: inline-block;
  background-color: #23282d;
  opacity: 0.75;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 100%;
  padding: 0;
  /* margin: 0 24px; */
  position: absolute;
  top: 50%;
  /* transform: translateY(-50%); */
  right: 2.4rem;
  z-index: 2;
}

header.header li.menu-item-has-children li a {
  font-size: 1.6rem;
}
header .header__menu-items > li > .sub-menu > li > .link-wrapper > a {
  font-size: 2rem;
}

.header__menu-items li.menu-item-has-children:nth-child(2) .sub-menu > li:nth-child(2) ul {
  grid-template-columns: 1fr;
}

.menu__body > ul > .menu-item-has-children:nth-child(2) > .sub-menu {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.swiper-button-prev,
.swiper-button-next {
  z-index: 1 !important;
}

li strong {
  color: #308ecc;
  font-weight: 400;
}

.service-benefits__item-desc p {
  font-family: FirsNeue, sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: #5b5e60;
  line-height: 150%;
}

.service-benefits__item-wrapper {
  max-width: 120rem;
}
.service-benefits__item-title {
  font-weight: 400 !important;
  text-transform: initial !important;
}

/* RICH TEXT (WYSIWYG) CONTENT STYLES */
.about-additional__text,
.about-additional__attention-text {
  font-family: "FirsNeue", sans-serif;
  font-size: 1.8rem;
  color: #23282d;
  line-height: 1.6;
}

.about-additional__text p,
.about-additional__attention-text p {
  margin-bottom: 1.5em;
}

.about-additional__text ul,
.about-additional__text ol {
  margin: 1.5em 0 1.5em 2.5em;
  padding: 0;
}

.about-additional__text ul li {
  list-style: disc inside;
  margin-bottom: 0.5em;
}

.about-additional__text ol li {
  list-style: decimal inside;
  margin-bottom: 0.5em;
}

.about-additional__text h2,
.about-additional__text h3,
.about-additional__text h4,
.about-additional__text h5,
.about-additional__text h6 {
  color: #308ecc;
  font-weight: 500;
  margin: 2em 0 1em 0;
  line-height: 1.2;
}

.about-additional__text h2 {
  font-size: 2.4rem;
}
.about-additional__text h3,
.tab-content h3 {
  font-size: 2.1rem;
}
.about-additional__text h4 {
  font-size: 1.9rem;
}

.about-additional__text blockquote {
  border-left: 4px solid #308ecc;
  background: #f6fafd;
  color: #308ecc;
  margin: 2em 0;
  padding: 1em 2em;
  font-style: italic;
}

.about-additional__text strong {
  color: #308ecc;
  font-weight: 600;
}

.about-additional__text em {
  font-style: italic;
}

.about-additional__text a {
  color: #308ecc;
  text-decoration: underline;
  transition: color 0.2s;
}

.about-additional__text a:hover {
  color: #1a5e99;
}

.about-additional__text table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 1.7rem;
}

.about-additional__text th,
.about-additional__text td {
  border: 1px solid #e0e7ef;
  padding: 0.7em 1em;
}
.about-additional__text th {
  background: #f6fafd;
  color: #308ecc;
  font-weight: 500;
}

.about-additional__text {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
}

/* Remove extra margin for last child */
.about-additional__text > *:last-child,
.about-additional__attention-text > *:last-child {
  margin-bottom: 0;
}

/* about-additional__text rich_text styles */
.about-additional__text {
  font-family: "FirsNeue", sans-serif;
  font-size: 1.8rem;
  color: #23282d;
  line-height: 1.6;
}
.about-additional__text p {
  margin-bottom: 1.5em;
}
.about-additional__text ul,
.about-additional__text ol {
  margin: 1.5em 0 1.5em 2.5em;
  padding: 0;
}
.about-additional__text ul li {
  list-style: disc inside;
  margin-bottom: 0.5em;
}
.about-additional__text ol li {
  list-style: decimal inside;
  margin-bottom: 0.5em;
}
.about-additional__text h2,
.about-additional__text h3,
.about-additional__text h4,
.about-additional__text h5,
.about-additional__text h6 {
  color: #308ecc;
  font-weight: 500;
  margin: 2em 0 1em 0;
  line-height: 1.2;
}
.about-additional__text h2 {
  font-size: 2.4rem;
}
.about-additional__text h3 {
  font-size: 2.1rem;
}
.about-additional__text h4 {
  font-size: 1.9rem;
}
.about-additional__text blockquote {
  border-left: 4px solid #308ecc;
  background: #f6fafd;
  color: #308ecc;
  margin: 2em 0;
  padding: 1em 2em;
  font-style: italic;
}
.about-additional__text strong {
  color: #308ecc;
  font-weight: 600;
}
.about-additional__text em {
  font-style: italic;
}
.about-additional__text a {
  color: #308ecc;
  text-decoration: underline;
  transition: color 0.2s;
}
.about-additional__text a:hover {
  color: #1a5e99;
}
.about-additional__text table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 1.7rem;
}
.about-additional__text th,
.about-additional__text td {
  border: 1px solid #e0e7ef;
  padding: 0.7em 1em;
}
.about-additional__text th {
  background: #f6fafd;
  color: #308ecc;
  font-weight: 500;
}
.about-additional__text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
}

.about-circumcision__text ul,
.about-circumcision__text ol {
  margin: 1.5em 0 1.5em 2.5em;
  padding: 0;
}

.about-additional__text li {
  margin-bottom: 0.5em;
  font-size: 1.8rem;
  line-height: 150%;
  list-style: disc inside;
}
.text__content p {
	width: 100%;
}
@media (max-width: 991.98px) {
  .about-additional__text {
    font-size: 1.5rem;
  }
  .about-additional__text h2 {
    font-size: 2rem;
  }
  .about-additional__text h3 {
    font-size: 1.7rem;
  }
}

/* Списки для about-additional__text */
.about-circumcision__text ul {
  list-style: disc inside;
  margin: 1.5em 0 1.5em 0;
  padding-left: 2rem;
  list-style: disc !important;
}
.about-circumcision__text ol {
  list-style: decimal inside;
  margin: 1.5em 0 1.5em 0;
  padding: 0;
  padding-left: 2rem;
  list-style: disc !important;
}
.about-circumcision__text ul li,
.about-circumcision__text ol li {
  margin-bottom: 0.5em;
  font-size: 1.8rem;
  line-height: 150%;
}
.about-circumcision__text ul ul,
.about-circumcision__text ol ul,
.about-circumcision__text ul ol,
.about-circumcision__text ol ol {
  margin-left: 2em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.consultation-form__title {
  max-width: 47rem;
}

h2.consultation-form__title {
  font-size: 2.4rem;
}

.about-additional__info {
  max-width: 50%;
}

@media (min-width: 991.98px) {
  .header__menu-items > li > .sub-menu > li > .link-wrapper .dropdown__toggle {
    display: none;
  }
  .tab-btn:last-child {
    padding-right: 0;
  }
  .tab-btn:last-child:after {
    display: none;
  }
  .about-additional__info {
    max-width: 50%;
  }

  .header__menu-items > li.menu-item-has-children > .sub-menu > li {
    padding: 0 3rem !important;
  }
  .menu__body > ul > .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
}

section.preop-tests {
  margin-bottom: 0;
}

.advantages__image {
  max-height: 50rem;
}

.faq__question.active ~ .faq__answer {
  overflow: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.reviews-temlate,
.page-template-contacts-template .contacts__title-wrapper {
  margin-top: 6rem;
}

.consultation-form__content--reviews {
  padding: 0 !important;
}

.review__text p {
  font-size: 1.8rem;
}

.category .news,
.page-template-blog-template .news {
  padding: 0 !important;
}
li.custom-category-select__item {
  padding: 0;
}
.custom-category-select__item a {
  padding: 1.2rem 2rem;
  display: block;
}

.custom-category-select__item a {
  cursor: pointer;
  font-size: 1.6rem;
  font-family: var(--font-family);
  transition: background 0.2s, color 0.2s;
  background: #fff;
  color: #5b5e60;
}

.custom-category-select__item a:hover,
.custom-category-select__item.selected a {
  color: #308ecc;
  background: #f3faff;
}

.pagination__link:hover svg path,
.pagination__link:hover svg path {
  stroke: #fff !important;
}

.pagination__link.current {
  color: #fff;
  background: #308ecc;
}

.single-post .blog-post {
  max-width: 95rem;
  margin: 0 auto 6rem auto;
  padding: 0 1.5rem;
}

button.custom-category-select__button {
  box-shadow: none;
}

button.custom-category-select__button.open {
  box-shadow: 0 0 0.4rem #308ecccc;
}

.single-post p {
  font-family: var(--font-family) !important;
  font-size: 1.8rem !important;
  color: #5b5e60 !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
}

.single-post .blog-post-content h2,
.single-post .blog-post-content h3,
.single-post .blog-post-content h4 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 2.2rem;
  color: #308ecc;
  margin: 3.2rem 0 1.6rem 0;
  line-height: 1.2;
}

.single-post .blog-post-content ul {
  list-style: disc inside;
}
.single-post .blog-post-content ul,
.single-post .blog-post-content ol {
  margin: 2rem 0 2rem 2.5rem;
  padding: 0;
}

.single-post .blog-post-content ul li,
.single-post .blog-post-content ol li {
  font-family: var(--font-family);
  font-size: 1.8rem;
  color: #5b5e60;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.breadcrumbs__list {
  flex-wrap: wrap;
}

.blog__title-wrapper {
  margin-bottom: 6rem;
}

.news__link:hover {
  color: #fff !important;
}

.popup--call .popup__content {
  max-width: 50rem;
}

.popup--call .wpcf7-not-valid-tip {
  margin-bottom: 1rem !important;
  font-size: 1.8rem !important;
  display: block !important;
  text-align: left !important;
}
.popup--call .wpcf7-response-output {
  padding-left: 0 !important;
  color: #fff;
}
.popup--call .form__group {
  position: relative;
}

.popup--call .wpcf7-spinner {
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

.header__logo > span {
  position: relative;
  z-index: 2;
  display: none;
  width: 18.7rem;
  height: 6.6rem;
  display: inline-block;
}
.header__logo > span {
  width: 17.8rem;
  height: 6rem;
  display: flex;
  align-items: start;
  justify-content: center;
}
.services__text p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.8rem;
  max-width: 29.5rem;
  line-height: 150%;
  color: #5b5e60;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

html[lang="en-US"] .specialists__name {
  margin-bottom: 0;
}
.specialists__name .why-choose-us__text {
  text-align: center;
}

/* --- 404 PAGE STYLES --- */
.error-404.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 6rem 2rem 8rem 2rem;
  background: #f6fafd;
  border-radius: 2rem;
  box-shadow: 0 0.5rem 2rem #308ecc11;
  margin: 6rem auto 4rem auto;
  max-width: 700px;
}

.error-404 .page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.error-404 .page-title {
  font-size: 3.2rem;
  color: #308ecc;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.error-404 .page-content {
  text-align: center;
  font-size: 1.8rem;
  color: #5b5e60;
}

.error-404 .page-content p {
  margin-bottom: 2.5rem;
}

.error-404 .search-form {
  max-width: 400px;
  margin: 0 auto 2.5rem auto;
}

.error-404 .widget {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.2rem 1rem #308ecc11;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  max-width: 400px;
  text-align: left;
}

.error-404 .widget-title {
  color: #308ecc;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.error-404 ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.error-404 li {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.error-404 .tagcloud a {
  display: inline-block;
  background: #eaf6fb;
  color: #308ecc;
  border-radius: 0.5rem;
  padding: 0.4rem 1rem;
  margin: 0.2rem 0.3rem;
  font-size: 1.5rem !important;
  transition: background 0.2s, color 0.2s;
}

.error-404 .tagcloud a:hover {
  background: #308ecc;
  color: #fff;
}

th {
    font-weight: 500;
    font-size: 3rem;
    color: #308ecc;
    text-transform: uppercase;
    background: none;
    border-bottom: .1rem solid #308ecc;
}
th, td {
    padding: 2rem;

}
 tbody td {
    border-bottom: .1rem solid #308ecc;
}
tbody td:not(tbody td:last-child) {
    border-right: .1rem solid #308ecc;
}
thead th:not(thead th:last-child) {
    border-right: .1rem solid #308ecc;
}
tbody tr:last-child td {
	border-bottom: none;
}

@media (max-width: 991.98px) {
	.preop-tests__flex {
		overflow: auto;
}
	thead th:first-child {
        font-size: 1.6rem;
        text-align: left;
    }
	th,  td {
        font-size: 1.6rem;
        padding: 1rem .5rem;
    }
  .error-404.not-found {
    min-height: auto;
  }
  .header__contacts-phones a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 110%;
    color: #5b5e60;
    text-transform: uppercase;
  }
  .error-404 .page-content p {
    font-size: 1.8rem;
    text-align: center;
  }

  /* .page-template-default .consultation-form__content {
    padding: 0 !important;
  } */
  .page-template-default .consultation-form__title {
    display: none;
  }
  .page-template-default .consultation-form__text {
    font-size: 1.4rem !important;
  }
  .fixed__button-link--consultation {
    background-color: #fff !important;
  }
  .fixed__button-link--consultation svg {
    width: 2.5rem;
    height: 2.5rem;
  }
  .fixed__button-link--consultation:hover svg path {
    fill: revert-layer !important;
    opacity: 1;
  }
  .page-template-contacts-template .contacts__info--blue .contacts__info-title {
    color: #308ecc !important;
  }
  .page-template-contacts-template .contacts__info--blue {
    background-color: transparent;
  }
  .page-template-contacts-template .consultation-form__wrapper {
    flex-direction: column;
    border-radius: 0;
    border: none;
  }
  .page-template-contacts-template .contacts__info-description {
    color: #5b5e60 !important;
  }
  .page-template-contacts-template .consultation-form__img {
    display: block;
    width: 100%;
    min-height: auto;
  }
  .error-404.not-found {
    padding: 3rem 0.5rem 4rem 0.5rem;
    max-width: 100%;
    border-radius: 1rem;
  }
  .error-404 .page-title {
    font-size: 2.1rem;
  }
  .error-404 .widget-title {
    font-size: 1.5rem;
  }
  .error-404 .page-content {
    font-size: 1.3rem;
  }
  .services__text p {
    font-size: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 130%;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical;
  }
  .blog__title-wrapper {
    margin-bottom: 3rem;
  }
  .single-post .blog-post-content h2,
  .single-post .blog-post-content h3,
  .single-post .blog-post-content h4 {
    font-size: 1.6rem !important;
  }
  .blog-post-header__info h1 {
    font-size: 1.8rem !important;
  }
  .blog-post-meta__item svg {
    width: 2rem !important;
    height: 2rem !important;
  }
  .blog-post-meta__item {
    font-size: 1.6rem !important;
  }
  .single-post .blog-post-content p,
  .single-post .blog-post-content ul li,
  .single-post .blog-post-content ol li,
  .single-post .blog-post-content blockquote {
    font-size: 1.4rem !important;
  }
  .blog-post-header__image {
    flex: auto !important;
  }
  .single-post p,
  .single-post ul li,
  .single-post ol li,
  .single-post blockquote {
    font-size: 1.4rem;
  }

  .flag--mobile img {
    width: 3rem !important;
    height: 2rem !important;
  }
  .review__date,
  .review__text p {
    font-size: 1.6rem;
  }

  .wpcf7-not-valid-tip {
    font-size: 1.6rem;
  }
  .fixed__button {
    width: 4.4rem !important;
    height: 4.4rem !important;
  }
  .advantages__image {
    max-height: 20rem;
  }
  .service-benefits__item-desc p {
    font-size: 1.4rem;
  }
  .single-post-service .hero__top {
    background: transparent !important;
    padding-top: 2.9rem !important;
  }

  .single-post-service .hero__img:after {
    background: #171717b8 !important;
  }
  .service {
    margin-top: 4rem !important;
  }

  .page-template-front-page .hero__img:after {
    display: none;
  }

  .hero__bottom p {
    line-height: 130% !important;
    font-size: 1.6rem !important;
    max-width: 100% !important;
  }

  .preop-tests__list {
    gap: 1rem !important;
  }

  div.how-we-provide__image-block {
    height: auto;
  }
}



@media (max-width: 991.98px) {
  .about-additional__text,
  .about-additional__attention-text {
    font-size: 1.5rem;
  }

  .about-additional__text h2 {
    font-size: 2rem;
  }
  .about-additional__text h3 {
    font-size: 1.7rem;
  }

  .about-circumcision__text ul li,
  .about-circumcision__text ol li {
    font-size: 1.5rem;
  }

  .advantages__image-caption {
    font-size: 1.5rem !important;
  }
	


  .price__table p {
    font-size: 1.4rem !important;
  }

  .preop-tests__item-text,
  .price__table h4,
  .advantages__item-text p,
  .price__table td,
  .preop-tests__info-main p,
  .preop-tests__info-notes p,
  button.tab-btn,
  .wpcf7-not-valid-tip,
  .single-post-service .consultation-form__title,
  div.tab-content *,
  .faq__answer p,
  .service-benefits__item-desc p,
  .service-benefits__item-title,
  .how-we-provide__step p {
    font-size: 1.6rem !important;
  }
  .tab-content ul li:after {
    top: 0.5rem !important;
  }
  .service__item-label p {
    font-size: 1.2rem;
    font-weight: 400;
  }
  .service__item-value {
    padding: 0 3.2rem;
    text-align: center;
  }
}
@media (min-width: 991.98px) {
  .fixed__button-link--consultation {
    display: none !important;
  }
  .consultation-form__content--reviews {
    top: 16rem !important;
  }
}

.menu__body>ul>.menu-item-has-children:last-child li a {
    font-family: var(--font-family) !important;
    font-weight: 400 !important;
    font-size: 1.6rem !important;
    color: #5b5e60 !important;
	margin-bottom: .8rem !important;
    text-align: left !important;
}

.menu__body>ul>.menu-item-has-children:last-child li {
border: none !important;
}

.menu__body>ul>.menu-item-has-children:last-child li a:hover {
    color: #0057b7 !important;
}
@media (max-width: 991.98px) { 
	.menu__body>ul>.menu-item-has-children:last-child li a {
		padding: 0 !important;
        margin: 0 !important;
        font-size: 1.6rem !important;
        text-align: left !important;
}
	.menu__body>ul>.menu-item-has-children:last-child li {
		padding: 1.2rem 0 !important;
        width: 100% !important;
        text-align: left !important;
        border-bottom: .1rem solid #308ecc !important;
		
}
	
	.header li.menu-item-has-children .link-wrapper{
		padding-right: 3rem !important;
}
	
	.header__menu-items>li>.link-wrapper>a {
		white-space:wrap !important;
}
}

