:root {
  --mw-page-max: 1200px;
  --mw-page-reading: 760px;
  --mw-page-gap: clamp(32px, 4vw, 54px);
}

.mw-overview-page,
.mw-taxonomy-landing,
.mw-region-landing,
.mw-home {
  background: var(--mw-bg);
}

.mw-overview-page .mw-section,
.mw-taxonomy-landing .mw-section,
.mw-region-landing .mw-section {
  padding: clamp(56px, 7vw, var(--mw-section-space)) 0;
}

.mw-overview-page .mw-section + .mw-section,
.mw-taxonomy-landing .mw-section + .mw-section,
.mw-region-landing .mw-section + .mw-section {
  margin-top: -12px;
}

.mw-overview-page .mw-container,
.mw-taxonomy-landing .mw-container,
.mw-region-landing .mw-container,
.mw-home .mw-container {
  width: min(calc(100% - 32px), var(--mw-page-max));
}

.mw-overview-page .mw-narrow,
.mw-taxonomy-landing .mw-narrow,
.mw-region-landing .mw-narrow {
  width: min(calc(100% - 32px), var(--mw-page-reading));
}

.mw-overview-hero .mw-hero__content,
.mw-ship-archive .mw-hero__content,
.mw-taxonomy-landing .mw-hero__content,
.mw-region-landing .mw-hero__content {
  padding-top: clamp(112px, 16vw, 164px);
  padding-bottom: clamp(88px, 11vw, 122px);
  width: min(calc(100% - 32px), 1200px);
  max-width: 1020px;
}

.mw-overview-hero h1,
.mw-ship-archive .mw-hero h1,
.mw-taxonomy-landing .mw-hero h1,
.mw-region-landing .mw-hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.95rem);
  line-height: 0.97;
  max-width: 12.6ch;
  text-wrap: pretty;
}

.mw-overview-hero p,
.mw-ship-archive .mw-hero p,
.mw-taxonomy-landing .mw-hero p,
.mw-region-landing .mw-hero p {
  max-width: 58ch;
}

.mw-hero__intro {
  max-width: 58ch;
}

.mw-hero__intro p {
  margin: 0 0 1rem;
}

.mw-hero__intro p:last-child {
  margin-bottom: 0;
}

.mw-home .mw-home-hero .mw-hero__content {
  width: min(calc(100% - 32px), 1320px);
  max-width: 1240px;
  padding-top: clamp(116px, 15vw, 168px);
  padding-bottom: clamp(88px, 10vw, 118px);
}

.mw-home .mw-home-hero h1 {
  max-width: 15.8ch;
  font-size: clamp(3.12rem, 5vw, 4.92rem);
  line-height: 0.94;
  text-wrap: pretty;
}

.mw-home .mw-home-hero p {
  max-width: 58ch;
}

.mw-home-hero .mw-hero__shade {
  background: var(--mw-hero-gradient);
}

.mw-home-finder--below-hero {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  margin-bottom: 18px;
}

.mw-home-finder--landing,
.mw-taxonomy-landing .mw-section--finder,
.mw-region-landing .mw-region-finder {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  padding-top: 0;
  padding-bottom: 18px;
}

.mw-overview-intro .mw-editorial-split,
.mw-tax-intro .mw-editorial-split,
.mw-region-intro .mw-editorial-split {
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.mw-overview-intro .mw-content,
.mw-overview-seo .mw-content,
.mw-tax-summary .mw-content,
.mw-tax-seo .mw-content,
.mw-region-summary .mw-content,
.mw-region-seo-text .mw-content {
  max-width: 74ch;
}

.mw-overview-cards .mw-section-heading,
.mw-overview-seo .mw-section-heading,
.mw-tax-editorial .mw-section-heading,
.mw-tax-featured-trips .mw-section-heading,
.mw-region-top-offers .mw-section-heading,
.mw-region-trip-grid .mw-section-heading {
  margin-bottom: 26px;
}

.mw-editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(20px, 3vw, 26px) 0;
}

