/* Compact homepage photo highlights: four curated images, swipeable on mobile. */
.homepage-photo-highlights {
  padding: clamp(0.9rem, 2vw, 1.6rem) 0 clamp(1.1rem, 2.4vw, 2rem);
  background: #fffaf2;
}

.homepage-photo-highlights .container {
  width: min(1180px, calc(100% - 2rem));
}

.homepage-photo-highlights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.homepage-photo-highlights-head .section-label {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(36, 51, 45, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.homepage-photo-highlights-head .heading-md {
  margin: 0;
  color: var(--color-primary, #1e4334);
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.12;
}

.homepage-photo-highlights-cta {
  flex: 0 0 auto;
  color: var(--color-primary, #1e4334);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.homepage-photo-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.homepage-photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(30, 67, 52, 0.12);
  border-radius: 18px;
  background: #fff;
  color: var(--color-primary, #1e4334);
  box-shadow: 0 8px 24px rgba(17, 28, 23, 0.08);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.homepage-photo-card:hover,
.homepage-photo-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(17, 28, 23, 0.12);
}

.homepage-photo-card picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.homepage-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.homepage-photo-card:hover img,
.homepage-photo-card:focus-visible img {
  transform: scale(1.025);
}

.homepage-photo-card > span {
  display: block;
  padding: 0.68rem 0.8rem 0.78rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.homepage-post-photo-benefits {
  margin-top: 1rem;
  border: 1px solid rgba(30, 67, 52, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.homepage-post-photo-benefits .hero-booking-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: rgba(36, 51, 45, 0.88);
}

.homepage-post-photo-benefits .hero-benefit-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  min-height: 3.8rem;
  padding: 0.55rem 0.7rem;
  border-right: 1px solid rgba(30, 67, 52, 0.08);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.homepage-post-photo-benefits .hero-benefit-item:last-child {
  border-right: 0;
}

.homepage-post-photo-benefits .hero-benefit-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(181, 139, 74, 0.11);
  color: #9a7440;
}

.homepage-post-photo-benefits .hero-benefit-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .homepage-photo-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-post-photo-benefits .hero-booking-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-post-photo-benefits .hero-benefit-item:nth-child(odd) {
    border-right: 1px solid rgba(30, 67, 52, 0.08);
  }

  .homepage-post-photo-benefits .hero-benefit-item:nth-child(even) {
    border-right: 0;
  }

  .homepage-post-photo-benefits .hero-benefit-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(30, 67, 52, 0.08);
  }
}

@media (max-width: 640px) {
  .homepage-photo-highlights {
    padding: 0.4rem 0 1rem;
  }

  .homepage-photo-highlights .container {
    width: min(100% - 0.75rem, 38rem);
  }

  .homepage-photo-highlights-head {
    align-items: end;
    gap: 0.55rem;
    margin-bottom: 0.42rem;
  }

  .homepage-photo-highlights-head .section-label {
    margin-bottom: 0.08rem;
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .homepage-photo-highlights-head .heading-md {
    max-width: 14rem;
    font-size: 1.05rem;
    line-height: 1.04;
  }

  .homepage-photo-highlights-cta {
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .homepage-photo-track {
    display: flex;
    gap: 0.65rem;
    margin-inline: -0.375rem;
    padding: 0 0.375rem 0.3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .homepage-photo-track::-webkit-scrollbar {
    display: none;
  }

  .homepage-photo-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    border-radius: 14px;
  }

  .homepage-photo-card picture {
    aspect-ratio: 16 / 10;
  }

  .homepage-photo-card > span {
    padding: 0.48rem 0.65rem 0.58rem;
    font-size: 0.84rem;
  }

  .homepage-post-photo-benefits {
    margin-top: 0.6rem;
    border-radius: 14px;
  }

  .homepage-post-photo-benefits .hero-benefit-item {
    grid-template-columns: 1.7rem minmax(0, 1fr);
    gap: 0.35rem;
    min-height: 3rem;
    padding: 0.4rem 0.45rem;
    font-size: 0.68rem;
  }

  .homepage-post-photo-benefits .hero-benefit-icon {
    width: 1.7rem;
    height: 1.7rem;
  }

  .homepage-post-photo-benefits .hero-benefit-icon svg {
    width: 0.95rem;
    height: 0.95rem;
  }
}
