.global-module-scss-module__oaqjXG__root {
  --pm-site-shell-max: 120rem;
}

.global-module-scss-module__oaqjXG__html,
.global-module-scss-module__oaqjXG__body {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .global-module-scss-module__oaqjXG__html,
  .global-module-scss-module__oaqjXG__body {
    overflow-x: hidden;
  }
}

.global-module-scss-module__oaqjXG__root,
.global-module-scss-module__oaqjXG__main,
.styles-module-scss-module__WfGqbq__wrapper,
.styles-module-scss-module__DO31BG__wrapper {
  min-width: 0;
}

.global-module-scss-module__oaqjXG__root,
.global-module-scss-module__oaqjXG__main {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .global-module-scss-module__oaqjXG__root,
  .global-module-scss-module__oaqjXG__main {
    overflow-x: hidden;
  }
}

@media (min-width: 1600px) {
  .global-module-scss-module__oaqjXG__html
    .global-module-scss-module__oaqjXG__body
    .global-module-scss-module__oaqjXG__root
    .global-module-scss-module__oaqjXG__main,
  .styles-module-scss-module__WfGqbq__header .styles-module-scss-module__WfGqbq__wrapper,
  .styles-module-scss-module__DO31BG__footer .styles-module-scss-module__DO31BG__wrapper {
    max-width: var(--pm-site-shell-max);
  }
}

@media (min-width: 1024px) {
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img > [data-home-hero],
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-home-hero-slider],
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img .swiper-wrapper,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-hero-slide],
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-hero-slide] > .relative,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-hero-slide] > .pm-home-hero-slide-frame {
    height: 100% !important;
    min-height: 100% !important;
  }
}

@media (min-width: 2200px) {
  .global-module-scss-module__oaqjXG__root {
    --pm-site-shell-max: 132rem;
  }
}

@media (min-width: 1800px) and (max-width: 1920px) {
  .global-module-scss-module__oaqjXG__html:root {
    --space-global-container: 2rem;
  }

  .global-module-scss-module__oaqjXG__html
    .global-module-scss-module__oaqjXG__body
    .global-module-scss-module__oaqjXG__root
    .global-module-scss-module__oaqjXG__main {
    padding-top: calc(var(--size-header-height) + 1.25rem);
  }

  .styles-module-scss-module__3PyzfW__header_text_block {
    padding: 3.25rem 2.5rem;
  }

  .global-module-scss-module__oaqjXG__root
    .styles-module-scss-module__3PyzfW__header_text_block
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary {
    font-size: 3rem;
  }

  .global-module-scss-module__oaqjXG__root
    .styles-module-scss-module__3PyzfW__header_text_block
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary {
    margin-bottom: 1.1rem;
    font-size: 4.75rem;
    line-height: 1;
  }

  .global-module-scss-module__oaqjXG__root
    .styles-module-scss-module__3PyzfW__header_text_block
    .styles-module-scss-module__3PyzfW__description {
    width: min(100%, 52rem);
    font-size: 1.08rem;
  }

  .pm-home-page .styles-module-scss-module__dOLlgW__main {
    gap: 1.25rem;
  }

  .pm-home-page .pm-home-hero-copy .styles-module-scss-module__3PyzfW__header_text_block {
    padding: 3rem 2rem;
    overflow: hidden;
  }

  .pm-home-page
    .pm-home-hero-copy
    .styles-module-scss-module__3PyzfW__header_text_block
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary {
    font-size: 3.15rem;
  }

  .pm-home-page
    .pm-home-hero-copy
    .styles-module-scss-module__3PyzfW__header_text_block
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary {
    font-size: 5.15rem;
    line-height: 0.88;
  }

  .pm-home-page .pm-home-hero-heading,
  .pm-home-page .pm-home-hero-summary {
    max-width: 100%;
  }

  .pm-home-page .pm-home-hero-mark {
    width: 4.25rem;
    height: 4.25rem;
  }

  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img > [data-home-hero],
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-home-hero-slider],
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img .swiper-wrapper,
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-hero-slide],
  .pm-home-page .styles-module-scss-module__NIUAVG__header_img_block .styles-module-scss-module__NIUAVG__img [data-hero-slide] > .relative {
    min-height: 33rem;
  }

  .pm-service-detail-hero,
  .pm-service-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem);
  }
}

