/* /volcan/<key>/: a trail's own page. The head with its poster and facts, next Saturday worked out live, then the
   guide: the day, the weather, what to carry, when to turn back, before you go, and the other trails near it. */
.tp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.tp-crumbs a { color: var(--ink-2); }
.tp-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.tp-kick { font: 700 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.tp-head h1 { font-size: clamp(38px, 5.6vw, 72px); margin-bottom: 16px; }
.tp-intro { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--ink-2); max-width: 36em; }
.tp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 22px 0; }
.tp-facts div { border: var(--line); border-radius: 14px; background: var(--white); padding: 10px 12px; display: grid; gap: 3px; }
.tp-facts span { font: 700 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.tp-facts b { font: 800 20px/1.1 var(--display); }
.tp-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tp-cta .small { max-width: 22em; }
.tp-side { display: grid; gap: 16px; }
.tp-art { aspect-ratio: 16 / 10; border: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 5px 0 var(--ink); background: var(--sky); }
.tp-art svg { width: 100%; height: 100%; }
.sat { overflow: hidden; }
.sat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-bottom: var(--line); background: var(--paper-2); }
.sat-head h2 { font-size: 20px; letter-spacing: -0.01em; }
.sat-head span { font: 700 13px/1.2 var(--mono); }
.sat-body { padding: 16px 18px 18px; display: grid; gap: 14px; }
.sat-wait { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.sat-top { display: flex; gap: 14px; align-items: center; }
.sat-top .pv-why { flex: 1; min-width: 0; }
.sat .notice a { font-weight: 800; }

.tp-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); align-items: start; }
.tp-sec { padding: 26px 0; border-top: var(--line); }
.tp-sec:first-child { border-top: 0; padding-top: 0; }
.tp-sec h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.tp-sec p { max-width: 40em; margin-bottom: 10px; }
.tp-sec ul, .tp-sec ol { margin: 0 0 10px; padding-left: 22px; display: grid; gap: 8px; max-width: 40em; }
.tp-sec li b { font-weight: 800; }
.tp-steps { list-style: none; padding: 0 !important; counter-reset: s; }
.tp-steps li { position: relative; padding-left: 44px !important; counter-increment: s; }
.tp-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border: var(--line); border-radius: 50%; background: var(--sun); display: grid; place-items: center; font: 800 15px/1 var(--display); }
.tp-turn { background: #ffe0ec; border: var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: 0 4px 0 var(--ink); }
.tp-turn ul { margin-bottom: 0; }
.tp-src { font-size: 13px; color: var(--muted); }
.tp-aside { position: sticky; top: 84px; display: grid; gap: 16px; }
.tp-aside .card { padding: 18px; display: grid; gap: 10px; }
.tp-aside h3 { font-size: 20px; }
.tp-aside .ticks2 { margin: 0; }
.tp-more { margin-top: clamp(40px, 6vw, 72px); }
.tp-more h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.tp-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tp-links a { display: grid; gap: 2px; text-decoration: none; border: var(--line); border-radius: 14px; background: var(--white); padding: 12px 14px; box-shadow: 0 3px 0 var(--ink); transition: transform .12s ease; }
.tp-links a:hover { transform: translateY(-2px); }
.tp-links b { font: 800 18px/1.1 var(--display); }
.tp-links span { font-size: 13px; font-weight: 600; color: var(--muted); }
.tp-city h3 { font-size: 22px; margin: 22px 0 12px; }

/* readable on a phone: no label under 12px, tap targets of 44px, no lonely last words */
.tp-facts span, .sat .wt span, .sat .tb-cell .lab, .sat .tb-cell .vb { font-size: 12px; }
.sat .tb-head { font-size: 12px; flex-wrap: wrap; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.logo { min-height: 44px; }
.tp-crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.tp-crumbs { align-items: center; margin-bottom: 8px; }
.tp-aside .card > a.small { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.sat .stamp.sm { width: 112px; }
.sat .stamp.sm small { font-size: 10px; letter-spacing: .06em; }
#app:has(+ #guias) { min-height: 100vh; } /* the trails list fills in later: keep the guides below the fold meanwhile */
main p, main li { text-wrap: pretty; }
main h1, main h2, main h3 { text-wrap: balance; }

@media (max-width: 900px) {
  .tp-head, .tp-body { grid-template-columns: 1fr; }
  .tp-aside { position: static; }
}
@media (max-width: 480px) {
  .sat-top { align-items: flex-start; }
  .tp-cta .btn { width: 100%; }
}
