/* =========================================================
   Block: DESTINATION CARDS (v0.1) - Home page
   One card per destination: photo, name, one line. The whole
   card is one link (to the destination page, or to the
   enquiry form if that destination has no page yet).
   Phones: one column. Tablet: two. Desktop: three.
   ========================================================= */
.dests__title { font-size: var(--text-h2); max-width: 20ch; }
.dests__lead { margin-top: var(--space-3); color: var(--colour-text-muted); max-width: 46ch; }
.dests__list {
  list-style: none; margin: var(--space-6) 0 0; padding: 0;
  display: grid; gap: var(--space-6) var(--space-5);
}
@media (min-width: 40rem) { .dests__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .dests__list { grid-template-columns: repeat(3, 1fr); } }
.dest__link { display: grid; gap: var(--space-2); color: var(--colour-text); text-decoration: none; }
.dest__photo { display: block; aspect-ratio: var(--ratio-card); border-radius: var(--radius-large); overflow: hidden; background: var(--colour-border); }
.dest__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.dest__photo { transition: transform 300ms ease; }
.dest__link:hover .dest__photo { transform: translateY(var(--motion-lift, 0px)); }   /* Motion level */
.dest__link:hover .dest__photo img { transform: scale(var(--motion-photo-zoom, 1.04)); }
.dest__name { font-family: var(--font-heading); font-size: var(--text-h3); margin-top: var(--space-2); }
.dest__line { color: var(--colour-text-muted); }
.dest__more { font-weight: var(--weight-strong); color: var(--colour-link); }
.dest__link:hover .dest__more { text-decoration: underline; }

/* Heading row with an "All destinations" link (Home page) */
.dests__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-5); }
.dests__all { display: inline-flex; align-items: center; min-height: var(--tap-target-min); font-weight: var(--weight-strong); color: var(--colour-link); text-decoration: none; white-space: nowrap; }
.dests__all:hover { text-decoration: underline; }

/* A destination without a photo yet: a plain panel with its name (staging only) */
.dest__photo--none { display: grid; place-items: center; padding: var(--space-4); text-align: center;
  background: var(--colour-tag); color: var(--colour-on-tag); font-family: var(--font-heading); font-size: var(--text-h3); }

/* Destinations page: one section per group, closer together than normal sections */
.dests--group { padding-top: 0; }
.dests--group .dests__title { font-size: var(--text-h3); max-width: none; }
.dests--group .dests__list { margin-top: var(--space-5); }
