/* ── Team block ── */

.team-block {
	padding-block: clamp(60px, 8vw, 120px);
}

.team-block__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--space-m);
	max-width: 680px;
	margin-inline: auto;
	margin-bottom: clamp(40px, 5vw, 72px);
}

/* ── Grid ── */

.team-block__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(12px, 1.5vw, 20px);
}

/* ── Card ── */

.team-card {
border-radius: 8px;
height: 429px;
border: 1px solid  rgba(25, 25, 25, 0.08);
	position: relative;
	overflow: hidden;
}

.team-card__photo {
	background: #EEECEA;
	aspect-ratio: 4 / 5;
	
}

.team-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.team-card__info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
border-radius: 6px;
background: #FFF;
padding: 16px;
	position: absolute;
	width: calc(100% - 16px);
	left: 8px;
	min-height: 77px;
	bottom: 8px;
}

.team-card__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.team-card__name {
	margin: 0;
color: var(--Dark, #192023);

font-feature-settings: 'dlig' on, 'ss04' on;

font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: 130%; /* 28.6px */
letter-spacing: -0.33px;
}

.team-card__role {
	margin: 0;
color: var(--Dark, #192023);
opacity: 0.6;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 22.4px */
}

.team-card__linkedin {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
border-radius: 4px;
border: 1px solid rgba(25, 25, 25, 0.08);
background: var(--white, #FFF);
box-shadow: 0 20px 51px 0 rgba(26, 26, 18, 0.01), 0 10.481px 24.461px 0 rgba(26, 26, 18, 0.02), 0 3.852px 6.139px 0 rgba(26, 26, 18, 0.03);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #192023;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.team-card__linkedin svg{
	width: 16px;
height: 16px;
}
.team-card__linkedin:hover {
border-radius: 4px;
border: 1px solid var(--black, #191919);
background: var(--white, #FFF);
box-shadow: 0 20px 51px 0 rgba(26, 26, 18, 0.01), 0 10.481px 24.461px 0 rgba(26, 26, 18, 0.02), 0 3.852px 6.139px 0 rgba(26, 26, 18, 0.03);

}

/* ── Responsive ── */

@media (max-width: 900px) {
	.team-block__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media(max-width:768px){
	.team-block{
		padding-bottom: 0;
	}
	.team-card__name {
		font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 130%; /* 26px */
letter-spacing: -0.1px;
	}
	.team-card__role{
		font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 19.6px */
	}
	.team-card{
		height: 350px;
	}
	.team-card__photo img{
		object-fit: contain;
	}
}
@media (max-width: 560px) {
	.team-block__grid {
		grid-template-columns: 1fr;
	}
	.team-card__info{
		padding: 12px 16px;
	}
}
