/**
 * Team 1 Widget Stylesheet
 * Single Team Member with Curved Text & Hover Card
 */

/* Main Container */
.vtl-team-1-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-align: center;
	margin: 0 auto;
	width: 100%;
}

.vtl-team-1-wrapper *,
.vtl-team-1-wrapper *::before,
.vtl-team-1-wrapper *::after {
	box-sizing: border-box;
}

/* Base Card Box */
.vtl-team-1-box {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	outline: none;
}

/* ==========================================
   1. NORMAL STATE: CIRCULAR AVATAR & CURVED TEXT
   ========================================== */

.vtl-team-1-normal-state {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
	z-index: 2;
}

/* Circular Avatar Wrapper */
.vtl-team-1-avatar-circle {
	position: relative;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	background-color: #eae5de;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.vtl-team-1-avatar-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	border-radius: 50%;
	transition: transform 0.4s ease;
}

/* Curved Text Container (SVG) */
.vtl-team-1-curved-svg-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 3;
	overflow: visible;
}

.vtl-team-1-curved-svg {
	overflow: visible;
	display: block;
}

.vtl-team-1-curved-text {
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	fill: #542065;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transition: fill 0.3s ease;
}

.vtl-team-1-curved-first-name {
	font-weight: 700;
	fill: #542065;
}

.vtl-team-1-curved-last-name {
	font-weight: 800;
	fill: #542065;
}

.vtl-team-1-curved-highlight {
	font-weight: 800;
	fill: #542065;
}

/* ==========================================
   2. HOVER STATE: SOCIAL MEDIA LINKS OVERLAY
   ========================================== */

.vtl-team-1-hover-card {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Avatar on hover: remains completely visible as it is */
.vtl-team-1-box:hover .vtl-team-1-normal-state,
.vtl-team-1-box.is-active .vtl-team-1-normal-state {
	opacity: 1 !important;
	transform: none !important;
	pointer-events: auto;
}

.vtl-team-1-box:hover .vtl-team-1-avatar-circle img,
.vtl-team-1-box.is-active .vtl-team-1-avatar-circle img {
	opacity: 1 !important;
}

/* In-place reveal mode */
.vtl-team-1-mode-in_place .vtl-team-1-hover-card {
	position: absolute;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	display: flex;
	box-shadow: none !important;
	background: #ffffff !important;
	padding: 0 !important;
	width: 200px !important;
	height: 100px !important;
}

/* Show social media links overlay on hover */
.vtl-team-1-box:hover .vtl-team-1-hover-card,
.vtl-team-1-box.is-active .vtl-team-1-hover-card,
.vtl-team-1-mode-in_place.vtl-team-1-box:hover .vtl-team-1-hover-card,
.vtl-team-1-mode-in_place.vtl-team-1-box.is-active .vtl-team-1-hover-card {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

/* Arch / Dome Cropped Photo */
.vtl-team-1-arch-container {
	position: relative;
	width: 170px;
	height: 105px;
	border-radius: 85px 85px 0 0;
	overflow: hidden;
	background-color: #eae5de;
	margin: 0 auto 12px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.vtl-team-1-arch-container img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Subtitle / Small Name */
.vtl-team-1-subtitle {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #222222;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

/* Social & Contact Icons */
.vtl-team-1-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
}

.vtl-team-1-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: #1a1a1a;
	background-color: #ffffff;
	text-decoration: none;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.vtl-team-1-social-link:hover {
	color: #ffffff;
	background-color: #542065;
	transform: translateY(-3px) scale(1.08);
	box-shadow: 0 6px 16px rgba(84, 32, 101, 0.35);
}

.vtl-team-1-social-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

.vtl-team-1-social-link i {
	font-size: 18px;
	line-height: 1;
}

/* Member Name (Title) */
.vtl-team-1-name {
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px 0;
	line-height: 1.25;
}

.vtl-team-1-name .vtl-team-1-highlight {
	color: #542065;
	font-weight: 800;
	text-transform: uppercase;
}

/* Bio / Description Text */
.vtl-team-1-bio {
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	color: #333333;
	margin: 0;
	max-width: 290px;
}

/* Alignment Utilities */
.vtl-team-1-align-left {
	align-items: flex-start;
	text-align: left;
}
.vtl-team-1-align-left .vtl-team-1-hover-card {
	text-align: left;
	align-items: flex-start;
}
.vtl-team-1-align-left .vtl-team-1-socials {
	justify-content: flex-start;
}

.vtl-team-1-align-center {
	align-items: center;
	text-align: center;
}
.vtl-team-1-align-center .vtl-team-1-hover-card {
	text-align: center;
	align-items: center;
}
.vtl-team-1-align-center .vtl-team-1-socials {
	justify-content: center;
}

.vtl-team-1-align-right {
	align-items: flex-end;
	text-align: right;
}
.vtl-team-1-align-right .vtl-team-1-hover-card {
	text-align: right;
	align-items: flex-end;
}
.vtl-team-1-align-right .vtl-team-1-socials {
	justify-content: flex-end;
}

/* ==========================================
   3. RESPONSIVE BREAKPOINTS
   ========================================== */

@media (max-width: 767px) {
	.vtl-team-1-avatar-circle {
		width: 150px;
		height: 150px;
	}

	.vtl-team-1-curved-text {
		font-size: 13px;
	}

	.vtl-team-1-hover-card {
		width: 290px;
		padding: 20px 16px 24px;
	}

	.vtl-team-1-arch-container {
		width: 140px;
		height: 85px;
		border-radius: 70px 70px 0 0;
	}

	.vtl-team-1-arch-container img {
		height: 140px;
	}

	.vtl-team-1-name {
		font-size: 19px;
	}

	.vtl-team-1-bio {
		font-size: 13px;
	}
}
