/* ============================================================
 * Privato — doctor.css
 * Route-scoped styles for single-priv_doctor.php.
 *
 * Ported from the inline <style> block of
 * HTML/Privato/doctor-profile-page.html. Global tokens, reset,
 * footer, and sticky-contact rules live in base.css; header and
 * drawer styles live in header.css; this sheet carries the
 * doctor-profile breadcrumb, hero, biography, and related-
 * doctor grid, plus the shared pill/section-head/pc-derm rules
 * needed on this route (home.css and vdo-testimonials.css are
 * not enqueued here).
 *
 * `pc-*` class names are preserved 1:1 with the source mockup.
 * ============================================================ */

/* Route padding: keep the sticky contact widget from covering
 * the final related-doctors row on mobile. Desktop disables the
 * reservation because the widget anchors bottom-right. */
.pc-doctor-profile { padding-bottom: 84px; }

@media (min-width: 900px) {
	.pc-doctor-profile { padding-bottom: 0; }
}

/* ============================================================
 * Breadcrumb strip (pc-crumb)
 * ============================================================ */
.pc-crumb {
	background: var(--pc-white);
	border-bottom: 1px solid var(--pc-line);
}

.pc-crumb__inner {
	max-width: var(--pc-max);
	margin: 0 auto;
	padding: 12px 16px;
	font-size: 12px;
	color: var(--pc-muted);
}

@media (min-width: 768px) {
	.pc-crumb__inner {
		padding: 14px 24px;
		font-size: 13px;
	}
}

.pc-crumb a {
	color: var(--pc-sub-2);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(155, 121, 73, .5);
	text-decoration-thickness: 1px;
}

.pc-crumb a:hover {
	color: var(--pc-mocha-dk);
	text-decoration-color: var(--pc-mocha-dk);
	opacity: 1;
}

.pc-crumb__sep {
	margin: 0 8px;
	color: var(--pc-mocha-dk);
	opacity: .6;
}

.pc-crumb__cur { color: var(--pc-ink); }

/* ============================================================
 * Shared pill CTAs (primary + LINE) on this route
 * home.css and vdo-testimonials.css carry their own pill rules;
 * the doctor route needs the same contract without enqueueing
 * either of those sheets.
 * ============================================================ */
.pc-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	transition: background .2s, transform .2s;
}

.pc-pill--primary {
	background: var(--pc-mocha-dk);
	color: var(--pc-white);
}

.pc-pill--primary:hover {
	background: var(--pc-mocha-dk-hover);
	transform: translateY(-1px);
	opacity: 1;
}

.pc-pill--line {
	background: var(--pc-green);
	color: var(--pc-white);
}

.pc-pill--line:hover {
	background: #05a046;
	transform: translateY(-1px);
	opacity: 1;
}

/* ============================================================
 * Profile hero (pc-profile)
 * Peach-to-cream gradient band, 380px/1fr two-column at 900px.
 * ============================================================ */
.pc-profile {
	background: linear-gradient(180deg, var(--pc-peach-a), var(--pc-peach-b));
	padding: 44px 0 40px;
}

@media (min-width: 768px) {
	.pc-profile { padding: 64px 0 56px; }
}

@media (min-width: 1024px) {
	.pc-profile { padding: 80px 0 72px; }
}

.pc-profile__grid {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 16px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: center;
}

@media (min-width: 768px) {
	.pc-profile__grid {
		padding: 0 24px;
		gap: 40px;
	}
}

@media (min-width: 900px) {
	.pc-profile__grid {
		grid-template-columns: 380px 1fr;
		gap: 56px;
	}
}

.pc-profile__photo {
	background: var(--pc-cream);
	max-width: 300px;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(75, 55, 40, .05), 0 18px 40px rgba(75, 55, 40, .10);
	aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
	.pc-profile__photo {
		max-width: 380px;
		aspect-ratio: auto;
	}
}

.pc-profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

@media (min-width: 900px) {
	.pc-profile__photo img {
		height: auto;
		object-fit: initial;
	}
}

.pc-profile__body { text-align: center; }

@media (min-width: 900px) {
	.pc-profile__body { text-align: left; }
}

.pc-profile__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--pc-mocha-dk-hover);
	margin-bottom: 14px;
}

@media (min-width: 768px) {
	.pc-profile__eyebrow { font-size: 13px; }
}

.pc-profile__display {
	font-family: "Prata", Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--pc-ink);
	margin-bottom: 12px;
}

@media (min-width: 768px) {
	.pc-profile__display {
		font-size: 42px;
		margin-bottom: 14px;
	}
}

@media (min-width: 1280px) {
	.pc-profile__display { font-size: 52px; }
}