@media (min-width: 761px) and (max-width: 1320px) {
  .pm-appointment-brand-hero__card,
  .pm-services-brand-hero__card,
  .pm-specialists-brand-hero__card,
  .pm-promotions-brand-hero__card,
  .pm-documents-brand-hero__card,
  .pm-news-brand-hero__card,
  .pm-contacts-brand-hero__card,
  .pm-patient-brand-hero__card {
    min-height: clamp(13.5rem, 20vw, 17.5rem);
    align-content: center;
    border-radius: 1.7rem;
    padding: clamp(1.35rem, 2.4vw, 2.1rem);
  }

  .pm-appointment-brand-hero__summary,
  .pm-services-brand-hero__summary,
  .pm-specialists-brand-hero__summary,
  .pm-promotions-brand-hero__summary,
  .pm-documents-brand-hero__summary,
  .pm-news-brand-hero__summary,
  .pm-contacts-brand-hero__summary,
  .pm-patient-brand-hero__summary {
    max-width: min(100%, 48rem);
  }

  .global-module-scss-module__oaqjXG__root
    .pm-appointment-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-services-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-specialists-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-promotions-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-documents-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-news-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-contacts-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-patient-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (max-width: 760px) {
  .global-module-scss-module__oaqjXG__root {
    --pm-site-shell-max: 100%;
  }

  .pm-appointment-page,
  .pm-services-page,
  .pm-specialists-page,
  .pm-promotions-page,
  .pm-documents-page,
  .pm-news-page,
  .pm-contacts-page,
  .pm-patient-page {
    gap: 0.9rem;
    padding-top: 0.85rem;
  }

  .pm-appointment-brand-hero__card,
  .pm-services-brand-hero__card,
  .pm-specialists-brand-hero__card,
  .pm-promotions-brand-hero__card,
  .pm-documents-brand-hero__card,
  .pm-news-brand-hero__card,
  .pm-contacts-brand-hero__card,
  .pm-patient-brand-hero__card {
    gap: 0.75rem;
    min-height: 0;
    border-radius: 1.25rem;
    padding: 1.05rem;
  }

  .pm-appointment-brand-hero__heading,
  .pm-services-brand-hero__heading,
  .pm-specialists-brand-hero__heading,
  .pm-promotions-brand-hero__heading,
  .pm-documents-brand-hero__heading,
  .pm-news-brand-hero__heading,
  .pm-contacts-brand-hero__heading,
  .pm-patient-brand-hero__heading {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
  }

  .pm-appointment-brand-hero__mark,
  .pm-services-brand-hero__mark,
  .pm-specialists-brand-hero__mark,
  .pm-promotions-brand-hero__mark,
  .pm-documents-brand-hero__mark,
  .pm-news-brand-hero__mark,
  .pm-contacts-brand-hero__mark,
  .pm-patient-brand-hero__mark {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
  }

  .pm-appointment-brand-hero__summary,
  .pm-services-brand-hero__summary,
  .pm-specialists-brand-hero__summary,
  .pm-promotions-brand-hero__summary,
  .pm-documents-brand-hero__summary,
  .pm-news-brand-hero__summary,
  .pm-contacts-brand-hero__summary,
  .pm-patient-brand-hero__summary {
    gap: 0.7rem;
    max-width: 100%;
  }

  .global-module-scss-module__oaqjXG__root
    .pm-appointment-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-services-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-specialists-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-promotions-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-documents-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-news-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-contacts-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary,
  .global-module-scss-module__oaqjXG__root
    .pm-patient-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__secondary {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    line-height: 1.04;
  }

  .global-module-scss-module__oaqjXG__root
    .pm-appointment-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-services-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-specialists-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-promotions-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-documents-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-news-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-contacts-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary,
  .global-module-scss-module__oaqjXG__root
    .pm-patient-brand-hero__card
    .styles-module-scss-module__3PyzfW__h1
    .styles-module-scss-module__3PyzfW__primary {
    font-size: 2.5rem;
    line-height: 1;
  }

  .pm-appointment-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-services-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-specialists-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-promotions-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-documents-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-news-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-contacts-brand-hero__card .styles-module-scss-module__3PyzfW__description,
  .pm-patient-brand-hero__card .styles-module-scss-module__3PyzfW__description {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .pm-services-hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(5.4rem, auto);
    gap: 0.45rem;
    width: 100%;
  }

  .pm-services-hero-search__field {
    min-width: 0;
  }

  .pm-services-hero-search__button,
  .pm-specialists-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-promotions-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-contacts-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-faq-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-preparation-hero-actions .styles-module-scss-module____zJ0a__button {
    min-height: 2.45rem;
    padding: 0.62rem 0.85rem;
    font-size: 0.9rem;
  }

  .pm-specialists-hero-actions,
  .pm-promotions-hero-actions,
  .pm-contacts-hero-actions,
  .pm-faq-hero-actions,
  .pm-preparation-hero-actions {
    gap: 0.5rem;
  }

  .pm-specialists-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-promotions-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-contacts-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-faq-hero-actions .styles-module-scss-module____zJ0a__button,
  .pm-preparation-hero-actions .styles-module-scss-module____zJ0a__button {
    flex: 0 1 auto;
    width: auto;
  }
}

@media (max-width: 420px) {
  .pm-appointment-brand-hero__heading,
  .pm-services-brand-hero__heading,
  .pm-specialists-brand-hero__heading,
  .pm-promotions-brand-hero__heading,
  .pm-documents-brand-hero__heading,
  .pm-news-brand-hero__heading,
  .pm-contacts-brand-hero__heading,
  .pm-patient-brand-hero__heading {
    align-items: flex-start;
  }

  .pm-appointment-brand-hero__mark,
  .pm-services-brand-hero__mark,
  .pm-specialists-brand-hero__mark,
  .pm-promotions-brand-hero__mark,
  .pm-documents-brand-hero__mark,
  .pm-news-brand-hero__mark,
  .pm-contacts-brand-hero__mark,
  .pm-patient-brand-hero__mark {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }
}

/* Shared public empty states for catalogs and content sections. */
.pm-public-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 16.25rem);
  align-items: center;
  gap: clamp(1.125rem, 2.4vw, 2.125rem);
  width: 100%;
  min-height: clamp(11.875rem, 18vw, 16.25rem);
  border: 1px solid var(--pm-brand-200, #c7dbff);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  color: var(--pm-ink-900, #0f172a);
}

