.trip-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}

.trip-main h1 {
  margin: .5rem 0 1rem;
  font: 700 clamp(2rem, 4vw, 3.25rem)/1.08 Georgia, serif;
}

.trip-intro {
  max-width: 760px;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.trip-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.trip-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--line-dark);
  border-top: 5px solid var(--red);
  background: var(--paper-light);
  text-decoration: none;
}

.trip-choice:nth-child(2) { border-top-color: var(--gold); }
.trip-choice:nth-child(3) { border-top-color: var(--museum); }
.trip-choice:hover { background: #fffdf7; border-color: var(--ink); }
.trip-number { font: 700 1.25rem/1 Georgia, serif; color: var(--red); }
.trip-choice-copy { display: grid; gap: .6rem; margin: .75rem 0 1.25rem; }
.trip-choice strong { font: 700 1.4rem/1.2 Georgia, serif; }
.trip-choice-copy > span { color: var(--ink-soft); font-size: .9375rem; }
.trip-choice small { font-size: .875rem; }
.trip-choice-action { margin-top: auto; font-size: .9375rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

.trip-planning {
  margin: 1.25rem 0 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--paper-light);
}

.trip-planning p { margin: .5rem 0 0; font-size: .9375rem; color: var(--ink-soft); }
.trip-route { padding: 2.25rem 0 2.5rem; border-top: 1px solid var(--line-dark); scroll-margin-top: 1rem; }
.trip-route:target { border-top-color: var(--red); }
.trip-route-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; }
.trip-route h2 { margin: .5rem 0 .75rem; font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.15 Georgia, serif; }
.trip-route-head p { margin: .5rem 0; }
.trip-towns { color: var(--ink-soft); font-size: .9375rem; }
.trip-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: .7rem; }
.trip-actions a { display: inline-flex; justify-content: center; padding: .75rem 1rem; font-size: 1rem; font-weight: 700; text-underline-offset: 3px; }
.trip-actions a:first-child { background: var(--ink); color: var(--paper-light); border: 1px solid var(--ink); text-decoration: none; }
.trip-actions a:first-child:hover { background: #343c35; }
.trip-actions a:last-child { border: 1px solid var(--line-dark); }

.trip-facts { display: grid; grid-template-columns: 1fr 1fr .6fr; margin: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trip-facts > div { padding: 1rem 1rem 1rem 0; }
.trip-facts dt { color: var(--ink-soft); font-size: .875rem; }
.trip-facts dd { margin: .3rem 0 0; font-size: 1rem; font-weight: 750; }
.trip-day { padding: 1rem 1.25rem; background: #eee3ca; }
.trip-route-note { max-width: 880px; color: var(--ink-soft); }

.trip-stops { padding-left: 2.5rem; margin: 1.75rem 0; list-style-type: decimal-leading-zero; }
.trip-stop { padding-left: .75rem; }
.trip-stop::marker { font: 700 1.5rem Georgia, serif; color: var(--red); }
.trip-stop-body { padding: 0 0 1.5rem; }
.trip-stop-kicker { margin: 0 0 .25rem; font-size: .875rem; font-weight: 750; color: var(--ink-soft); }
.trip-stop h3 { font: 700 clamp(1.25rem, 2vw, 1.55rem)/1.25 Georgia, serif; margin: .4rem 0; }
.trip-address { margin: .4rem 0; color: var(--ink-soft); font-size: .9375rem; }
.trip-stop-body > p:not([class]) { max-width: 860px; }
.trip-access { border-left: 2px solid var(--line-dark); background: var(--paper-light); padding: 1rem 1.25rem; max-width: 900px; }
.trip-access strong { font-size: .9375rem; }
.trip-access p { margin: .5rem 0 0; }
.trip-sources { max-width: 900px; margin: .75rem 0 0; font-size: .875rem; line-height: 1.9; }
.trip-main a { text-underline-offset: 3px; }
.trip-next { margin: 0 0 1.5rem; padding: .6rem 0 1.5rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.trip-back { font-size: .9375rem; font-weight: 700; }
.trip-map-note { color: var(--ink-soft); font-size: .9375rem; border-top: 1px solid var(--line-dark); padding-top: 1.5rem; }
.trip-more { font-weight: 700; }

@media (max-width: 800px) {
  .trip-choices { grid-template-columns: 1fr; gap: .75rem; }
  .trip-choice { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .4rem .75rem; }
  .trip-choice-copy { margin: 0; }
  .trip-choice-action { grid-column: 2; margin: .25rem 0 0; }
  .trip-number { padding-top: .25rem; }
  .trip-route-head { grid-template-columns: 1fr; gap: .5rem; }
  .trip-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

@media (max-width: 520px) {
  .trip-main { padding: 1.75rem 1rem 2rem; }
  .trip-choice { padding: 1rem; }
  .trip-facts { grid-template-columns: 1fr; }
  .trip-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: .7rem 0; }
  .trip-facts > div + div { border-top: 1px solid var(--line); }
  .trip-facts dd { margin: 0; }
  .trip-stops { padding-left: 1.8rem; }
  .trip-stop { padding-left: .3rem; }
  .trip-stop::marker { font-size: 1.2rem; }
  .trip-access, .trip-day, .trip-planning { padding: .9rem 1rem; }
  .trip-actions a { width: 100%; }
  .trip-route { padding-top: 1.5rem; }
}
