/* Destinations hub + country hubs (P14) */

.destinations-page,
.country-hub {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem;
}

/* Shared section shell */
.dest-section,
.country-hub section {
  margin-top: 2.5rem;
}

.dest-section-title,
.country-section__title {
  margin: 0 0 0.9rem;
  color: #1d3e2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.dest-section-heading,
.country-section__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.dest-text-link,
.country-section__link {
  color: #1d3e2b;
  font-weight: 800;
  text-decoration: none;
}

.dest-text-link:hover,
.country-section__link:hover {
  color: #315a40;
}

.dest-empty {
  color: #5a5f5a;
}

/* Destinations hero */
.destinations-hero {
  padding: 1.5rem 0 0.5rem;
}

.destinations-hero__breadcrumbs,
.country-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
}

.destinations-hero__breadcrumbs a,
.country-hero__breadcrumbs a {
  color: #315a40;
  text-decoration: none;
}

.destinations-hero__breadcrumbs a:hover,
.country-hero__breadcrumbs a:hover {
  text-decoration: underline;
}

.destinations-hero__eyebrow,
.country-hero__eyebrow {
  margin: 0 0 0.5rem;
  color: #b86835;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.destinations-hero__title,
.country-hero__title {
  margin: 0 0 0.75rem;
  color: #1d3e2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  line-height: 1.1;
}

.destinations-hero__intro {
  max-width: 46rem;
  margin: 0;
  color: #3a443d;
  font-size: 1.05rem;
}

/* Country grid */
.dest-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Country card */
.country-card {
  border: 1px solid #e7e1d3;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fffdf8;
}

.country-card__link {
  display: block;
  color: #223629;
  text-decoration: none;
}

.country-card__link:hover .country-card__title {
  color: #315a40;
}

.country-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef0e8;
}

.country-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-card__media-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d3e2b, #315a40);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.country-card__body {
  padding: 0.9rem 1rem 1rem;
}

.country-card__title {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.country-card__stats {
  margin: 0 0 0.35rem;
  color: #5a5f5a;
  font-size: 0.85rem;
}

.country-card__terrains {
  margin: 0 0 0.6rem;
  color: #5a5f5a;
  font-size: 0.85rem;
}

.country-card__status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.country-card__status--ready {
  background: #e7f2e7;
  color: #1d3e2b;
}

.country-card__status--building {
  background: #f4ede1;
  color: #8b5d37;
}

/* Destinations CTAs */
.destinations-ctas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.dest-cta {
  padding: 1.25rem;
  border: 1px solid #e7e1d3;
  border-radius: 0.9rem;
  background: #fffdf8;
}

.dest-cta h2 {
  margin: 0 0 0.5rem;
  color: #1d3e2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.dest-cta p {
  margin: 0 0 0.9rem;
  color: #5a5f5a;
}

.dest-button,
.country-submit__button,
.country-map-cta__button {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #1d3e2b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.dest-button:hover,
.country-submit__button:hover,
.country-map-cta__button:hover {
  background: #315a40;
}

.dest-featured-guides__grid,
.dest-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Country hub hero */
.country-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 1.75rem;
  align-items: center;
}

.country-hero__tagline {
  margin: 0 0 0.6rem;
  color: #3a443d;
  font-size: 1.15rem;
  font-weight: 650;
}

.country-hero__intro {
  max-width: 42rem;
  margin: 0 0 0.9rem;
  color: #3a443d;
}

.country-hero__stats {
  margin: 0 0 1rem;
  color: #5a5f5a;
}

.country-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.country-hero__action {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid #ddd6c8;
  border-radius: 999px;
  color: #1d3e2b;
  font-weight: 700;
  text-decoration: none;
}

.country-hero__action--primary {
  background: #1d3e2b;
  border-color: #1d3e2b;
  color: #fff;
}

.country-hero__media {
  border-radius: 0.9rem;
  overflow: hidden;
}

.country-hero__media img {
  width: 100%;
  height: auto;
}

/* Country facts */
.country-facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.5rem;
  margin: 0;
}

.country-facts__item {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee9dd;
}

.country-facts__item dt {
  min-width: 9rem;
  color: #8b5d37;
  font-weight: 700;
}

.country-facts__item dd {
  margin: 0;
}

/* Country rules */
.country-rules__block {
  margin-bottom: 1.25rem;
}

.country-rules__block h3 {
  margin: 0 0 0.4rem;
  color: #1d3e2b;
  font-size: 1.05rem;
}

.country-prose p {
  margin: 0 0 0.6rem;
}

.country-rules__unverified {
  padding: 1rem;
  border-left: 4px solid #c88343;
  background: #f6f2e8;
}

.country-rules__unverified p {
  margin: 0 0 0.35rem;
}

.country-rules__note {
  color: #5a5f5a;
  font-size: 0.9rem;
}

/* Country guides / spots grids */
.country-guides__grid,
.country-spots__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.country-terrains__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-terrains__item {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f1eee4;
  color: #1d3e2b;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Verification + related */
.country-verification__sources {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.country-verification__sources a {
  color: #315a40;
  word-break: break-all;
}

.country-verification__reviewed {
  color: #5a5f5a;
  font-size: 0.9rem;
}

.country-verification__disclaimer {
  padding: 0.9rem 1rem;
  border: 1px solid #e7e1d3;
  border-radius: 0.7rem;
  background: #fbf8f1;
  color: #5a5f5a;
  font-size: 0.9rem;
}

.country-related__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-related__list a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 1px solid #ddd6c8;
  border-radius: 999px;
  color: #1d3e2b;
  font-weight: 700;
  text-decoration: none;
}

.country-related__list a:hover {
  background: #f1eee4;
}

/* Focus visibility */
.country-card__link:focus-visible,
.country-hero__action:focus-visible,
.dest-button:focus-visible,
.dest-text-link:focus-visible,
.country-section__link:focus-visible,
.country-map-cta__button:focus-visible,
.country-submit__button:focus-visible,
.country-related__list a:focus-visible,
.country-verification__sources a:focus-visible {
  outline: 3px solid #c88343;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .dest-country-grid,
  .destinations-ctas,
  .dest-featured-guides__grid,
  .dest-latest__grid,
  .country-guides__grid,
  .country-spots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .country-hero__inner {
    grid-template-columns: 1fr;
  }

  .country-hero__media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .dest-country-grid,
  .destinations-ctas,
  .dest-featured-guides__grid,
  .dest-latest__grid,
  .country-guides__grid,
  .country-spots__grid,
  .country-facts__list {
    grid-template-columns: 1fr;
  }
}

