/* Public Team Card: controlled presets layered over the shared Team Member recipe. */
.etb-component-team-card {
	width: 100%;
	height: 100%;
}

.etb-component-team-card.etb-component-team-card--align-center .etb-team__content {
	align-items: center;
	text-align: center;
}

.etb-component-team-card.etb-component-team-card--align-center .etb-team__socials {
	justify-content: center;
}

.etb-component-team-card.etb-component--heading-s .etb-component-heading {
	font-size: var(--eth-fs-body, 1rem);
}

.etb-component-team-card.etb-component--heading-m .etb-component-heading {
	font-size: calc(var(--eth-fs-h3, 1.35rem) * .78);
}

.etb-component-team-card.etb-component--heading-l .etb-component-heading {
	font-size: var(--eth-fs-h3, 1.35rem);
}

.etb-component-team-card.is-style-eth-portrait-overlay.etb-component-team-card--ratio-portrait,
.etb-component-team-card.is-style-eth-portrait-overlay.etb-component-team-card--ratio-portrait .etb-team__content {
	min-height: 26rem;
}

.etb-component-team-card.is-style-eth-portrait-overlay.etb-component-team-card--ratio-square,
.etb-component-team-card.is-style-eth-portrait-overlay.etb-component-team-card--ratio-square .etb-team__content {
	min-height: 22rem;
}

.etb-component-team-card.is-style-eth-portrait-overlay.etb-component-team-card--ratio-landscape,
.etb-component-team-card.is-style-eth-portrait-overlay.etb-component-team-card--ratio-landscape .etb-team__content {
	min-height: 18rem;
}

.etb-component-team-card:not(.is-style-eth-portrait-overlay).etb-component-team-card--ratio-portrait .etb-team__image { aspect-ratio: 4 / 5; }
.etb-component-team-card:not(.is-style-eth-portrait-overlay).etb-component-team-card--ratio-square .etb-team__image { aspect-ratio: 1 / 1; }
.etb-component-team-card:not(.is-style-eth-portrait-overlay).etb-component-team-card--ratio-landscape .etb-team__image { aspect-ratio: 4 / 3; }

.etb-component-team-card.is-style-eth-minimal {
	display: flex;
	flex-direction: column;
	overflow: visible;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.etb-component-team-card.is-style-eth-minimal .etb-team__overlay {
	display: none;
}

.etb-component-team-card.is-style-eth-minimal .etb-team__image {
	width: 100%;
	border-radius: var(--eth-radius-m, .8rem);
}

.etb-component-team-card.is-style-eth-minimal .etb-team__content {
	padding: var(--eth-space-s, 1rem) 0 0;
	color: var(--eth-text-body, #333);
}

.etb-component-team-card.is-style-eth-minimal .etb-team__name {
	color: var(--eth-text-title, #111);
}

.etb-component-team-card.is-style-eth-minimal .etb-team__role,
.etb-component-team-card.is-style-eth-minimal .etb-team__social {
	color: var(--eth-primary, #4f46e5);
}

.etb-component-team-card.etb-component--motion-none,
.etb-component-team-card.etb-component--motion-none *,
.etb-component-team-card.etb-component--motion-none *::before {
	transition: none !important;
}

.etb-component-team-card.etb-component--motion-none:hover,
.etb-component-team-card.etb-component--motion-none:focus-within,
.etb-component-team-card.etb-component--motion-none:hover .etb-team__image,
.etb-component-team-card.etb-component--motion-none:focus-within .etb-team__image,
.etb-component-team-card.etb-component--motion-none:hover .etb-team__content,
.etb-component-team-card.etb-component--motion-none:focus-within .etb-team__content {
	transform: none !important;
}

@media (hover: hover) {
	.etb-component-team-card.etb-component--motion-emphasized:hover,
	.etb-component-team-card.etb-component--motion-emphasized:focus-within {
		transform: translateY(-.65rem);
		box-shadow: var(--eth-shadow-l, 0 18px 36px rgba(0, 0, 0, .2));
	}

	.etb-component-team-card.etb-component--motion-emphasized:hover .etb-team__image,
	.etb-component-team-card.etb-component--motion-emphasized:focus-within .etb-team__image {
		transform: scale(1.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.etb-component-team-card,
	.etb-component-team-card *,
	.etb-component-team-card *::before {
		transition: none !important;
	}
}
