.fa-headline-and-slider__headline-wrapper {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.fa-headline-and-slider__nav-arrows {
  display: none;
}

.fa-headline-and-slider__nav-arrow-wrapper {
  display: inline-block;
  background-color: #4B4F54;
  padding: 8px;
  border-radius: 100px;
  cursor: pointer;
}

.fa-headline-and-slider__next-arrow {
  transform: rotate(180deg);
}

.fa-headline-and-slider__nav-arrow-wrapper svg {
  display: block;
}

.fa-reflections-slider-wrapper {
  padding-left: 80px;
}

.fa-reflections-slider__toggle-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.fa-reflections-slider .splide__arrows {
  display: flex;
  gap: 16px;
  position: absolute;
  top: -30px;
  right: 20px;
  transform: translateY(-100%);
}

.fa-reflections-slider .splide__arrow {
  position: static;
  transform: none;
  background: #4B4F54;
} 

.fa-reflections-slider .splide__arrow {
  opacity: 1;
}

.fa-reflections-slider .splide__arrow svg {
  fill: #ffffff;
  width: 14px;
  height: 14px;
}

.fa-reflections-slider .splide__track {
  height: auto !important;
}

.splide__slide.fa-reflections-slider__slide {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 400px;
  height: 445px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

.fa-reflections-slider__slide--expanded {
  width: 800px;
}

.fa-reflections-slider__slide-visible-pane {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 50px;
}

.fa-reflections-slider__slide-visible-pane::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(54, 36, 36, 0.00) 0.57%, rgba(54, 36, 36, 0.70) 99.79%);
}

.fa-reflections-slider__slide-headline {
  position: relative;
  color: white;
  text-align: center;
  z-index: 2;
}

.fa-reflections-slider__slide-expanded-pane {
  /* Initial state: Hidden width for desktop animation */
  background-color: var(--matinecock-red);
  width: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.fa-reflections-slider__slide-expanded-content {
  display: flex;
  align-items: center;
  width: 400px;
  height: 100%;
  padding: 1.5rem;
  color: white;
  padding-left: 80px;
  padding-right: 40px;
  cursor: auto;
}

.fa-reflections-slider__slide-expanded-content * {
  color: white;
}

.fa-reflections-slider__slide-expanded-content p {
  font-size: 16px;
  line-height: 22.4px;
}

@media (max-width: 767px) {
  .fa-headline-and-slider__headline-wrapper h2 {
    margin-bottom: 20px;
  }
  
  .fa-reflections-slider-wrapper {
    padding-left: 24px;
  }
  
  .fa-headline-and-slider__nav-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .fa-reflections-slider .splide__arrows {
    display: none;
    position: static;
    transform: translate(27%, -50%);
  }
  
  .fa-reflections-slider__toggle-button {
    display: none;
  }
  
  .splide__slide.fa-reflections-slider__slide {
    justify-content: flex-start;
    flex-direction: column; /* Stack vertically on mobile */
    width: 100%; /* Full width of the container/slide */
    height: auto; /* Allow height to grow based on content */
  }
  
  .fa-reflections-slider__slide-visible-pane {
    width: 100%; /* Full width image */
    height: 300px; /* Fixed height for image area on mobile */
  }
  
  .fa-reflections-slider__slide-expanded-pane {
    width: 100%; /* Full width */
    /* height: 0; /* FIX: Start at 0 height so GSAP can animate height:auto */
  }
  
  .fa-reflections-slider__slide-expanded-content {
      width: 100%;
      padding-left: 20px; /* Reset padding for mobile */
  }
}

@media (max-width: 550px) {
  .fa-reflections-slider-wrapper {
    padding-right: 24px;
  }
  
  .fa-reflections-slider__slide-visible-pane {
    padding-left: 25px;
    padding-right: 25px;
  }
}