.industrial-service-detail .industrial-hero-photo {
  grid-area: photo;
  align-self: center;
  margin: 0;
  min-width: 0;
}

.industrial-service-detail .industrial-hero-photo figcaption {
  margin-top: 7px;
  color: #dbe5f2;
  font-size: .84rem;
}

.industrial-service-detail:lang(en) .industrial-hero-photo figcaption {
  color: var(--service-muted);
}

.industrial-service-detail .industrial-hero-photo[data-portrait] img {
  width: min(100%, clamp(230px, 26vw, 300px));
  aspect-ratio: var(--industrial-photo-ratio);
  margin-inline: auto;
  object-fit: contain;
}

.industrial-service-detail .industrial-hero-photo[data-portrait] figcaption {
  text-align: center;
}

.industrial-service-detail .service-related a {
  display: inline-block;
  max-width: 100%;
}

.industrial-service-detail .service-faq summary {
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .industrial-service-detail ~ .en-section.en-wrap {
    width: calc(100% - clamp(16px, 4vw, 36px) - 70px);
    margin-inline: clamp(16px, 4vw, 36px) 70px;
  }

  .industrial-service-detail ~ .seo-service-network {
    padding-inline: clamp(16px, 4vw, 36px) 70px;
  }

  .industrial-service-detail .service-cards,
  .industrial-service-detail .service-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .industrial-service-detail .service-actions a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 620px) {
  .industrial-service-detail ~ .en-section.en-wrap {
    width: calc(100% - 70px);
    margin-inline: 16px 54px;
  }

  .industrial-service-detail ~ .seo-service-network {
    padding-inline: 16px 54px;
  }
}

/* Hold the taller RU header in place while the desktop navigation font loads. */
@media (1401px <= width <= 1499px) {
  body:has(> .industrial-service-detail[lang="ru"]):not(:has(> header[data-site-shell="header"]))::before {
    height: 130px;
  }

  body:has(> .industrial-service-detail[lang="ru"]) > header[data-site-shell="header"] .site-shell__bar {
    min-height: 106px;
  }
}
