#routes.p0-route-list .section-top .eyebrow { display: none; }
#routes.p0-route-list .section-top { align-items: end; margin-bottom: 20px; }
#routes.p0-route-list .section-top > p { color: #495f50; }
#routes.p0-route-list #route-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  overflow: visible;
  align-items: start;
}
#routes .p0-route-featured {
  display: flex;
  min-height: 188px;
  grid-row: span 2;
  align-items: stretch;
  border-radius: 12px;
  text-decoration: none;
  color: #173e35;
}
#routes .p0-route-featured > img { width: 38%; min-width: 0; flex: 0 0 38%; height: auto; object-fit: cover; }
#routes .p0-route-featured .route-content { padding: 14px 16px; min-width: 0; }
#routes .p0-route-featured .route-number,
#routes .p0-route-index-meta { color: #4b6355; font-size: 12px; letter-spacing: normal; }
#routes .p0-route-featured h3 { font-size: 18px; line-height: 1.38; word-break: normal; }
#routes .p0-route-featured p { font-size: 13px; color: #4b6355; line-height: 1.5; }
#routes .p0-route-featured .route-arrow { color: #173e35; font-size: 13px; margin-top: 9px; }
#routes .p0-route-more,
#routes .p0-route-day { min-width: 0; border-radius: 10px; border: 1px solid #d1dad0; background: var(--bg, #f8f7f2); }
#routes .p0-route-more summary {
  min-height: 48px;
  color: #173e35;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
}
#routes .p0-route-index { margin: 0; padding: 0; list-style: none; }
#routes .p0-route-index li { margin: 0; border-top: 1px solid #e0e6dd; }
#routes .p0-route-index-link,
#routes .p0-route-day { display: grid; gap: 3px; padding: 11px 14px; color: #173e35; text-decoration: none; min-height: 48px; }
#routes .p0-route-index-link strong,
#routes .p0-route-day strong { font-size: 15px; line-height: 1.42; overflow-wrap: anywhere; }
#routes .p0-route-index-detail { color: #4b6355; font-size: 13px; line-height: 1.42; overflow-wrap: anywhere; }

