/**
 * Paripoorn Team widget.
 *
 * Static CSS Grid of member cards — no carousel, no JS. Column count and
 * gap come from --pp-team-columns / the gap control (printed by
 * Team.php's responsive selectors), so the responsive breakpoints are
 * Elementor's own rather than hardcoded media queries here.
 */

.pp-team__header {
	margin-bottom: 40px;
}

.pp-team__title {
	font-family: var(--pp-font-heading, "Libre Caslon Text", serif);
	font-weight: 400;
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	line-height: 1.2;
	color: var(--pp-heading, #222222);
	margin: 0 0 8px;
}

.pp-team__subtitle {
	font-family: var(--pp-font-body, "Manrope", sans-serif);
	font-size: 15px;
	color: #6B6B6B;
	margin: 0;
}

.pp-team__grid {
	display: grid;
	grid-template-columns: repeat(var(--pp-team-columns, 3), minmax(0, 1fr));
	gap: 24px;
}

.pp-team__item {
	min-width: 0;
}

.pp-team__card {
	background-color: #FBF4E3;
	border: 1px solid #E9E3D8;
	border-radius: 14px;
	padding: 16px;
	height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	transition: background-color 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.pp-team--lift .pp-team__card:hover {
	transform: translateY(-4px);
}

/* The photo sits on its own panel inside the card — in the reference the
   portrait is on white while the card itself is cream. aspect-ratio (set
   by the Aspect Ratio control) keeps every card the same height no
   matter what the source images measure. */
.pp-team__photo {
	background-color: #FFFFFF;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	margin-bottom: 18px;
}

.pp-team__photo a {
	display: block;
	width: 100%;
	height: 100%;
}

.pp-team__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: filter 250ms ease;
}

.pp-team--grayscale .pp-team__photo img {
	filter: grayscale(100%);
}

.pp-team--grayscale .pp-team__card:hover .pp-team__photo img {
	filter: grayscale(0%);
}

.pp-team__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.pp-team__name {
	font-family: var(--pp-font-body, "Manrope", sans-serif);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--pp-heading, #222222);
	margin: 0 0 4px;
}

.pp-team__name a {
	color: inherit;
	text-decoration: none;
}

.pp-team__name a:hover {
	color: var(--pp-primary, #F20D16);
}

.pp-team__role {
	font-family: var(--pp-font-body, "Manrope", sans-serif);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9A9A9A;
	line-height: 1.3;
	margin-bottom: 14px;
}

.pp-team__bio {
	font-family: var(--pp-font-body, "Manrope", sans-serif);
	font-size: 12px;
	line-height: 1.7;
	color: #6B6B6B;
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.pp-team__card,
	.pp-team__photo img {
		transition: none;
	}

	.pp-team--lift .pp-team__card:hover {
		transform: none;
	}
}
