/* Destinations /destinations (spec 5.6). Page-only styles. */
@layer pages {

.w-dst { padding-top: 8px; }
.w-dst__head { padding-top: 24px; }
@media (min-width: 768px) { .w-dst__head { padding-top: 12px; } }
.w-dst__head .w-eyebrow { margin-bottom: 12px; }
.w-dst__lead { margin-top: 14px; color: var(--w-muted); text-wrap: balance; }
@media (min-width: 600px) { .w-dst__lead-2 { display: block; } }
.w-dst__empty { margin-top: var(--w-sec-head-mb); }
.w-dst__cta { margin-top: 48px; }
.w-dst__cta .w-cta-card__title, .w-dst__cta .w-cta-card__text { text-wrap: balance; }

/* Grid: >= 1024 three columns (a 6-track grid, each card spans 2, so a short last row is centred:
   5 cards = 3 + 2, never 4 + 1); 600 to 1023 two columns (lone last card centred); below, one. */
.w-dst-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--w-grid-gap);
  margin: var(--w-sec-head-mb) 0 0; padding: 0; list-style: none;
}
.w-dst-grid__item { display: flex; min-width: 0; }
@media (min-width: 600px) {
  .w-dst-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .w-dst-grid__item { grid-column: span 2; }
  .w-dst-grid__item:nth-child(2n + 1):last-child { grid-column: 2 / span 2; }
}
@media (min-width: 1024px) {
  .w-dst-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .w-dst-grid__item:nth-child(2n + 1):last-child { grid-column: span 2; }
  .w-dst-grid__item:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
  .w-dst-grid__item:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
}

/* Card (blog card anatomy): white, radius 20, media 4/3, body padding 18 */
.w-dst-card {
  position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0;
  background: var(--w-white); border: var(--w-border); border-radius: var(--w-r-card); overflow: hidden; color: var(--w-ink);
  transition: transform var(--w-dur-base) var(--w-ease), box-shadow var(--w-dur-base) var(--w-ease), border-color var(--w-dur-base) var(--w-ease);
}
.w-dst-card__link { position: absolute; inset: 0; z-index: var(--w-z-card-link); border-radius: inherit; }
.w-dst-card:has(> .w-dst-card__link:focus-visible) { outline: var(--_ring); outline-offset: 3px; box-shadow: var(--_halo); }
.w-dst-card__link:focus-visible { outline: none; box-shadow: none; }
@supports not selector(:has(*)) { .w-dst-card__link:focus-visible { outline: var(--_ring); outline-offset: -4px; } }
.w-dst-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--w-placeholder-bg); flex-shrink: 0; }
.w-dst-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform var(--w-dur-image) var(--w-ease-expo); }
.w-dst-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; padding: 18px; }
.w-dst-card__region { font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--w-teal-ink); }
.w-dst-card__name { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; transition: color var(--w-dur-fast) var(--w-ease); }
.w-dst-card__text {
  font-size: 15px; line-height: 1.55; color: var(--w-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.w-dst-card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.w-dst-card__soon { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--w-muted); }
.w-dst-card__soon .w-icon { width: 16px; height: 16px; color: var(--w-faint); }
.w-dst-card__ask { position: relative; z-index: var(--w-z-card-action); }

/* Linked cards lift like the trip card (fine pointer hover, or keyboard focus) */
.w-dst-card--linked:focus-within { transform: translateY(-3px); box-shadow: var(--w-sh-3); border-color: var(--w-line-hover); }
.w-dst-card--linked:focus-within .w-dst-card__media > img { transform: scale(1.04); }
.w-dst-card--linked:focus-within .w-dst-card__name { color: var(--w-teal-ink); }
.w-dst-card--linked:focus-within .w-dst-card__go { text-decoration-line: underline; }
.w-dst-card--linked:focus-within .w-dst-card__go > .w-icon { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) {
  .w-dst-card--linked:hover { transform: translateY(-3px); box-shadow: var(--w-sh-3); border-color: var(--w-line-hover); }
  .w-dst-card--linked:hover .w-dst-card__media > img { transform: scale(1.04); }
  .w-dst-card--linked:hover .w-dst-card__name { color: var(--w-teal-ink); }
  .w-dst-card--linked:hover .w-dst-card__go { text-decoration-line: underline; }
  .w-dst-card--linked:hover .w-dst-card__go > .w-icon { transform: translateX(3px); }
}
.w-dst-card--linked:active { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .w-dst-card, .w-dst-card--linked:hover, .w-dst-card--linked:focus-within, .w-dst-card--linked:active,
  .w-dst-card__media > img, .w-dst-card--linked:hover .w-dst-card__media > img, .w-dst-card--linked:focus-within .w-dst-card__media > img,
  .w-dst-card__go > .w-icon { transform: none !important; }
}
}
