/* Homepage destination rails and edge-to-edge hotel photos. */
.home-blog-spotlight,
.home-destination-guides,
.home-blog-collections,
.home-blog-collections .blog-category-rail {
  background: transparent !important;
  box-shadow: none !important;
}

.home-blog-collections-heading {
  max-width: 1040px;
  margin: 0 auto 26px;
  padding-inline: clamp(22px, 6vw, 100px);
}

.home-blog-collections-heading p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.home-destination-guides .home-blog-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px clamp(22px, 6vw, 100px) 38px;
}

.home-destination-guides .home-blog-path {
  min-width: 0;
  min-height: 142px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-destination-guides .home-blog-path:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--deep) 40%, var(--line));
  box-shadow: var(--shadow);
}

.home-destination-guides .home-blog-path-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 22%, var(--paper));
  color: var(--deep);
}

.home-destination-guides .home-blog-path-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  line-height: 1.65;
}

.home-destination-guides .home-blog-path-copy small {
  color: var(--deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-destination-guides .home-blog-path-copy b {
  font-size: 17px;
}

.home-destination-guides .home-blog-path-copy > span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.home-destination-guides .home-blog-path-arrow {
  margin-inline-start: auto;
  color: var(--deep);
}

.home-product-rail--hotel .product-media.hotel-card-carousel {
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 18px 18px 0 0;
  background: var(--paper, #f9faf6) !important;
  isolation: isolate;
}

.home-product-rail--hotel .product-media.hotel-card-carousel > img.hotel-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.home-product-rail--hotel .product-media.hotel-card-carousel > img.hotel-slide.is-active {
  z-index: 1;
}

.home-product-rail--hotel .product-media.hotel-card-carousel > b,
.home-product-rail--hotel .hotel-slide-count,
.home-product-rail--hotel .hotel-carousel-controls,
.home-product-rail--hotel .hotel-gallery-hint {
  z-index: 4;
}

.home-destination-guides .blog-category-rail,
.home-blog-spotlight .blog-category-rail {
  margin-inline: 0;
}

@media (max-width: 1000px) {
  .home-destination-guides .home-blog-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-destination-guides .home-blog-paths {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-inline: 16px;
  }

  .home-destination-guides .home-blog-path {
    min-height: 0;
    padding: 14px;
  }

  .home-blog-collections-heading {
    padding-inline: 18px;
  }

  .home-product-rail--hotel .product-media.hotel-card-carousel {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-destination-guides .home-blog-path {
    transition: none;
  }
}
