/*////////////////////////// блок "Наша команда" //////////////////////////*/
/* Вёрстка перенесена из макета tmp/o-kompanii-team-prototype (1).html, цвета — под палитру темы:
   --card -> #070707, --text -> #fafafa, --muted -> rgba(250,250,250,.5), --accent -> #a1cde9 */

.team-section-title{
	margin-bottom: 30px;
}

.team-lead{
	max-width: 560px;
	margin: 0 auto 40px;
	text-align: center;
	color: rgba(250, 250, 250, .5);
	font-family: "Nunito", sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
}

.team-grid{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
@media (max-width: 980px){
	.team-grid{
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 640px){
	.team-grid{
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px){
	.team-grid{
		grid-template-columns: 1fr;
	}
}

.team-card{
	background: #070707;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	color: #fafafa;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.team-slider .slick-slide{
	padding: 0 8px;
	box-sizing: border-box;
}

.team-photo{
	width: 100%;
	height: 310px;
	background: #232327;
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}
.team-photo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.team-card:hover .team-photo img{
	transform: scale(1.08);
}
.team-photo.placeholder{
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(160deg, #232327, #1A1A1D);
}
.ph-initial{
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #a1cde9;
	color: #0B0B0D;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Unbounded", sans-serif;
	font-weight: 700;
	font-size: 22px;
}
.ph-tag{
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	font-size: 10px;
	text-align: center;
	color: rgba(250, 250, 250, .5);
	background: rgba(0, 0, 0, .45);
	border-radius: 8px;
	padding: 4px 6px;
	font-family: "Nunito", sans-serif;
	letter-spacing: .02em;
}

.team-info{
	padding: 16px 16px 18px;
	flex: 1;
	min-height: 110px;
}
.team-info .team-name{
	font-family: "Unbounded", sans-serif;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 6px;
	line-height: 1.3;
	color: #fafafa;
}
.team-info .team-role{
	font-family: "Nunito", sans-serif;
	font-size: 12px;
	color: rgba(250, 250, 250, .5);
	line-height: 1.4;
	margin: 0;
}

.team-slider-arrows{
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 24px;
}
