/* Trip Ideas — area pitch, getting-here route, trip cards. Uses the fixed brand palette
   (charcoal ink, sage, terra, cream): the listing's --hl-* colours are remapped per site
   (live: primary = sage, accent = charcoal), which hid the badge pines and thinned the text. */
.hl-trip {
	--ti-ink: var(--shc-charcoal, #304238);
	--ti-cream: var(--shc-cream, #f6f3ed);
	--ti-cream-alt: var(--shc-cream-alt, #efe9dd);
	--ti-sage: var(--shc-sage, #728474);
	--ti-terra: var(--shc-terra, #a88f7b);
	--ti-line: var(--shc-line, #e7ddd0);
	--ti-muted: var(--shc-grey, #5b6b5f);
	--ti-glow: #e8c27a;
	color: var(--ti-ink);
}
.hl-listing > section.hl-section.hl-trip { background: var(--ti-cream); }

.hl-trip__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 56px;
	align-items: start;
}
.hl-trip__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; }

.hl-trip__eyebrow {
	margin: 0 0 10px;
	font-weight: 500;
	font-family: var(--hl-font-heading);
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ti-sage);
}
.hl-trip__title {
	margin: 0 0 14px;
	font-family: var(--hl-font-heading);
	font-size: 30px;
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: .04em;
	color: var(--ti-ink);
}
.hl-trip__pitch { margin: 0 0 32px; max-width: 46ch; font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--ti-muted); }

/* Getting-here route: dotted road through each origin to the cabin */
.hl-trip__route {
	display: flex;
	align-items: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hl-trip__leg {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.hl-trip__leg::after { /* road to the next stop */
	content: '';
	position: absolute;
	left: 14px;
	right: 0;
	bottom: 29px;
	border-top: 2px dashed var(--ti-terra);
}
.hl-trip__leg--end { flex: 0 0 auto; align-items: center; }
.hl-trip__leg--end::after { display: none; }
.hl-trip__leg-time { font-size: 13px; font-weight: 500; color: var(--ti-sage); }
.hl-trip__dot {
	position: relative;
	z-index: 1;
	width: 14px;
	height: 14px;
	margin-bottom: 1px;
	border: 2px solid var(--ti-ink);
	border-radius: 50%;
	background: var(--ti-cream);
}
.hl-trip__leg-place { font-size: 13px; font-weight: 500; color: var(--ti-ink); white-space: nowrap; }
.hl-trip__cabin-art { display: block; width: 96px; height: 44px; margin-bottom: -3px; }

/* Illustration fills (badges + cabin art) */
.hl-trip .hl-ti-bg { fill: var(--ti-ink); }
.hl-trip .hl-ti-ink { fill: var(--ti-ink); }
.hl-trip .hl-ti-pine { fill: var(--ti-sage); }
.hl-trip .hl-ti-cream { fill: var(--ti-cream); }
.hl-trip .hl-ti-accent { fill: var(--ti-terra); }
.hl-trip .hl-ti-glow, .hl-trip .hl-ti-glowfill { fill: var(--ti-glow); }
.hl-trip .hl-ti-line { fill: none; stroke: var(--ti-ink); stroke-width: 1.5; }
.hl-trip .hl-ti-line-cream { fill: none; stroke: var(--ti-cream); stroke-width: 1.4; }
.hl-trip .hl-ti-wave { fill: none; stroke: var(--ti-cream); stroke-width: 1.6; stroke-linecap: round; }

/* Trip card */
.hl-trip__card { background: #fff; border: 1px solid var(--ti-line); }
.hl-trip__photo { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.hl-trip__body { padding: 24px; }
.hl-trip__head { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.hl-trip__badge { flex: 0 0 auto; width: 56px; height: 56px; }
.hl-trip__card-title {
	margin: 0;
	font-family: var(--hl-font-heading);
	font-size: 21px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.3;
	color: var(--ti-ink);
}
.hl-trip__card-sub { margin: 2px 0 0; font-size: 13px; font-weight: 500; color: var(--ti-sage); }

.hl-trip__stops { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.hl-trip__stop { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; font-weight: 400; line-height: 1.5; }
.hl-trip__icon { display: flex; padding-top: 2px; color: var(--ti-terra); }
.hl-trip__icon svg { width: 22px; height: 22px; }
.hl-trip__when {
	display: block;
	font-weight: 500;
	font-family: var(--hl-font-heading);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ti-sage);
}
.hl-trip__what { color: var(--ti-ink); }
.hl-trip__time { color: var(--ti-muted); white-space: nowrap; }
.hl-trip__stop--cabin { margin: 2px -10px 0; padding: 10px; background: var(--ti-cream-alt); }
.hl-trip__stop--cabin .hl-trip__icon, .hl-trip__stop--cabin .hl-trip__when { color: var(--ti-ink); }

.hl-trip__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 22px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--ti-line);
}
.hl-trip__next { font-size: 14px; font-weight: 400; color: var(--ti-ink); }
.hl-trip__next-label { color: var(--ti-sage); }
.hl-trip__next strong { font-weight: 500; }
.hl-trip__next .hl-was { margin-left: 2px; font-size: .85em; font-weight: 300; color: var(--ti-muted); }
.hl-trip__next-note { font-size: 12px; color: var(--ti-muted); }
.hl-trip a.hl-trip__btn {
	display: inline-block;
	padding: 11px 18px;
	background: var(--ti-ink);
	color: var(--ti-cream);
	font-family: var(--hl-font-heading);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: filter var(--hl-transition, .3s ease);
}
.hl-trip a.hl-trip__btn:hover, .hl-trip a.hl-trip__btn:focus-visible { filter: brightness(1.15); color: var(--ti-cream); }

/* Theme tabs (JS only; without JS every card shows stacked) */
.hl-trip__cards { display: grid; gap: 16px; }
.hl-trip__tabs { display: none; flex-wrap: wrap; gap: 8px; }
.hl-trip.is-tabbed .hl-trip__tabs { display: flex; }
.hl-trip.is-tabbed .hl-trip__card:not(.is-active) { display: none; }
.hl-trip__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px 5px 5px;
	border: 1px solid var(--ti-ink);
	border-radius: 0;
	background: transparent;
	color: var(--ti-ink);
	font-family: var(--hl-font-heading);
	font-size: 13px;
	letter-spacing: .06em;
	cursor: pointer;
	transition: background var(--hl-transition, .3s ease), color var(--hl-transition, .3s ease);
}
.hl-trip__tab-badge { width: 24px; height: 24px; }
.hl-trip__tab.is-active, .hl-trip__tab:hover { background: var(--ti-ink); color: var(--ti-cream); }
.hl-trip__tab:focus-visible { outline: 2px solid var(--ti-terra); outline-offset: 2px; }

@media (max-width: 900px) {
	.hl-trip__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.hl-trip__title { font-size: 26px; }
}
@media (max-width: 480px) {
	.hl-trip__body { padding: 18px; }
	.hl-trip__leg-place { font-size: 12px; }
	.hl-trip__cabin-art { width: 76px; height: 35px; }
	.hl-trip__foot { align-items: stretch; }
	.hl-trip a.hl-trip__btn { width: 100%; text-align: center; }
}
