/* HERO SLIDER LAYOUT & FADE */

.si-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
}

.si-hero-slider__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 2560 / 1413;
}

@media (max-width: 1024px) {
    .si-hero-slider__inner {
        aspect-ratio: 1200 / 1454;
    }
}

.si-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.si-hero-slider.si-hero-slider--ready .si-hero-slide {
    transition: opacity 1.2s ease-in-out;
}

.si-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.si-hero-slide__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.si-hero-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.si-hero-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.35) 70%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.si-hero-slide__content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.si-hero-slide__content-inner {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 2.5rem;
    padding-bottom: 3rem;
}

@media (max-width: 1024px) {
    .si-hero-slide__content-inner {
        padding-inline: 1.5rem;
        padding-bottom: 2.25rem;
    }
}

.si-hero-slide__category {
    font-size: clamp(0.81rem, 0.7rem + 0.3vw, 1.13rem);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    font-weight: var(--font-weight-regular);
    font-style: normal;
    margin-bottom: 0.75rem;

}

.si-hero-slide__title {
    font-size: clamp(1.6rem, 0.6912rem + 2.4235vw, 2.63rem);
    color: var(--color-white);
    font-weight: var(--font-weight-extrabold);
    font-style: normal;
    line-height: var(--line-height-snug);
    margin: 0 0 1.25rem 0;
}

.si-hero-slide__btn-wrapper {
    margin-top: 0.25rem;
}

/* optional tweak for slider button typography */
.arrow-link-slider.si-hero-btn {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =========================================================
   SLIDER ARROW LINK (copy of .arrow-link, but white arrow)
   ========================================================= */

.arrow-link-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-base);

  /* TEXT colors for slider */
  color: var(--color-primary);      /* normal: primary */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pseudo-element for the white SVG arrow */
.arrow-link-white::before {
  content: '';
  display: inline-block;

  width: 2.5rem;
  height: 1.25rem;

  /* fixed white arrow SVG (your file, encoded) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32.97 17.75'%3E%3Cline y1='8.88' x2='32.23' y2='8.88' style='fill:none;stroke:%23ffffff;stroke-miterlimit:10;stroke-width:.85px;'/%3E%3Cpolyline points='23.8 17.45 32.37 8.88 23.8 .3' style='fill:none;stroke:%23ffffff;stroke-miterlimit:10;stroke-width:.85px;'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  opacity: 1;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* HOVER STATES: text -> white, arrow stays white & moves */
.arrow-link-white:hover,
.arrow-link-white:focus-visible {
  color: var(--color-white);   /* text */
}

.arrow-link-white:hover::before,
.arrow-link-white:focus-visible::before {
  transform: translateX(0.3rem);
}

/* optional: slider variant typography (like your hero btn) */
.arrow-link-white.si-hero-btn {
  font-size: var(--font-size-lg);
}

/* Hover: text becomes white — enforce for the span */
.arrow-link-white:hover span,
.arrow-link-white:focus-visible span {
    color: var(--color-white) !important;
}