:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #24342f;
  background: #f7f9f8;
  font-size: 18px;
  line-height: 1.6;
  --green: #225a4a;
  --muted: #52665e;
  --line: #d6dfdb;
  --red: #a43d46;
  --gold: #f3d18a;
  letter-spacing: 0;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b44843;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
svg:not(.leaflet-zoom-animated) {
  width: 22px;
  height: 22px;
  flex: none;
  vertical-align: middle;
}
button {
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
  border-radius: 6px;
  min-height: 48px;
  min-width: 48px;
}
main,
footer,
.masthead,
.trip-facts {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
main {
  padding: 34px 0 64px;
  min-height: 450px;
}
main:focus {
  outline: none;
}
.masthead {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
}
.brand span {
  font-size: 0.7rem;
  color: var(--red);
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.tools {
  display: flex;
  gap: 8px;
}
.tools button {
  border: 0;
  background: transparent;
}
.hero {
  position: relative;
  height: 310px;
  background: #417e82;
  color: white;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
}
.hero-caption {
  position: absolute;
  left: max(24px, calc((100% - 1160px) / 2));
  bottom: 30px;
  background: #153b32e8;
  padding: 20px 28px 14px;
  border-left: 4px solid var(--gold);
  max-width: calc(100% - 48px);
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: 3.7rem;
  line-height: 1;
  margin: 0 0 8px;
  font-weight: normal;
}
.hero p {
  margin: 0 0 5px;
  font-size: 0.95rem;
}
.hero p:first-child {
  font-size: 0.72rem;
  color: #f7dfa9;
  font-weight: bold;
}
.photo-label {
  position: absolute;
  right: 22px;
  bottom: 14px;
  font-size: 0.72rem;
  background: #17352edf;
  padding: 3px 8px;
}
.trip-facts {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.trip-facts span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navigation {
  display: flex;
  justify-content: center;
  background: white;
  border-block: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 16px;
}
.navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 64px;
  padding: 12px 22px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: bold;
}
.navigation a[aria-current="page"] {
  color: var(--green);
  border-color: var(--green);
  background: #eef5f1;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--red);
  margin-bottom: 8px;
}
.subtle {
  color: var(--muted);
  font-size: 0.9rem;
}
.program-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 40px;
}
.days {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-self: start;
}
.days a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  min-height: 64px;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.days a[aria-current="true"] {
  background: #e5eee8;
  border-color: var(--green);
  color: var(--green);
}
.day-number {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  width: 30px;
  flex: none;
}
.days small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 3px;
}
.day-title {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.15;
  margin: 0 0 12px;
}
.day-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.day-heading .eyebrow {
  margin-bottom: 10px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.fact {
  display: flex;
  gap: 12px;
  align-items: start;
}
.fact svg {
  color: var(--green);
  margin-top: 3px;
}
.fact b {
  display: block;
}
.transfer {
  grid-column: 1/-1;
  background: #eaf1ed;
  padding: 16px;
  border-left: 3px solid var(--green);
}
.notice {
  padding: 14px 18px;
  background: #fff3dc;
  border-left: 3px solid #ac7623;
  font-size: 0.92rem;
  margin: 20px 0;
  color: #62471e;
}
.timeline {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  padding-bottom: 26px;
}
.timeline .time {
  font-size: 0.83rem;
  color: var(--red);
  font-weight: bold;
  padding-top: 2px;
}
.timeline .event {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  position: relative;
}
.timeline .event:before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 4px solid #f7f9f8;
  box-sizing: content-box;
  position: absolute;
  left: -9px;
  top: 4px;
  border-radius: 50%;
}
.timeline p {
  font-size: 0.96rem;
  margin-bottom: 5px;
}
.timeline h3 a {
  text-decoration: none;
}
.timeline h3 a:hover {
  text-decoration: underline;
}
.detail-link {
  font-size: 0.82rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
}
.detail-link svg {
  width: 16px;
  height: 16px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--green);
  border-radius: 6px;
  min-height: 48px;
  padding: 9px 16px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  background: #fff;
  color: var(--green);
}
.button.primary {
  background: var(--green);
  color: #fff;
}
.day-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.place-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.place-card .detail-link {
  margin-top: auto;
}
.place-card p {
  font-size: 0.9rem;
}
.place-card .eyebrow {
  font-size: 0.75rem;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-bottom: 22px;
  font-weight: bold;
  font-size: 0.9rem;
}
.detail {
  max-width: 820px;
}
.detail h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 2.2rem;
}
.detail .intro {
  font-size: 1.15rem;
}
.detail .practical {
  border-block: 1px solid var(--line);
  padding: 24px 0;
  margin: 28px 0;
}
.related {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.map-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.map-toolbar select {
  max-width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 8px 12px;
  color: var(--green);
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.map {
  height: 520px;
  border: 1px solid var(--line);
  background: #e6eee9;
  z-index: 0;
}
.map .leaflet-popup-content {
  font-size: 16px;
  line-height: 1.5;
}
.map .leaflet-control-attribution {
  font-size: 11px;
}
.stops {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stops li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.stops a {
  font-weight: bold;
}
.stops .subtle {
  display: block;
  font-size: 0.78rem;
}
.map-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}
.info-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.info-section:first-child {
  padding-top: 0;
}
.info-section h3 {
  margin-bottom: 14px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-section li {
  margin: 10px 0;
}
.costs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.costs th,
.costs td {
  text-align: left;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
.costs th {
  font-size: 0.8rem;
  color: var(--muted);
}
.costs td:last-child {
  font-weight: bold;
}
.connection {
  text-align: center;
  padding: 10px;
  background: #fff0cc;
  font-size: 0.9rem;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 40px;
  color: var(--muted);
  font-size: 0.77rem;
}
footer p {
  margin: 0 0 6px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding-top: 8px;
}
.skip {
  position: fixed;
  top: -100px;
  background: #fff;
  padding: 10px;
  z-index: 2000;
}
.skip:focus {
  top: 10px;
}
.large-text {
  font-size: 21px;
}
.empty {
  padding: 40px 0;
}
img {
  max-width: 100%;
}
main > * {
  min-width: 0;
}
.print-only {
  display: none;
}
.hero-caption {
  background: none;
  border: 0;
  padding: 0;
  top: 24px;
  bottom: auto;
  color: #173d31;
  text-shadow:
    0 1px 4px #fff,
    0 0 14px #fff;
}
.hero p:first-child {
  color: #8a2937;
}
.hero img {
  object-position: center 15%;
}
.skip {
  visibility: hidden;
}
.skip:focus {
  visibility: visible;
}
.info-grid > * {
  min-width: 0;
}
h1,
h2,
h3,
p,
li,
td {
  overflow-wrap: anywhere;
}
@media (min-width: 1400px) {
  .hero {
    height: 340px;
  }
}
@media (max-width: 800px) {
  .program-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .days {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .days a {
    min-width: 85px;
    flex: none;
    flex-direction: column;
    gap: 2px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    justify-content: center;
    text-align: center;
    padding: 8px;
  }
  .days .day-number {
    font-size: 1.2rem;
    width: auto;
  }
  .days .day-area {
    display: none;
  }
  .days small {
    margin: 0;
    font-size: 0.75rem;
  }
  .days a[aria-current="true"] {
    border-color: var(--green);
  }
  .place-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map {
    height: 400px;
  }
  .stops {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .navigation {
    gap: 0;
  }
  .navigation a {
    padding: 12px 18px;
  }
  .hero-caption {
    padding: 16px 20px;
  }
  .photo-label {
    display: none;
  }
}
@media (max-width: 520px) {
  main,
  footer,
  .masthead,
  .trip-facts {
    width: calc(100% - 32px);
  }
  .masthead {
    height: 64px;
  }
  .brand {
    font-size: 0.82rem;
    gap: 8px;
  }
  .brand span {
    display: none;
  }
  .hero {
    height: 240px;
  }
  .hero-caption {
    left: 16px;
    bottom: 20px;
    max-width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 0.81rem;
  }
  .hero p:first-child {
    font-size: 0.67rem;
  }
  .trip-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 0.76rem;
    padding: 15px 0;
  }
  .trip-facts svg {
    width: 19px;
    height: 19px;
  }
  .navigation a {
    flex: 1;
    flex-direction: column;
    gap: 3px;
    padding: 9px 3px;
    font-size: 0.72rem;
    min-width: 0;
    min-height: 66px;
  }
  .navigation svg {
    width: 21px;
    height: 21px;
  }
  main {
    padding-top: 24px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 1.5rem;
  }
  .day-title {
    font-size: 1.8rem;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 24px;
  }
  .timeline .time {
    padding-left: 24px;
  }
  .timeline .event {
    padding-left: 24px;
    margin-left: 3px;
  }
  .timeline h3 {
    font-size: 1.08rem;
  }
  .place-grid {
    grid-template-columns: 1fr;
  }
  .place-card {
    padding: 20px;
  }
  .day-controls .button {
    font-size: 0.79rem;
    padding: 8px 10px;
  }
  .map {
    height: 360px;
  }
  .stops {
    grid-template-columns: 1fr;
  }
  .map-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .costs th,
  .costs td {
    padding: 12px 5px;
    font-size: 0.83rem;
  }
  .large-text .navigation a {
    font-size: 0.66rem;
  }
  .large-text .brand {
    font-size: 0.74rem;
  }
  .hero-caption {
    background: #153b32ed;
  }
  .detail h2 {
    font-size: 1.8rem;
  }
}
@media (max-width: 800px) {
  .hero-caption {
    background: none;
    padding: 0;
    bottom: auto;
    top: 20px;
  }
  .hero-caption p:last-child {
    max-width: 190px;
    font-weight: bold;
  }
}
@media (max-width: 360px) {
  .navigation a,
  .large-text .navigation a {
    font-size: 12px;
  }
}
@media print {
  .masthead,
  .hero,
  .trip-facts,
  .navigation,
  footer,
  .days,
  .actions,
  .day-controls,
  .back,
  .connection,
  .detail-link {
    display: none !important;
  }
  .print-only {
    display: block;
  }
  body {
    background: white;
    font-size: 11pt;
  }
  main {
    width: 100%;
    padding: 0;
  }
  .program-layout {
    display: block;
  }
  .print-day {
    break-before: page;
  }
  .print-day:first-child {
    break-before: auto;
  }
  .timeline li {
    break-inside: avoid;
    padding-bottom: 12px;
  }
  .notice {
    background: white;
  }
  .facts {
    font-size: 10pt;
  }
  .day-title {
    font-size: 24pt;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
