/**
 * Destinations hub — hero, intro gallery, filterable voyage catalog.
 *
 * @package HilaireExperiences
 */

.site-main--destinations-hub.dest-hub {
	padding-top: 0;
	padding-block: 0;
	background: var(--hilaire-ivory, #faf8f5);
}

.dest-hub-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(320px, 52vh, 560px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
}

.dest-hub-hero--placeholder {
	background:
		linear-gradient(135deg, rgba(10, 30, 60, 0.72), rgba(10, 30, 60, 0.45)),
		linear-gradient(135deg, #d5cfc5 0%, #c8c0b4 100%);
}

.dest-hub-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(10, 30, 60, 0.25) 0%,
		rgba(10, 30, 60, 0.55) 45%,
		rgba(10, 30, 60, 0.82) 100%
	);
}

.dest-hub-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 5rem 0 3.5rem;
}

.dest-hub-hero__crumb {
	margin: 0 0 1rem;
	font-family: 'Jost', system-ui, sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.75);
}

.dest-hub-hero__crumb a {
	color: inherit;
	text-decoration: none;
}

.dest-hub-hero__crumb a:hover {
	color: #fff;
}

.dest-hub-hero__title {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	font-weight: 400;
	line-height: 1.1;
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.dest-hub-hero__lead {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.dest-hub-intro {
	padding: clamp(4rem, 8vw, 6rem) 0;
}

.dest-hub-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.dest-hub-intro__title {
	margin: 0 0 1.25rem;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--hilaire-blue);
}

.dest-hub-intro__body {
	margin: 0;
	max-width: 38rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(26, 26, 26, 0.72);
}

.dest-hub-intro__body p {
	margin: 0 0 1rem;
}

.dest-hub-intro__body p:last-child {
	margin-bottom: 0;
}

.dest-hub-intro__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	min-height: 280px;
}

.dest-hub-intro__figure {
	margin: 0;
	overflow: hidden;
	background: #e8e4df;
}

.dest-hub-intro__figure--1 {
	margin-top: 2rem;
}

.dest-hub-intro__figure--2 {
	margin-bottom: 2rem;
}

.dest-hub-intro__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	object-fit: cover;
}

.dest-hub-intro__figure--placeholder {
	min-height: 240px;
	background:
		linear-gradient(135deg, rgba(10, 30, 60, 0.08), rgba(184, 144, 71, 0.12)),
		#e8e4df;
}

.dest-hub-catalog {
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 5rem;
	background: #faf9f7;
}

.dest-hub-catalog__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	margin-bottom: 2.5rem;
}

.dest-hub-catalog__header .section-tag {
	display: block;
	margin-bottom: 0.5rem;
}

.dest-hub-catalog__header h2 {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 400;
	color: var(--hilaire-blue);
}

.dest-hub-filter__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 11px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(26, 26, 26, 0.55);
}

.dest-hub-filter__controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.dest-hub-filter__select {
	min-width: min(100%, 260px);
	padding: 0.75rem 1rem;
	border: 1px solid rgba(10, 30, 60, 0.16);
	border-radius: 0;
	background: #fff;
	color: var(--hilaire-blue);
	font-family: var(--font-body);
	font-size: 0.95rem;
}

.dest-hub-catalog__active {
	margin: -0.5rem 0 1.75rem;
	font-size: 0.95rem;
	color: rgba(26, 26, 26, 0.65);
}

.dest-hub-catalog__clear {
	margin-left: 0.75rem;
	color: var(--hilaire-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dest-hub-empty {
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(26, 26, 26, 0.65);
}

.dest-hub-empty a {
	color: var(--hilaire-blue);
}

@media (max-width: 900px) {
	.dest-hub-intro__grid {
		grid-template-columns: 1fr;
	}

	.dest-hub-intro__figure--1,
	.dest-hub-intro__figure--2 {
		margin: 0;
	}

	.dest-hub-catalog__header {
		align-items: stretch;
	}

	.dest-hub-filter__select {
		width: 100%;
	}
}