.pc-profile__thai {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--pc-sub-1);
	margin-bottom: 18px;
}

@media (min-width: 768px) {
	.pc-profile__thai { font-size: 22px; }
}

@media (min-width: 1280px) {
	.pc-profile__thai { font-size: 26px; }
}

.pc-profile__role {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(155, 121, 73, .10);
	color: var(--pc-mocha-dk);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.pc-profile__intro {
	color: var(--pc-sub-1);
	font-size: 15px;
	line-height: 1.9;
	margin-bottom: 24px;
	max-width: 560px;
}

@media (min-width: 900px) {
	.pc-profile__intro {
		margin-left: 0;
		margin-right: auto;
	}
}

@media (min-width: 1280px) {
	.pc-profile__intro {
		font-size: 16px;
		line-height: 1.95;
	}
}

.pc-profile__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 28px;
}

@media (min-width: 900px) {
	.pc-profile__ctas { justify-content: flex-start; }
}

/* License strip (quiet certificate line, not a data table) */
.pc-profile__meta {
	max-width: 480px;
	margin: 0 auto;
}

@media (min-width: 900px) {
	.pc-profile__meta { margin: 0; }
}

.pc-profile__meta-cell {
	text-align: center;
	padding: 12px 14px;
	border-top: 1px solid var(--pc-line);
	border-bottom: 1px solid var(--pc-line);
}

@media (min-width: 900px) {
	.pc-profile__meta-cell {
		text-align: left;
		padding-left: 0;
		padding-right: 0;
	}
}

/* License caption — defines what the number means
 * (issuing body: แพทยสภา / Thai Medical Council) so the
 * number reads as a verifiable credential, not a label-less ID. */
.pc-profile__meta-label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--pc-sub-2);
	font-weight: 500;
}

@media (min-width: 768px) {
	.pc-profile__meta-label { font-size: 12px; }
}

.pc-profile__meta-num {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 18px;
	line-height: 1.4;
	color: var(--pc-mocha-dk);
	font-weight: 500;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-style: italic;
}

@media (min-width: 768px) {
	.pc-profile__meta-num { font-size: 20px; }
}

/* ============================================================
 * Doctor archive hero
 * ============================================================ */
.pc-doctor-archive { padding-bottom: 84px; }

@media (min-width: 900px) {
	.pc-doctor-archive { padding-bottom: 0; }
}

.pc-doctors-hero {
	background:
		linear-gradient(180deg, rgba(250, 239, 224, .96), rgba(255, 251, 246, .98)),
		var(--pc-peach-a);
	padding: 52px 0 44px;
	text-align: center;
}

@media (min-width: 768px) {
	.pc-doctors-hero { padding: 76px 0 64px; }
}

.pc-doctors-hero__inner {
	max-width: 840px;
	margin: 0 auto;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.pc-doctors-hero__inner { padding: 0 24px; }
}

.pc-doctors-hero__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--pc-mocha-dk-hover);
	margin-bottom: 12px;
}

.pc-doctors-hero h1 {
	font-family: "Prata", Georgia, "Times New Roman", serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: 0;
	color: var(--pc-ink);
	margin: 0;
}

@media (min-width: 768px) {
	.pc-doctors-hero h1 { font-size: 52px; }
}

.pc-doctors-hero p {
	max-width: 720px;
	margin: 16px auto 0;
	color: var(--pc-sub-2);
	font-size: 15px;
	line-height: 1.85;
}

@media (min-width: 768px) {
	.pc-doctors-hero p { font-size: 17px; }
}

.pc-doctors-hero__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 18px;
	border: 1px solid var(--pc-line-warm-deep);
	border-radius: 999px;
	background: rgba(255, 255, 255, .72);
	font-size: 13px !important;
	line-height: 1.35 !important;
	color: var(--pc-mocha-dk) !important;
}

/* ============================================================
 * Shared section head (pc-section-head)
 * Duplicated from home.css so it renders on this route without
 * enqueueing the homepage stylesheet.
 * ============================================================ */
.pc-section-head {
	text-align: center;
	margin-bottom: 32px;
	padding: 0 16px;
}

.pc-section-head__eyebrow {
	color: var(--pc-mocha-dk-hover);
	font-weight: 600;
}

.pc-section-head p {
	max-width: 640px;
	margin: 12px auto 0;
	color: var(--pc-sub-2);
	font-size: 15px;
	line-height: 1.8;
}

@media (min-width: 768px) {
	.pc-section-head p {
		font-size: 16px;
		line-height: 1.9;
	}
}

/* ============================================================
 * Biography (pc-bio)
 * Narrow editorial column with hairline-framed pull quote.
 * ============================================================ */