.pm-public-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.125rem;
  background: var(--pm-brand-100, #dce9ff);
  color: var(--pm-brand-700, #174caf);
}

.pm-public-empty__copy {
  min-width: 0;
  max-width: 48.75rem;
}

.pm-public-empty__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--pm-brand-700, #174caf);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.pm-public-empty h2 {
  margin: 0;
  color: var(--pm-ink-900, #0f172a);
  font-family: var(--pm-font-heading, sans-serif);
  font-size: clamp(1.5rem, 2.25vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
}

.pm-public-empty__copy > p:last-child {
  max-width: 68ch;
  margin: 0.75rem 0 0;
  color: var(--pm-ink-600, #475569);
  font-size: clamp(0.98rem, 1.1vw, 1.12rem);
  line-height: 1.5;
}

.pm-public-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.625rem;
  width: 16.25rem;
  min-width: 0;
  justify-self: end;
}

.pm-public-empty__actions a {
  min-width: 100%;
  text-align: center;
  white-space: normal;
}

.pm-specialists-group--empty {
  min-height: 0;
}

.pm-appointment-page-doctor-results > .pm-public-empty {
  min-height: clamp(15rem, 30vh, 22.5rem);
}

@media (max-width: 900px) {
  .pm-public-empty {
    grid-template-columns: minmax(0, 1fr);
  }

  .pm-public-empty__actions {
    grid-column: auto;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
  }

  .pm-public-empty__actions a {
    min-width: min(100%, 16.25rem);
  }
}

@media (max-width: 560px) {
  .pm-public-empty {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 1rem;
    padding: 1.375rem;
  }

  .pm-public-empty__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.875rem;
  }

  .pm-public-empty__actions {
    grid-column: auto;
  }

  .pm-public-empty__actions a {
    width: 100%;
    min-width: 0;
  }
}

/* Keep short Russian page titles intact on narrow screens. */
.pm-appointment-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-services-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-specialists-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-promotions-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-documents-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-news-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-contacts-brand-hero__title .styles-module-scss-module__3PyzfW__secondary,
.pm-patient-brand-hero__title .styles-module-scss-module__3PyzfW__secondary {
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 760px) {
  .pm-home-hero-heading--wordmark {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .pm-home-hero-heading--wordmark,
  .pm-home-hero-heading--wordmark .styles-module-scss-module__3PyzfW__h1,
  .pm-home-hero-heading--wordmark .pm-brand-hero-logo-primary {
    width: 100% !important;
    max-width: 100%;
  }

  .pm-home-hero-heading--wordmark .styles-module-scss-module__3PyzfW__h1 {
    flex: 1 1 100%;
    min-width: 0;
  }

  .pm-home-hero-heading--wordmark
    .styles-module-scss-module__3PyzfW__secondary {
    width: auto;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .pm-home-hero-heading--wordmark .pm-brand-hero-logo-primary {
    margin-bottom: 0.15rem;
  }

  .pm-home-hero-heading--wordmark .pm-brand-hero-logo-primary img {
    width: min(100%, 20rem);
  }

  .pm-home-page .pm-home-hero-stats .pm-home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .pm-home-page .pm-home-hero-stats .styles-module-scss-module__VmClRG__card {
    min-width: 0;
    gap: 0.7rem;
    padding: 0.9rem;
  }
}

/* Preserve compact controls while keeping their whole visual area easy to tap. */
@media (max-width: 1024px) {
  .pm-home-page .styles-module-scss-module__W3tbia__link,
  .pm-home-page .styles-module-scss-module__iQNpUW__phone {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  [data-home-hero-slider] .swiper-pagination-bullet {
    position: relative;
    width: 2.75rem !important;
    height: 2.75rem !important;
    margin: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
  }

  [data-home-hero-slider] .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    inset: 1.1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
  }

  [data-home-hero-slider] .swiper-pagination-bullet-active::before {
    inset: 0.95rem;
    background: #fff;
  }
}
