/**
 * Orthonc Doctor — shared front-end tokens and layout helpers for Theme Builder / Divi.
 */

:root {
	--orthonc-color-heading: #1a2b4a;
	--orthonc-color-text: #3d4554;
	--orthonc-color-accent: #b8956a;
	--orthonc-color-border: #e6e8ec;
	--orthonc-color-surface: #ffffff;
	--orthonc-color-page: #f4f5f7;
	--orthonc-font-heading: Georgia, "Times New Roman", serif;
	--orthonc-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--orthonc-space-section: 3rem;
	--orthonc-radius: 4px;
}

.orthonc-doctor-single .entry-content,
.orthonc-doctor-single .et_pb_post_content {
	color: var(--orthonc-color-text);
	font-family: var(--orthonc-font-body);
	line-height: 1.65;
}

.orthonc-section {
	margin-bottom: var(--orthonc-space-section);
	padding-bottom: var(--orthonc-space-section);
	border-bottom: 1px solid var(--orthonc-color-border);
}

.orthonc-section:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.orthonc-section__title {
	font-family: var(--orthonc-font-heading);
	color: var(--orthonc-color-heading);
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	margin: 0 0 1rem;
	font-weight: 600;
}

.orthonc-rater8-testimonials {
	min-height: 80px;
	margin: 2rem 0;
}

/* Shortcode: [doctor_list] */
.orthonc-doctor-list {
	margin: 0 0 1.5rem 1.25rem;
	padding: 0;
	list-style: disc;
	color: var(--orthonc-color-text, #3d4554);
	font-family: var(--orthonc-font-body, system-ui, sans-serif);
	line-height: 1.6;
}

.orthonc-doctor-list li {
	margin: 0.35em 0;
}

.orthonc-doctor-list a {
	color: var(--orthonc-color-accent, #b8956a);
	text-decoration: none;
}

.orthonc-doctor-list a:hover,
.orthonc-doctor-list a:focus {
	text-decoration: underline;
}

/* Shortcode: [doctor_video] */
.orthonc-doctor-video {
	width: 100%;
	max-width: 960px;
	margin: 0 auto 1.5rem;
}

.orthonc-doctor-video__embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #0f0f0f;
	border-radius: var(--orthonc-radius, 4px);
}

.orthonc-doctor-video__embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.orthonc-doctor-video__html5 {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--orthonc-radius, 4px);
	background: #000;
}
