/**
 * Ways to Travel overview page.
 * Scoped to body.is-ways / .ways-page (Sunward orange + Manrope UI).
 */

body.is-ways,
.ways-page {
  --ways-ink: var(--charcoal, var(--swt-palette-1c2421, #1c2421));
  --ways-line: var(--swt-palette-1c2421-a100, rgba(28, 36, 33, 0.1));
  font-family: var(--font-body);
}

body.is-ways .elementor-widget[data-widget_type="shortcode.default"] + .elementor-widget,
body.is-ways .elementor-widget:empty {
  display: none;
}

body.is-ways:not(.is-home) .page-hero,
.ways-page__hero {
  min-height: clamp(28rem, 62vh, 40rem);
}

body.is-ways .page-hero::after,
.ways-page__hero::after {
  background: linear-gradient(180deg, var(--swt-palette-102820-a350, rgba(16, 40, 32, 0.35)) 0%, var(--swt-palette-102820-a780, rgba(16, 40, 32, 0.78)) 100%);
}

body.is-ways .page-hero__content,
.ways-page__hero .page-hero__content {
  max-width: 46rem;
  padding-block: clamp(5.5rem, 12vw, 8.5rem) clamp(3rem, 6vw, 4.5rem);
}

body.is-ways .page-hero h1,
.ways-page__hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 16ch;
}

.ways-page__hero-copy {
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: 42rem;
}

.ways-page__hero-copy .lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.ways-page__hero-copy p {
  margin: 0;
}

.ways-page__hero .page-hero__actions {
  margin-top: 1.75rem;
}

/* Process */
.ways-page__process .section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
}

.ways-page__process-grid {
  align-items: stretch;
  gap: 1.5rem;
}

.ways-page__process .process-step {
  background: #fff;
  border: 1px solid var(--ways-line);
  border-radius: 1.1rem;
  border-top: 3px solid var(--ochre-600, var(--swt-palette-c66a2b, #c66a2b));
  height: 100%;
  padding: 1.5rem 1.35rem 1.6rem;
}

.ways-page__process .process-step__number {
  color:var(--swt-accent-text, var(--ochre-600, var(--swt-palette-c66a2b, #c66a2b)));
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ways-page__process .process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.85rem 0 0.75rem;
}

.ways-page__process .process-step p {
  color: var(--muted, var(--swt-palette-66716b, #66716b));
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* Four way sections */
.ways-page__ways {
  padding-top: 0;
}

.ways-page__ways .section-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.ways-page__ways .section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
}

.ways-page__way {
  border-top: 1px solid var(--ways-line);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.ways-page__way-head {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
}

.ways-page__way-number {
  color:var(--swt-accent-text, var(--ochre-600, var(--swt-palette-c66a2b, #c66a2b)));
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ways-page__way-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.ways-page__way-lede {
  color: var(--ways-ink);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0.85rem 0 0;
}

.ways-page__way-body {
  color: var(--muted, var(--swt-palette-66716b, #66716b));
  display: grid;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.ways-page__way-body > p {
  margin: 0;
}

.ways-page__best-for {
  background: linear-gradient(180deg, var(--swt-palette-f3f1ec, #f3f1ec) 0%, var(--swt-palette-faf9f7, #faf9f7) 100%);
  border-left: 3px solid var(--ochre-600, var(--swt-palette-c66a2b, #c66a2b));
  border-radius: 0 0.85rem 0.85rem 0;
  color: var(--ways-ink);
  margin-top: 0.35rem;
  padding: 1rem 1.15rem;
}

.ways-page__best-for strong {
  color: var(--forest-900, var(--swt-palette-102820, #102820));
}

.ways-page__lists {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.35rem;
}

.ways-page__list h4 {
  color: var(--ways-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.65rem;
}

.ways-page__list .check-list {
  margin-top: 0;
}

.ways-page__way-cta {
  margin-top: 0.5rem;
}

/* Styles grid */
.ways-page__styles .section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.ways-page__styles-grid {
  align-items: stretch;
  gap: 1.15rem;
}

.ways-page__style {
  background: #fff;
  border: 1px solid var(--ways-line);
  border-radius: 1.1rem;
  border-top: 3px solid var(--ochre-600, var(--swt-palette-c66a2b, #c66a2b));
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.35rem 1.5rem;
}

.ways-page__style-index {
  color:var(--swt-accent-text, var(--ochre-600, var(--swt-palette-c66a2b, #c66a2b)));
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ways-page__style h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.7rem 0 0.65rem;
}

.ways-page__style p {
  color: var(--muted, var(--swt-palette-66716b, #66716b));
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

.ways-page__unsure .callout p + p,
.ways-page__closing .callout p + p {
  margin-top: 0.85rem;
}

.ways-page__unsure .callout,
.ways-page__closing .callout {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .ways-page__way {
    grid-template-columns: 1fr;
  }

  .ways-page__lists {
    grid-template-columns: 1fr;
  }

  .ways-page__process-grid,
  .ways-page__styles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body.is-ways:not(.is-home) .page-hero,
  .ways-page__hero {
    min-height: auto;
  }

  body.is-ways .page-hero h1,
  .ways-page__hero h1 {
    max-width: none;
  }

  .ways-page__process-grid,
  .ways-page__styles-grid {
    grid-template-columns: 1fr;
  }

  .ways-page__way-head {
    grid-template-columns: 1fr;
  }
}
