/* Trip pages: a route page's hero, spec and outline, then one band per day. */
.dt-type--trip { background: var(--dt-white); color: var(--dt-black); }

/* Day list under the intro. */
.dt-trip__toc { list-style: none; margin: .8rem 0 0; padding: 0; border-top: 1px solid var(--dt-line); }
.dt-trip__toc a { display: grid; grid-template-columns: 4px 4.6rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--dt-line); text-decoration: none; color: var(--dt-white); transition: background .2s; }
.dt-trip__toc a:hover { background: var(--dt-dark); }
.dt-trip__toc i { align-self: stretch; }
.dt-trip__toc b { font-family: var(--dt-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.dt-trip__toc em { font-style: normal; font-family: var(--dt-cond); letter-spacing: .1em; color: var(--dt-silver); }
.dt-trip__sw { width: 16px; height: 4px; display: inline-block; }

/* One band per day. */
.dt-day { border-top: 1px solid var(--dt-line); padding-block: 4rem; scroll-margin-top: 1rem; }
.dt-day__h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.6rem; align-items: end; padding-bottom: 2rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--dt-line); position: relative; }
.dt-day__h::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 3px; background: var(--dt-day); }
.dt-day__n { font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--dt-day); }
.dt-day__h h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-top: .5rem; }
.dt-day__fig { display: flex; gap: 1.8rem; margin: 0; font-family: var(--dt-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--dt-muted); white-space: nowrap; }
.dt-day__fig b { display: block; font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: 1.9rem; letter-spacing: 0; color: var(--dt-white); line-height: 1; margin-bottom: .3rem; }

.dt-day__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 4rem; align-items: start; }
.dt-day__main { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.dt-day__main .dt-story { max-width: 68ch; }
.dt-day__tonight { color: var(--dt-white) !important; font-family: var(--dt-cond); font-size: 1.2rem !important; letter-spacing: .02em; border-left: 3px solid var(--dt-day); padding-left: 1rem; }
.dt-day__sub { margin: 1.6rem 0 0; color: var(--dt-silver); }
body.dt .dt-day__sub { color: var(--dt-silver); font-family: var(--dt-cond); font-style: normal; font-weight: 500; font-size: .74rem; letter-spacing: .32em; }

/* The road, in order: our routes numbered, the joining roads between them quieter. */
.dt-legs, .dt-tstops { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dt-line); }
.dt-legs li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; border-bottom: 1px solid var(--dt-line); }
.dt-legs__route { padding-block: 1rem; }
.dt-legs__route > span { font-family: var(--dt-display); font-style: italic; font-weight: 800; color: var(--dt-day); font-size: 1.15rem; }
.dt-legs__route a { font-family: var(--dt-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; color: var(--dt-white); text-decoration: none; line-height: 1.15; }
.dt-legs__route a:hover { color: var(--dt-silver); }
.dt-legs__route small { display: block; margin-top: .35rem; color: rgba(242,240,236,.7); font-size: .92rem; }
.dt-legs__route small .dt-type { margin-right: .45rem; }
.dt-legs__back { margin-left: .5rem; font-family: var(--dt-cond); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dt-silver); white-space: nowrap; }
.dt-legs em, .dt-tstops__t { font-style: normal; font-family: var(--dt-cond); letter-spacing: .1em; color: var(--dt-silver); white-space: nowrap; }
.dt-legs__join { padding-block: .55rem; color: var(--dt-muted); font-size: .9rem; }
.dt-legs__join > span { justify-self: center; width: 2px; height: 1.4rem; background: repeating-linear-gradient(to bottom, var(--dt-muted) 0 3px, transparent 3px 7px); }
.dt-legs__join em { color: var(--dt-muted); }

