/* ==========================================================================
   Doctor page – templates/page-iatros.php (design/02-iatros-zafeiris.dc.html,
   03-iatros-soukakou.dc.html). H2 is 40px here (44px on the homepage).
   ========================================================================== */
:root {
	--be-h2-size: 40px;
	--be-pad-y: 88px;
}

@media (max-width: 1024px) {
	:root {
		--be-h2-size: 34px;
		--be-pad-y: 76px;
	}
}

@media (max-width: 700px) {
	:root {
		--be-h2-size: 30px;
		--be-pad-y: 64px;
	}
}

/* Hero ------------------------------------------------------------------------ */
.be_doc-hero {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding-top: calc(var(--be-header-h) + 48px);
}

.be_doc-hero-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}

.be_doc-hero-text {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.be_doc-hero-media {
	flex: 0 1 440px;
	min-width: 0;
}

.be_doc-hero-img {
	display: block;
	width: 100%;
	height: 560px;
	object-fit: cover;
	object-position: center 18%;
	border-radius: 24px;
}

@media (max-width: 1024px) {
	.be_doc-hero-media {
		flex-basis: 100%;
		max-width: 520px;
	}
}

@media (max-width: 700px) {
	.be_doc-hero {
		gap: 28px;
		padding-top: calc(var(--be-header-h) + 32px);
	}

	.be_doc-hero-grid {
		gap: 40px;
	}

	.be_doc-hero-text {
		flex-basis: 100%;
	}

	.be_doc-hero-img {
		height: 440px;
	}
}

/* In-page nav ------------------------------------------------------------------- */
.be_subnav-row {
	padding-top: 14px;
	padding-bottom: 14px;
	background: var(--be-cream);
	border-bottom: 1px solid var(--be-line);
}

.be_subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.be_subnav-link {
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--be-sand);
	color: var(--be-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color .25s, color .25s;
}

.be_subnav-link:hover {
	background: var(--be-olive);
	color: var(--be-white);
}

@media (max-width: 700px) {
	.be_subnav {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin: 0 calc(-1 * var(--be-pad-x));
		padding: 0 var(--be-pad-x);
		scrollbar-width: none;
	}

	.be_subnav::-webkit-scrollbar {
		display: none;
	}

	.be_subnav-link {
		flex-shrink: 0;
	}
}

/* Timeline --------------------------------------------------------------------- */
.be_timeline {
	display: flex;
	flex-direction: column;
	list-style: none;
}

.be_timeline-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	padding: 26px 0;
	border-top: 1px solid var(--be-line-2);
}

.be_timeline-row:last-child {
	border-bottom: 1px solid var(--be-line-2);
}

.be_timeline-when {
	flex: 0 0 160px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--be-brown);
}

.be_timeline-what {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.be_timeline-title {
	font-size: 19px;
	line-height: 1.4;
	font-weight: 600;
}

.be_timeline-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--be-muted);
}

@media (max-width: 700px) {
	.be_timeline-when:empty {
		display: none;
	}
}

/* Clinical interests ------------------------------------------------------------- */
.be_interest-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 20px;
}

.be_interest {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--be-line);
	border-radius: var(--be-radius);
	background: var(--be-white);
	color: var(--be-text);
	text-decoration: none;
}

a.be_interest:hover {
	background: var(--be-sand);
	color: var(--be-text);
}

.be_interest-title {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 600;
}

.be_interest-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--be-muted);
}

/* Research ------------------------------------------------------------------------ */
.be_research {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.be_research-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 26px;
	border-radius: 18px;
	background: var(--be-cream);
	color: var(--be-text);
	text-decoration: none;
}

a.be_research-item:hover {
	background: var(--be-sand);
	color: var(--be-text);
}

.be_research-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--be-brown);
}

.be_research-title {
	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
}

.be_research-source {
	font-size: 14px;
	color: var(--be-muted);
}

/* Colleague card ------------------------------------------------------------------- */
.be_colleague {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--be-line);
	border-radius: 24px;
	background: var(--be-white);
	color: var(--be-text);
	text-decoration: none;
}

.be_colleague:hover {
	background: var(--be-sand);
	color: var(--be-text);
}

.be_colleague-img {
	flex: 0 1 280px;
	min-width: 0;
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: center 18%;
	display: block;
}

.be_colleague-body {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 36px;
}

.be_colleague-title {
	font-size: 30px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.be_colleague-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--be-muted);
}

@media (max-width: 700px) {
	.be_colleague-img {
		flex-basis: 100%;
	}

	.be_colleague-body {
		padding: 24px 20px;
	}

	.be_colleague-title {
		font-size: 24px;
	}
}