.mw-editorial-band.is-reversed .mw-editorial-band__media {
  order: 2;
}

.mw-editorial-band__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.mw-editorial-band__content h2 {
  margin-bottom: 14px;
}

.mw-ship-archive-section .mw-container {
  width: min(calc(100% - 32px), 1280px);
}

.mw-ship-archive .mw-ship-archive-main {
  margin-top: 4px;
}

.mw-faq-section .mw-section-heading,
.mw-tax-faq .mw-section-heading {
  margin-bottom: 20px;
}

.mw-home-utility .mw-card--home-utility {
  overflow: hidden;
  background: #fff;
}

.mw-home-utility .mw-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.mw-home-utility .mw-card__body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.mw-home-utility .mw-card__body h3,
.mw-home-utility .mw-card__body p {
  margin: 0;
}

@media (max-width: 1024px) {
  .mw-overview-page .mw-section,
  .mw-taxonomy-landing .mw-section,
  .mw-region-landing .mw-section {
    padding: clamp(48px, 8vw, var(--mw-section-space)) 0;
  }

  .mw-home .mw-home-hero .mw-hero__content {
    width: min(calc(100% - 32px), 1180px);
    max-width: 1100px;
  }

  .mw-home .mw-home-hero h1 {
    max-width: 14.1ch;
    font-size: clamp(2.9rem, 5.7vw, 4.28rem);
    line-height: 0.97;
  }

  .mw-overview-hero .mw-hero__content,
  .mw-ship-archive .mw-hero__content,
  .mw-taxonomy-landing .mw-hero__content,
  .mw-region-landing .mw-hero__content {
    max-width: 980px;
  }

  .mw-overview-hero h1,
  .mw-ship-archive .mw-hero h1,
  .mw-taxonomy-landing .mw-hero h1,
  .mw-region-landing .mw-hero h1 {
    max-width: 11.8ch;
    font-size: clamp(2.55rem, 6vw, 4rem);
  }

  .mw-editorial-band {
    grid-template-columns: 1fr;
  }

  .mw-editorial-band.is-reversed .mw-editorial-band__media {
    order: 0;
  }
}

@media (max-width: 767px) {
  .mw-overview-page .mw-section,
  .mw-taxonomy-landing .mw-section,
  .mw-region-landing .mw-section {
    padding: 42px 0;
  }

  .mw-overview-page .mw-section + .mw-section,
  .mw-taxonomy-landing .mw-section + .mw-section,
  .mw-region-landing .mw-section + .mw-section {
    margin-top: -8px;
  }

  .mw-overview-hero .mw-hero__content,
  .mw-ship-archive .mw-hero__content,
  .mw-taxonomy-landing .mw-hero__content,
  .mw-region-landing .mw-hero__content,
  .mw-home .mw-home-hero .mw-hero__content {
    padding-top: 106px;
    padding-bottom: 82px;
  }

  .mw-overview-hero h1,
  .mw-ship-archive .mw-hero h1,
  .mw-taxonomy-landing .mw-hero h1,
  .mw-region-landing .mw-hero h1,
  .mw-home .mw-home-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 0.99;
    max-width: 100%;
  }

  .mw-home .mw-home-hero p {
    max-width: 100%;
  }

  .mw-home-finder--below-hero {
    margin-top: -34px;
    margin-bottom: 4px;
  }

  .mw-home-finder--landing,
  .mw-taxonomy-landing .mw-section--finder,
  .mw-region-landing .mw-region-finder {
    margin-top: -34px;
    padding-bottom: 4px;
  }

  .mw-overview-intro .mw-editorial-split,
  .mw-tax-intro .mw-editorial-split,
  .mw-region-intro .mw-editorial-split,
  .mw-editorial-band {
    gap: 18px;
  }
}
