.content-team {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #f5f5f6;
}

.content-team p {
	padding: 0;
}

/* Hero */
.team-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 132px 24px 82px;
	border-radius: 0 0 24px 24px;
	text-align: center;
	background-color: #003f54;
	background-image: radial-gradient(100% 100% at 50% 100%, #25ceca 0%, #1caaad 25%, #13878f 50%, #096372 75%, #003f54 100%);
}

.team-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 830px;
}

.team-hero h1 {
	font-weight: 500;
	font-size: 70px;
	line-height: 84px;
	color: #ffffff;
	margin: 0;
	padding: 0;
}

.team-hero p {
	font-weight: 400;
	font-size: 21px;
	line-height: 1.67;
	color: #ffffff;
	margin: 0;
}

/* White rounded panels */
.box-team-panel {
	background: #ffffff;
	border-radius: 24px;
	padding: 82px 0;
}

.box-team-detail-panel {
	padding: 82px 0 164px;
}

.content-team > .box-team-panel:last-of-type {
	margin-bottom: 12px;
}

.content-team-detail {
	gap: 0;
}

.content-team-detail .box-team-panel {
	margin-top: 12px;
	margin-bottom: 12px;
}

.box-team-panel > .container {
	display: flex;
	flex-direction: column;
	gap: 46px;
}

.team-section-title {
	font-weight: 600;
	font-size: 40px;
	line-height: 48px;
	text-align: center;
	color: #093e52;
	margin: 0;
	padding: 0;
}

/* Cards grid */
.team-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 46px;
}

.team-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	color: inherit;
	text-align: center;
}

.team-card:hover {
	opacity: 1;
}

.team-card-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f5f5f6;
	border-radius: 50%;
	overflow: hidden;
}

.team-card-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.team-card:hover .team-card-photo img {
	transform: scale(1.08);
}

.team-card-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	text-align: center;
}

.team-card-name {
	font-weight: 700;
	font-size: 22px;
	line-height: 27.5px;
	color: #093e52;
}

.team-card-role {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	color: rgba(9, 62, 82, 0.6);
}

@media (max-width: 1199px) {
	.team-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.team-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
}

@media (max-width: 575px) {
	.team-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

/* Member detail */
.team-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.team-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.4px;
	color: #093e52;
}

.team-breadcrumb li:not(:last-child)::after {
	content: "/";
	font-weight: 600;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.36px;
	color: #c4c4cd;
}

.team-breadcrumb a {
	color: #093e52;
}

.team-breadcrumb a:hover {
	opacity: 0.7;
}

.team-breadcrumb .current {
	color: rgba(9, 62, 82, 0.6);
}

.team-detail-row {
	display: flex;
	align-items: flex-start;
	gap: 46px;
}

.team-detail-photo {
	position: relative;
	flex: 0 0 265px;
	width: 265px;
	height: 265px;
	background: #f5f5f6;
	border-radius: 50%;
	overflow: hidden;
}

.team-detail-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.team-detail-content {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.team-detail-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.team-detail-name {
	font-weight: 600;
	font-size: 40px;
	line-height: 48px;
	color: #093e52;
	margin: 0;
	padding: 0;
}

.team-detail-role {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	color: rgba(9, 62, 82, 0.6);
	margin: 0;
}

.team-detail-bio {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.team-detail-bio p {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	color: #093e52;
	margin: 0;
}

@media (max-width: 991px) {
	.team-hero h1 {
		font-size: 48px;
		line-height: 1.15;
	}

	.team-hero {
		padding: 120px 24px 60px;
	}

	.box-team-panel {
		padding: 56px 0;
	}

	.box-team-detail-panel {
		padding: 56px 0 90px;
	}

	.team-detail-row {
		flex-direction: column;
		gap: 32px;
	}

	.team-detail-name {
		font-size: 32px;
		line-height: 40px;
	}

	.team-section-title {
		font-size: 32px;
		line-height: 40px;
	}
}

@media (max-width: 575px) {
	.team-hero h1 {
		font-size: 40px;
	}

	.team-hero p {
		font-size: 18px;
	}
}
