/* WP Consultant Toolkit — Team Avatars widget. Based on .team-presence in outputs/style.css. */

.wpct-team-presence {
	display: flex;
	align-items: center;
	gap: 14px;
}

.wpct-team-avatars {
	display: flex;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 0 0 var(--wpct-avatar-overlap, 8px);
	list-style: none;
}

/* Makes the avatar inside each <li> the actual flex item. */
.wpct-team-avatars-item {
	display: contents;
}

.wpct-team-avatar {
	position: relative;
	display: grid;
	width: var(--wpct-avatar-size, 40px);
	height: var(--wpct-avatar-size, 40px);
	flex: 0 0 auto;
	margin-left: calc(-1 * var(--wpct-avatar-overlap, 8px));
	overflow: hidden;
	border: var(--wpct-avatar-border-width, 2px) solid var(--wpct-avatar-border-color, #07182f);
	border-radius: 50%;
	font-family: "Manrope", Arial, sans-serif;
	font-size: .68rem;
	font-weight: 800;
	place-items: center;
}

/* Two classes deep so a theme reset like `.entry-content img { height: auto }` can't win. */
.wpct-team-avatar .wpct-team-avatar-img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: var(--wpct-avatar-object-fit, cover);
	object-position: var(--wpct-avatar-object-position, center center);
}

.wpct-team-avatar--navy {
	color: #ffffff;
	background-color: #3f72ff;
}

.wpct-team-avatar--mint {
	color: #07182f;
	background-color: #42d9b0;
}

.wpct-team-avatar--coral {
	color: #07182f;
	background-color: #ff7357;
}

.wpct-team-presence-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	font-size: .78rem;
	line-height: 1.45;
}

.wpct-team-presence .wpct-team-presence-text {
	margin: 0;
	color: #b9c8da;
}

/* Design default: a bold, underlined text link. */
.wpct-team-presence .wpct-team-presence-link {
	justify-content: flex-start;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .25em;
}
