/* Each slide uses a full photograph; titles, descriptions and actions stay HTML. */
.hero-carousel {
 position:relative;overflow:hidden;overflow:clip;border-radius:8px;background:#10253d;
 border:1px solid rgba(18,39,70,.16);
 box-shadow:0 7px 24px rgba(18,39,70,.10);isolation:isolate;
}
.hero-carousel .hero-track {
 display:flex;width:100%;align-items:stretch;direction:ltr;
 transition:transform .65s ease-in-out!important;
}
.hero-carousel .hero-slide {
 position:relative;flex:0 0 100%;width:100%;min-width:0;
 min-height:clamp(340px,30vw,390px);height:auto;padding:0;
 display:flex;align-items:center;overflow:hidden;overflow:clip;background-color:#10253d;
 background-size:cover;background-position:var(--hero-image-position,center);
 background-repeat:no-repeat;
}
.hero-carousel .hero-slide::before {
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
 background:linear-gradient(90deg,rgba(6,21,39,.88) 0%,rgba(6,21,39,.77) 36%,rgba(6,21,39,.35) 70%,rgba(6,21,39,.14) 100%);
}
.hero-carousel .hero-slide::after {display:none;}
.hero-carousel .hero-slide-content {
 position:relative;z-index:2;width:62%;max-width:720px;min-width:0;margin:0;
 padding:36px 32px 62px clamp(56px,5vw,76px)!important;
 color:#fff;text-align:start;overflow-wrap:break-word;
 text-shadow:0 1px 6px rgba(0,0,0,.28);
}
.hero-carousel .hero-slide-content h1,
.hero-carousel .hero-slide-content h2 {
 color:inherit;font-size:clamp(30px,3.1vw,40px)!important;font-weight:800;
 line-height:1.16;letter-spacing:-.6px;margin:0 0 14px;
 text-wrap:balance;
}
.hero-carousel .hero-slide-content p {
 color:#f0f4fa;font-size:16px;line-height:1.5;margin:0 0 22px;opacity:1;
 text-wrap:pretty;
}
.hero-carousel .hero-slide-content .btn {
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 width:auto;max-width:100%;min-height:44px;padding:11px 20px!important;
 font-size:14px!important;line-height:1.4;border-radius:5px!important;
 text-align:center;white-space:normal;text-shadow:none;
 background:#c51c3d;border-color:#c51c3d;color:#fff;
}
.hero-carousel .hero-slide-content .btn:hover {background:#a71532;border-color:#a71532;color:#fff;}
.hero-carousel .hero-nav-btn {
 display:flex;top:50%;width:36px;height:44px;border-radius:5px;
 background:rgba(6,21,39,.68);color:#fff;border:1px solid rgba(255,255,255,.35);
 font-size:15px;box-shadow:none;
}
.hero-carousel .hero-prev {left:10px;}
.hero-carousel .hero-next {right:10px;}
.hero-carousel .hero-nav-btn:hover {background:#bd1635;}
.hero-carousel #hero-dots {
 position:absolute;left:50%;bottom:12px;transform:translateX(-50%);
 display:flex;align-items:center;gap:4px;z-index:5;direction:ltr;
}
.hero-carousel .hero-dot {
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 28px;width:28px;height:32px;margin:0;padding:0;border:0;
 border-radius:5px;background:transparent;cursor:pointer;
}
.hero-carousel .hero-dot::before {
 content:"";display:block;width:8px;height:8px;border-radius:8px;
 background:#c1cbd8;box-shadow:0 0 0 1px rgba(6,21,39,.3);
 transition:width .2s ease,background .2s ease;
}
.hero-carousel .hero-dot.active,
.hero-carousel .hero-dot:hover {background:transparent;}
.hero-carousel .hero-dot.active::before {width:22px;background:#e33355;}
.hero-carousel #hero-play-toggle {
 position:absolute;right:16px;bottom:12px;z-index:5;
 display:inline-flex;align-items:center;justify-content:center;
 width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.5);
 border-radius:5px;background:rgba(6,21,39,.78);color:#fff;cursor:pointer;
 font:700 15px/1 Arial,sans-serif;
}
.hero-carousel #hero-play-toggle:hover {background:#bd1635;}
.hero-carousel .hero-play-icon {display:inline-flex;align-items:center;justify-content:center;}
.hero-carousel .hero-play-icon::before {content:'';display:block;box-sizing:border-box;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor;}
.hero-carousel #hero-play-toggle[data-paused="true"] .hero-play-icon::before {width:0;height:0;margin-left:2px;border-left:10px solid currentColor;border-right:0;border-top:6px solid transparent;border-bottom:6px solid transparent;}
.hero-carousel button:focus-visible,
.hero-carousel a:focus-visible {outline:3px solid #f4b64a;outline-offset:3px;}
html[dir="rtl"] .hero-carousel .hero-slide-content {direction:rtl;}

@media (min-width:769px) and (max-width:1050px) {
 .hero-carousel .hero-slide-content {width:70%;padding-inline:56px 28px!important;}
 .hero-carousel .hero-slide-content h1,
 .hero-carousel .hero-slide-content h2 {font-size:32px!important;}
}
@media (max-width:768px) {
 .hero-carousel {border-radius:6px;}
 .hero-carousel .hero-slide {
  min-height:clamp(280px,58vw,340px);padding:0;align-items:center;
  background-size:cover;background-position:var(--hero-image-position-mobile,65% center);
 }
 .hero-carousel .hero-slide::before {
  background:linear-gradient(90deg,rgba(6,21,39,.79),rgba(6,21,39,.67) 65%,rgba(6,21,39,.6));
 }
 .hero-carousel .hero-slide-content {
  width:100%;max-width:600px;min-height:0;margin:0 auto;
  padding:28px 24px 70px!important;text-align:center;
 }
 .hero-carousel .hero-slide-content h1,
 .hero-carousel .hero-slide-content h2 {
  font-size:clamp(23px,5.8vw,30px)!important;line-height:1.16;
  letter-spacing:-.35px;margin-bottom:10px;
 }
 .hero-carousel .hero-slide-content p {font-size:14px;line-height:1.45;margin-bottom:16px;}
 .hero-carousel .hero-slide-content .btn {min-height:42px;padding:10px 16px!important;font-size:13px!important;}
 /* Keep arrows, slide selection and playback together below every slide's copy. */
 .hero-carousel .hero-nav-btn {top:auto;bottom:12px;transform:none;width:36px;height:34px;font-size:14px;}
 .hero-carousel .hero-prev {left:14px;}
 .hero-carousel .hero-next {right:14px;}
 .hero-carousel #hero-dots {left:calc(50% - 20px);bottom:12px;gap:2px;}
 .hero-carousel .hero-dot {height:34px;}
 .hero-carousel #hero-play-toggle {left:calc(50% + 46px);right:auto;bottom:12px;height:34px;}
}
@media (max-width:360px) {
 .hero-carousel .hero-slide-content {padding:24px 20px 66px!important;}
 .hero-carousel .hero-slide-content h1,
 .hero-carousel .hero-slide-content h2 {font-size:23px!important;}
 .hero-carousel .hero-prev {left:10px;}
 .hero-carousel .hero-next {right:10px;}
}
@media (prefers-reduced-motion:reduce) {
 .hero-carousel .hero-track {transition:none!important;}
 .hero-carousel .hero-dot::before {transition:none;}
}
