:root {
  --site-paper: #fbfaf6;
  --site-milk: #f2efe6;
  --site-ink: #11120f;
  --site-muted: #67685f;
  --site-blue: #1667ff;
  --site-lime: #c8ff34;
}

/* The two bespoke pages do not load editorial.css, so they receive the shared menu here. */
.site-unified-page #mobile-menu.editorial-mobile-menu {
  background: var(--site-milk) !important;
}

.site-unified-page #mobile-menu.editorial-mobile-menu::before,
.site-unified-page #mobile-menu.editorial-mobile-menu::after {
  display: none !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__nav > a,
.site-unified-page #mobile-menu .editorial-mobile-menu__nav summary,
.site-unified-page #mobile-menu .editorial-mobile-menu__nav details > div a,
.site-unified-page #mobile-menu .editorial-mobile-menu__nav details[open] > summary {
  color: var(--site-ink) !important;
  background: transparent !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 650 !important;
  letter-spacing: -.04em !important;
  line-height: 1.1 !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__nav details[open] > summary span {
  color: var(--site-ink) !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 650 !important;
  letter-spacing: -.04em !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__nav details > div {
  background: transparent !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__nav > a > i,
.site-unified-page #mobile-menu .editorial-mobile-menu__nav details > div a > i,
.site-unified-page #mobile-menu .editorial-mobile-menu__cta > i {
  display: none !important;
}

/* Главная кнопка меню — лаймовая primary-кнопка; телефон крупный, с зоной нажатия 44px. */
.site-unified-page #mobile-menu .editorial-mobile-menu__cta {
  min-height: 56px;
  border: 1px solid var(--site-ink) !important;
  border-radius: 0 !important;
  color: var(--site-ink) !important;
  background: var(--site-lime) !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__cta:focus-visible,
.site-unified-page #mobile-menu .editorial-mobile-menu__contacts a:focus-visible {
  outline: 2px solid var(--site-ink);
  outline-offset: 3px;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__contacts {
  padding-top: 6px;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 0;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__contacts a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--site-ink) !important;
  opacity: 1;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__contacts a[href^="tel:"] {
  font-size: 19px !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__contacts a[target="_blank"] {
  font-size: 0 !important;
}

.site-unified-page #mobile-menu .editorial-mobile-menu__contacts a[target="_blank"]::before {
  content: "Telegram";
  font-size: 13px;
  font-weight: 800;
}

@media (max-height: 690px) and (max-width: 760px) {
  .site-unified-page #mobile-menu .editorial-mobile-menu__cta {
    min-height: 52px;
  }
}

