/* Meet Our Experts — compact Prime Ortho panel, photo fills card */

.ph-team {
	padding: 36px 0 44px;
	background: #fff;
}

.ph-team__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 550px;
	gap: 20px 28px;
	align-items: center;
	padding: 28px 32px;
	background: #f3f4f6;
	border-radius: 18px;
	position: relative;
}

.ph-team__intro {
	max-width: none;
}

.ph-team__badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 12px;
	padding: 7px 14px;
	border: 1.5px solid var(--ph-accent, #f77f00);
	border-radius: 999px;
	background: #fff;
	color: var(--ph-accent, #f77f00);
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.ph-team__title {
	margin: 0 0 10px;
	color: var(--ph-navy, #111d6a);
	font-family: "Poppins", sans-serif;
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 700;
	line-height: 1.25;
}

.ph-team__lead {
	margin: 0 0 18px;
	color: #4b5563;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	line-height: 1.65;
}

.ph-team__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 22px;
	background: var(--ph-accent, #f77f00);
	border-radius: 999px;
	color: #fff !important;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(247, 127, 0, 0.25);
	transition: background 0.2s ease;
}

.ph-team__cta:hover {
	background: var(--ph-accent-dark, #e06a00);
	color: #fff !important;
}

.ph-team__media {
	position: relative;
	width: 550px;
	max-width: 100%;
	justify-self: end;
	padding-top: 34px;
}

.ph-team__navs {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 5;
	display: flex;
	gap: 8px;
}

.ph-team__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ph-accent, #f77f00);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(247, 127, 0, 0.28);
}

.ph-team__nav:hover:not(:disabled) {
	background: var(--ph-navy, #111d6a);
}

.ph-team__nav:disabled {
	opacity: 0.4;
	cursor: default;
}

.ph-team__viewport {
	overflow: hidden;
	width: 100%;
}

.ph-team__track {
	display: flex;
	width: max-content;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.ph-team__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ph-team-card {
	width: 100%;
}

.ph-team-card__link {
	position: relative;
	display: block;
	width: 550px;
	max-width: 100%;
	height: 367px;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #dde1e6;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.28);
}

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

.ph-team-card__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 48px 12px 12px;
	pointer-events: none;
	background: linear-gradient(to top, rgba(243, 244, 246, 0.92) 0%, rgba(243, 244, 246, 0.55) 45%, transparent 100%);
}

.ph-team-card__name {
	display: block;
	margin: 0;
	color: #1f4e79;
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.ph-team-card__role {
	display: block;
	margin: 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: rgba(69, 70, 72, 0.82);
	color: #fff;
	font-family: "Poppins", sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
}

@media (max-width: 980px) {
	.ph-team__panel {
		grid-template-columns: 1fr;
		padding: 22px 18px;
		gap: 12px;
	}

	.ph-team__media {
		width: 100%;
		max-width: 550px;
		margin: 0 auto;
		justify-self: center;
	}

	.ph-team-card__link {
		width: 100%;
		height: auto;
		aspect-ratio: 550 / 367;
	}
}

@media (max-width: 640px) {
	.ph-team {
		padding: 28px 0 36px;
	}

	.ph-team__panel {
		padding: 16px 14px;
		border-radius: 14px;
	}

	.ph-team__media {
		width: 100%;
		max-width: 100%;
	}

	.ph-team-card__link {
		width: 100%;
		height: auto;
		aspect-ratio: 550 / 367;
	}

	.ph-team-card__name {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ph-team__track {
		transition: none;
	}
}
