/* Stl Addons — Team Grid frontend styles */

.stl-team-section {
	padding: 60px 20px;
	color: #1a1a1a;
}

.stl-team-wrap {
	max-width: 1200px;
	margin: 0 auto;
}

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

.stl-team-card {
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 14px -10px rgba(0, 0, 0, 0.1);
	transition: transform .3s ease, box-shadow .3s ease;
}

.stl-team-card:hover {
	box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.25);
}

.stl-team-image {
	width: 100%;
	height: 360px;
	overflow: hidden;
	background: #f3f3f3;
}

.stl-team-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.22,.61,.36,1);
}

.stl-team-body {
	padding: 20px 22px 22px;
}

.stl-team-name {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 4px;
	line-height: 1.3;
}

.stl-team-role {
	font-style: italic;
	font-size: 14.5px;
	color: #b78a3a;
	margin-bottom: 12px;
}

.stl-team-bio {
	font-size: 14.5px;
	line-height: 1.55;
	color: #555555;
	margin: 0 0 14px;
}

.stl-team-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.stl-team-tag {
	display: inline-block;
	font-size: 12.5px;
	line-height: 1;
	padding: 7px 12px;
	background: #ffffff;
	color: #333333;
	border: 1px solid #dedede;
	border-radius: 999px;
	white-space: nowrap;
}

.stl-team-empty {
	text-align: center;
	color: #999;
	font-style: italic;
	padding: 40px 0;
}

/* Mobile */
@media (max-width: 880px) {
	.stl-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.stl-team-grid { grid-template-columns: 1fr; gap: 18px; }
	.stl-team-image { height: 320px; }
}
