.angie-team-card-f787c3fe {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	display: block;
	background-color: #f4f6f8;
	max-width: 100%;
	text-decoration: none;
}

.angie-team-card-image-wrap img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.angie-team-card-info-pill-container {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none; /* Let clicks pass through container */
}

/* Base Mask Setup */
.angie-team-card-info-pill-mask {
	position: absolute;
	bottom: 0;
	background: #fff; /* Matches typical card wrapper background */
	padding: 12px;
	pointer-events: auto; /* Re-enable for the pill area */
	z-index: 1;
}

/* Position Left */
.angie-team-card-pos-left .angie-team-card-info-pill-mask {
	left: 0;
	border-top-right-radius: 24px;
}

/* Position Center */
.angie-team-card-pos-center .angie-team-card-info-pill-mask {
	left: 50%;
	transform: translateX(-50%);
	border-top-left-radius: 24px;
	border-top-right-radius: 24px;
	display: flex;
	justify-content: center;
}

/* Position Right */
.angie-team-card-pos-right .angie-team-card-info-pill-mask {
	right: 0;
	border-top-left-radius: 24px;
}

/* Inverse Corners */
.angie-team-card-info-pill-inverse-corner {
	position: absolute;
	width: 24px;
	height: 24px;
	background: transparent;
	pointer-events: none;
	z-index: -1;
	display: none;
}

/* Position Left Inverse Corners */
.angie-team-card-pos-left .angie-team-card-info-pill-mask .angie-inverse-top-left {
	display: block;
	top: -24px;
	left: 0;
	border-bottom-left-radius: 24px;
	box-shadow: -12px 12px 0 12px #fff;
}
.angie-team-card-pos-left .angie-team-card-info-pill-mask .angie-inverse-side-right {
	display: block;
	bottom: 0;
	right: -24px;
	border-bottom-left-radius: 24px;
	box-shadow: -12px 12px 0 12px #fff;
}

/* Position Right Inverse Corners */
.angie-team-card-pos-right .angie-team-card-info-pill-mask .angie-inverse-top-right {
	display: block;
	top: -24px;
	right: 0;
	border-bottom-right-radius: 24px;
	box-shadow: 12px 12px 0 12px #fff;
}
.angie-team-card-pos-right .angie-team-card-info-pill-mask .angie-inverse-side-left {
	display: block;
	bottom: 0;
	left: -24px;
	border-bottom-right-radius: 24px;
	box-shadow: 12px 12px 0 12px #fff;
}

/* Position Center Inverse Corners */
.angie-team-card-pos-center .angie-team-card-info-pill-mask .angie-inverse-side-left {
	display: block;
	bottom: 0;
	left: -24px;
	border-bottom-right-radius: 24px;
	box-shadow: 12px 12px 0 12px #fff;
}
.angie-team-card-pos-center .angie-team-card-info-pill-mask .angie-inverse-side-right {
	display: block;
	bottom: 0;
	right: -24px;
	border-bottom-left-radius: 24px;
	box-shadow: -12px 12px 0 12px #fff;
}

/* Pill Wrapper & Styling */
.angie-team-card-info-pill-wrapper {
	position: relative;
	z-index: 2;
	display: flex;
}

.angie-team-card-info-pill {
	background: #f37021;
	border-radius: 50px;
	display: flex;
	align-items: center;
	padding: 12px;
	transition: max-width 0.4s ease, padding 0.4s ease;
	height: 48px;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
}

.angie-team-card-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #ffffff;
}

.angie-team-card-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.angie-team-card-text-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 12px;
	transition: opacity 0.3s ease;
}

.angie-team-card-name {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
}

.angie-team-card-role {
	font-weight: 400;
	font-size: 13px;
	line-height: 1.2;
	margin-top: 2px;
	opacity: 0.9;
}


/* ==========================================
   OPTION 1: CIRCLE -> PILL (Expand on Hover)
   ========================================== */
.angie-team-card-anim-expand .angie-team-card-info-pill {
	max-width: 48px; /* Initial Circle */
}

.angie-team-card-anim-expand .angie-team-card-text-wrap {
	opacity: 0;
	transition-delay: 0s;
}

/* Hover State */
.angie-team-card-anim-expand:hover .angie-team-card-info-pill {
	max-width: 300px;
	padding-right: 24px;
	padding-left: 24px;
}

.angie-team-card-anim-expand:hover .angie-team-card-text-wrap {
	opacity: 1;
	transition-delay: 0.2s;
}


/* ==========================================
   OPTION 2: PILL -> CIRCLE (Collapse on Hover)
   ========================================== */
.angie-team-card-anim-collapse .angie-team-card-info-pill {
	max-width: 300px; /* Initial Pill */
	padding-right: 24px;
	padding-left: 24px;
}

.angie-team-card-anim-collapse .angie-team-card-text-wrap {
	opacity: 1;
	transition-delay: 0.2s;
}

/* Hover State */
.angie-team-card-anim-collapse:hover .angie-team-card-info-pill {
	max-width: 48px; /* Collapse to Circle */
	padding-right: 12px;
	padding-left: 12px;
}

.angie-team-card-anim-collapse:hover .angie-team-card-text-wrap {
	opacity: 0;
	transition-delay: 0s;
}
