.tm-home-hero .tm-banner-frame {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity .42s ease-in-out;
}
.tm-home-hero .tm-banner-frame[aria-hidden="false"] { opacity: 1; }
.tm-home-hero .tm-banner-frame:nth-child(2) img { object-position: 58% 54%; }
.tm-home-hero .tm-banner-frame:nth-child(3) img { object-position: 50% 53%; }
.tm-home-hero .tm-home-picture { touch-action: pan-y; }
.tm-home-hero .tm-hero-wrap .zy-hero-full-text { z-index: 2; }
.tm-banner-controls:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  position: absolute;
  z-index: 3;
  right: max(16px, calc((100% - 1200px) / 2));
  bottom: 20px;
  padding: 2px;
  border: 1px solid #173d2a26;
  border-radius: 26px;
  background: #fbf9f3f2;
  box-shadow: 0 3px 15px #173d2a18;
  color: var(--tm-deep);
}
.tm-banner-controls button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: currentColor;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}
.tm-banner-controls button:not(:disabled):hover { background: #e7e4d9; }
.tm-banner-controls button:focus-visible { outline: 2px solid var(--tm-green); outline-offset: -3px; }
.tm-banner-controls button:disabled { opacity: .38; cursor: default; }
.tm-banner-controls button:active:not(:disabled) { translate: 0 1px; }
.tm-banner-dots { display: flex; align-items: center; }
.tm-banner-dots button { width: 32px; }
.tm-banner-dots button::before {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid var(--tm-green);
  border-radius: 10px;
  transition: width .2s ease, background-color .2s ease;
}
.tm-banner-dots [aria-pressed="true"]::before { width: 15px; background: var(--tm-green); }
.tm-banner-controls :is([data-banner-prev],[data-banner-next]) { font: 25px/1 Georgia,serif; }
.tm-banner-controls [data-banner-play] {
  margin-right: 1px;
  border-right: 1px solid #173d2a24;
  border-radius: 50% 0 0 50%;
}
.tm-banner-controls [data-banner-play]::before {
  content: '';
  width: 10px;
  height: 11px;
  border-inline: 2px solid currentColor;
}
.tm-banner-controls [data-banner-play][data-paused]::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.tm-banner-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.zy-media-band.tm-home-factory > img {
  height: clamp(350px,30vw,545px);
  min-height: 0;
  object-position: 52% 62%;
}
.zy-media-band.tm-home-factory .tm-home-factory-copy > div { max-width: 520px; }

@media (max-width: 780px) {
  .tm-home-hero .tm-home-picture { height: clamp(228px,63vw,390px); }
  .tm-home-hero .tm-home-picture .tm-banner-frame img { height: 100%; }
  .tm-home-hero .tm-banner-frame:nth-child(2) img { object-position: 54% 53%; }
  .tm-home-hero .tm-banner-frame:nth-child(3) img { object-position: 50% 53%; }
  .tm-home-hero .tm-home-picture::after { z-index: 1; }
  .tm-banner-controls:not([hidden]) { right: 12px; bottom: 12px; }
  .zy-media-band.tm-home-factory > img {
    height: clamp(215px,63vw,430px);
    object-position: 49% 63%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tm-home-hero .tm-banner-frame, .tm-banner-dots button::before { transition: none; }
  .tm-banner-controls button:active:not(:disabled) { translate: none; }
}
