.hf-contact-page .entry-content h2 {
	margin: 0 0 1.6rem;
}

.hf-contact-intro {
	padding-bottom: var(--hf-wave-adjacent-space);
}

.hf-contact-details {
	width: min(100%, 620px);
	margin-inline: auto;
}

.hf-contact-details p {
	margin-bottom: 1rem;
	line-height: 1.5;
}

.hf-contact-details a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.hf-contact-travel {
	position: relative;
	isolation: isolate;
	margin-top: 0;
	margin-bottom: 0;
	padding: clamp(5rem, 9vw, 7rem) max(1.5rem, calc((100% - var(--hf-content-width)) / 2)) var(--hf-wave-section-end-space);
	overflow: hidden;
	background-color: var(--hf-brand-red);
	background-image: url("../images/about-wall-texture.webp");
	background-position: center;
	background-size: cover;
	color: #fff;
}

.hf-contact-travel::before,
.hf-contact-travel::after {
	position: absolute;
	z-index: 1;
	right: -1px;
	left: -1px;
	height: var(--hf-section-wave-height);
	background: url("../images/program-hero-wave-white.png") center bottom / 100% 100% no-repeat;
	content: "";
	pointer-events: none;
}

.hf-contact-travel::before {
	top: -1px;
	transform: scaleY(-1);
}

.hf-contact-travel::after {
	bottom: -1px;
}

.hf-contact-travel > * {
	position: relative;
	z-index: 2;
	width: min(100%, var(--hf-content-width));
	margin-inline: auto;
}

.hf-contact-page .entry-content .hf-contact-travel h2,
.hf-contact-page .entry-content .hf-contact-travel h3 {
	color: #fff;
}

.hf-contact-travel a {
	color: #fff;
}

.hf-contact-closing {
	padding-top: var(--hf-wave-adjacent-space);
}

.hf-contact-closing p {
	margin: 0;
	color: var(--hf-brand-red);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.hf-contact-travel > h3 {
	margin: 2rem 0 0.5rem;
	font-size: 1rem;
	font-weight: 800;
}

.hf-contact-travel p {
	line-height: 1.55;
}

.hf-contact-transit-maps {
	margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.hf-contact-transit-maps > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: clamp(1rem, 3vw, 1.75rem);
}

.hf-contact-map {
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.hf-contact-map img {
	display: block;
	width: 100%;
	height: auto;
}

.hf-contact-map > a {
	display: block;
}

.hf-contact-map > a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.hf-contact-map--kopernikus {
	aspect-ratio: 616 / 330;
}

.hf-contact-map--alexander {
	aspect-ratio: 616 / 405;
}

.hf-contact-map--alexander img {
	transform: translateY(-44%);
}

.hf-contact-map--parking {
	margin-top: 1.5rem;
}

@media (max-width: 768px) {
	.hf-contact-travel {
		padding: 4.75rem 1.5rem var(--hf-wave-section-end-space);
	}

	.hf-contact-transit-maps > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 360px) {
	.page.hf-contact-page .entry-content h2 {
		font-size: 1.45rem;
	}
}
