/* Production media and geometry shared by the screenshot-derived pages. */
@media (min-width: 1672px) {
  .home-page .hero {
    max-width: 1672px;
    margin-left: auto;
    margin-right: auto;
  }
}
.home-page .service-tile {
  height: 224px;
  padding: 146px 20px 18px;
  background: var(--paper);
  border-radius: 22px;
}
.home-page .service-tile b {
  font-size: 15px;
  line-height: 1.15;
  max-width: 190px;
}
.home-page .service-tile .service-art {
  inset: 0 0 auto;
  width: 100%;
  height: 136px;
  border-radius: 0 0 55% 0 / 0 0 15% 0;
  mix-blend-mode: normal;
}
.home-page .service-tile .round-button {
  left: auto;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  background: var(--blue);
  color: white;
}
.home-doctor-image img {
  object-position: center 17%;
}
.review-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.review-tile {
  padding: 18px 16px 60px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  height: 210px;
}
.review-tile:after {
  display: none;
}
.review-tile p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}
/* Лаймовые звёзды на белом это 2,24:1. Тот же цвет, что у остальных звёзд. */
.review-stars {
  color: #8a6000;
  letter-spacing: 0;
}
.review-tile small {
  color: var(--muted);
}
.review-tile small b {
  color: var(--blue);
  font-size: 12px;
}
/* Карточка карты в подвале живёт в reference.css: подвал стал синей полосой
   по макету, и светлая плашка со вшитым адресом в псевдоэлементе давала
   второй адрес поверх первого. */
.design-system-page .ds-art-preview .ref-image {
  max-width: 280px;
}
.design-system-page .ds-media-art-slide .ref-image {
  max-width: 320px;
}
.design-system-page .ds-media-tail {
  background-image: none !important;
  background: transparent;
}
.design-system-page .ds-wave-right {
  background-image: none !important;
  background: var(--sky);
  border-radius: 100% 0 0;
  width: 482px;
  height: 424px;
}
.design-system-page .ds-wave-bottom {
  display: none;
}
.footer-bottom nav {
  flex-wrap: wrap;
}
.design-system-page .ds-digital-top,
.design-system-page .ds-digital-bottom,
.design-system-page .ds-digital-art-edge {
  background-image: none !important;
  background: #e6ddf8;
}
.design-system-page .ds-digital-art {
  background-image: url("assets/hd/icons.webp") !important;
  background-size: 400% 400% !important;
  background-position: 66.6667% 0 !important;
  mix-blend-mode: multiply;
}
.design-system-page .ds-blue-wave {
  background-image: none !important;
  background: var(--sky);
  border-radius: 0 100% 0 0;
}
.design-system-page .ds-phone-widget {
  background: var(--lime);
  border-radius: 100% 100% 8px 8px;
}
.design-system-page .ds-phone-widget .ref-image {
  background-image: url("assets/hd/icons.webp") !important;
  background-size: 400% 400% !important;
  background-position: 66.6667% 100% !important;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin: -6px auto 0;
}
.design-system-page .ds-tooth-art {
  border-radius: 15px 15px 50% 0;
}
.design-system-page .ds-blue-implant {
  border-radius: 16px;
}
@media (min-width: 1001px) {
  .home-page .hero--implant {
    height: 586px;
    margin-top: 95px;
    border-radius: 60px 60px 90px 90px;
  }
  .home-page .hero--implant .hero-inner {
    width: min(1100px, calc(100% - 124px));
    padding-top: 51px;
  }
  
  
  .home-page .hero--implant .hero-copy > p {
    margin-top: 18px;
  }
  .home-page .hero--implant .hero-stats {
    margin-top: 22px;
  }
  .home-page .hero--implant .hero-controls {
    bottom: 52px;
  }
  .home-page .hero--implant .hero-wave {
    display: none;
  }
  .home-page .hero--implant .hero-background {
    object-fit: cover;
    object-position: center;
  }
/* Зазор между карточками врачей: блок один и тот же на главной и на
   страницах услуг, поэтому и зазор общий. Было 42 px только на главной
   и 20 px везде ещё. */
  .home-doctors {
    gap: 42px;
  }
}
@media (max-width: 600px) {
  .home-page .service-tile {
    height: 200px;
    padding: 116px 12px 40px;
  }
  .home-page .service-tile .service-art {
    height: 106px;
  }
  .home-page .service-tile b {
    font-size: 12px;
  }
  .home-page .service-tile .round-button {
    width: 25px;
    height: 25px;
    bottom: 8px;
    right: 8px;
  }
  .review-tiles {
    grid-template-columns: 1fr;
  }
  .review-tile {
    height: 200px;
  }
  .review-tile p {
    font-size: 13px;
  }
  .review-tile small b {
    font-size: 13px;
  }
}
