/* DESIGNMOLE batch 1: responsive media, contrast, focus, and touch targets. */
.content .wp-caption,
.content figure {
  width: auto !important;
  max-width: 100%;
}

/* DESIGNMOLE batch 2: scannable tour overview using the existing card language. */
.content:has(.tour-grid) {
  max-width: 1160px;
}

.tour-intro {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.tour-intro h2 {
  margin-top: 1rem;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.tour-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 35px #182c2010;
}

.tour-card-media,
.tour-card-media picture,
.tour-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.tour-card-media img {
  object-fit: cover;
  border-radius: 0;
}

.tour-card > div {
  display: flex;
  min-height: 255px;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.tour-card h3 {
  margin: 0 0 .7rem;
}

.tour-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.tour-card p {
  margin: 0 0 1rem;
  font-size: .98rem;
  line-height: 1.55;
}

.tour-card-link {
  margin-top: auto;
  font-weight: 750;
}

.tour-contact {
  max-width: 760px;
  margin: 5rem auto 0;
  padding: 2rem;
  border-radius: 18px;
  background: var(--sand);
}

.tour-contact h2 {
  margin-top: 0;
}

@media (max-width: 960px) {
  .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tour-grid {
    grid-template-columns: 1fr;
  }

  .tour-card {
    display: flex;
  }

  .tour-card-media,
  .tour-card-media picture,
  .tour-card-media img {
    height: auto;
  }

  .tour-card > div {
    min-height: 0;
  }

  .tour-contact {
    margin-top: 3rem;
    padding: 1.4rem;
  }
}

.content .wp-caption-text {
  max-width: 100%;
}

.cta .eyebrow {
  color: #f3cf98;
}

:where(a, button):focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 3px;
}

footer a {
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .site-header nav a[aria-current="page"] {
    color: var(--forest);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}
