/* «Экстренная помощь»: full block, short note (legal TZ 2д). Kept out of the home bundle on purpose. */
.emergency-block { padding: clamp(32px, 5vw, 56px) 0; scroll-margin-top: 110px; }
.emergency-block__card { margin: 0; }
.emergency-block__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.emergency-block__column > * { margin: 0 0 14px; }
.emergency-block__column > :last-child { margin-bottom: 0; }
.emergency-block__column ul { padding-left: 20px; }
.emergency-block__column li { margin-bottom: 6px; }
.emergency-block__column:first-child > p:first-child { font-size: 1.15em; }
.emergency-block a, .emergency-faq a, .emergency-note a, .emergency-note-inline a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.emergency-note { margin: 10px 0; font-size: 13px; line-height: 1.45; }
.site-footer .footer-emergency { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.site-footer .footer-emergency + .medical-warning { margin-top: 0; padding-top: 12px; border-top: 0; }
.site-footer .emergency-note { max-width: 760px; margin: 0; font-size: 13px; line-height: 1.5; }
.site-footer .emergency-note a { display: inline; margin: 0; padding: 0; }
.help-page__notice { margin: 18px 0 0; max-width: 720px; font-size: 15px; line-height: 1.5; }
#booking-modal .emergency-note { flex: none; margin: 0; padding: 0 var(--space-16, 16px) var(--space-8, 8px); }
.emergency-faq ul { padding-left: 20px; }
/* The row of links has no room for a ninth item: on wide screens the link lives in the contact line. */
@media (min-width: 1101px) {
  #site-header:not(.has-compact-navigation) .nav-links a[href="/#ekstrennaya-pomoshch"] { display: none; }
}
#site-header .header-emergency { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
@media (max-width: 1100px) {
  #site-header .header-emergency { display: none; }
}
@media (max-width: 760px) {
  .emergency-block__grid { grid-template-columns: minmax(0, 1fr); }
  #booking-modal .emergency-note { padding: 0 var(--space-12, 12px) var(--space-4, 4px); font-size: 12px; }
}
/* «Условия оказания услуг»: the card on the home page and the link in the booking window. */
.service-terms-link { margin-top: 16px; }
.service-terms-link a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 24px; border: 1px solid #e2dcd1; border-radius: 24px; background: #fff; color: #1e4d41; font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; font-size: 20px; font-weight: 400; line-height: 1.3; text-decoration: none; }
.service-terms-link b { color: #b3502f; font-weight: 400; }
#booking-modal .booking-modal__terms { margin-right: auto; }
