/**
 * Meet Our Team Widget Stylesheet
 *
 * Exact CSS conversion from design input with Elementor selector bindings,
 * 100vw full-screen edge-to-edge breakout, micro-interactions, and responsive layout.
 *
 * @package Universal_Elementor_Engine\Widgets\Meet_The_Team
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Manrope:wght@400;500;600;700&family=Space+Mono:wght@400;500&display=swap');

/* =========================================================
   ROOT VARIABLES & BASE CONTAINER
   ========================================================= */

.pv-team-section {
	--pv-team-bg: #f5f8fc;
	--pv-team-white: #ffffff;
	--pv-team-ink: #1e2a24;
	--pv-team-muted: #647065;
	--pv-team-green: #1f6f54;
	--pv-team-green-dark: #154f3c;
	--pv-team-line: #e9e1d2;
	--pv-team-accent-orange: #f28c28;
	--pv-team-card-radius: 18px;
	--pv-team-grid-cols: 4;
	--pv-team-grid-gap: 22px;
	--pv-team-max-width: 1180px;

	position: relative;
	width: 100%;
	background: var(--pv-team-bg);
	color: var(--pv-team-ink);
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: clamp(32px, 4vw, 56px) 20px;
	overflow: hidden;
	box-sizing: border-box;
}

.pv-team-section,
.pv-team-section * {
	box-sizing: border-box;
}

.pv-team-section img {
	display: block;
	max-width: 100%;
}

/* =========================================================
   FULL SCREEN EDGE-TO-EDGE 100VW BREAKOUT (DEFAULT)
   ZERO SPACE ON LEFT AND RIGHT ON SCREEN
   ========================================================= */

.uwe-widget--meet-the-team.pv-width-full,
.uwe-meet-the-team.pv-width-full,
.pv-team-section.pv-width-full {
	width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	max-width: 100vw !important;
	padding-left: clamp(16px, 3.5vw, 40px);
	padding-right: clamp(16px, 3.5vw, 40px);
	box-sizing: border-box !important;
	overflow-x: clip;
}

