/* Generated from site/src/styles/components/hero-slider.css by wordpress/tools/sync-theme-assets.mjs – edit the source, not this copy. */
.hero-slider { position: relative; background: var(--dark); height: clamp(520px, 40vw, 760px); overflow: hidden; }
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-slide__content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: clamp(48px, 10%, 120px) 0 clamp(80px, 12%, 140px);
}
.hero-slide--tl .hero-slide__content, .hero-slide--tr .hero-slide__content { justify-content: flex-start; }
.hero-slide--bl .hero-slide__content, .hero-slide--br .hero-slide__content { justify-content: flex-end; }
.hero-slide--tl .hero-slide__content, .hero-slide--bl .hero-slide__content { align-items: flex-start; }
.hero-slide--tr .hero-slide__content, .hero-slide--br .hero-slide__content { align-items: flex-end; }
.hero-slide--tr .hero-caption, .hero-slide--br .hero-caption { align-items: flex-end; }
.hero-slide--tr .hero-slide__actions, .hero-slide--br .hero-slide__actions { justify-content: flex-end; }
.hero-slide__actions { margin-top: clamp(24px, 3vw, 40px); padding: 0 clamp(16px, 3.2vw, 60px); gap: 10px; }

.hero-slider__dots { position: absolute; left: 50%; bottom: clamp(16px, 2vw, 28px); transform: translateX(-50%); display: flex; gap: 6px; }
.hero-slider__dot { width: clamp(48px, 4vw, 76px); height: 44px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; }
.hero-slider__dot span { display: block; width: 100%; height: 3px; background: var(--white); }
.hero-slider__dot[aria-current="true"] span { background: linear-gradient(90deg, var(--white) 0 42%, var(--red) 42% 60%, var(--white) 60%); }
.hero-slider__pause { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; background: none; border: 0; color: var(--white); cursor: pointer; font: 700 .75rem/1 var(--font); opacity: .8; }
.hero-slider__pause:hover { opacity: 1; }

/* Captions: no wider than 4/5 of the viewport (wider cap on big screens so
   long captions stay on two lines), smaller minimum type on phones, and
   balanced line breaks. Every caption stays within two lines except the
   longest ("Agile, strong and packed with technology") on 320px phones. */
.hero-slider .hero-caption { max-width: min(80%, 960px); }
.hero-slider .hero-title { font-size: clamp(1.25rem, 3.4vw, 3.75rem); text-wrap: balance; }

/* Right-hand captions (tr/br): mirrored – straight edge against the right of
   the viewport, the angle on the left, text aligned right. */
.hero-slide--tr .hero-caption, .hero-slide--br .hero-caption { text-align: right; }
.hero-slide--tr .hero-badge, .hero-slide--br .hero-badge {
  padding: 10px clamp(16px, 3.2vw, 60px) 10px 58px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--badge-cut) 100%);
}
.hero-slide--tr .hero-title, .hero-slide--br .hero-title {
  padding-left: calc(clamp(44px, 4.4vw, 80px) + 12px);
  padding-right: clamp(16px, 3.2vw, 60px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--title-cut) 100%);
}
.hero-slide--tr .hero-title::after, .hero-slide--br .hero-title::after { content: none; }
