.tvt-hotels-resorts {
  padding: 18px 16px 22px;
  background: #ffffff;
}

.tvt-hotels-resorts__inner {
  max-width: 1230px;
  margin: 0 auto;
}

.tvt-hotels-resorts__heading {
  margin: 0 0 16px;
}

.tvt-hotels-resorts__title {
  margin: 0;
  color: #0b2349;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.15;
}

.tvt-hotels-resorts__subtitle {
  margin: 4px 0 0;
  color: #5f6b7a;
  font-size: 1rem;
  line-height: 1.4;
}

.tvt-hotels-resorts__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  padding-bottom: 8px;
}

.tvt-hotels-resorts__card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  scroll-snap-align: start;
  text-decoration: none !important;
  background: #e9eef5;
}

.tvt-hotels-resorts__card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tvt-hotels-resorts__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.04) 35%,
    rgba(0,0,0,.58) 100%
  );
  pointer-events: none;
}

.tvt-hotels-resorts__name {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}

@media (max-width: 900px) {
  .tvt-hotels-resorts__card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 560px) {
  .tvt-hotels-resorts {
    padding: 14px 12px 18px;
  }

  .tvt-hotels-resorts__title {
    gap: 10px;
    margin-bottom: 16px;
    font-size: 1.15rem;
  }

  .tvt-hotels-resorts__title::before,
  .tvt-hotels-resorts__title::after {
    max-width: 70px;
  }

  .tvt-hotels-resorts__track {
    gap: 12px;
  }

  .tvt-hotels-resorts__card {
    flex-basis: 82%;
  }

  .tvt-hotels-resorts__name {
    font-size: 1.15rem;
  }
}