/* Destinations: stacked tree + even card grid. No narrow sidebar column. */

.corvin-dest-layout {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	margin: 0.5rem 0 2rem;
}

.corvin-dest-layout__sidebar {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 0 1rem;
	border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.corvin-dest-tree {
	max-width: 22rem;
}

.corvin-dest-layout__sidebar-title {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.corvin-dest-tree__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.corvin-dest-tree__list .corvin-dest-tree__list {
	padding-left: 1.1rem;
	margin-top: 0.2rem;
	border-left: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.corvin-dest-tree__item {
	margin: 0;
}

.corvin-dest-tree__link {
	display: inline-block;
	padding: 0.3rem 0;
	color: inherit;
	text-decoration: none;
	line-height: 1.4;
	font-size: 1rem;
}

.corvin-dest-tree__link:hover,
.corvin-dest-tree__link:focus-visible {
	text-decoration: underline;
}

.corvin-dest-tree__item.is-current > .corvin-dest-tree__link {
	font-weight: 650;
}

.corvin-dest-layout__main {
	min-width: 0;
	width: 100%;
}

.corvin-dest--list {
	margin: 0 0 2rem;
}

.corvin-dest__list-title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	font-weight: 600;
}

/* Natural photo proportions — masonry columns, not equal-height crops */
.corvin-dest__grid {
	display: block;
	column-count: 2;
	column-gap: 1.25rem;
}

@media (max-width: 600px) {
	.corvin-dest__grid {
		column-count: 1;
	}
}

@media (min-width: 1100px) {
	.corvin-dest__grid {
		column-count: 3;
	}
}

.corvin-dest__card {
	margin: 0 0 1.25rem;
	min-width: 0;
	break-inside: avoid;
	page-break-inside: avoid;
	-webkit-column-break-inside: avoid;
}

.corvin-dest__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.corvin-dest__card-media {
	display: block;
	width: 100%;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.corvin-dest__card-media .corvin-dest__card-image,
.corvin-dest__card-media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: unset;
	object-position: center;
	aspect-ratio: auto;
	max-width: 100%;
}

.corvin-dest__card-image--empty {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	min-height: 10rem;
	height: auto;
}

.corvin-dest__card-body {
	display: block;
	padding: 0.55rem 0 0;
}

.corvin-dest__card-title {
	display: block;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

.corvin-dest__card-excerpt {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.9rem;
	line-height: 1.4;
	opacity: 0.85;
}

.corvin-dest__crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.4rem;
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.corvin-dest__crumb a {
	color: inherit;
	text-decoration: none;
}

.corvin-dest__crumb a:hover,
.corvin-dest__crumb a:focus-visible {
	text-decoration: underline;
}

.corvin-dest__crumb-sep {
	opacity: 0.45;
}

.corvin-dest-gallery {
	margin: 0 0 2rem;
}

.corvin-dest-gallery__title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	font-weight: 600;
}
