/* ============================================================
   Local area guide section
   ============================================================ */
.local-area {
  padding: 100px;
  background: var(--paper-elevated);
}

.local-area__inner {
  width: 100%;
}

/* ============================================================
   Attractions: full-width image panels, stacked
   ============================================================ */
.attraction-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.attraction {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.attraction__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.attraction:hover .attraction__img,
.attraction:focus-visible .attraction__img {
  transform: scale(1.04);
}

.attraction__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 40%, rgba(var(--ink-rgb), 0.78) 100%);
}

.attraction__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 48px;
  max-width: 660px;
  color: #fff;
}

.attraction__eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dusk-glow-soft);
}

/* font-family/weight/style come from .headline-accent (stacked onto this
   class in the markup, same bold-italic Playfair treatment used in the
   hero and section headings): only sizing/color/spacing live here. */
.attraction__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.15;
  color: #fff;
}

.attraction__desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: pretty;
}

.local-area__credit {
  margin: 36px 0 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  opacity: 0.75;
}

.local-area__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .attraction {
    aspect-ratio: 4 / 5;
  }

  .attraction__content {
    max-width: 100%;
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .local-area {
    padding-inline: 24px;
  }

  /* Bottom-only gradient reads fine on wide desktop panels, but on the
     taller 4/5 mobile crop it leaves the top/middle of the image
     (often the busiest part of the photo) with no scrim at all, which
     was making the eyebrow/title/desc hard to read. Flat black overlay
     across the whole image on phones instead of just the bottom third. */
  .attraction__scrim {
    background: rgba(0, 0, 0, 0.44);
  }
}
