.news-featured {
  --gap: 1rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.news-featured__inner {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.news-featured .glide__slides {
  transform: none !important;
  position: relative;
  width: 100% !important;
}

.news-featured .glide__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
}

.news-featured .glide__slide.glide__slide--active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.news-featured__item {
  --h: 640px;
  --py: 3rem;
  padding-block: var(--py);
  min-height: var(--h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  position: relative;

  @media (width >=992px) {
    --h: 80lvh;
  }
}

.news-featured__item-content {
  --px: 1rem;
  padding-inline: var(--px);
  max-width: var(--main-container);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;

  @media (width >=992px) {
    --px: 0;
    padding-right: clamp(15%, 2vw, 4rem);
  }
}

.news-featured__item-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  left: 0;
  top: 0;
  display: block;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: color-mix(in srgb, var(--color-subtle) 70%, transparent);
    z-index: 1;
  }

  img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
}

.news-featured__item-header {
  --mb: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  margin-bottom: var(--mb);

  @media (width >=992px) {
    --mb: 2rem;
  }
}

.news-featured__item-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: var(--color-neutral-5);
  border: 1px solid color-mix(in srgb, var(--color-subtle) 10%, transparent);
  color: color-mix(in srgb, var(--color-subtle) 95%, transparent);
  font-size: var(--text-body-sm);
  line-height: var(--text-body-sm-line);
}

.news-featured__item-pill-text {
  color: inherit;
}

.news-featured__item-date {
  margin: 0;
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg-line);
  color: #fff;
  text-transform: lowercase;
}

.news-featured__item-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  align-items: flex-start;
}

.news-featured__item-title {
  margin: 0;
  font-size: var(--text-h1);
  line-height: var(--text-h1-line);
  font-weight: 600;
  color: #fff;
}

.news-featured__item-excerpt {
  margin: 0;
  font-size: var(--text-body-lg);
  line-height: var(--text-body-lg-line);
  color: color-mix(in srgb, var(--color-subtle) 70%, transparent);
  color: #fff;
}

.news-featured__item-link {
  --mt: 2.5rem;
  width: 100%;
  margin-top: var(--mt);

  @media (width >=992px) {
    width: auto;
    margin-left: auto;
  }
}

.news-featured__dots {
  position: relative;
  transform: none;
  left: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  .news-featured__dot {
    background-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
    box-shadow: none;
    margin: 0;

    &.glide__bullet--active {
      background-color: var(--color-primary);
    }
  }
}