/* Language-aware mobile headings, with emergency wrapping for other long strings. */
@media (max-width: 760px) {
    body { overflow-wrap: anywhere; }
    .site-main :is(h1, h2, h3, h4, h5, h6) {
        hyphens: auto;
        hyphenate-limit-chars: 8 3 3;
    }
    .site-main h1 { font-size: clamp(30px, 8.5vw, 52px); }
}

/* v1.9.137: actual mobile layout constraints, rather than clipping overflow. */
@media (max-width: 760px) {
  .kte-page-typography .site-main :is(h1,h2) { --kte-mobile-inline-cap: clamp(26px,8vw,36px); }
  .kte-page-typography .site-main h1 { --kte-mobile-inline-cap: clamp(30px,8.5vw,42px); }
  .kte-page-typography .site-main :is(h3,h4,h5,h6) { --kte-mobile-inline-cap: clamp(20px,6vw,26px); }
  .kte-page-typography .site-main :is(p,blockquote) { --kte-mobile-inline-cap: 18px; }
  .kte-page-typography .site-main .kte-ai-page :where(section,article,div,header,figure,blockquote,h1,h2,h3,h4,h5,h6,p,ul,ol,li) {
    min-width: 0;
  }
  .kte-page-typography .site-main .kte-ai-page :is(h1,h2,h3,h4,h5,h6,p,blockquote) {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
  .kte-page-typography .site-main .kte-ai-page :is(h1,h2,h3,h4,h5,h6,p,blockquote) :where(span,strong,b,em,a) {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  .kte-page-typography .site-main .kte-ai-page .supply-experience__panel,
  body.home .site-main .kte-ai-page .kte-front__values {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.home .hero-slider .slider-dots { display: none !important; }
  body.home .hero-slider .slider-arrow.next { left: 78px; right: auto; }
  body.home .hero-slider .hero-building {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 48px);
    box-sizing: border-box;
    text-align: center;
    overflow-wrap: anywhere;
  }
  body.home .site-main .kte-ai-page .kte-latest-references__action {
    justify-content: center !important;
    text-align: center;
  }
  .kte-page-typography .site-main .kte-ai-page :is(.kte-home-next-project,.kte-reference-conversion) {
    margin-inline: auto;
  }
  .kte-page-typography .site-main .kte-ai-page .supply-experience__stat {
    flex-direction: column;
    align-items: center;
  }
  .kte-page-typography .site-main .kte-ai-page .supply-experience__line { flex: none !important; height: 1px !important; }
  .kte-page-typography .site-main .kte-ai-page .supply-experience__count { white-space: nowrap; }
  .kte-page-typography .site-main .kte-ai-page :is(
    .kte-departments__intro-copy,.kte-departments__intro-stat,.kte-departments__culture,
    .kte-sustainability__section-heading,.kte-sustainability__collaboration-content,
    .kte-building-types__header,.dgnb-intro__content,
    .career-culture__intro,.career-section-heading,
    .kte-privacy__toc,.kte-privacy__section,.kte-privacy__chapter
  ) {
    box-sizing: border-box;
    padding-inline: 18px !important;
  }
  .kte-page-typography .site-main .kte-ai-page .kte-privacy__contact { padding-inline: 20px !important; }
  .kte-page-typography .site-main .kte-ai-page .career-jobs__empty { margin-inline: 18px !important; }
  .kte-page-typography .site-main .kte-flowpaper-fallback { padding-inline: 18px !important; }
}
@media (max-width: 380px) {
  body.home .hero-slider .hero-scroll-cue { display: none; }
}