.dt-tstops li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: .8rem; padding-block: .95rem; border-bottom: 1px solid var(--dt-line); }
.dt-tstops__t { padding-top: .15rem; }
.dt-tstops a, .dt-tstops b { color: var(--dt-white); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.dt-tstops a:hover { color: var(--dt-silver); }
.dt-tstops small { margin-left: .7rem; letter-spacing: .2em; }
.dt-tstops p { margin: .3rem 0 0; color: rgba(242,240,236,.7); line-height: 1.55; }

.dt-day__side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1.5rem; }
.admin-bar .dt-day__side { top: calc(32px + 1.5rem); }
.dt-day__map { background: #0e0f11; border: 1px solid var(--dt-line); display: flex; justify-content: center; padding: .5rem; }
.dt-day__map .dt-rsvg path:nth-of-type(2) { stroke: var(--dt-day); }
.dt-day__side .dt-day__sub { margin-top: .8rem; }
.dt-day__own { margin: 0; color: rgba(242,240,236,.8); }

/* The live trip: Pinscribe's own planner, framed. */
.dt-trip__live { padding-block: 2.4rem 4rem; }
.dt-trip__live .pinscribe-root {
	--ps-map-bg: #121315 !important; --ps-cards-bg: #121315 !important; --ps-panel-bg: #121315 !important;
	--ps-card-bg: #1a1b1e !important; --ps-form-bg: #1a1b1e !important; --ps-popup-bg: #1a1b1e !important;
	--ps-heading: #f2f0ec !important; --ps-title: #f2f0ec !important; --ps-bar-text: #f2f0ec !important;
	--ps-text: #c9ccd1 !important; --ps-muted: #8c8f95 !important; --ps-outline: #2a2b2f !important;
	--ps-accent: #b01313 !important; --ps-region: #b01313 !important; --ps-date: #d9534f !important;
	--ps-route-drive: #c81a1a !important; --ps-radius: 0px !important;
	--ps-divider: 1px solid #2a2b2f !important;
}

@media (max-width: 960px) {
	.dt-day__body { grid-template-columns: 1fr; gap: 2.6rem; }
	.dt-day__side { position: static; }
	.dt-day__h { grid-template-columns: auto minmax(0, 1fr); }
	.dt-day__fig { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.dt-day { padding-block: 3rem; }
	.dt-day__fig { gap: 1.2rem; }
	.dt-day__fig b { font-size: 1.5rem; }
	.dt-trip__toc a { grid-template-columns: 4px minmax(0, 1fr) auto; }
	.dt-trip__toc .dt-cap { display: none; }
}

/* The trips list: one wide card per trip. */
.dt-tlist { display: flex; flex-direction: column; gap: 2rem; padding-block: 4rem; }
.dt-tcard { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--dt-dark); border: 1px solid var(--dt-line); color: var(--dt-white); text-decoration: none; position: relative; }
.dt-tcard::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--dt-tri); }
.dt-tcard__ph { position: relative; overflow: hidden; min-height: 320px; background: var(--dt-dark-2); }
.dt-tcard__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dt-tcard:hover .dt-tcard__ph img { transform: scale(1.04); }
.dt-tcard__c { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.dt-tcard h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.dt-tcard__x { margin: 0; color: rgba(242,240,236,.8); line-height: 1.65; }
.dt-tcard__days { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dt-line); }
.dt-tcard__days li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .8rem; padding-block: .7rem; border-bottom: 1px solid var(--dt-line); font-family: var(--dt-cond); font-size: 1.05rem; letter-spacing: .03em; }
.dt-tcard__fig { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 0; font-family: var(--dt-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--dt-muted); }
.dt-tcard__fig b { display: block; font-family: var(--dt-display); font-style: italic; font-weight: 800; font-size: 1.8rem; letter-spacing: 0; color: var(--dt-white); line-height: 1; margin-bottom: .3rem; }
.dt-tcard .dt-link { align-self: flex-start; margin-top: .4rem; }
.dt-tcard:hover .dt-link { border-color: var(--dt-rosso); }
@media (max-width: 900px) {
	.dt-tcard { grid-template-columns: 1fr; }
	.dt-tcard__ph { min-height: 0; aspect-ratio: 16 / 10; }
	.dt-tcard__c { padding: 1.6rem 1.2rem 2rem; }
}