.pv-team-section.pv-width-viewport {
	width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	max-width: 100vw !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.pv-team-section.pv-width-boxed {
	width: 100%;
	max-width: var(--pv-team-max-width, 1180px);
	margin-left: auto;
	margin-right: auto;
}

/* Inner content wrap */
.pv-team-wrap {
	max-width: var(--pv-team-max-width, 1180px);
	margin: 0 auto;
	width: 100%;
}

.pv-team-wrap.pv-wrap-full {
	max-width: 100%;
}

/* =========================================================
   HEADER / INTRO SECTION
   ========================================================= */

.pv-team-heading {
	max-width: 680px;
	margin: 0 auto 48px;
	text-align: center;
}

.pv-team-eyebrow {
	display: inline-block;
	margin-bottom: 15px;
	color: var(--pv-team-green);
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.pv-team-title {
	margin: 0;
	color: var(--pv-team-ink);
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(36px, 4.5vw, 52px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.025em;
}

.pv-team-title em,
.pv-team-title .pv-highlight {
	color: var(--pv-team-accent-orange);
	font-weight: 500;
	font-style: italic;
}

.pv-team-intro {
	max-width: 540px;
	margin: 18px auto 0;
	color: var(--pv-team-muted);
	font-size: 14px;
	line-height: 1.9;
}

/* =========================================================
   TEAM GRID & CARDS
   ========================================================= */

.pv-team-grid {
	display: grid;
	grid-template-columns: repeat(var(--pv-team-grid-cols, 4), minmax(0, 1fr));
	gap: var(--pv-team-grid-gap, 22px);
}

.pv-team-card {
	min-width: 0;
	background: var(--pv-team-white);
	border: 1px solid var(--pv-team-line);
	border-radius: var(--pv-team-card-radius, 18px);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(30, 42, 36, .045);
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
	display: flex;
	flex-direction: column;
}

.pv-team-card:hover {
	transform: translateY(-7px);
	border-color: rgba(31, 111, 84, .4);
	box-shadow: 0 20px 38px rgba(30, 42, 36, .11);
}

/* Image Container */
.pv-team-image {
	position: relative;
	aspect-ratio: 4 / 4.7;
	overflow: hidden;
	background: #e9e1d2;
	width: 100%;
}

.pv-team-image:after {
	content: "";
	position: absolute;
	inset: 35% 0 0;
	background: linear-gradient(transparent, rgba(15, 30, 23, .48));
	pointer-events: none;
	z-index: 1;
}

.pv-team-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.pv-team-card:hover .pv-team-image img {
	transform: scale(1.055);
}

/* Top Number Badge */
.pv-team-number {
	position: absolute;
	top: 13px;
	left: 13px;
	z-index: 2;
	display: grid;
	width: 33px;
	height: 33px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 50%;
	background: rgba(250, 245, 236, .88);
	color: var(--pv-team-green-dark);
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 500;
	backdrop-filter: blur(4px);
}

/* Floating Social Links */
.pv-team-social {
	position: absolute;
	z-index: 3;
	right: 12px;
	bottom: 14px;
	display: flex;
	gap: 7px;
}

.pv-team-social a {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	backdrop-filter: blur(8px);
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.pv-team-social a:hover {
	background: #fff;
	color: var(--pv-team-green-dark);
	border-color: #fff;
}

/* Info Box */
.pv-team-info {
	padding: 20px 17px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.pv-team-role {
	display: block;
	margin-bottom: 8px;
	color: var(--pv-team-green);
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.pv-team-info h2,
.pv-team-info h3,
.pv-team-info h4,
.pv-team-info h5,
.pv-team-info h6,
.pv-team-info .pv-team-name {
	margin: 0 0 7px;
	color: var(--pv-team-ink);
	font-family: 'Fraunces', Georgia, serif;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 600;
	line-height: 1.3;
}

.pv-team-info p {
	margin: 0;
	color: var(--pv-team-muted);
	font-size: 12px;
	line-height: 1.7;
}

/* =========================================================
   BOTTOM BAR & CTA
   ========================================================= */

.pv-team-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 38px;
	padding-top: 25px;
	border-top: 1px solid var(--pv-team-line);
}

.pv-team-bottom p {
	margin: 0;
	color: var(--pv-team-muted);
	font-family: 'Fraunces', Georgia, serif;
	font-size: 19px;
	font-style: italic;
}

.pv-team-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--pv-team-green);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 10px 22px rgba(31, 111, 84, .2);
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
	cursor: pointer;
}

.pv-team-cta:hover {
	background: var(--pv-team-green-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(21, 79, 60, .3);
}

.pv-team-cta span {
	font-size: 17px;
	line-height: 1;
	transition: transform .25s ease;
}

.pv-team-cta:hover span {
	transform: translate(2px, -2px);
}

/* =========================================================
   RESPONSIVE LAYOUTS
   ========================================================= */

@media (max-width: 980px) {
	.pv-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.pv-team-info h2,
	.pv-team-info h3,
	.pv-team-info h4,
	.pv-team-info h5,
	.pv-team-info h6,
	.pv-team-info .pv-team-name {
		font-size: 21px;
	}
}

@media (max-width: 560px) {
	.pv-team-section {
		padding: 32px 15px;
	}

	.pv-team-heading {
		margin-bottom: 32px;
	}

	.pv-team-intro {
		font-size: 13px;
	}

	.pv-team-grid {
		gap: 12px;
	}

	.pv-team-card {
		border-radius: 13px;
	}

	.pv-team-image {
		aspect-ratio: 4 / 4.8;
	}

	.pv-team-number {
		top: 8px;
		left: 8px;
		width: 27px;
		height: 27px;
		font-size: 9px;
	}

	.pv-team-info {
		padding: 14px 11px 16px;
	}

	.pv-team-role {
		font-size: 8px;
		letter-spacing: .04em;
	}

	.pv-team-info h2,
	.pv-team-info h3,
	.pv-team-info h4,
	.pv-team-info h5,
	.pv-team-info h6,
	.pv-team-info .pv-team-name {
		font-size: 16px;
		overflow-wrap: anywhere;
	}

	.pv-team-info p {
		font-size: 11px;
	}

	.pv-team-social {
		right: 8px;
		bottom: 9px;
		gap: 5px;
	}

	.pv-team-social a {
		width: 28px;
		height: 28px;
	}

	.pv-team-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-top: 28px;
	}

	.pv-team-bottom p {
		font-size: 17px;
	}
}

@media (max-width: 380px) {
	.pv-team-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.pv-team-image {
		aspect-ratio: 4 / 3.8;
	}

	.pv-team-cta {
		width: 100%;
	}
}

/* =========================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	.pv-team-card,
	.pv-team-image img,
	.pv-team-social a,
	.pv-team-cta,
	.pv-team-cta span {
		transition: none !important;
	}

	.pv-team-card:hover,
	.pv-team-cta:hover,
	.pv-team-cta:hover span {
		transform: none !important;
	}
}
