/**
 * XNEV — Responsive
 */

@media (min-width: 768px) {
  .tool-link {
    display: inline;
  }

  .dest-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dest-grid > * {
    min-height: 0;
    height: 100%;
    display: flex;
  }

  .dest-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .dest-grid > *:last-child:nth-child(odd) .dest-card__media {
    aspect-ratio: 21 / 9;
  }

  .dest-card--lg {
    grid-row: auto;
  }

  .finder__steps {
    grid-template-columns: 1fr 1fr;
  }

  .food-layout {
    grid-template-columns: 1.4fr 1fr;
  }

  .journal-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .guide-grid,
  .area-grid,
  .exp-grid,
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split__pane {
    min-height: 32rem;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .culture-block {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
  }

  .map-board {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .season-stage {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .region-explorer {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: stretch;
  }

  .region-map {
    flex-direction: column;
    overflow: visible;
    border-left: 1px solid var(--line);
    padding-left: 1rem;
  }

  .region-map button {
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    width: 100%;
  }

  .dest-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dest-grid > *:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .dest-grid > *:last-child:nth-child(odd) .dest-card__media {
    aspect-ratio: 4 / 5;
  }

  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .exp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .exp-grid > *:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }

  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .finder__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero__inner {
    padding-bottom: 7rem;
  }

  .journal-grid {
    grid-template-columns: 1.6fr 0.9fr;
  }
}

@media (max-width: 767px) {
  .hero h1,
  .page-hero h1,
  .section__header h2,
  .final-cta h2 {
    max-width: 12ch;
  }

  .btn-row .btn {
    width: 100%;
    justify-content: center;
  }

  .finder-card {
    grid-template-columns: 5.5rem 1fr;
  }
}

@media (max-width: 359px) {
  :root {
    --gutter: 1rem;
    --fs-hero: clamp(2rem, 12vw, 2.6rem);
  }

  .hero {
    min-height: 88svh;
  }

  .page-hero {
    min-height: 58svh;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 90svh;
  }

  .page-hero {
    min-height: 62svh;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1240px;
    --container-wide: 1440px;
  }
}

@media (min-width: 1600px) {
  .hero__inner,
  .page-hero__inner {
    padding-bottom: 5.5rem;
  }
}
