.hf-about-page .entry-content .hf-about-intro-heading {
	margin: 2.75rem 0 1.4rem;
	font-size: var(--hf-section-title-size);
}

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

.hf-about-intro p,
.hf-about-page .entry-content > p {
	line-height: 1.55;
}

.hf-about-history {
	position: relative;
	isolation: isolate;
	margin-top: 0;
	margin-bottom: var(--hf-wave-adjacent-space);
	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-about-history::before,
.hf-about-history::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-about-history::before {
	top: -1px;
	transform: scaleY(-1);
}

.hf-about-history::after {
	bottom: -1px;
}

.hf-about-history > * {
	position: relative;
	z-index: 2;
	width: min(100%, var(--hf-content-width));
	margin-right: auto;
	margin-left: auto;
}

.hf-about-history h2 {
	margin-top: 0;
	color: #fff;
	text-align: center;
	font-size: var(--hf-section-title-size);
}

.hf-about-history p {
	line-height: 1.55;
}

.hf-about-groups-image {
	margin-bottom: var(--hf-section-end-space);
}

.hf-about-groups-image img {
	display: block;
	width: 100%;
	height: auto;
}

.hf-about-page .entry-content > h2 {
	margin-top: clamp(2.75rem, 6vw, 5rem);
	margin-bottom: 1.4rem;
	font-size: var(--hf-section-title-size);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.hf-about-gallery.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
	margin-top: 2rem;
	margin-bottom: 0;
}

.hf-about-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.hf-about-gallery.wp-block-gallery.has-nested-images figure.wp-block-image > a {
	display: block;
	width: 100%;
	height: 100%;
}

.hf-about-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

	.hf-about-gallery.wp-block-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}
}
