/* ============================================================
   Team Grid Widget — Styles
   Theme: lahore-view-city
   ============================================================ */

.lvc-team-grid {
	background: #F8F6F1;
	padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 60px);
}

/* ---- Header ---- */
.lvc-team-grid__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto clamp(40px, 6vw, 64px);
}

.lvc-team-grid__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #C8A977;
	margin-bottom: 10px;
}

.lvc-team-grid__title {
	margin: 0 0 16px;
	font-family: 'Playfair Display', 'Trajan', Georgia, serif !important;
	font-weight: 700;
	font-size: clamp(30px, 3.4vw, 44px);
	color: #082D49;
	position: relative;
	display: inline-block;
}

.lvc-team-grid__title-underline {
	display: block;
	width: 64px;
	height: 3px;
	margin: 14px auto 0;
	background: #C8A977;
	border-radius: 2px;
}

.lvc-team-grid__subtitle {
	margin: 0;
	color: #4b5a63;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.6;
}

/* ---- Members list ---- */
.lvc-team-grid__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(20px, 2.4vw, 32px);
	max-width: 1300px;
	margin: 0 auto;
}

.lvc-team-grid__card {
	flex: 1 1 200px;
	max-width: 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}

.lvc-team-grid__card.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

.lvc-team-grid__photo {
	width: 100%;
	aspect-ratio: 4 / 4.6;
	overflow: hidden;
	margin-bottom: 18px;
	background: #e7e2d8;
}

.lvc-team-grid__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lvc-team-grid__card:hover .lvc-team-grid__photo img {
	transform: scale(1.05);
}

.lvc-team-grid__name {
	margin: 0 0 4px;
	font-family: 'Playfair Display', 'Trajan', Georgia, serif !important;
	font-size: 17px;
	font-weight: 700;
	color: #17222b;
}

.lvc-team-grid__role {
	display: block;
	font-size: 13px;
	color: #6b7680;
	margin-bottom: 10px;
}

.lvc-team-grid__card-underline {
	display: block;
	width: 34px;
	height: 2px;
	background: #C8A977;
	border-radius: 2px;
}

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 900px) {
	.lvc-team-grid__list {
		gap: 24px 18px;
	}

	.lvc-team-grid__card {
		flex: 1 1 40%;
		max-width: 45%;
	}
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 480px) {
	.lvc-team-grid__card {
		flex: 1 1 100%;
		max-width: 260px;
	}
}
