/* ==========================================================================
   Condition page (templates/page-pathisi.php): hero + reviews title.
   The article column and sidebar live in assets/css/longform.css.
   ========================================================================== */

.be_pathisi-hero {
	position: relative;
	display: flex;
	justify-content: center;
	min-height: 701px;
	overflow: hidden;
	background: #f2fcfe;
}

/* Clinic photo under the old white overlay (opacity .92) */
.be_pathisi-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left top;
	opacity: 0.08;
}

.be_pathisi-hero-media {
	position: relative;
	display: flex;
	flex: 0 0 40%;
	flex-direction: column;
	justify-content: center;
	max-width: 40%;
}

.be_pathisi-hero-img {
	display: block;
	width: 100%;
	height: auto;
}

.be_pathisi-hero-text {
	position: relative;
	display: flex;
	flex: 0 0 60%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	max-width: 60%;
	padding-inline: max(0px, calc((60% - 651px) / 2));
	animation: be-fade 1.25s both;
}

.be_pathisi-hero-title {
	margin: 0;
	padding: 0 15% 5% 0;
	color: #05173d;
	font: 400 62px/1 var(--be-font);
}

.be_pathisi-hero-byline {
	padding: 0 25% 5% 0;
	color: #5b5755;
	font: 300 16px/24px var(--be-font-inter);
}

.be_pathisi-hero-byline p {
	margin: 0 0 0.9rem;
}

.be_pathisi-hero-byline a {
	color: var(--be-navy);
}

.be_pathisi-reviews-title .be_section-title {
	padding-bottom: 0;
}

@media (max-width: 1024px) {
	.be_pathisi-hero {
		flex-direction: column-reverse;
		justify-content: flex-end;
		min-height: 785px;
	}

	.be_pathisi-hero-media {
		flex: 0 0 auto;
		max-width: none;
		padding: 10% 14% 0 0;
	}

	.be_pathisi-hero-text {
		flex: 1 0 auto;
		max-width: none;
		padding-inline: 10%;
		justify-content: space-evenly;
	}

	.be_pathisi-hero-title {
		padding: 0 0 6%;
	}

	.be_pathisi-hero-byline {
		padding: 0 12% 8% 0;
		font-size: 15px;
	}
}

@media (max-width: 767px) {
	.be_pathisi-hero {
		flex-direction: column;
		justify-content: flex-start;
		min-height: 700px;
		padding-bottom: 24%;
	}

	.be_pathisi-hero-media {
		padding: 0;
	}

	.be_pathisi-hero-text {
		padding-inline: 15px;
		padding-top: 20px;
	}

	.be_pathisi-hero-title {
		font-size: 33px;
	}

	.be_pathisi-hero-byline {
		padding: 0;
		font-size: 14px;
	}
}
