/* wp-content/plugins/ceca-widgets/widgets/team-list/team-list.css */
/* Team List (Figma 216:1660): 22/29 bold section heading with the short
   accent underline, 40px above a 3-up people grid — 110px circular photo,
   16/21 bold underlined name, role 5px beneath, 40px row gap. */

.ceca-tl {
	--ceca-tl-accent: #c65a93;
}

.ceca-tl .ceca-tl__heading {
	margin: 0 0 40px;
	font-size: 22px;
	line-height: 29px;
	font-weight: 700;
	color: #000;
}

.ceca-tl .ceca-tl__heading::after {
	content: '';
	display: block;
	width: 45px;
	height: 5px;
	margin-top: 8px;
	border-radius: 3px;
	background: var(--ceca-tl-accent);
}

.ceca-tl__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 24px;
}

.ceca-tl__person {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.ceca-tl__photo {
	flex: 0 0 110px;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	overflow: hidden;
	background: #ececec;
}

/* No photo: a solid palette circle, colours rotating blue, plum, yellow,
   pink, green, purple across the photo-less people in the list. */
.ceca-tl__photo--c0 { background: var(--ceca-teal, #5FAFC4); }
.ceca-tl__photo--c1 { background: var(--ceca-plum, #411024); }
.ceca-tl__photo--c2 { background: var(--ceca-yellow, #F0B43C); }
.ceca-tl__photo--c3 { background: var(--ceca-pink, #C65A93); }
.ceca-tl__photo--c4 { background: var(--ceca-green, #8CC078); }
.ceca-tl__photo--c5 { background: #7D7BB0; }

.ceca-tl__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ceca-tl__info {
	padding-top: 5px;
	min-width: 0;
}

.ceca-tl .ceca-tl__name {
	display: block;
	font-size: 16px;
	line-height: 21px;
	font-weight: 700;
	color: #000;
	text-decoration: underline;
	text-underline-position: from-font;
}

.ceca-tl a.ceca-tl__name:hover,
.ceca-tl a.ceca-tl__name:focus {
	color: var(--ceca-tl-accent);
}

.ceca-tl__role {
	display: block;
	margin-top: 5px;
	font-size: 16px;
	line-height: 21px;
	color: #000;
}

@media (max-width: 600px) {
	.ceca-tl__person {
		gap: 14px;
	}

	.ceca-tl__photo {
		flex-basis: 84px;
		width: 84px;
		height: 84px;
	}
}
