.tour {
	display: flex;
	flex-direction: column;
	gap: var(--layout-space-400);
}

.tour-keyData {
	[data-item="requirements"] {
		color: var(--color-1-100);
	}

	[data-item="costs"] dd > :nth-child(2) {
		font-size: var(--font-size-50);
		max-width: 20ch;
		text-wrap: balance;
		margin-top: 0.2em;
	}
}

.tour-infoboxTour > [data-as-box] {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--layout-space-200);

	> * {
		min-width: 0;
	}
}

.tour-infoboxTour-guides {
	grid-column: 1;
	display: flex;
	flex-direction: column;
	gap: var(--layout-space-300);

	min-width: 0;
}

.tour-infoboxTour-guide {
	display: flex;
	flex-direction: column;
	gap: var(--layout-space-25);
}

.tour-infoboxTour-guide-portrait {
	aspect-ratio: 0.79;
	width: clamp(min(100px, 100%), 30vw, 200px);
	display: block;
	overflow: hidden;
	border-radius: var(--borderRadius-100);

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		/* Hide alt text (visible while loading) */
		color: transparent;
		background-color: var(--color-main-800);
	}
}

.tour-infoboxTour-guide-info {
	> div:nth-child(1) {
		color: var(--color-main-400);
	}

	> div:nth-child(2) {
		color: var(--color-1-100);
		font-size: var(--font-size-300);
		font-weight: 600;
	}

	> a {
		display: block;
		font-size: var(--font-size-100);
	}
}

/* Portrait sizing by guide count (data-guides set on the wrapper) */
.tour-infoboxTour-guides[data-guides="many"] .tour-infoboxTour-guide-portrait {
	display: none;
}

.tour-infoboxTour-guides[data-guides="two"] .tour-infoboxTour-guide-portrait {
	width: clamp(min(100px, 100%), 30vw, 200px);
}
/**/

.tour-infoboxTour-route {
	dl {
		display: flex;
		flex-direction: column;
		gap: 1em;
	}

	dt {
		font-size: var(--font-size-300);
		font-weight: 600;
		line-height: var(--text-lineHeight-50);
	}

	dd {
		font-size: var(--font-size-100);

		ul {
			display: flex;
			flex-direction: column;
			gap: 0.25em;
			list-style: none;
			padding: 0;
			margin: 0;

			li::before {
				content: "–";
				margin-right: 0.5em;
			}
		}
	}
}

.tour-infoboxTour-image {
	grid-column: 3 / span 2;
}

.tour-details > * {
	gap: var(--layout-space-100);
	display: flex;
	flex-direction: column;
}

@media (width <= 1200px) {
	.tour-infoboxTour > [data-as-box] {
		grid-template-columns: repeat(2, 1fr);
	}

	.tour-infoboxTour-image {
		grid-column: span 2;
	}

	.tour-infoboxTour-guides {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

@media (width <= 1000px) {
	.tour-infoboxTour > [data-as-box] {
		display: flex;
		flex-direction: column;
		grid-template-columns: unset;
		gap: var(--layout-space-300);

		> * {
			min-width: unset;
		}
	}
}
.tour-details-segment[data-astro-cid-edo4pbmg] p[data-astro-cid-edo4pbmg] {
  white-space: pre-line;
}
