/* Trip Overview — light styling for what the editor wrote (lib/overview-blocks.ts).
   Deliberately quiet: no boxes or cards, only spacing, a few small accents and
   hairlines, so the text stays the focus. Tokens follow DESIGN.md. */

/* Headings inside the overview: a little more air above. */
#overview .v3-prose h3 { margin-top: 28px !important; }

/* Lead: the opening paragraph, a touch larger. */
.v3-prose p.v3-ov-lead {
  font-size: 17px; line-height: 1.7; color: #1A2332;
  margin-bottom: 20px;
}

/* Route line: stops joined by a thin line, altitude underneath. */
.v3-prose ol.v3-ov-route {
  list-style: none; margin: 10px 0 22px; padding: 0 0 6px;
  display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* A soft fade on the right edge says the route continues when it scrolls. */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.v3-prose ol.v3-ov-route li.v3-ov-stop {
  position: relative; flex: 1 0 90px; min-width: 90px; margin: 0; padding: 18px 4px 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.v3-ov-stop::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: #D5DEEA; }
.v3-ov-stop:first-child::before { left: 50%; }
.v3-ov-stop:last-child::before { right: 50%; }
.v3-ov-stop::after {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--navy, #1A4B89);
}
.v3-ov-stop.is-top::after { background: var(--accent, #FBA504); border-color: var(--accent, #FBA504); }
.v3-ov-stop-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: #1A2332; }
.v3-ov-stop-alt { font-size: 12px; color: #67788A; margin-top: 1px; }
.v3-ov-stop-extra { font-size: 11px; color: var(--navy, #1A4B89); font-weight: 600; margin-top: 2px; }

/* "Why …" list: ticks instead of bullets. */
.v3-prose ul.v3-ov-ticks { list-style: none; padding-left: 0; }
.v3-prose ul.v3-ov-ticks > li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.v3-prose ul.v3-ov-ticks > li::before {
  content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A4B89' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.v3-prose ul.v3-ov-ticks > li p { margin: 0; }

/* Notes ("Gear:", "Good to know:"): a very soft tint. */
.v3-prose p.v3-ov-note {
  background: #F1F5FA; border-radius: 8px; padding: 10px 14px;
  font-size: 15px; color: #334155;
}

/* Tables: hairlines only. */
.v3-ov-table { overflow-x: auto; margin: 10px 0 16px; }
.v3-ov-table table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 !important; }
.v3-ov-table th, .v3-ov-table td {
  padding: 9px 12px; text-align: left; white-space: nowrap;
  border: 0 !important; border-bottom: 1px solid #E7E9EE !important;
}
.v3-ov-table thead th { font-weight: 600; color: #5B6072; font-size: 13px; border-bottom: 2px solid #D5DEEA !important; }
.v3-ov-table td { font-variant-numeric: tabular-nums; }
.v3-ov-table tbody tr:last-child th, .v3-ov-table tbody tr:last-child td { border-bottom: 0 !important; }
