/* Team Grid block (acf/team-grid). Sizes from the Leadership Figma.
   The doubled .rbm-team-grid class beats theme rules like .entry-content .rbm-fullwidth h3. */
.rbm-team-grid.rbm-team-grid .rbm-team-grid__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__item {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	max-width: 360px;
	width: 100%;
	justify-self: center;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__item::before {
	content: none;
	display: none;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1086 / 1500;
	object-fit: cover;
	border-radius: 18px;
	background: #eef2f7;
}
.rbm-team-grid__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rbm-team-grid__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px 0;
	letter-spacing: -0.44px;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__name {
	margin: 0;
	font-family: var(--f-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: 26px;
	line-height: 30px;
	font-weight: 800;
	letter-spacing: -0.44px;
	color: #1d2758;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__title {
	margin: 0;
	font-family: var(--f-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: 22px;
	line-height: 27px;
	font-weight: 400;
	color: #4b4d55;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	font-family: var(--f-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: 18px;
	line-height: 27px;
	font-weight: 600;
	color: #6db2e2;
	text-decoration: none;
	transition: color 0.2s ease;
}
.rbm-team-grid.rbm-team-grid .rbm-team-grid__link:hover,
.rbm-team-grid.rbm-team-grid .rbm-team-grid__link:focus-visible {
	color: #1d2758;
}
.rbm-team-grid__icon {
	flex: 0 0 auto;
	width: 21.75px;
	height: 21.75px;
}

@media (min-width: 576px) {
	.rbm-team-grid.rbm-team-grid .rbm-team-grid__list { grid-template-columns: repeat(2, 1fr); }
	.rbm-team-grid.rbm-team-grid .rbm-team-grid__item { max-width: none; }
}
@media (min-width: 992px) {
	.rbm-team-grid.rbm-team-grid .rbm-team-grid__list { grid-template-columns: repeat(4, 1fr); }
	/* Two-line title box like the Figma so the LinkedIn links line up across a row. */
	.rbm-team-grid.rbm-team-grid .rbm-team-grid__title { min-height: 54px; }
	.rbm-team-grid__item .rbm-team-grid__body { flex: 1; justify-content: space-between; }
}
