/* ===== GP RESET — body.post-type-archive-destination ===================== */
body.post-type-archive-destination #content,
body.post-type-archive-destination #primary,
body.post-type-archive-destination .site-content,
body.post-type-archive-destination .content-area,
body.post-type-archive-destination main,
body.post-type-archive-destination .site-main,
body.post-type-archive-destination .inside-article,
body.post-type-archive-destination .entry-content {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
}
body.post-type-archive-destination .generate-page-header,
body.post-type-archive-destination .entry-header,
body.post-type-archive-destination .page-header { display: none !important; }

body.post-type-archive-destination {
  background: #FFFFFF;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "opsz" 14;
}
body.post-type-archive-destination *,
body.post-type-archive-destination *::before,
body.post-type-archive-destination *::after { box-sizing: border-box; }
body.post-type-archive-destination a   { color: inherit; text-decoration: none; }
body.post-type-archive-destination img { max-width: 100%; display: block; }

/* ===== ARCHIVE WRAPPER ==================================================== */
.archive-destination-page { max-width: 100%; overflow: hidden; }

/* ===== ARCHIVE HEADER ===================================================== */
.archive-header {
  padding: 56px 40px 40px;
  border-bottom: 0.5px solid #D4D8DC;
}
.archive-header__inner { max-width: 800px; }
.archive-header__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  margin: 0;
}
.archive-header__title em { font-style: italic; color: #1F4D5C; font-weight: 300; }

/* ===== CONTENT AREA ======================================================= */
.archive-destination-content { padding: 48px 40px 64px; }

/* ===== DESTINATION TILES GRID ============================================= */
.archive-destination__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* stagger reveal */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stagger > * { opacity: 0; transform: translateY(16px); }
.stagger.in > * { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }
.stagger.in > *:nth-child(1)  { animation-delay: 0.00s; }
.stagger.in > *:nth-child(2)  { animation-delay: 0.05s; }
.stagger.in > *:nth-child(3)  { animation-delay: 0.10s; }
.stagger.in > *:nth-child(4)  { animation-delay: 0.15s; }
.stagger.in > *:nth-child(5)  { animation-delay: 0.20s; }
.stagger.in > *:nth-child(6)  { animation-delay: 0.25s; }
.stagger.in > *:nth-child(n+7){ animation-delay: 0.30s; }

/* ===== DESTINATION CARD =================================================== */
.destination-card {
  border: 0.5px solid #D4D8DC;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.destination-card:hover { border-color: #9CA3A8; }

/* Placeholder (empty region) — subtle visual de-emphasis */
.destination-card--placeholder {
  opacity: 0.65;
}
.destination-card--placeholder:hover { opacity: 0.85; }

/* Image */
.destination-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #F5F5F3;
}
.destination-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.destination-card:hover .destination-card__img-wrap img { transform: scale(1.04); }

/* Body */
.destination-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
}

/* Coming-soon badge */
.destination-card__badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A7A7A;
  margin-bottom: 6px;
  display: block;
}

/* Title */
.destination-card__title {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 6px;
}
.destination-card__title a { color: #0A0A0A; transition: color 0.15s; }
.destination-card:hover .destination-card__title a { color: #1F4D5C; }

/* Tagline / short desc */
.destination-card__tagline {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  line-height: 1.45;
  color: #7A7A7A;
  flex: 1;
  margin-bottom: 10px;
}

/* CTA */
.destination-card__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #1F4D5C;
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.15s;
}
.destination-card--placeholder .destination-card__cta { color: #9CA3A8; border-color: #9CA3A8; }

/* ===== EMPTY + PAGINATION ================================================= */
.archive-no-results {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #7A7A7A;
  padding: 48px 0;
  text-align: center;
}
.archive-pagination { margin-top: 48px; }
.archive-pagination .page-numbers {
  display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap;
}
.archive-pagination .page-numbers li a,
.archive-pagination .page-numbers li span {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 8px 14px;
  border: 0.5px solid #D4D8DC;
  color: #404040;
  transition: border-color 0.15s, color 0.15s;
}
.archive-pagination .page-numbers li a:hover { border-color: #1F4D5C; color: #1F4D5C; }
.archive-pagination .page-numbers li span.current {
  background: #1F4D5C; color: #FFFFFF; border-color: #1F4D5C;
}

/* ===== RESPONSIVE ========================================================= */
@media (max-width: 1024px) {
  .archive-destination__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .archive-header            { padding: 36px 20px 28px; }
  .archive-destination-content { padding: 32px 20px 48px; }
  .archive-destination__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .archive-destination__grid { grid-template-columns: 1fr; }
}
