/* Auto-generated by scripts/css_mechanical_split.py
   Source: portal-home-discovery.css
   Part 2/2 - load order critical.
   Do not reorder or merge without re-running the splitter. */

.home-feat-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  flex: 0 0 auto;
  min-height: 118px;
  height: 118px;
  scroll-snap-align: start;
}

.home-feat-hero-slot {
  position: relative;
  min-height: 378px;
  height: 378px;
  max-height: 378px;
  overflow: hidden;
  border-radius: 18px;
}

.home-feat-hero,
.home-feat-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  box-shadow: var(--shadow-soft, 0 18px 40px rgba(20, 32, 28, 0.08));
  text-decoration: none;
  color: inherit;
}

.home-feat-hero {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  color: #fff !important;
}

.home-feat-hero--exit,
.home-feat-hero--enter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  margin: 0;
  z-index: 1;
}

.home-feat-hero--exit {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-feat-hero--exit.is-active-exit {
  opacity: 0;
  transform: scale(1.045);
}

.home-feat-hero--enter {
  z-index: 2;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-feat-hero--enter.is-active-enter {
  opacity: 1;
  transform: scale(1);
}

.home-feat-hero.is-kenburns .home-feat-media img {
  animation: home-feat-kenburns 5.6s ease-out forwards;
  transform-origin: center center;
  will-change: transform;
}

@keyframes home-feat-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.home-feat-hero-dots {
  position: absolute;
  right: 14px;
  top: 14px;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 5;
  display: flex;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 16, 12, 0.35);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.home-feat-hero-dots[hidden] {
  display: none !important;
}

.home-feat-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.home-feat-dot.is-active {
  width: 18px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .home-feat-hero--exit,
  .home-feat-hero--enter,
  .home-feat-hero.is-kenburns .home-feat-media img {
    animation: none !important;
    transition: none !important;
  }
}

.home-feat-media {
  background: #1a2e26;
}

.home-feat-hero .home-feat-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-feat-hero .home-feat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-feat-hero .home-feat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 10, 0.05) 0%,
    rgba(6, 12, 10, 0.25) 35%,
    rgba(6, 12, 10, 0.72) 68%,
    rgba(6, 12, 10, 0.94) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.home-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-feat-hero .home-feat-body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.home-feat-hero .home-feat-price {
  color: #fff !important;
  font-size: 28px;
  -webkit-text-fill-color: #fff;
}

.home-feat-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink-strong);
}

.home-feat-title {
  margin: 6px 0 8px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-strong, #14201c);
}

.home-feat-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  /* No brand/ink green: too dark on hero photo, too faint on white cards */
  color: #3a4641;
}

.home-feat-meta span {
  color: inherit;
}

.home-feat-agency {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--brand-strong);
  font-weight: 700;
}

/* After base title/meta so hero wins the cascade */
.home-feat-hero .home-feat-title,
.home-feat-hero .home-feat-meta,
.home-feat-hero .home-feat-meta span,
.home-feat-hero .home-feat-agency {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  opacity: 1;
}

.home-feat-card .home-feat-meta,
.home-feat-card .home-feat-meta span {
  color: #3a4641;
}

.home-feat-card .home-feat-media {
  position: relative;
  min-height: 118px;
  height: 100%;
}

.home-feat-card .home-feat-media::after {
  display: none;
}

.home-feat-card .home-feat-body {
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.home-feat-card .home-feat-title {
  margin: 0;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-feat-card .home-feat-meta__bath {
  display: none;
}

.home-feat-empty {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted, #5c6b64);
}

.home-feat-utils {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.home-feat-utils a {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted, #5c6b64);
  text-decoration: none;
}

.home-feat-utils a:hover {
  color: var(--brand-strong);
}

.home-feat-card.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .home-dest-grid,
  .home-feat-grid {
    grid-template-columns: 1fr;
  }

  .home-feat-hero-slot,
  .home-feat-stack-wrap {
    min-height: 300px;
    max-height: 300px;
    height: 300px;
  }

  .home-feat-hero,
  .home-feat-hero--exit,
  .home-feat-hero--enter {
    min-height: 0;
  }

  .home-feat-stack {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-travel-strip__input {
    flex-basis: 100%;
  }
}