.pc-bio {
	padding: 48px 0;
	background: var(--pc-cream-warm);
}

@media (min-width: 768px) {
	.pc-bio { padding: 72px 0; }
}

.pc-bio__inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.pc-bio__inner { padding: 0 24px; }
}

.pc-bio__body p {
	color: var(--pc-sub-1);
	font-size: 15px;
	line-height: 1.95;
	margin-bottom: 18px;
}

@media (min-width: 768px) {
	.pc-bio__body p { font-size: 16px; }
}

/* Sub-section heading inside the editorial column.
 * Hairline + Prata serif quietly separate credential groups
 * (Education, Memberships, Certifications) without competing
 * with the section h2 above. */
.pc-bio__body h3 {
	font-family: "Prata", Georgia, "Times New Roman", serif;
	font-size: 19px;
	font-weight: 400;
	color: #1a1612;
	letter-spacing: .2px;
	line-height: 1.35;
	margin: 32px 0 14px;
	padding-top: 24px;
	border-top: 1px solid var(--pc-line);
}

@media (min-width: 768px) {
	.pc-bio__body h3 {
		font-size: 22px;
		margin: 40px 0 16px;
		padding-top: 28px;
	}
}

/* Credential list. list-style-type kept (disc) so screen readers
 * still announce list semantics on iOS Safari; ::marker recolors
 * the bullet to mocha for visual polish. */
.pc-bio__body ul {
	margin: 0 0 18px;
	padding: 0 0 0 22px;
	list-style: disc outside;
}

.pc-bio__body li {
	margin: 6px 0;
	padding-left: 4px;
	color: var(--pc-sub-1);
	font-size: 15px;
	line-height: 1.85;
}

.pc-bio__body li::marker {
	color: var(--pc-mocha-dk);
}

@media (min-width: 768px) {
	.pc-bio__body li {
		font-size: 16px;
		line-height: 1.95;
	}
}

.pc-bio__quote {
	margin: 36px auto;
	padding: 28px 24px;
	max-width: 720px;
	border-top: 1px solid var(--pc-line);
	border-bottom: 1px solid var(--pc-line);
	text-align: center;
}

.pc-bio__quote p {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-style: italic;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.5;
	color: var(--pc-sub-1);
	letter-spacing: .3px;
}

@media (min-width: 768px) {
	.pc-bio__quote p { font-size: 24px; }
}

.pc-bio__quote cite {
	display: block;
	margin-top: 14px;
	font-family: "Noto Sans Thai", inherit;
	font-style: normal;
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--pc-mocha-dk);
}

/* ============================================================
 * More doctors (pc-derm)
 * Shares the homepage card language; profile route caps desktop
 * at 6 columns instead of 7 and is scoped here because home.css
 * is not enqueued on this route.
 * ============================================================ */
.pc-derm {
	padding: 48px 0;
	background: var(--pc-ivory);
}

@media (min-width: 768px) {
	.pc-derm { padding: 72px 0; }
}

.pc-derm__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 0 12px;
}

@media (min-width: 640px) {
	.pc-derm__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}

@media (min-width: 1024px) {
	.pc-derm__grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 16px;
		padding: 0 24px;
		max-width: var(--pc-max);
		margin: 0 auto;
	}
}

.pc-derm__card {
	background: var(--pc-white);
	overflow: hidden;
	border: 1px solid var(--pc-line-warm);
	border-radius: 4px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	display: block;
}

.pc-derm__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(75, 55, 40, .12);
	border-color: var(--pc-line-warm-deep);
	opacity: 1;
}

.pc-derm__img {
	aspect-ratio: 3 / 4;
	background: var(--pc-white);
	overflow: hidden;
}

.pc-derm__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.pc-derm__info {
	padding: 12px 8px 16px;
	background: var(--pc-white);
	text-align: center;
}

.pc-derm__info strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--pc-black);
	line-height: 1.3;
}

.pc-derm__info small {
	display: block;
	font-size: 11px;
	color: var(--pc-muted);
	margin-top: 3px;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.pc-derm__info strong { font-size: 15px; }
	.pc-derm__info small { font-size: 12px; }
}

.pc-derm__meta {
	display: block;
	margin-top: 8px;
	color: var(--pc-sub-2);
	font-size: 11px;
	line-height: 1.5;
}

.pc-derm--archive {
	background: var(--pc-ivory);
	padding-top: 56px;
}

@media (min-width: 768px) {
	.pc-derm--archive { padding-top: 80px; }
}

.pc-doctor-archive__empty {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 16px;
	color: var(--pc-sub-2);
	text-align: center;
	font-size: 15px;
	line-height: 1.8;
}
