/* The guides (guides.py), on top of routes.css: a hero without a photo, the guides as cards with their question,
   bars with their share at the end, and a few words in a table's cell */
.guide .hero { min-height: 0; padding-top: 48px; }
.guide .tiles { grid-template-columns: repeat(4, 1fr); }
.guide .method { max-width: 760px; color: #D9D4D2; text-wrap: pretty; }
.guide .fares small { margin-left: 6px; color: var(--muted); font-size: 13px; }
.guide .fares td, .guide .fares th { white-space: normal; }
.guide .fares a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.guide .fares a:hover { color: var(--brand-ink); }
.shares li { grid-template-columns: minmax(0, 190px) 1fr auto; }
.shares b { min-width: 52px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.shares + .table { margin-top: 28px; }
.more.guides { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.more.guides a { grid-template-rows: auto 1fr auto; }
.more.guides .name { overflow: visible; white-space: normal; text-wrap: balance; }
.more.guides .from { white-space: normal; text-wrap: pretty; }
.more.guides .go { font-size: 14px; color: var(--brand-ink); font-weight: 550; }
.more.guides .go::after { content: " →"; }
.hub-guides .more.guides { margin-bottom: 64px; }
.guide .watch { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .guide .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .guide .hero { padding-top: 24px; }
  .more.guides { grid-template-columns: 1fr; }
  .shares li { grid-template-columns: minmax(0, 120px) 1fr auto; }
}

/* the fare checker: the form in a card, then the answer under it */
.tool .check { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; align-items: end; padding: 24px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--raised); }
.check label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.check select, .check input[type=number] { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--raised-2); color: var(--ink); font: 500 16px/1 var(--sans); }
.check .money { position: relative; display: block; }
.check .money b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; pointer-events: none; }
.check .money input { padding-right: 44px; }
.check .round { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }
.check .round input { width: 18px; height: 18px; accent-color: var(--coral); }
.check .btn { grid-column: 3 / 5; justify-self: end; height: 46px; }
.check .per { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }
.verdict { margin: 16px 0 0; padding: 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--raised); }
.verdict .line { margin: 0 0 18px; font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.verdict.excellent .line, .verdict.good .line { color: #7EE2A8; }
.verdict.high .line, .verdict.very-high .line { color: var(--brand-ink); }
.verdict.none .line { margin: 0; font-size: 16px; font-weight: 500; color: var(--muted); }
.verdict .scale { position: relative; height: 10px; margin: 0 0 22px; border-radius: 5px;
  background: linear-gradient(90deg, #2F6B4A, #6B6A3A 45%, var(--maroon) 75%, var(--coral)); }
.verdict .scale i { position: absolute; left: var(--at); top: 50%; width: 4px; height: 22px; border-radius: 2px; transform: translate(-50%, -50%); background: var(--muted); }
.verdict .scale i.yours { width: 16px; height: 16px; border: 3px solid var(--bg, #0A0A0B); border-radius: 50%; background: var(--ink); }
.verdict dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.verdict dt { font: 400 11px/14px var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.verdict dd { margin: 4px 0 0; font-size: 22px; font-weight: 620; }
.verdict .links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }

/* a comparison: where its words come from, and what Wingman does differently, as cards */
.guide .source { margin: 0; font-size: 13px; color: var(--muted); }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; align-content: start; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); }
.points strong { font-size: 17px; }
.points span { color: #D9D4D2; font-size: 15px; line-height: 1.5; }

@media (max-width: 860px) {
  .tool .check { grid-template-columns: 1fr 1fr; }
  .check .round { grid-column: 1 / -1; }
  .check .btn { grid-column: 1 / -1; justify-self: stretch; }
  .points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tool .check { grid-template-columns: 1fr; padding: 18px; }
  .points { grid-template-columns: 1fr; }
  .verdict dl { grid-template-columns: 1fr 1fr 1fr; }
  .verdict dd { font-size: 18px; }
}
.guide .fares .down { color: #7EE2A8; font-weight: 650; }
