/* NADVIRNA — route detail, nv3. Loads on top of nv3.css.
 *
 * The itinerary is the piece with real weight: a route is a sequence of real places, each with an
 * editorial note, and the stops are stored as an ordered repeater. Rendering them as a numbered
 * thread rather than a list makes the order legible, which is the whole point of a route.
 */

/* ── Hero ─────────────────────────────────────────────────────────────────────────────────── */

.nv3-rh { background: var(--nv3-dark); color: var(--nv3-on-dark); }
.nv3-rh__grid { display: grid; }
.nv3-rh__copy { padding: 28px 20px 30px; display: flex; flex-direction: column; justify-content: center; }
.nv3-rh__crumbs { margin-bottom: 16px; color: var(--nv3-on-dark-3); }
.nv3-rh__crumbs a { color: var(--nv3-on-dark-2); }
.nv3-rh__crumbs a:hover { color: var(--nv3-on-dark); }
.nv3-rh__crumbs .nv3-crumbs__sep { color: var(--nv3-dark-line); }
.nv3-rh__h1 { font: 400 clamp(28px, 5.6vw, 46px)/1.1 var(--nv3-serif); color: var(--nv3-on-dark); margin-top: 10px; }
.nv3-rh__lede { font: 400 14px/1.7 var(--nv3-sans); color: var(--nv3-on-dark-2); margin-top: 13px; max-width: 46ch; }
.nv3-rh__media { position: relative; min-height: 200px; background: var(--nv3-dark-2); }
.nv3-rh__media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1000px) {
	.nv3-rh__grid { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
	.nv3-rh__copy { padding: 42px 40px 46px 56px; }
	.nv3-rh__media { min-height: 380px; }
}

/* ── Facts strip ──────────────────────────────────────────────────────────────────────────── */

.nv3-rfacts {
	background: var(--nv3-dark-2); border-top: 1px solid var(--nv3-dark-line);
	display: grid; grid-template-columns: repeat(2, 1fr);
}
.nv3-rfact { padding: 16px 20px; border-right: 1px solid var(--nv3-dark-line); border-bottom: 1px solid var(--nv3-dark-line); }
.nv3-rfact:nth-child(2n) { border-right: 0; }
.nv3-rfact__k { display: flex; align-items: center; gap: 7px; font: 400 10px/1 var(--nv3-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--nv3-on-dark-3); }
.nv3-rfact__k svg { width: 14px; height: 14px; color: var(--nv3-gold); }
.nv3-rfact__v { font: 400 19px/1.2 var(--nv3-serif); color: var(--nv3-on-dark); margin-top: 8px; }

@media (min-width: 1000px) {
	.nv3-rfacts { grid-template-columns: repeat(4, 1fr); padding-inline: 40px; }
	.nv3-rfact { border-bottom: 0; padding: 20px 16px; }
	.nv3-rfact:last-child { border-right: 0; }
}

/* ── Itinerary ────────────────────────────────────────────────────────────────────────────── */

.nv3-stops { display: grid; gap: 0; }
.nv3-stop { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
.nv3-stop:last-child { padding-bottom: 0; }
/* Thread drawn per stop and suppressed on the last, so it never runs past the final marker. */
.nv3-stop::before {
	content: ''; position: absolute; left: 16px; top: 34px; bottom: -2px;
	width: 1px; background: var(--nv3-line-2);
}
.nv3-stop:last-child::before { display: none; }
.nv3-stop__n {
	width: 34px; height: 34px; border-radius: 50%; flex: none;
	background: var(--nv3-dark); color: var(--nv3-on-dark);
	display: flex; align-items: center; justify-content: center;
	font: 500 13px/1 var(--nv3-mono); position: relative; z-index: 1;
}
.nv3-stop__body { padding-top: 4px; }
.nv3-stop__h { font: 500 17px/1.3 var(--nv3-serif); }
.nv3-stop__h a:hover { color: var(--nv3-gold-hover); }
.nv3-stop__meta { font: 400 11px/1 var(--nv3-mono); color: var(--nv3-ink-3); margin-top: 5px; }
.nv3-stop__note { font: 400 14px/1.7 var(--nv3-sans); color: var(--nv3-ink-2); margin-top: 8px; max-width: 62ch; }
.nv3-stop__media {
	margin-top: 12px; width: 100%; max-width: 260px; aspect-ratio: 4/3;
	overflow: hidden; border-radius: 3px; background: var(--nv3-line);
}
.nv3-stop__media img { width: 100%; height: 100%; object-fit: cover; }

/* ── Layout ───────────────────────────────────────────────────────────────────────────────── */

.nv3-rbody { padding: 36px 0 48px; }
.nv3-rbody__grid { display: grid; gap: 36px; }
@media (min-width: 1000px) {
	.nv3-rbody { padding: 52px 0 76px; }
	.nv3-rbody__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
}
