.rnb-hero-slider {
  position: relative;
  width: 100%;
  height: var(--rnb-hero-height, 100%);
  min-height: 720px;
  overflow: hidden;
  background: #0f0f0f;
  color: #fff;
  border-radius: 20px;
}

.rnb-hero-slider__slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.rnb-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 700ms ease,
    visibility 700ms ease;
}

.rnb-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.rnb-hero-slide__media,
.rnb-hero-slide__image,
.rnb-hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rnb-hero-slide__image,
.rnb-hero-slide__video {
  object-fit: cover;
}

.rnb-hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.18) 40%,
    rgba(0, 0, 0, 0.24) 100%
  );
  z-index: 1;
}

.rnb-hero-slide__content-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 120px 50px;
}

.rnb-hero-slide__content {
  max-width: 50%;
  margin-bottom: 50px;
}

.rnb-hero-slide__title {
  font-size: 44px !important;
  margin-bottom: 20px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff !important;
}

.rnb-hero-slide__excerpt {
  margin: 0 0 20px 0;
  color: #fff;
  opacity: 0.8;
  font-size: 20px;
  line-height: 1.5;
}

.rnb-hero-slide__button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 4px 4px 4px 30px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.rnb-hero-slide__button:hover {
  opacity: 0.92;
}

.rnb-hero-slide__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #111;
}

.rnb-hero-slide__button-icon img {
  display: block;
  width: 32px;
  height: 32px;
  filter: invert(1);
}

.rnb-hero-slider__nav-wrap {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 50px;
  z-index: 4;
}

.rnb-hero-slider__nav {
  display: grid;
  grid-template-columns: repeat(var(--rnb-hero-cols, 1), 1fr);
  gap: 30px;
  width: 100%;
}

.rnb-hero-slider__nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.rnb-hero-slider__nav-item:hover {
  color: rgba(255, 255, 255, 0.95);
}

.rnb-hero-slider__nav-line {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.rnb-hero-slider__nav-line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
}

.rnb-hero-slider__nav-item.is-active {
  color: rgba(255, 255, 255, 1);
}

.rnb-hero-slider__nav-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.rnb-hero-slider__nav-number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.rnb-hero-slider__nav-title {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
  max-width: none;
}

@media (max-width: 1199px) {
  .rnb-hero-slide__content-wrap {
    padding: 28px 24px 108px;
  }

  .rnb-hero-slider__nav {
    gap: 14px;
  }

  .rnb-hero-slider__nav-wrap {
    left: 24px;
    right: 24px;
    bottom: 22px;
  }
}

@media (max-width: 767px) {
  .rnb-hero-slider {
    min-height: 560px;
  }
}

@media (max-width: 767px) {
  .rnb-hero-slide__content-wrap {
    padding: 22px 18px 96px;
  }

  .rnb-hero-slide__content {
    margin-bottom: 22px;
    max-width: 100%;
  }

  .rnb-hero-slide__title {
    font-size: clamp(1.8rem, 1.5rem + 1vw, 2.8rem);
  }

  .rnb-hero-slide__excerpt {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .rnb-hero-slider__nav {
    grid-template-columns: repeat(var(--rnb-hero-cols, 1), 1fr);
    gap: 12px;
  }

  .rnb-hero-slider__nav-title {
    max-width: none;
    font-size: 13px;
  }

  .rnb-hero-slider__nav-wrap {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
