/**
 * Home page - "The People Behind" (.ah-team, styled by the theme's main.css): more compact.
 * Same look, smaller: less padding, smaller title and photos, tighter spacing.
 * Higher specificity (body ...) + !important so it wins over the theme's rules.
 */
@media (min-width: 1025px) {
	body .ah-team {
		grid-template-columns: minmax(0, 380px) minmax(0, 600px) !important;
		justify-content: space-between !important;
		column-gap: 72px !important;
		padding-top: 64px !important;
		padding-bottom: 64px !important;
	}
	body .ah-team .ah-team-track { column-gap: 32px !important; }
	body .ah-team .ah-team-card ~ .ah-team-card { margin-top: 28px !important; }
}
@media (max-width: 1024.98px) {
	body .ah-team { padding-top: 56px !important; padding-bottom: 56px !important; row-gap: 40px !important; }
}

body .ah-team .ah-team-intro { gap: 20px !important; }
body .ah-team .ah-team-kicker .elementor-heading-title::after { margin-top: 18px !important; }
body .ah-team .ah-team-title .elementor-heading-title { font-size: clamp(32px, 2.8vw, 46px) !important; line-height: 1.08 !important; }
body .ah-team .ah-team-story .elementor-heading-title { font-size: 14px !important; line-height: 1.75 !important; }

body .ah-team .ah-team-card { gap: 14px !important; }
body .ah-team .ah-team-person > .elementor-widget-container::before { margin-bottom: 14px !important; }
body .ah-team .ah-team-person .elementor-image-box-img { margin-bottom: 16px !important; padding: 0 0 10px 10px !important; }
body .ah-team .ah-team-person .elementor-image-box-img::before { inset: 10px 10px 0 0 !important; }
body .ah-team .ah-team-person .elementor-image-box-img img { aspect-ratio: 1 / 1 !important; object-position: center 22% !important; }
body .ah-team .ah-team-person .elementor-image-box-title { font-size: clamp(22px, 1.8vw, 28px) !important; margin-bottom: 4px !important; }
body .ah-team .ah-team-cta { padding-top: 12px !important; }
body .ah-team .ah-team-cta .elementor-button { min-height: 40px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
body .ah-team .ah-team-mail .elementor-heading-title a { font-size: 13px !important; }

@media (max-width: 767px) {
	body .ah-team { padding-top: 44px !important; padding-bottom: 48px !important; row-gap: 32px !important; }
	body .ah-team .ah-team-track > .ah-team-card { --width: 70% !important; flex: 0 0 70% !important; }
	body .ah-team .ah-team-title .elementor-heading-title { font-size: 32px !important; }
	body .ah-team .ah-team-person .elementor-image-box-img img { aspect-ratio: 4 / 4.4 !important; }
}
