/* Section: heading and text side by side, then a photo grid (one large, four small). */
.hm-team { padding: calc(40 * var(--hm-m)) 0; background: #f6f6f6; color: #000; font: 400 calc(15 * var(--hm-m)) / 1.5 var(--hm-font-body); }
.hm-team .hm-team__head { display: grid; gap: calc(16 * var(--hm-m)); }
.hm-team .hm-team__title { margin: 0; font: 700 calc(20.66 * var(--hm-m)) / 1.45 var(--hm-font-display); text-transform: uppercase; overflow-wrap: normal; }
.hm-team .hm-team__text { display: grid; gap: calc(5.8 * var(--hm-m)); }
.hm-team .hm-team__text > * { margin: 0; }
.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images { display: grid; grid-template-columns: 1fr; gap: calc(12 * var(--hm-m)); margin-top: calc(24 * var(--hm-m)); padding: 0; }
.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; aspect-ratio: 358 / 203; }
.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child { grid-column: 1 / -1; }
.hm-team .hm-team__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(12 * var(--hm-m)); background: #e9e9e9; }
@container hm (min-width: 640px) {
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images { grid-template-columns: 1fr 1fr; }
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { aspect-ratio: 361 / 203; }
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child { aspect-ratio: 736 / 420; }
}
@container hm (min-width: 1024px) {
	.hm-team .hm-team__head { grid-template-columns: 1fr 1fr; gap: calc(24 * var(--hm-u)); }
}
@container hm (min-width: 1200px) {
	.hm-team { padding: calc(80 * var(--hm-u)) 0; font-size: var(--hm-fs-sm); }
	.hm-team .hm-team__title { font-size: calc(39.36 * var(--hm-u)); }
	.hm-team .hm-team__text { gap: calc(8 * var(--hm-u)); }
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images { grid-template-columns: minmax(0, 639fr) minmax(0, 314fr) minmax(0, 314fr); grid-template-rows: auto auto; gap: calc(16 * var(--hm-u)); margin-top: calc(40 * var(--hm-u)); }
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { aspect-ratio: 314 / 176; }
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; position: relative; }
	.hm-team .hm-team__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child img { position: absolute; inset: 0; }
	.hm-team .hm-team__gallery img { border-radius: calc(16 * var(--hm-u)); }
}
