.hwt-ns {
  --hwt-ns-gap: 1.5rem;
  --hwt-ns-peek: 8%;

  --hwt-ns-slide: 85%;
  --hwt-ns-height: 36.25rem;

  position: relative;
  width: 100%;
  max-width: 100%;
}

.elementor-widget-hwt_news_slider,
.elementor-widget-hwt_news_slider .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
}

.hwt-ns__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hwt-ns__track {
  display: flex;
  gap: var(--hwt-ns-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--hwt-ns-peek);
  margin: 0;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.hwt-ns__track::-webkit-scrollbar {
  display: none;
}
.hwt-ns__track {
  scrollbar-width: none;
}

.hwt-ns__slide {
  position: relative;
  flex: 0 0 var(--hwt-ns-slide);
  min-width: var(--hwt-ns-slide);

  height: auto;
  aspect-ratio: 16 / 9;

  scroll-snap-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 1220px) {
  .hwt-ns__slide {
    max-width: 100vw !important;
    min-width: 100vw !important;
  }
}

@media (max-width: 900px) {
  .hwt-ns__content,
  .hwt-ns__overlay {
    display: none !important;
  }
}

.hwt-ns__media {
  position: absolute;
  inset: 0;
  background-image: var(--hwt-ns-bg);
  background-size: cover;
  background-position: center;
}

.hwt-ns__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );

  top: 50%;
  left: 0;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.is-active:hover .hwt-ns__overlay {
  opacity: 1 !important;
}

.hwt-ns__badge {
  font-family: "SpecialGothic SemiExpanded";
  font-weight: 500;

  position: absolute;
  top: 1.25rem;
  right: 2.5rem;

  background: var(--color-news-badge, #a84000);
  color: var(--color-white, #fff);

  padding: 0.3rem 1.25rem;
  border-radius: 0;
  text-transform: uppercase;
  z-index: 3;
}

.hwt-ns__content {
  position: absolute;
  left: 7.625rem;
  right: 7.625rem;
  bottom: 2.5rem;
  z-index: 2;

  max-width: 100%;

  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.hwt-ns__slide.is-active:hover .hwt-ns__content {
  opacity: 1;
  transform: translateY(0);
}

.hwt-ns__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0.8;
  cursor: pointer;
  border-radius: 999%;
  transition: opacity 0.45s ease;
  background: var(--color-overlay-light, rgba(255, 255, 255, 0.4));
}
.hwt-ns__nav--prev {
  left: 3.125rem;
}
.hwt-ns__nav--next {
  right: 3.125rem;
}
.hwt-ns__nav img {
  width: 0.5rem;
  height: auto;
  display: block;
}

.hwt-ns__nav--prev img {
  transform: translate(-1px);
}
.hwt-ns__nav:hover {
  opacity: 1;
}

.hwt-ns__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.hwt-ns__pages {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.hwt-ns__page {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hwt-ns__bar {
  display: block;
  width: 3.125rem;
  height: 0.25rem;
  border-radius: 0;
  background: var(--color-overlay-light, rgba(255, 255, 255, 0.4));
  overflow: hidden;
  border-radius: 0.125rem;
}
.hwt-ns__barfill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-white, #fff);
  border-radius: 0.125rem;
}

.hwt-ns__toggle {
  opacity: 0.8;
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  margin-left: 1.25rem;
  border-radius: 100%;
  background: var(--color-overlay-light, rgba(255, 255, 255, 0.4));
}
.hwt-ns__toggle img {
  width: 0.3rem;
  height: auto;
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.hwt-ns__toggle:hover {
  opacity: 1;
}
.hwt-ns__toggle[data-state="play"] .hwt-ns__icon-play {
  display: block;
}
.hwt-ns__toggle[data-state="pause"] .hwt-ns__icon-pause {
  display: block;
}

.hwt-ns__shade {
  position: absolute;
  inset: 0;

  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hwt-ns__slide:not(.is-active) .hwt-ns__shade {
  opacity: 0.4;
}

.hwt-ns__title {
  font-size: 2.375rem; /* 38px */
  color: var(--color-headline);
  text-shadow: var(--text-shadow-glow);
  margin: 1.25rem 0;
}
.hwt-ns__teaser {
  font-size: 1rem; /* 16px */
  line-height: 1.8em;
}
@media (max-width: 767px) {
  .hwt-ns__nav {
    position: static;
    transform: none;
  }
}
