.team-section {
	background-color: #373637;
	color: #000000;
	padding: 200px 100px 200px 100px;
}

.team-container {
	max-width: 1920px;
	margin: 0 auto;
}

.team-section .section-title-wrapper-left {
	display: flex;
	align-items: flex-end;
	gap: 60px;
	margin-bottom: 80px;
}

.team-section .title-line-full {
	border: none;
	height: 2px;
	background-color: #5acafa;
	margin: 0;
	flex-grow: 1;
}

.team-section .title-text-content {
	text-align: left;
	flex-shrink: 0;
}

.team-section .pre-title {
	display: block;
	color: #5acafa;
	font-size: 15px;
	text-transform: uppercase;
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	margin-bottom: 5px;
	line-height: 0.8;
}

.team-section .section-title {
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	font-weight: 400;
	font-size: 64px;
	line-height: 1;
	color: #ffffff;
	text-transform: uppercase;
	margin: 0;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.team-member {
	overflow: hidden;
	text-align: center;
	transition: transform 0.3s ease;
	margin-bottom: 80px;
	position: relative;
}

.team-member-photo {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 3 / 4;
}

.team-member-photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: brightness(0.8);
}

.team-member-info {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 60px 10px 30px;
	text-align: center;

	background: linear-gradient(
		to top,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, 0.95) 30%,
		rgba(255, 255, 255, 0.8) 50%,
		rgba(255, 255, 255, 0.4) 70%,
		rgba(255, 255, 255, 0) 100%
	);

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.team-member-name {
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	font-weight: 400;
	font-size: 32px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #000000;
	text-transform: uppercase;
	margin: 0 0 5px 0;
	text-align: center;
}

.team-member-name a {
	color: #000000;
	text-decoration: none;
}

.team-member-name a:hover {
	text-decoration: underline;
}

.team-member-role {
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #000000;
	text-transform: uppercase;
	text-align: center;
}


.team-member-instagram {
	margin-top: 8px;
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	font-weight: 400;
	font-size: 14px;
	text-transform: uppercase;
	color: #5acafa;
	text-decoration: none;
	padding: 6px 14px;
	border-radius: 20px;
	display: inline-block;
}

.team-member-instagram:hover {
	color: #000000;
}


.team-member-instagram--empty {
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 992px) {
	.team-section {
		padding: 120px 5%;
	}
	.team-section .section-title {
		font-size: 48px;
	}
	.team-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.team-section {
		padding: 80px 20px;
	}
	.team-section .section-title-wrapper-left {
		gap: 10px;
		margin-bottom: 40px;
	}
	.team-section .title-line-full {
		width: 100%;
		flex-grow: 0;
	}
	.team-section .section-title {
		font-size: 36px;
	}
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	.team-member-name {
		font-size: 20px;
	}
	.team-member-instagram {
		font-size: 12px;
		padding: 5px 10px;
	}
}

@media (max-width: 480px) {
	.team-grid {
		grid-template-columns: 1fr;
	}
	.team-member-info {
		padding: 25px 10px 15px;
	}
	.team-member-name {
		font-size: 18px;
	}
	.team-member-role {
		font-size: 12px;
	}
}
