/* Оформление блока филиалов со страницы «О нас» (additional.css). */
.about-branches {
  padding: clamp(56px, 7vw, 104px) 0;
  color: #444;
}
.about-branches__intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-bottom: 52px;
}
.about-branches__title,
.about-branches__card-title {
  margin: 0;
  color: #444;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.64px;
}
.about-branches__intro-copy {
  display: grid;
  gap: 12px;
  max-width: 440px;
  padding-top: 4px;
}
.about-branches__lead,
.about-branches__notice,
.about-branches__description,
.about-branches__address,
.about-branches__features {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
}
.about-branches__notice strong {
  color: #0b9da6;
  font-weight: 500;
}
.about-branches__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.about-branches__column { min-width: 0; }
.about-branches__card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #f8f8f8;
}
.about-branches__media {
  aspect-ratio: 670 / 447;
  overflow: hidden;
}
.about-branches__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-branches__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-height: 540px;
  padding: 40px;
}
.about-branches__heading { display: grid; gap: 6px; }
.about-branches__address { color: #9f9f9f; font-style: normal; }
.about-branches__directions { width: 100%; }
.about-branches__directions > p {
  margin: 0 0 12px;
  color: #9f9f9f;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
}
.about-branches__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-branches__chips li {
  padding: 7px 14px;
  border-radius: 50px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
}
.about-branches__chips .about-branches__chip--children { background: #e7f7f5; color: #0b9da6; }
.about-branches__features {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.about-branches__features li { display: flex; align-items: center; gap: 10px; }
.about-branches__features img { flex: 0 0 auto; display: block; }
.about-branches__link.btn.green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 6px 14px 8px;
  background: #e7f7f5;
  color: #0b9da6;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
}
.about-branches__link img { display: block; flex: 0 0 auto; }
.about-branches__link:focus-visible { outline: 2px solid #0b9da6; outline-offset: 4px; }
.about-branches + .about_gallery {
  margin-top: clamp(3.25rem, 6vw, 5rem);
  scroll-margin-top: 7rem;
}
@media (max-width: 1199px) {
  .about-branches__body { padding: 24px; min-height: 540px; }
  .about-branches__card-title { font-size: 28px; line-height: 34px; }
}
@media (max-width: 767px) {
  .about-branches { padding: 52px 0; }
  .about-branches__intro,
  .about-branches__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about-branches__intro { margin-bottom: 32px; }
  .about-branches__intro-copy { max-width: none; padding-top: 0; }
  .about-branches__title { font-size: 28px; line-height: 34px; letter-spacing: -0.56px; }
  .about-branches__title br { display: none; }
  .about-branches__body { min-height: 0; padding: 24px 20px; }
  .about-branches__card-title { font-size: 26px; line-height: 32px; letter-spacing: -0.52px; }
  .about-branches__link.btn.green { margin-top: 8px; }
}

/* В сокращённых карточках нет списка направлений лечения. */
.emax-page .about-branches__body { min-height: 0; }
.emax-branches-material { white-space: nowrap; }
