/**
 * Doctor Profile Hero
 *
 * All selectors are scoped to the widget so the active theme and other
 * Elementor elements remain unaffected. Values below provide a resilient
 * first render; Elementor Style controls can override every major property.
 */

.av-doctor-hero,
.av-doctor-hero * {
	box-sizing: border-box;
}

.av-doctor-hero {
	position: relative;
	overflow: clip;
	width: 100%;
	background-color: #f8f6f2;
	color: #455360;
	font-family: "Libre Franklin", Arial, sans-serif;
	isolation: isolate;
}

.av-doctor-hero__inner {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1240px;
	min-height: 0;
	margin: 0 auto;
	padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 48px) clamp(44px, 5vw, 72px);
}

.av-doctor-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
	width: 100%;
}

.av-doctor-hero__content,
.av-doctor-hero__media {
	min-width: 0;
}

.av-doctor-hero__content {
	width: 100%;
	max-width: 600px;
}

.av-doctor-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	max-width: 100%;
	margin: 0 0 26px;
	padding: 7px 14px;
	border: 1px solid #dde7ef;
	border-radius: 100px;
	background: #eef3f7;
	color: #0e2a47;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.av-doctor-hero__badge-dot {
	display: inline-block;
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #0f7c82;
}

.av-doctor-hero__heading,
.av-doctor-hero__heading-name,
.av-doctor-hero__subheading {
	margin: 0;
	padding: 0;
}

.av-doctor-hero__heading {
	display: block;
	border: 0;
	background: none;
	text-transform: none;
}

.av-doctor-hero__heading-name {
	display: block;
	color: #0e2a47;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(38px, 4.4vw, 54px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.av-doctor-hero__subheading {
	display: block;
	margin-top: 9px;
	color: #0f7c82;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
}

.av-doctor-hero__specialty,
.av-doctor-hero__quote,
.av-doctor-hero__body,
.av-doctor-hero__body p {
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}

.av-doctor-hero__specialty {
	margin-top: 18px;
	color: #5c6b78;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.av-doctor-hero__quote {
	max-width: 100%;
	margin-top: 26px;
	padding: 0;
	border: 0;
	color: #2b3a46;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(19px, 2.1vw, 23px);
	font-style: italic;
	font-weight: 400;
	line-height: 1.5;
}

/* Neutralize higher-specificity blockquote decoration from the active theme. */
.av-doctor-hero .av-doctor-hero__quote {
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.av-doctor-hero__body {
	max-width: 560px;
	color: #455360;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.72;
	text-wrap: pretty;
}

.av-doctor-hero__body--primary {
	margin-top: 20px;
}

.av-doctor-hero__body--secondary {
	margin-top: 16px;
}

.av-doctor-hero__body > :first-child {
	margin-top: 0;
}

.av-doctor-hero__body > :last-child {
	margin-bottom: 0;
}

.av-doctor-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 14px;
	margin-top: 32px;
}

.av-doctor-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	border-style: solid;
	border-width: 1px;
	border-radius: 11px;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.av-doctor-hero__button:hover,
.av-doctor-hero__button:focus,
.av-doctor-hero__button:active,
.av-doctor-hero__button:visited {
	text-decoration: none;
}

.av-doctor-hero__button:focus-visible {
	outline: 3px solid rgba(15, 124, 130, 0.42);
	outline-offset: 3px;
}

.av-doctor-hero__button--primary {
	padding: 16px 30px;
	border-color: transparent;
	background: #0f7c82;
	box-shadow: 0 10px 24px rgba(15, 124, 130, 0.28);
	color: #ffffff;
}

.av-doctor-hero__button--primary:hover,
.av-doctor-hero__button--primary:focus-visible {
	border-color: #0b5f64;
	background: #0b5f64;
	color: #ffffff;
	transform: translateY(-2px);
}

.av-doctor-hero__button--secondary {
	padding: 16px 28px;
	border-color: #cdd7e1;
	background: #ffffff;
	color: #0e2a47;
}

.av-doctor-hero__button--secondary:hover,
.av-doctor-hero__button--secondary:focus-visible {
	border-color: #0f7c82;
	background: #ffffff;
	color: #0f7c82;
	transform: translateY(-2px);
}

.av-doctor-hero__button-icon,
.av-doctor-hero__button-icon i,
.av-doctor-hero__button-icon svg {
	display: block;
	flex: 0 0 auto;
}

.av-doctor-hero__button-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.av-doctor-hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 34px;
	margin: 38px 0 0;
	padding: 0;
	list-style: none;
}

.av-doctor-hero__trust-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.av-doctor-hero__trust-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: #0f7c82;
	font-size: 19px;
	line-height: 1;
}

.av-doctor-hero__trust-icon i,
.av-doctor-hero__trust-icon svg {
	display: block;
}

.av-doctor-hero__trust-icon svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.av-doctor-hero__trust-text {
	color: #3a4854;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
}

.av-doctor-hero__media {
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 460px;
}

.av-doctor-hero__image-frame {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 5 / 6;
	border-radius: 22px;
	background: #eef3f7;
	box-shadow: 0 30px 70px -24px rgba(14, 42, 71, 0.35);
}

.av-doctor-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center center;
}

.av-doctor-hero__hospital-card {
	position: absolute;
	z-index: 2;
	bottom: 22px;
	left: -8px;
	display: flex;
	align-items: center;
	gap: 13px;
	width: max-content;
	max-width: 250px;
	padding: 14px 18px 14px 14px;
	border: 1px solid #e9edf2;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 18px 40px -18px rgba(14, 42, 71, 0.4);
}

.av-doctor-hero__hospital-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #eef3f7;
	color: #0e2a47;
	font-size: 20px;
	line-height: 1;
}

.av-doctor-hero__hospital-icon i,
.av-doctor-hero__hospital-icon svg {
	display: block;
}

.av-doctor-hero__hospital-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.av-doctor-hero__hospital-copy {
	min-width: 0;
	max-width: 142px;
}

.av-doctor-hero__hospital-label {
	color: #0f7c82;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.av-doctor-hero__hospital-title {
	margin-top: 2px;
	color: #0e2a47;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
}

@media (max-width: 900px) {
	.av-doctor-hero__grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 38px;
	}

	.av-doctor-hero__content {
		max-width: 100%;
	}

	.av-doctor-hero__media {
		order: -1;
		justify-self: center;
		max-width: 460px;
	}

	.av-doctor-hero__trust {
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.av-doctor-hero__inner {
		padding: 32px 20px 48px;
	}

	.av-doctor-hero__badge {
		margin-bottom: 22px;
	}

	.av-doctor-hero__heading-name {
		font-size: 38px;
	}

	.av-doctor-hero__subheading {
		font-size: clamp(21px, 6.5vw, 27px);
	}

	.av-doctor-hero__quote {
		font-size: 19px;
	}

	.av-doctor-hero__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.av-doctor-hero__button {
		width: 100%;
	}

	.av-doctor-hero__hospital-card {
		bottom: 18px;
		left: 10px;
		max-width: calc(100% - 20px);
	}
}

@media (max-width: 420px) {
	.av-doctor-hero__trust {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.av-doctor-hero__hospital-card {
		width: calc(100% - 20px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.av-doctor-hero__button {
		transition: none;
	}
}
