.team {
	background: var(--color-surface-light);
	padding: 60px 0;
}

.team--home {
	padding: 0 0 253px;
}

.team__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}

.team__heading {
	font-family: var(--font-heading);
	font-size: clamp(40px, 2.865vw, 55px);
	font-weight: var(--font-weight-h2);
	color: var(--color-bg-alt);
	line-height: 94%;
}

.doctors .team__heading {
	font-size: clamp(26px, 1.875vw, 36px);
}

.team__nav {
	display: flex;
	gap: 12px;
}

.team__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(34px, 2.5vw - 2px, 46px);
	height: clamp(34px, 2.5vw - 2px, 46px);
	border-radius: 50%;
	border: none;
	background: #fff;
	color: var(--color-bg-alt);
	font-size: 18px;
	cursor: pointer;
	transition: background 0.25s ease;
}

.team__nav-btn img {
	width: clamp(11px, 0.4167vw + 5px, 13px);
}

.team__nav-btn:hover {
	background: var(--color-card);
}

.team__nav-btn.swiper-button-disabled {
	opacity: 0.4;
	cursor: default;
}

.team__slider {
	width: 100%;
	overflow: hidden;
	padding-top: 75px;
}

.team-card {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: visible;
	background: #FFFBF4;
	text-decoration: none;
	color: inherit;
}

.doctors .team-card {
	background: rgba(255, 244, 237, 0.5);
}

.team-card__photo {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: visible;
}

.team-card__photo img {
	position: absolute;
	left: 50%;
	bottom: 50px;
	width: 100%;
	height: 115%;
	transform: translateX(-50%);
	object-fit: contain;
	object-position: bottom;
}

.doctors .team-card__photo img {
	position: absolute;
	left: 50%;
	bottom: 50px;
	width: auto;
	height: auto;
	border-radius: 10px;
	transform: translateX(-50%);
	object-fit: contain;
	object-position: bottom;
}

.team.doctors {
	padding: 135px 0 29px;
}

.team__cta {
	display: flex;
	justify-content: center;
	margin-top: 56px;
}

.team__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 36px;
	width: clamp(248px, 17.71vw, 340px);
	border-radius: var(--radius-pill);
	background: var(--color-bg-alt);
	color: #FFF4ED;
	height: 53px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(18px, 1.25vw, 24px);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team__cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.team-card__photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.team-card__photo--placeholder span {
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
	color: rgba(65, 23, 20, 0.65);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
	padding: 16px;
}

.team-card__body {
	padding: 20px 39px 24px 37px;
	margin-top: -50px;
}

.team-card__experience {
	margin: 0 0 14px;
	font-family: var(--font-heading);
	font-size: clamp(16px, 0.9375vw, 18px);
	font-weight: 600;
	color: var(--color-bg-alt);
}

.team-card__doctor {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-end;
}

.team-card__doctor-info {
	font-size: clamp(16px, 0.8333vw, 16px);
	line-height: 1.5;
}

.team-card__doctor-role {
	display: block;
	color: rgba(65, 23, 20, 0.37);
	font-weight: 600;
	padding-bottom: 3px;
}

.team-card__doctor-name {
	display: block;
	font-weight: 600;
	color: var(--color-bg-alt);
}

.team-card__link {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: var(--color-bg-alt);
	font-size: 20px;
	transition: transform 0.25s ease;
	padding-bottom: 18px;
}

.team-card__link:hover {
	transform: translate(3px, -3px);
}

@media (max-width: 1440px) {
	.team__heading {
		font-size: clamp(30px, 2.083vw + 1px, 40px);
	}

	.doctors .team__heading {
		font-size: clamp(22px, 4.167vw - 38px, 26px);
	}

	.team__cta-btn {
		width: clamp(181px, 12.57vw + 1px, 248px);
		font-size: 16px;
	}

	.team-card__experience {
		font-size: 16px;
	}

	.team-card__doctor-info {
		font-size: 16px;
	}
}

@media (max-width: 1280px) {
	.team__heading {
		font-size: 34px;
	}

	.doctors .team__heading {
		font-size: clamp(18px, 15.625vw - 182px, 22px);
	}

	.team__cta-btn {
		width: clamp(140px, 32.03vw - 229px, 181px);
		font-size: 16px;
	}

	.team-card__experience {
		font-size: 16px;
	}

	.team-card__doctor-info {
		font-size: 16px;
	}
}

@media (max-width: 1024px) {
	.team {
		padding: 80px 0;
	}
}

@media (max-width: 768px) {
	.team__heading {
		font-size: 28px;
	}

	.doctors .team__heading {
		font-size: 22px;
	}

	.team__nav-btn {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 380px) {
	.team__heading {
		font-size: 24px;
	}

	.doctors .team__heading {
		font-size: 20px;
	}
}