.nhs-slider {
  --nhs-desktop-height: 720px;
  --nhs-overlay: .48;
  position: relative;
  width: 100%;
  height: var(--nhs-desktop-height);
  min-height: 560px;
  overflow: hidden;
  background: #111;
  isolation: isolate;
  font-family: inherit;
}
.nhs-slides, .nhs-slide, .nhs-bg, .nhs-shade { position: absolute; inset: 0; }
.nhs-slide { opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; z-index: 0; }
.nhs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.nhs-bg { background-size: cover; background-position: center; transform: scale(1.025); transition: transform 7s ease; }
.nhs-slide.is-active .nhs-bg { transform: scale(1); }
.nhs-shade {
  background:
    linear-gradient(90deg, rgba(6,14,18,.78) 0%, rgba(6,14,18,.58) 34%, rgba(6,14,18,.18) 64%, rgba(6,14,18,.04) 100%),
    linear-gradient(0deg, rgba(6,14,18,.34), rgba(6,14,18,.34));
  opacity: calc(var(--nhs-overlay) * 1.45);
}
.nhs-inner { position: relative; z-index: 3; width: min(1440px, calc(100% - 80px)); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.nhs-copy { width: min(660px, 54vw); color: #fff; padding-bottom: 48px; }
.nhs-slider .nhs-eyebrow { font-size: 13px !important; font-weight: 600 !important; letter-spacing: .18em !important; line-height: 1.3 !important; text-transform: uppercase; margin-bottom: 16px; opacity: .9; }
.nhs-slider h2.nhs-title { color: #fff !important; margin: 0 !important; font-size: 46px !important; line-height: 1.05 !important; font-weight: 700 !important; letter-spacing: -.025em !important; text-wrap: balance; }
.nhs-rule { width: 88px; height: 3px; margin: 24px 0 20px; background: #e21c2a; }
.nhs-slider .nhs-text { color: rgba(255,255,255,.92) !important; margin: 0 0 28px !important; max-width: 590px; font-size: 16px !important; font-weight: 400 !important; line-height: 1.6 !important; }
.nhs-slider .nhs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; background: #d6101c; color: #fff !important; text-decoration: none !important; font-size: 14px; font-weight: 700 !important; border-radius: 3px; transition: transform .2s ease, background .2s ease; }
.nhs-button:hover, .nhs-button:focus { background: #b80c16; transform: translateY(-1px); color: #fff !important; }
.nhs-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.18); color: #fff; font-size: 19px; cursor: pointer; opacity: .85; transition: background .2s ease, opacity .2s ease; }
.nhs-arrow:hover, .nhs-arrow:focus { background: rgba(0,0,0,.55); opacity: 1; }
.nhs-prev { left: 22px; }
.nhs-next { right: 22px; }
.nhs-thumbs { position: absolute; z-index: 6; right: clamp(28px, 5vw, 86px); bottom: 30px; display: flex; gap: 10px; max-width: calc(100% - 56px); }
.nhs-thumb { position: relative; width: 78px; height: 52px; padding: 0; overflow: hidden; border: 2px solid rgba(255,255,255,.45); background: #111; cursor: pointer; opacity: .72; transform: translateY(0); transition: opacity .25s ease, border-color .25s ease, transform .25s ease; }
.nhs-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nhs-thumb:hover, .nhs-thumb:focus, .nhs-thumb.is-active { opacity: 1; border-color: #fff; transform: translateY(-3px); }
.nhs-thumb.is-active { box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.nhs-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #e21c2a; transform: scaleX(0); transform-origin: left center; }
.nhs-thumb.is-active .nhs-progress { animation: nhs-progress 6.5s linear forwards; }
@keyframes nhs-progress { to { transform: scaleX(1); } }
@media (max-width: 1024px) {
  .nhs-slider { height: min(var(--nhs-desktop-height), 620px); min-height: 540px; }
  .nhs-inner { width: min(100% - 56px, 960px); }
  .nhs-copy { width: min(620px, 66vw); }
  .nhs-thumbs { right: 28px; bottom: 24px; }
  .nhs-thumb { width: 66px; height: 44px; }
}
@media (max-width: 767px) {
  .nhs-slider { height: 570px; min-height: 570px; }
  .nhs-bg { background-position: 62% center; }
  .nhs-shade { opacity: .95; background: linear-gradient(90deg, rgba(6,14,18,.78), rgba(6,14,18,.30)), linear-gradient(0deg, rgba(6,14,18,.55), rgba(6,14,18,.18)); }
  .nhs-inner { width: calc(100% - 38px); align-items: flex-end; padding-bottom: 118px; box-sizing: border-box; }
  .nhs-copy { width: 100%; padding: 0; }
  .nhs-slider h2.nhs-title { font-size: clamp(36px, 11vw, 46px) !important; }
  .nhs-slider .nhs-text { font-size: 15px !important; line-height: 1.5 !important; margin-bottom: 22px !important; }
  .nhs-slider .nhs-eyebrow { font-size: 11px !important; margin-bottom: 11px; }
  .nhs-rule { margin: 17px 0 15px; width: 64px; }
  .nhs-arrow { display: none; }
  .nhs-thumbs { left: 19px; right: 19px; bottom: 24px; gap: 6px; overflow-x: auto; padding-top: 5px; scrollbar-width: none; }
  .nhs-thumbs::-webkit-scrollbar { display: none; }
  .nhs-thumb { flex: 0 0 54px; width: 54px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .nhs-slide, .nhs-bg, .nhs-thumb, .nhs-button { transition: none !important; animation: none !important; }
}