body:has(.p0-route-standalone) header [data-share-site] { display: none; }
body:has(.p0-route-standalone) > .se-assistant-launch { display: none; }
.p0-route-standalone > p.eyebrow,
.p0-route-modal .detail-body > .eyebrow { color: #4b6355; font-size: 12px; letter-spacing: normal; margin-bottom: 8px; }
.p0-route-standalone .landing-title-row { margin-bottom: 12px; }
.p0-route-standalone .landing-title-row h1,
.p0-route-modal .p0-route-modal-title h2 { font-size: clamp(25px, 5.4vw, 39px); line-height: 1.24; word-break: normal; margin: 0; overflow-wrap: anywhere; }
.p0-route-standalone .p0-route-overview,
.p0-route-modal .p0-route-overview { background: #edf0e5; border: 1px solid #d1dad0; border-radius: 12px; padding: 14px; margin: 0 0 14px; }
.p0-route-summary .p0-route-endpoints { color: #173e35; font-size: 17px; font-weight: 700; line-height: 1.43; margin: 0 0 3px; }
.p0-route-summary .p0-route-time { color: #234438; font-size: 14px; font-weight: 600; line-height: 1.45; margin: 0; }
.p0-route-summary .p0-route-time span { display: block; color: #495f50; font-weight: 400; font-size: 12px; margin-top: 3px; }
.p0-route-overview .p0-route-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 12px 0 4px; }
.p0-route-overview .p0-route-actions .button,
.p0-route-overview [data-save-featured-route] {
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  width: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 7px 12px;
  font: inherit;
  line-height: 1.3;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  color: #173e35;
  background: transparent;
  border: 1px solid #8fa398;
  border-radius: 9px;
}
.p0-route-overview [hidden] { display: none !important; }
.p0-route-overview .p0-route-actions .p0-route-primary { background: #173e35; border-color: #173e35; color: #fff; }
.p0-route-actions .p0-route-save-group { display: inline-block; min-width: 0; }
.p0-route-feedback { margin: 6px 0 0; color: #234438; font-size: 12px; }
.p0-route-feedback:empty { display: none; }
.p0-route-overview .p0-route-saved-link { font-size: 12px; line-height: 1.4; color: #234438; padding: 5px 0; display: inline-block; }
.p0-route-overview .p0-route-quick-links { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 4px; }
.p0-route-jump {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 2px 0;
  color: #285641;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.p0-route-overview .p0-route-actions .button:focus-visible,
.p0-route-jump:focus-visible,
.p0-route-transit summary:focus-visible,
#routes.p0-route-list a:focus-visible,
#routes.p0-route-list summary:focus-visible { outline: 2px solid #173e35; outline-offset: 2px; }
.p0-route-standalone .p0-route-transit,
.p0-route-modal .p0-route-transit { border-radius: 10px; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #d8e0d4; background: transparent; }
.p0-route-transit > h2, .p0-route-transit > h3 { margin: 0 0 2px; font-size: 15px; color: #173e35; }
.p0-route-transit details { border: 0; margin: 0; padding: 0; }
.p0-route-transit details + details { border-top: 1px solid #d8e0d4; }
.p0-route-transit summary {
  min-height: 44px;
  padding: 6px 0;
  cursor: pointer;
  color: #264d3c;
  font-size: 13px;
  line-height: 1.42;
}
.p0-route-transit summary strong { display: inline; font-weight: 650; }
.p0-transit-direction { margin-right: 5px; color: #4b6355; }
.p0-transit-instructions { padding: 2px 4px 9px; color: #385348; }
.p0-transit-instructions p { margin: 5px 0; }
.p0-transit-instructions small { overflow-wrap: anywhere; }
.p0-route-standalone .p0-route-stops,
.p0-route-modal .p0-route-stops { list-style: none; margin: 0; padding: 0; scroll-margin: 74px; }
.p0-route-standalone .p0-route-stops > li,
.p0-route-modal .p0-route-stops > li { position: relative; padding: 14px 14px 14px 46px; min-width: 0; }
.p0-route-stops > li[data-stop-number]::before {
  content: attr(data-stop-number);
  position: absolute;
  top: 15px;
  left: 11px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  background: #e3eadc;
  color: #173e35;
  font-weight: 700;
  font-size: 13px;
}
.p0-route-stops h2, .p0-route-stops h3 { margin: 0 0 6px; line-height: 1.4; font-size: 18px; }
.p0-route-stops p { margin: 5px 0; }
.p0-route-stops .stop-link,
.p0-route-stops a.text-btn,
.p0-route-stops button[data-navigate-place] { min-height: 44px; display: inline-flex; align-items: center; }
.p0-route-stops .p0-route-previous-number { display: none; }
.p0-route-modal:has(.p0-route-modal-title) > .detail-body { padding-top: 61px; }
.p0-route-modal-title { color: #173e35; display: flex; align-items: start; gap: 8px; margin: 0 0 13px; }
.p0-route-modal-title h2 { min-width: 0; flex: 1; }
.p0-route-modal-title .detail-quick-share { position: static; flex: 0 0 44px; margin: 0; }
.p0-route-resources:empty { display: none; }

@media (max-width: 700px) {
  #routes.p0-route-list .section-top { display: block; margin-bottom: 15px; }
  #routes.p0-route-list .section-top > p { margin: 5px 0 0; font-size: 14px; }
  #routes.p0-route-list #route-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #routes .p0-route-featured { grid-row: auto; min-height: 160px; }
  #routes .p0-route-featured > img { width: 33%; flex-basis: 33%; min-height: 158px; }
  #routes .p0-route-featured .route-content { padding: 10px 12px; }
  #routes .p0-route-featured .route-arrow { margin-top: 6px; }
  .p0-route-standalone .p0-route-overview, .p0-route-modal .p0-route-overview { padding: 11px; }
}