/* Typography follows the approved dentistry page. */
.site-unified-page main h1:where(:not(.pst, .pst *)),
.site-unified-page main h2:where(:not(.pst, .pst *)){
  font-family: "Manrope", Arial, sans-serif !important;
  font-weight: 650 !important;
  font-style: normal !important;
  letter-spacing: -.045em !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

.site-unified-page main h1:where(:not(.pst, .pst *)){
  font-size: clamp(58px, 6.7vw, 104px) !important;
  font-weight: 700 !important;
  letter-spacing: -.075em !important;
  line-height: .94 !important;
}

.site-unified-page main h2:where(:not(.pst, .pst *)){
  font-size: clamp(36px, 4vw, 56px) !important;
}

/* Метка оглавления статьи — не заголовок раздела: общий размер h2 делал ее 51 px. */
.site-unified-page main .seo-article-toc h2:where(:not(.pst, .pst *)){
  font-size: 16px !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
}

.site-unified-page main .seo-article-toc .seo-shell > div:where(:not(.pst, .pst *)){
  row-gap: 28px;
}

.site-unified-page main :is(h1, h2, h3) :is(em, strong, mark):where(:not(.pst, .pst *)){
  font: inherit !important;
  font-style: normal !important;
  letter-spacing: inherit !important;
}

.site-unified-page main h1 em:where(:not(.pst, .pst *)){
  display: inline;
  padding-inline: .04em;
  color: var(--site-ink) !important;
  background: linear-gradient(transparent 14%, var(--site-lime) 14%, var(--site-lime) 88%, transparent 88%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site-unified-page main h1 em:where(:not(.pst, .pst *))::before{
  display: block;
  height: .08em;
  content: "";
}

.site-unified-page main h2 em:where(:not(.pst, .pst *)){
  color: var(--site-blue) !important;
}

/* На синей секции формы синий акцент сливался с фоном — там акцент лаймовый, как задумано в seo-pages.css. */
.site-unified-page main .seo-lead h2 em:where(:not(.pst, .pst *)){
  color: var(--site-lime) !important;
}

.site-unified-page main h3:where(:not(.pst, .pst *)){
  font-family: "Manrope", Arial, sans-serif !important;
  font-style: normal !important;
}

/* Buttons keep their focus indication while losing decorative borders and arrows. */
.site-unified-page main :is(a, button)[class*="button"]:where(:not(.pst, .pst *)),
.site-unified-page main a[class*="cta"]:where(:not(.pst, .pst *)),
.site-unified-page main button[type="submit"]:where(:not(.pst, .pst *)),
.site-unified-page main :is(.seo-case-teaser, .seo-expert-teaser, .seo-related) a:where(:not(.pst, .pst *)){
  border: 0 !important;
}

.site-unified-page main :is(a, button):focus-visible:where(:not(.pst, .pst *)){
  outline: 3px solid var(--site-blue) !important;
  outline-offset: 3px;
}

/* Specialist quote treatment. */
.site-unified-page .seo-quote {
  position: relative;
  margin: 0;
  padding: clamp(38px, 5vw, 64px) 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-unified-page .seo-quote::before {
  display: block;
  margin-bottom: 18px;
  color: var(--site-lime);
  content: "“";
  font-family: "Manrope", Arial, sans-serif;
  font-size: 72px;
  font-weight: 750;
  line-height: .5;
}

.site-unified-page .seo-quote blockquote {
  max-width: 1040px;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: clamp(22px, 2.5vw, 34px) !important;
  font-weight: 550 !important;
  font-style: normal !important;
  letter-spacing: -.035em;
  line-height: 1.3 !important;
}

.site-unified-page .seo-quote figcaption {
  margin-top: 22px;
  color: var(--site-muted);
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* The existing people become one calm portrait carousel, like the dentistry team. */
.site-unified-page .seo-team-section > .seo-shell {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.site-unified-page .seo-team-section .seo-section__intro {
  display: block;
  margin: 0;
}

.site-unified-page .seo-team-grid {
  display: block !important;
  min-width: 0;
}

.site-unified-page .seo-team-card {
  display: grid !important;
  min-height: 390px;
  padding: 0 !important;
  border: 0 !important;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
  align-items: center;
  background: transparent !important;
  box-shadow: none !important;
}

.site-unified-page .seo-team-card[hidden] {
  display: none !important;
}

.site-unified-page .seo-team-card figure {
  height: min(440px, 47vw) !important;
  min-height: 340px;
  margin: 0;
  border: 0 !important;
  border-left: 7px solid var(--site-lime) !important;
  border-radius: 0 !important;
  background: #eef1f5;
}

.site-unified-page .seo-team-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

.site-unified-page .seo-team-card h3 {
  margin: 0 0 14px !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.site-unified-page .seo-team-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--site-blue) !important;
  font-size: 15px !important;
}

.site-unified-page .seo-team-card p {
  color: var(--site-ink) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.site-team-switcher {
  display: flex;
  margin-top: 26px;
  gap: 10px;
}

.site-team-switcher button {
  width: 50px;
  height: 50px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--site-milk);
  cursor: pointer;
}

.site-team-switcher button[aria-pressed="true"] {
  outline: 3px solid var(--site-blue);
  outline-offset: 2px;
}

.site-team-switcher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* The expanded responsibility matrix uses the same portrait-switcher pattern. */
.site-unified-page #team.team-matrix:where(:not(.pst, .pst *)){
  padding: clamp(78px, 9vw, 126px) 0 !important;
  border: 0 !important;
  background: var(--site-paper) !important;
}

.site-unified-page .team-matrix__intro {
  padding: 0 0 clamp(34px, 5vw, 64px) !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr) !important;
}

.site-unified-page .team-matrix__index {
  border: 0 !important;
}

.site-unified-page .team-matrix-row {
  border: 0 !important;
  background: transparent !important;
}

.site-unified-page .team-matrix-row[hidden],
.site-unified-page .team-matrix-row__detail[hidden] {
  display: none !important;
}

.site-unified-page .team-matrix-row__trigger {
  display: none !important;
}

.site-unified-page .team-matrix-row__detail {
  display: grid !important;
  min-height: 470px;
  padding: 0 !important;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  background: var(--site-milk);
  box-shadow: 12px 12px 0 var(--site-lime);
}

.site-unified-page .team-matrix-row__detail figure {
  width: 100% !important;
  height: 100% !important;
  min-height: 470px;
  margin: 0 !important;
  grid-row: 1 / 3;
  overflow: hidden;
  border: 0 !important;
  border-left: 7px solid var(--site-lime) !important;
  border-radius: 0 !important;
  background: #eef1f5;
  box-shadow: none !important;
}

.site-unified-page .team-matrix-row__detail figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.site-unified-page .team-matrix-row__detail > div,
.site-unified-page .team-matrix-row__detail dl {
  margin: 0 !important;
  padding: clamp(28px, 4vw, 54px) !important;
  border: 0 !important;
}

.site-unified-page .team-matrix-row__detail > div {
  padding-bottom: 24px !important;
}

.site-unified-page .team-matrix-row__detail h3 {
  margin: 22px 0 16px !important;
  font-size: clamp(27px, 3vw, 42px) !important;
}

.site-unified-page .team-matrix-row__detail dl {
  padding-top: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.site-unified-page .team-matrix-row__detail dl div + div {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.site-unified-page .team-matrix__footer {
  display: none !important;
}

.site-unified-page .team-matrix > .container > .site-team-switcher {
  margin: 0 0 28px;
}

/* Exact dentistry team component, shared by every non-protected page. */
.site-unified-page .sd-team:where(:not(.pst, .pst *)){
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 80px 0;
  color: var(--site-ink);
  background: var(--site-paper);
}

.site-unified-page .sd-team:where(:not(.pst, .pst *))::before{
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -420px;
  width: min(85vw, 1080px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .1;
  background: var(--site-blue);
  content: "";
  -webkit-mask-image: radial-gradient(circle, #000 1.5px, transparent 2px), radial-gradient(ellipse at 75% 45%, #000 10%, transparent 64%);
  mask-image: radial-gradient(circle, #000 1.5px, transparent 2px), radial-gradient(ellipse at 75% 45%, #000 10%, transparent 64%);
  -webkit-mask-size: 16px 16px, 100% 100%;
  mask-size: 16px 16px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
  mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.site-unified-page .sd-team .sd-shell:where(:not(.pst, .pst *)){
  width: min(1320px, calc(100% - 48px));
  max-width: 1320px;
  margin-inline: auto;
}

.site-unified-page .sd-team__layout:where(:not(.pst, .pst *)){
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 32px;
}

.site-unified-page .sd-team__intro:where(:not(.pst, .pst *)){
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 24px;
}

.site-unified-page .sd-team__intro > h2:where(:not(.pst, .pst *)){
  max-width: 620px;
  margin: 0;
  font-size: clamp(36px, 4vw, 56px) !important;
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.site-unified-page .sd-team__intro > p:where(:not(.pst, .pst *)){
  max-width: 540px;
  margin: 0;
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.7;
}

.site-unified-page .sd-team__stats:where(:not(.pst, .pst *)){
  display: grid;
  width: 100%;
  max-width: 480px;
  margin: 12px 0 0;
  padding: 24px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--site-milk);
}

.site-unified-page .sd-team__stats > div:where(:not(.pst, .pst *)){
  min-width: 0;
  padding: 0 28px;
}

.site-unified-page .sd-team__stats > div + div:where(:not(.pst, .pst *)){
  border-left: 1px solid rgba(17, 18, 15, .24);
}

.site-unified-page .sd-team__stats dt:where(:not(.pst, .pst *)){
  color: var(--site-blue);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: 1;
}

.site-unified-page .sd-team__stats dd:where(:not(.pst, .pst *)){
  margin: 10px 0 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-unified-page .sd-team-carousel:where(:not(.pst, .pst *)){
  --team-portrait-width: clamp(180px, 20vw, 280px);
  display: grid;
  min-width: 0;
  min-height: 520px;
  width: 100%;
  max-width: 760px;
  grid-template-columns: var(--team-portrait-width) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 2.5vw, 36px);
  justify-self: end;
}

.site-unified-page .sd-team-carousel__slides:where(:not(.pst, .pst *)){
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  touch-action: pan-y;
}

.site-unified-page .sd-team-slide:where(:not(.pst, .pst *)){
  display: grid;
  min-width: 0;
  margin: 0;
  grid-area: 1 / 1 / -1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

.site-unified-page .sd-team-slide[hidden]:where(:not(.pst, .pst *)){
  display: grid;
  visibility: hidden;
  pointer-events: none;
}

.site-unified-page .sd-team-slide__portrait:where(:not(.pst, .pst *)){
  display: flex;
  width: 100%;
  height: calc(var(--team-portrait-width) * 1.35);
  overflow: hidden;
  margin: 0;
  border: 0;
  border-left: 9px solid var(--site-lime);
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
}

.site-unified-page .sd-team-slide__portrait img:where(:not(.pst, .pst *)){
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.site-unified-page .sd-team-slide__portrait img:is(
  [src$="/razzorenov-maxim-removebg-preview.webp"]:where(:not(.pst, .pst *)),
  [src$="/nikita-mihailov.webp"],
  [src$="/sorokin-iliya.webp"]
) {
  transform: scale(1.1);
  transform-origin: center top;
}

.site-unified-page .sd-team-slide__body:where(:not(.pst, .pst *)){
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.site-unified-page .sd-team-slide__role:where(:not(.pst, .pst *)){
  margin: 0 0 12px;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.site-unified-page .sd-team-slide__body h3:where(:not(.pst, .pst *)){
  margin: 0 !important;
  color: var(--site-ink);
  font-size: clamp(26px, 2.4vw, 34px) !important;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.site-unified-page .sd-team-slide__focus:where(:not(.pst, .pst *)){
  margin: 16px 0 0;
  color: var(--site-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.site-unified-page .sd-team-slide__description:where(:not(.pst, .pst *)){
  margin: 20px 0 0;
  color: var(--site-ink);
  font-size: 15px;
  line-height: 1.65;
}

.site-unified-page .sd-team-carousel__people:where(:not(.pst, .pst *)){
  display: flex;
  margin: 36px 0 4px;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  align-self: start;
  gap: 8px;
}

.site-unified-page .sd-team-carousel__person:where(:not(.pst, .pst *)){
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--site-milk);
  opacity: .75;
  cursor: pointer;
}

.site-unified-page .sd-team-carousel__person img:where(:not(.pst, .pst *)){
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  pointer-events: none;
}

.site-unified-page .sd-team-carousel__person:hover:where(:not(.pst, .pst *)),
.site-unified-page .sd-team-carousel__person[aria-pressed="true"]:where(:not(.pst, .pst *)){
  opacity: 1;
}

.site-unified-page .sd-team-carousel__person[aria-pressed="true"]:where(:not(.pst, .pst *)){
  box-shadow: 0 0 0 3px var(--site-paper), 0 0 0 5px var(--site-blue);
}

.site-unified-page .sd-team-carousel__person:focus-visible:where(:not(.pst, .pst *)){
  outline: 2px solid var(--site-ink) !important;
  outline-offset: 7px;
}

.site-unified-page .sd-team-carousel__status:where(:not(.pst, .pst *)){
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-unified-page .sd-team-carousel:where(:not(.pst, .pst *)){
    min-height: 420px;
  }

  .site-unified-page .sd-team-carousel__people:where(:not(.pst, .pst *)){
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .site-unified-page .sd-team__layout:where(:not(.pst, .pst *)){
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .site-unified-page .sd-team-carousel:where(:not(.pst, .pst *)){
    min-height: 0;
    max-width: 680px;
    justify-self: start;
  }
}

/* Form and contact popup use the same paper-card language. */
.site-unified-page :is(.seo-lead-form, .executive-form, .quiz-card) {
  color: var(--site-ink) !important;
  background: var(--site-paper) !important;
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: 12px 12px 0 var(--site-lime) !important;
}

.site-unified-page :is(.seo-lead-form, .executive-form, .quiz-card) :is(input:not([type="checkbox"]):not([type="radio"]), textarea) {
  border: 0 !important;
  border-bottom: 1px solid var(--site-ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.site-unified-page .quiz-expert {
  border: 0 !important;
  background: var(--site-milk) !important;
  box-shadow: 7px 7px 0 var(--site-lime) !important;
}

.site-unified-page .quiz-expert blockquote {
  font-family: "Manrope", Arial, sans-serif !important;
  font-style: normal !important;
}

.site-unified-page #contact-widget.aat-contact-widget #contact-menu {
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: 10px 10px 0 var(--site-lime) !important;
}

.site-unified-page #contact-widget.aat-contact-widget #contact-menu :is(#link-wa, #link-tg, #link-max) {
  border: 0 !important;
  border-radius: 12px !important;
}

@media (max-width: 760px) {
  /* В 12vw слова вроде «недвижимости» и «Разрабатываем» не помещались в строку на телефонах. */
  .site-unified-page main h1:where(:not(.pst, .pst *)){
    font-size: clamp(32px, 10.8vw, 52px) !important;
    letter-spacing: -.06em !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .site-unified-page main h2:where(:not(.pst, .pst *)){
    font-size: clamp(30px, 8.2vw, 38px) !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .site-unified-page .seo-team-section > .seo-shell {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-unified-page .seo-team-card {
    min-height: 0;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .site-unified-page .seo-team-card figure {
    width: min(82vw, 310px) !important;
    height: min(98vw, 390px) !important;
    min-height: 0;
  }

  .site-unified-page .seo-team-card h3 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .site-unified-page :is(.seo-lead-form, .executive-form, .quiz-card) {
    box-shadow: 7px 7px 0 var(--site-lime) !important;
  }

  .site-unified-page .team-matrix__intro {
    padding: 0 0 34px !important;
    grid-template-columns: 1fr !important;
  }

  .site-unified-page .team-matrix-row__detail {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    box-shadow: 7px 7px 0 var(--site-lime);
  }

  .site-unified-page .team-matrix-row__detail figure {
    width: min(82vw, 330px) !important;
    height: min(104vw, 420px) !important;
    min-height: 0;
    grid-row: auto;
  }

  .site-unified-page .team-matrix-row__detail > div,
  .site-unified-page .team-matrix-row__detail dl {
    padding: 28px 24px !important;
  }

  .site-unified-page .team-matrix-row__detail dl {
    padding-top: 0 !important;
    grid-template-columns: 1fr;
  }

  .site-unified-page .sd-team:where(:not(.pst, .pst *)){
    padding: 48px 0 !important;
  }

  .site-unified-page .sd-team .sd-shell:where(:not(.pst, .pst *)){
    width: calc(100% - 40px);
  }

  .site-unified-page .sd-team__intro:where(:not(.pst, .pst *)){
    gap: 24px;
  }

  .site-unified-page .sd-team__intro > p:where(:not(.pst, .pst *)){
    font-size: 16px;
  }

  .site-unified-page .sd-team__layout:where(:not(.pst, .pst *)){
    gap: 36px;
  }

  .site-unified-page .sd-team__stats:where(:not(.pst, .pst *)){
    margin-top: 4px;
    padding: 20px 0;
  }

  .site-unified-page .sd-team__stats > div:where(:not(.pst, .pst *)){
    padding: 0 20px;
  }

  .site-unified-page .sd-team:where(:not(.pst, .pst *))::before{
    top: 180px;
    right: -240px;
    width: 680px;
  }

  .site-unified-page .sd-team-carousel:where(:not(.pst, .pst *)){
    --team-portrait-width: min(100%, 280px, 35.2svh);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 0;
  }

  .site-unified-page .sd-team-slide__portrait:where(:not(.pst, .pst *)){
    width: var(--team-portrait-width);
    height: min(350px, calc((100vw - 40px) * 1.25), 44svh);
    border-left-width: 6px;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .site-unified-page .sd-team-slide__body:where(:not(.pst, .pst *)){
    display: block;
    padding-top: 24px;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .site-unified-page .sd-team-slide__role:where(:not(.pst, .pst *)){
    margin-bottom: 10px;
    font-size: 14px;
  }

  .site-unified-page .sd-team-slide__body h3:where(:not(.pst, .pst *)){
    font-size: clamp(28px, 6.5vw, 32px) !important;
  }

  .site-unified-page .sd-team-slide__focus:where(:not(.pst, .pst *)){
    margin-top: 14px;
  }

  .site-unified-page .sd-team-slide__description:where(:not(.pst, .pst *)){
    margin-top: 18px;
    font-size: 16px;
  }

  .site-unified-page .sd-team-carousel__people:where(:not(.pst, .pst *)){
    margin: 28px 0 4px;
    grid-column: 1;
    grid-row: 3;
  }

  /* Шесть аватаров по 48 px не помещались на 320–360 px: сжимаются поровну, не больше 48 px. */
  .site-unified-page .sd-team-carousel__person:where(:not(.pst, .pst *)){
    width: auto;
    height: auto;
    min-width: 0;
    flex: 0 1 48px;
    aspect-ratio: 1 / 1;
  }
}
