/* ===== DOCTOR_PAGES_V1 (2026-10-21): doctor page (templates/doctor.html) - layout from the 2026-10-21 sketch ===== */
.doctor_page {
	padding: 24px 0 50px;
	color: #464646;
}
.doctor_page > .page {
	box-sizing: border-box;
}
.doctor_breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 20px;
}
.doctor_breadcrumb a {
	color: #149abb;
	text-decoration: underline;
}
.doctor_breadcrumb .sep {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 10px 0 8px;
	border-top: 2px solid #464646;
	border-right: 2px solid #464646;
	transform: rotate(45deg);
}
.doctor_breadcrumb .current {
	color: #464646;
}

.doctor_page_top {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}
.doctor_page_photo {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	background: #f1f1f1 center / cover no-repeat;
}
.doctor_page_prices {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid #d6d6d6;
}
.doctor_page_prices h2 {
	margin: 0 0 12px;
	font-family: 'OpenSans_semibold', Arial, sans-serif;
	font-weight: bold;
	font-size: 18px;
	line-height: 24px;
	text-align: left;
}
.doctor_page_prices table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 20px;
}
.doctor_page_prices th,
.doctor_page_prices td {
	padding: 8px 10px;
	border: 1px solid #e6e6e6;
	text-align: left;
	vertical-align: top;
}
.doctor_page_prices th {
	width: 45%;
	font-weight: normal;
	color: #6b6b6b;
}
.doctor_page_prices tr:nth-child(odd) th,
.doctor_page_prices tr:nth-child(odd) td {
	background: #f6f6f6;
}
.doctor_page_prices td a {
	color: #149abb;
}
.doctor_page_order {
	margin-top: 16px;
}
.doctor_page_order .order_visit {
	display: block;
	float: none;
	position: relative;
	width: auto;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid #20c4f4;
	background: #20c4f4;
	color: #fff;
	font-family: 'OpenSans_regular', Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
/* "Online Only" bubble (online-only doctors) - same look as on the doctor cards */
.doctor_page_order {
	padding-top: 6px;
}
.doctor_page_order .order_visit_online_only {
	position: absolute;
	left: 22%;
	bottom: 100%;
	margin-bottom: -5px;
	padding: 2px 10px 3px;
	border-radius: 12px;
	background: #E6267D;
	color: #fff;
	font-family: 'OpenSans_Bold', Arial, sans-serif;
	font-weight: bold;
	font-size: 12px;
	line-height: 15px;
	white-space: nowrap;
	pointer-events: none;
}
.doctor_page_order .order_visit_online_only:after {
	content: "";
	position: absolute;
	left: 12px;
	top: 100%;
	margin-top: -1px;
	border-style: solid;
	border-width: 5px 7px 0 0;
	border-color: #E6267D transparent transparent transparent;
}
.doctor_page_order .order_visit:hover {
	border-color: #159fc9;
	background: #159fc9;
	text-decoration: none;
}

.doctor_page_right h1 {
	margin: 0;
	padding: 0;
	font-family: 'OpenSans_regular', Arial, sans-serif;
	font-weight: normal;
	font-size: 30px;
	line-height: 38px;
	text-align: left;
}
.doctor_page_quote {
	position: relative;
	margin: 22px 0 0;
	padding: 0 0 0 52px;
	font-size: 17px;
	line-height: 26px;
	font-style: italic;
}
.doctor_page_quote:before {
	content: "\201C";
	position: absolute;
	left: 0;
	top: -10px;
	color: #6600CC;
	font-family: Georgia, serif;
	font-size: 64px;
	line-height: 64px;
	font-style: normal;
}
.doctor_page_bio {
	margin-top: 22px;
	font-size: 16px;
	line-height: 25px;
}
.doctor_page_bio p {
	margin: 0 0 14px;
}
.doctor_page_bio a {
	color: #149abb;
	overflow-wrap: anywhere;
}

.doctor_page_chips_block,
.doctor_page_reviews {
	margin-top: 40px;
}
.doctor_page_chips_block h2,
.doctor_page_reviews h2 {
	margin: 0 0 14px;
	font-family: 'OpenSans_semibold', Arial, sans-serif;
	font-weight: bold;
	font-size: 22px;
	line-height: 28px;
	text-align: left;
}
.doctor_page_chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}
.doctor_chip {
	display: inline-block;
	padding: 6px 16px;
	border: 2px solid #464646;
	border-radius: 18px;
	color: #464646;
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
}
a.doctor_chip:hover {
	border-color: #20C4F4;
	color: #149abb;
	text-decoration: none;
}

.doctor_review {
	padding: 16px 0;
	border-bottom: 1px solid #d6d6d6;
}
.doctor_review_text p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}
.doctor_review_meta {
	margin-top: 8px;
	color: #8c8c8c;
	font-size: 13px;
}
.doctor_review_meta .author {
	margin-left: 10px;
	color: #464646;
}
.doctor_review_form_block {
	margin-top: 28px;
}
.doctor_review_form_block h3 {
	margin: 0 0 10px;
	font-size: 18px;
	text-align: left;
}
.doctor_review_form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #8b8b8b;
	font: inherit;
	font-size: 16px;
	resize: vertical;
}
.doctor_review_hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}
.doctor_review_author {
	margin: 10px 0;
	font-size: 14px;
	color: #6b6b6b;
}
.doctor_review_submit {
	padding: 9px 26px;
	border: 1px solid #20C4F4;
	background: #20C4F4;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}
.doctor_review_submit:disabled {
	opacity: 0.6;
	cursor: default;
}
.doctor_review_msg {
	margin-top: 10px;
	font-size: 15px;
	color: #149abb;
}
.doctor_review_login a.go_login {
	color: #149abb;
	text-decoration: underline;
	cursor: pointer;
}

/* Team page: speciality anchors must not hide under the sticky header */
.team_doctors_block .city_doctors_group {
	scroll-margin-top: 120px;
}

@media screen and (max-width: 767px) {
	.doctor_page_top {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	.doctor_page_right {
		order: -1;               /* name + bio text first on phones, photo + prices after */
	}
	.doctor_page_photo {
		max-width: 320px;
	}
	.doctor_page_right h1 {
		font-size: 24px;
		line-height: 30px;
	}
}
