.hm-team-grid {
	background: #ffffff;
	padding: 1.6rem clamp(1.5rem, 5vw, 2rem) clamp(3rem, 6vw, 5rem)  ;
}

.hm-team-grid.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.hm-team-grid__inner {
	max-width: 1250px;
	margin: 0 auto;
}

.hm-team-grid__heading {
	margin: 0 0 clamp(3rem, 5vw, 4.5rem);
	color: var(--wp--preset--color--aqua, #58c7c7);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	line-height: 0.95;
	text-align: center;
}

.hm-team-grid__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(3rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
}

.hm-team-grid__member {
	text-align: center;
}

.hm-team-grid__photo-wrap {
	width: min(100%, 190px);
	aspect-ratio: 1 / 1;
	margin: 0 auto 1rem;
	border-radius: 50%;
	overflow: hidden;
	background: #000000;
}

.hm-team-grid__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hm-team-grid__photo--placeholder {
	background: #000000;
}

.hm-team-grid__name {
	margin: 0;
	color: #000000;
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	font-weight: 800;
	line-height: 1.05;
}

.hm-team-grid__title {
	margin: 0.35rem 0 0;
	color: #242124;
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1rem, 1.25vw, 1.15rem);
	font-weight: 400;
	line-height: 1.2;
}

.acf-block-preview .hm-team-grid .js-reveal {
	opacity: 1;
	transform: none;
}

@media (max-width: 900px) {
	.hm-team-grid__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.hm-team-grid__grid {
		grid-template-columns: 1fr;
	}

	.hm-team-grid__photo-wrap {
		width: 210px;
	}
}
