.hero .hero-slide .hero-image {
  animation: none;
  transform: none;
}

.hero:not([data-photo-deck]) .hero-slide:not(:first-child) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero:not([data-photo-deck]) .hero-controls,
.hero-controls[hidden],
.hero-controls button[hidden],
.hero-image[hidden],
.thumbnails button[hidden],
.picture-rotator > img[hidden],
.picture-pause[hidden],
.picture-rotator:not([data-photo-deck]) .picture-pause {
  display: none;
}

.hero-controls {
  gap: 8px;
  flex-wrap: wrap;
}

.hero-controls button,
.medical-about-split .picture-pause {
  width: auto;
  min-width: 44px;
  min-height: 44px;
  height: auto;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
}

.picture-rotator > img.is-active {
  transform: none;
}

.picture-rotator > img {
  transition: opacity .95s ease;
}

.machine-card .machine-image > img:first-child,
.medical-masonry .machine-card:hover .machine-image > img:first-child {
  transform: none;
  filter: none;
}

.machine-card .machine-image > .machine-alt {
  opacity: 0 !important;
}

.machine-parts {
  position: absolute;
  display: block;
  pointer-events: none;
}

.news-image,
.inner-figure,
.article:has(> .article-cover) {
  position: relative;
}

img[data-machine-motion] {
  transform: none !important;
}

.picture-rotator > img + .machine-parts {
  opacity: 0;
  transition: opacity .95s ease;
}

.picture-rotator > img.is-active + .machine-parts {
  opacity: 1;
}

.machine-parts[hidden],
html.motion-reduced .machine-parts {
  display: none;
}

.inquiry-form[hidden],
.inquiry-success[hidden] {
  display: none;
}

.inquiry-success {
  align-self: start;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(34px, 5.5vw, 58px) clamp(20px, 4vw, 40px);
  background: #edf7f7;
  color: #244754;
  text-align: center;
  border: 1px solid #deebec;
  scroll-margin-block: 96px;
}

.inquiry-success h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

.inquiry-success-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 3px solid #238985;
  border-radius: 50%;
}

.inquiry-success-mark::after {
  content: "";
  width: 13px;
  height: 7px;
  margin-top: -3px;
  border: solid #238985;
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg);
}

.inquiry-success a {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid #9bb4bb;
  color: #244754;
  font-weight: 600;
}

.inquiry-success a:is(:hover, :focus-visible) {
  background: #dceff0;
}

@media (min-width: 1000px) {
  html[lang="en"] .hero-slide[data-machine-photo="lathe"] h1 {
    max-width: min(31vw, 440px);
    font-size: clamp(34px, 3.2vw, 52px);
    letter-spacing: -.035em;
  }
}

@media (max-width: 640px) {
  .hero-controls {
    gap: 5px;
  }

  .hero-controls button {
    padding-inline: 8px;
  }

  .hero .hero-slide[data-machine-photo] .hero-image {
    top: auto;
    bottom: 0;
    height: 52%;
    mask-image: linear-gradient(to bottom, transparent, #000 22%);
  }

  .hero-slide[data-machine-photo] .hero-shade {
    background: linear-gradient(to bottom, #0b1b25 32%, #0b1b25b8 48%, #0b1b252b 65%, #0b1b2533 82%, #0b1b25d1 100%);
  }

  .hero-slide[data-machine-photo] .hero-content {
    inset-block-start: -18px;
  }

  .hero-slide[data-machine-photo] .actions {
    flex-flow: row wrap;
    align-items: center;
    gap: 12px 16px;
  }

  .hero .hero-slide[data-machine-photo="lathe"] .hero-image {
    object-position: 48% center;
  }

  .hero .hero-slide[data-machine-photo="factory"] .hero-image {
    object-position: 81% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .machine-parts {
    display: none;
  }
}

/* Keep catalog photos still while preserving manual galleries and slide transitions. */
main img:not(.motion-layer), .hero img:not(.motion-layer) {
  transform: none !important;
  animation: none !important;
}
.machine-image > img.machine-alt, .product-image > img.product-alt {
  opacity: 0 !important;
}

/* A single result occupies a compact, horizontal row at wider widths. */
@media (min-width: 760px) {
  main .medical-catalog-wall:has(> .machine-card:only-child) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  main .medical-catalog-wall > .machine-card:only-child:not([hidden]) {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: minmax(min-content, 1fr);
    grid-row: auto !important;
  }
  main .medical-catalog-wall > .machine-card:only-child .machine-image {
    aspect-ratio: auto;
    min-height: clamp(180px, 19vw, 270px);
    border-radius: 0;
    align-self: stretch;
  }
  main .medical-catalog-wall > .machine-card:only-child .machine-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-row: auto;
  }
  main .medical-catalog-wall > .machine-card:only-child .machine-spec {
    grid-template-rows: auto;
    grid-row: auto;
    align-self: stretch;
  }
  main .medical-catalog-wall > .machine-card:only-child .machine-spec > span {
    display: block;
    grid-row: auto;
  }
}

/* Bring the article and its next section closer to the product information. */
main .product-detail + .product-article {
  padding-block-start: clamp(24px, 3vw, 38px);
  padding-block-end: clamp(24px, 3vw, 38px);
}
main .product-article + .related {
  padding-block-start: clamp(22px, 3vw, 36px);
}
@media (max-width: 700px) {
  main .wrap.product-detail {
    gap: 20px;
    padding-block-end: 22px;
  }
  main .product-article .inner-toc {
    padding-block: 11px;
    margin-block: 16px 22px;
  }
}


html:is([data-fh-language]:not([data-fh-language=chinese_simplified]),[lang]:not([lang^=zh i]),.translated-ltr,.translated-rtl) main
:is(h1,h2,h3,h4,p,dd,dt,figcaption,summary,.button,.btn,.machine-spec strong) {
  min-inline-size: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

