.tfs-location-slider {
  position: relative;
  width: 100%;
  margin: 2.5rem 0;
}

.tfs-location-slider__header {
  margin-bottom: 1rem;
}

.tfs-location-slider__title {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
}

.tfs-location-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.tfs-location-slider__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.tfs-location-slider__slide {
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 0;
}

.tfs-location-slider__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: #111511;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tfs-location-slider__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.tfs-location-slider__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
}

.tfs-location-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tfs-location-slider__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  background: #1f1f1f;
  color: #fff;
  font-size: 0.95rem;
}

.tfs-location-slider__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

.tfs-location-slider__card-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.tfs-location-slider__description {
  margin: 0;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tfs-location-slider__read-more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.tfs-location-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.tfs-location-slider__arrow--prev {
  left: -21px;
}

.tfs-location-slider__arrow--next {
  right: -21px;
}

.tfs-location-slider__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tfs-location-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tfs-location-slider__dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  padding: 0;
}

.tfs-location-slider__dot.is-active {
  background: #111;
}

@media (max-width: 1100px) {
  .tfs-location-slider__slide {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

@media (max-width: 800px) {
  .tfs-location-slider__slide {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .tfs-location-slider__arrow--prev {
    left: 0.5rem;
  }

  .tfs-location-slider__arrow--next {
    right: 0.5rem;
  }
}

@media (max-width: 560px) {
  .tfs-location-slider__slide {
    flex-basis: 100%;
  }

  .tfs-location-slider__track {
    gap: 0;
  }

  .tfs-location-slider__card {
    border-radius: 12px;
  }
}