.home-view {
	padding-top: clamp(1rem, 2.5vw, 2rem);
}

.home-hero {
	position: relative;
	display: grid;
	grid-template-rows: minmax(0, 1fr);
	height: clamp(15rem, 68vw, 18rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	overflow: hidden;
	background: var(--greiner-text);
	border-radius: 0.25rem;
	isolation: isolate;
}

.home-hero__image,
.home-hero__overlay,
.home-hero__body {
	grid-area: 1 / 1;
	min-height: 0;
}

.home-hero__image {
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 55%;
}

.home-hero__overlay {
	z-index: -1;
	background: linear-gradient(90deg, rgb(20 18 23 / 78%) 0%, rgb(20 18 23 / 48%) 50%, rgb(20 18 23 / 8%) 100%);
}

.home-hero__body {
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: end;
	padding: clamp(1.25rem, 4vw, 2.5rem);
}

.home-hero__body h1,
.home-hero__body p {
	max-width: 44rem;
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 12px rgb(0 0 0 / 42%);
}

.home-hero__body h1 {
	align-self: start;
	font-family: var(--greiner-font-display);
	font-size: clamp(2rem, 5.5vw, 3.6rem);
	line-height: 1.04;
}

.home-hero__body p {
	align-self: start;
	margin-top: 0.45rem;
	font-size: clamp(1rem, 2.1vw, 1.3rem);
	font-weight: 600;
	line-height: 1.35;
}

.home-section-heading__kicker {
	margin-bottom: 0.4rem;
	color: var(--greiner-accent-dark);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-section,
.home-map-hero {
	margin-top: clamp(4rem, 10vw, 8rem);
}

.home-map-hero {
	margin-top: 0;
}

.home-section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.home-section-heading h2 {
	max-width: 18ch;
	margin: 0;
}

.home-map-heading {
	align-items: start;
}

.home-map-heading__primary {
	min-width: 0;
}

.home-map-heading__primary .home-section-heading__link {
	display: inline-block;
	margin-top: 0.55rem;
}

.home-map-current-travel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 22rem;
	padding-left: 0.9rem;
	border-left: 2px solid var(--greiner-accent);
	color: var(--greiner-text);
	line-height: 1.25;
	text-decoration: none;
}

.home-map-current-travel__label,
.home-map-current-travel > span:last-child {
	color: var(--greiner-muted);
	font-size: 0.82rem;
}

.home-map-current-travel strong {
	margin-block: 0.15rem;
	font-family: var(--greiner-font-display);
	font-size: 1.05rem;
}

.home-section-heading__link,
.home-text-link {
	font-weight: 700;
}

.greiner-map--home {
	height: clamp(26rem, 72vh, 48rem);
}

.home-travel-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	padding: 0.85rem clamp(1rem, 3vw, 1.5rem);
	background: var(--greiner-surface);
	border: 1px solid var(--greiner-border);
	border-top: 0;
}

.home-travel-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	min-height: 2.75rem;
	padding: 0.35rem 0.5rem;
	border: 0;
	border-radius: 0.25rem;
	background: transparent;
	color: var(--greiner-text);
	font-size: 0.95rem;
	font-weight: 650;
	line-height: 1.25;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.home-travel-legend__item:hover,
.home-travel-legend__item.is-active {
	background: color-mix(in srgb, var(--greiner-border) 45%, transparent);
}

.home-travel-legend__color {
	flex: 0 0 auto;
	width: 0.75rem;
	height: 0.75rem;
	border: 1px solid rgb(0 0 0 / 15%);
	border-radius: 50%;
	background: var(--travel-color);
}

.home-empty-state {
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	color: var(--greiner-muted);
}

.home-empty-state {
	min-height: 16rem;
	background: color-mix(in srgb, var(--greiner-border) 40%, var(--greiner-background));
	border: 1px solid var(--greiner-border);
}

.home-card-grid {
	max-width: none;
}

.home-section--mauritius {
	padding-top: clamp(2rem, 5vw, 4rem);
	border-top: 1px solid var(--greiner-accent);
}

@media (min-width: 48rem) {
	.home-hero {
		height: clamp(15.625rem, 24vw, 18.75rem);
	}

	.home-map-heading {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.42fr);
		gap: 1rem 1.5rem;
	}

	.home-map-heading h2 {
		max-width: none;
		font-size: clamp(1.55rem, 3vw, 2.4rem);
		white-space: nowrap;
	}
}

@media (min-width: 75rem) {
	.home-map-heading__primary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: 0.4rem 1rem;
	}

	.home-map-heading__primary .home-section-heading__kicker {
		grid-column: 1 / -1;
	}

	.home-map-heading__primary .home-section-heading__link {
		margin-top: 0;
		white-space: nowrap;
	}

	.home-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}
