.content-section.experience-post > .inner-block.slider-block {
  background: linear-gradient(#fff 40%, var(--main-color) 40%);
}

.content-section.experience-post > .inner-block > .padding:has(.tile-slider__container) {
  padding: 0;
}

.tile-slider__container {
  position: relative;
  width: 100%;
}

.tile-slider__viewport {
  width: 100%;
  padding: 2rem 0 4rem;
}

.tile-slider__track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tile-slider__track::-webkit-scrollbar {
  display: none;
}

.tile-slider__slide-wrapper {
  scroll-snap-align: start;
  flex: 0 0 85%;
  max-width: 85%;
  display: flex;
}

.tile-slider__slide-wrapper:last-child {
  margin-right: 5%;
}

.tile-slider__slide {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  border-radius: 24px;
  margin: 16px;
  background-color: #fff;
  box-shadow: 0 3px 14px rgba(25, 25, 25, 0.15);
}

.tile-slider__slide .img-wrapper {
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
}

.tile-slider__slide .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  padding-bottom: 0;
}

.slide-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.slider-content h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--headline-font);
  font-weight: 500;
  line-height: 1.1;
  color: var(--main-color);
}

.slider-content p {
  line-height: 1.2;
  font-size: 0.875rem;
  text-wrap: pretty;
  margin-top: 0.75rem;
}

.carousel-btn {
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  /* background: rgba(255, 255, 255, 0.25); */
  color: var(--main-color);
  border: none;
  padding: 0.5em;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  left: 85dvw;
}

.carousel-btn span {
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (width > 750px) {
  .tile-slider__slide-wrapper {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .tile-slider__slide-wrapper:last-child {
    margin-right: 15%;
  }

  .slider-content {
    padding: 1.5rem;
  }

  .slide-buttons {
    flex-wrap: nowrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .slide-buttons a.cta.round {
    min-width: 9rem;
  }
}

@media (width > 1023px) {
  .tile-slider__slide-wrapper {
    flex: 0 0 48%;
    max-width: 48%;
  }

  .tile-slider__track[data-slide-count='1'] .tile-slider__slide-wrapper:last-child,
  .tile-slider__track[data-slide-count='2'] .tile-slider__slide-wrapper:last-child {
    margin-right: 0;
  }
}
