/*
 * A doctor's own page (blocks/doctor-page, templates/single-doctors.html) in the new design (owner 2026-11-20), with the
 * measures of the hospitals and doctors pages: white cards with a hairline and 16-24px corners, the light-blue panel,
 * titles in the Liv colour, pill buttons and tabs. The band is the inner pages' one (assets/css/livcom-shell.css), the
 * aside the category pages' one (assets/css/category.css). Loaded on a doctor's page only (inc/livcom-doctor-page.php).
 * (Until then this sheet restyled the old profile of the live snippets, which the page no longer prints.)
 */

.lc-doctor-page { --lc-dr-brand: #0082B9; }
.lc-dr { display: contents; }

/* ---------- Band: the specialty under the name ---------- */
body .liv-main.liv-cat .lc-dr-hero > .lc-dr-hero__lead { order: 1 !important; margin: -8px 0 0 !important; color: rgb(255 255 255 / 0.92); font-size: 17px; line-height: 1.4; font-weight: 500; }

/* ---------- Body: the main column and, from 1024px, the aside of the category pages ---------- */
.lc-doctor-page .lc-dr-body { margin-block-end: 56px !important; }
.lc-dr-main { display: flex; flex-direction: column; gap: 32px; }
.lc-dr-main > * { margin: 0 !important; }
.lc-dr-main :is(h2, h3, p, ul, figure) { margin: 0; }
.lc-dr-main a { text-decoration: none; }
.lc-dr-title { padding: 0; color: var(--lc-dr-brand); font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: 0; -webkit-text-stroke-width: 0; }

/* ---------- Profile ---------- */
.lc-dr-profile { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px; border: 1px solid #DCE4EA; border-radius: 24px; background: #FFFFFF; box-shadow: 0 10px 28px rgb(0 70 102 / 0.06); }
.lc-dr-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #EEFAFF 0%, #D6EEFA 100%); }
.lc-dr-photo img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: 50% 0; }
/* The video is ready under the photo from the start (not display: none): iOS then starts it with the first tap
   (owner 2026-11-20: "mobilde iki kere oynat butonuna basmak gerekiyor"). */
.lc-dr-photo__video { position: absolute; inset: 0; z-index: 0; inline-size: 100%; block-size: 100%; object-fit: cover; background: #0B2533; opacity: 0; pointer-events: none; }
.lc-dr-photo img { position: relative; z-index: 1; }
.lc-dr-photo__play { z-index: 2; }
.lc-dr-photo.is-playing .lc-dr-photo__video { z-index: 3; opacity: 1; pointer-events: auto; }
/* Full screen: the whole picture, not the card's crop (owner 2026-11-20). */
.lc-dr-photo__video:fullscreen { object-fit: contain; background: #000000; }
.lc-dr-photo__video:-webkit-full-screen { object-fit: contain; background: #000000; }
.lc-dr-photo__play { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%; display: grid; place-items: center; inline-size: 64px; block-size: 64px; padding: 0 0 0 4px; border: 0; border-radius: 50%; background: var(--lc-dr-brand); box-shadow: 0 0 0 8px rgb(255 255 255 / 0.55), 0 12px 28px rgb(0 70 102 / 0.3); color: #FFFFFF; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease; }
.lc-dr-photo__play:hover { background: #05658B; transform: scale(1.05); }
.lc-dr-photo__play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.lc-dr-photo.is-playing .lc-dr-photo__play { display: none; }
.lc-dr-info { display: flex; flex-direction: column; gap: 12px; min-inline-size: 0; padding-block-start: 4px; }
.lc-dr-spec { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: #386E98; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.lc-dr-spec a { color: #386E98; }
.lc-dr-spec a:hover { color: var(--lc-dr-brand); text-decoration: underline; text-underline-offset: 3px; }
.lc-dr-name { color: var(--lc-dr-brand); font-size: 30px; line-height: 1.2; font-weight: 700; }
.lc-dr-hosps { display: flex; flex-direction: column; gap: 6px; padding: 0; list-style: none; }
.lc-dr-hosps li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: #566F7A; font-size: 14px; line-height: 1.5; }
.lc-dr-hosps svg { flex: none; color: var(--lc-dr-brand); }
.lc-dr-hosps a { color: #163B4D; font-weight: 600; }
.lc-dr-hosps a:hover { color: var(--lc-dr-brand); }
.lc-dr-hosps a.lc-dr-hosps__map { color: var(--lc-dr-brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.lc-dr-text { color: #22303A; font-size: 15px; line-height: 1.65; }
.lc-dr-text > * + * { margin-block-start: 10px; }
.lc-dr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 6px !important; }
.lc-dr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-block-size: 46px; padding: 0 22px; border: 1.5px solid var(--lc-dr-brand); border-radius: 999px; background: #FFFFFF; color: var(--lc-dr-brand); font-size: 15px; line-height: 1; font-weight: 700; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.lc-dr-btn:hover { background: #EEFAFF; color: var(--lc-dr-brand); }
.lc-dr-btn.is-primary { background: var(--lc-dr-brand); color: #FFFFFF; }
.lc-dr-btn.is-primary:hover { border-color: #05658B; background: #05658B; color: #FFFFFF; }
.lc-dr-btn:focus-visible { outline: 2px solid var(--lc-dr-brand); outline-offset: 2px; }

/* ---------- Areas of interest: the light-blue panel, the areas as white pills ---------- */
.lc-dr-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px; padding: 28px 32px; overflow: hidden; border: 1px solid #D6ECF6; border-radius: 24px; background: linear-gradient(120deg, #EEFAFF 0%, #F7FCFF 55%, #E6F5FC 100%); }
.lc-dr-panel::before { content: ""; position: absolute; z-index: -1; inset-block-start: -120px; inset-inline-end: -80px; inline-size: 340px; block-size: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(0 130 185 / 0.12), rgb(0 130 185 / 0) 70%); pointer-events: none; }
.lc-dr-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.lc-dr-chips li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border: 1px solid #DCE4EA; border-radius: 999px; background: #FFFFFF; color: #163B4D; font-size: 14px; line-height: 1.4; font-weight: 500; }
.lc-dr-areas-text { color: #22303A; font-size: 15px; line-height: 1.7; }
.lc-dr-chips li::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--lc-dr-brand); }

/* ---------- The CV in tabs ---------- */
.lc-dr-cv { display: flex; flex-direction: column; gap: 18px; }
.lc-dr-tabs { display: flex; flex-direction: column; gap: 16px; }
.lc-dr-tabs__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-dr-tabs__tab { display: inline-flex; align-items: center; box-sizing: border-box; block-size: 42px; margin: 0; padding: 0 18px; border: 1px solid #DCE4EA; border-radius: 999px; background: #FFFFFF; color: #163B4D; font: inherit; font-size: 15px; line-height: 1; font-weight: 500; white-space: nowrap; cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.lc-dr-tabs__tab:hover { border-color: var(--lc-dr-brand); color: var(--lc-dr-brand); }
.lc-dr-tabs__tab[aria-selected="true"] { border-color: var(--lc-dr-brand); background: var(--lc-dr-brand); color: #FFFFFF; font-weight: 600; box-shadow: 0 8px 20px rgb(0 130 185 / 0.24); }
.lc-dr-tabs__tab:focus-visible { outline: 2px solid var(--lc-dr-brand); outline-offset: 2px; }
.lc-dr-tabs__panel { padding: 24px 28px; border: 1px solid #DCE4EA; border-radius: 16px; background: #FFFFFF; color: #22303A; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.lc-dr-tabs__panel[hidden] { display: none; }
.lc-dr-tabs__panel:focus-visible { outline: 2px solid var(--lc-dr-brand); outline-offset: 2px; }
.lc-dr-tabs__title { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lc-dr-tabs__panel > * + * { margin-block-start: 12px !important; }
.lc-dr-tabs__panel :is(ul, ol) { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-inline-start: 20px; }
.lc-dr-tabs__panel li { margin: 0; }
.lc-dr-tabs__panel li::marker { color: var(--lc-dr-brand); }
.lc-dr-tabs__panel strong, .lc-dr-tabs__panel b { color: #163B4D; }
.lc-dr-tabs__panel a { color: var(--lc-dr-brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tablets and phones: the aside under the main column ---------- */
@media (max-width: 1023.98px) {
	.lc-doctor-page .liv-cat-aside { display: flex; flex-direction: column; gap: 16px; }
	.lc-dr-profile { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 767.98px) {
	body .liv-main.liv-cat .lc-dr-hero > .lc-dr-hero__lead { margin-block-start: -6px !important; font-size: 15px; }
	.lc-doctor-page .lc-dr-body { margin-block-end: 40px !important; }
	.lc-dr-main { gap: 24px; }
	.lc-dr-title { font-size: 22px; }
	.lc-dr-profile { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: 20px; }
	.lc-dr-photo { aspect-ratio: 1 / 1; }
	.lc-dr-name { font-size: 24px; }
	.lc-dr-actions .lc-dr-btn { flex: 1 1 100%; }
	.lc-dr-panel { padding: 20px 16px; border-radius: 20px; }
	.lc-dr-chips li { padding: 8px 14px; font-size: 13px; }
	/* The tabs in one row that is pushed sideways. */
	.lc-dr-tabs__nav { flex-wrap: nowrap; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scrollbar-width: none; }
	.lc-dr-tabs__nav::-webkit-scrollbar { display: none; }
	.lc-dr-tabs__tab { block-size: 40px; padding: 0 16px; font-size: 14px; }
	.lc-dr-tabs__panel { padding: 18px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.lc-dr-photo__play { transition: none; }
}

/* =====================================================================================
 * Three columns (owner 2026-11-20: the beta page's left list; the right aside with the form and "Trusted worldwide"
 * only): from 1280px the list, the main column and the aside; from 1024px the list under the main column; below,
 * one column: the main column, the aside (the form), the list.
 * ===================================================================================== */
.lc-dr-body.has-side { grid-template-areas: "main" "aside" "side"; }
/* A doctor alone in the specialty has no list: the areas must still be named, or the main column and the aside fall
   into one cell over each other (2026-11-23, e.g. /doctors/assoc-prof-md-ali-baran-budak/). */
.lc-dr-body:not(.has-side) { grid-template-areas: "main" "aside"; }
.lc-dr-body > .lc-dr-main { grid-area: main; }
.lc-dr-body > .liv-cat-aside { grid-area: aside; }
.lc-dr-body > .lc-dr-side { grid-area: side; }
/* The right aside is as wide as the category pages' one, 344 (owner 2026-11-24: "doctor iç sayfalarındaki sidebar
   genişliği kategori sayfalarındaki gibi olsun"; it was 320). */
@media (min-width: 1024px) {
	.lc-dr-body.has-side.has-aside { grid-template-columns: minmax(0, 1fr) 344px; grid-template-areas: "main aside" "side aside"; }
	.lc-dr-body.has-side.has-aside > .liv-cat-aside { align-self: start; }
	.lc-dr-body.has-aside:not(.has-side) { grid-template-columns: minmax(0, 1fr) 344px; grid-template-areas: "main aside"; }
}
@media (min-width: 1280px) {
	.lc-dr-body.has-side.has-aside { grid-template-columns: 260px minmax(0, 1fr) 344px; grid-template-areas: "side main aside"; }
	.lc-dr-body.has-side > .lc-dr-side { position: sticky; inset-block-start: calc(var(--liv-bar, 0px) + var(--liv-sticky-top, 0px) + 24px); align-self: start; }
}
/* The profile follows the width of the main column. */
.lc-dr-main { container-type: inline-size; }
@container (max-width: 760px) {
	.lc-dr-profile { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; }
	.lc-dr-name { font-size: 26px; }
}
@container (max-width: 520px) {
	.lc-dr-profile { grid-template-columns: minmax(0, 1fr); }
	.lc-dr-photo { aspect-ratio: 1 / 1; }
}

/* ---------- The list of the doctors of the same specialty ---------- */
.lc-dr-list { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #DCE4EA; border-radius: 20px; background: #FFFFFF; box-shadow: 0 10px 28px rgb(0 70 102 / 0.06); }
.lc-dr-list__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; background: var(--lc-dr-brand); color: #FFFFFF; }
.lc-dr-list__title { margin: 0; padding: 0; color: #FFFFFF; font-size: 17px; line-height: 1.3; font-weight: 700; -webkit-text-stroke-width: 0; }
.lc-dr-list__count { flex: none; display: inline-flex; align-items: center; justify-content: center; min-inline-size: 28px; block-size: 28px; padding: 0 8px; border-radius: 999px; background: rgb(255 255 255 / 0.2); font-size: 13px; font-weight: 700; }
.lc-dr-list__body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.lc-dr-list__search { display: flex; align-items: center; gap: 6px; box-sizing: border-box; block-size: 44px; margin: 0; padding: 0 14px; border: 1px solid #DCE4EA; border-radius: 999px; background: #FFFFFF; color: var(--lc-dr-brand); transition: border-color 0.15s, box-shadow 0.15s; }
.lc-dr-list__search:focus-within { border-color: var(--lc-dr-brand); box-shadow: 0 0 0 3px rgb(0 130 185 / 0.14); }
.lc-dr-list__search svg { flex: none; }
.lc-dr-list__search input { flex: 1 1 auto; min-inline-size: 0; block-size: 100%; margin: 0; padding: 0 4px; border: 0; outline: 0; background: none; box-shadow: none; color: #163B4D; font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; }
.lc-dr-list__search input::placeholder { color: #6B7F8C; opacity: 1; }
.lc-dr-list__search input::-webkit-search-cancel-button { display: none; }
.lc-dr-list__items { display: flex; flex-direction: column; gap: 2px; max-block-size: 420px; margin: 0; padding: 0 4px 0 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; scrollbar-color: #B9DDEE transparent; }
.lc-dr-list__items li { margin: 0; }
.lc-dr-list__items li[hidden] { display: none; }
.lc-dr-list__items a { display: block; padding: 9px 12px; border-radius: 10px; color: #163B4D; font-size: 14px; line-height: 1.35; font-weight: 500; text-decoration: none; }
.lc-dr-list__items a:hover { background: #EEFAFF; color: var(--lc-dr-brand); }
.lc-dr-list__items a[aria-current] { background: var(--lc-dr-brand); color: #FFFFFF; font-weight: 600; }
.lc-dr-list__items a:focus-visible { outline: 2px solid var(--lc-dr-brand); outline-offset: -2px; }
.lc-dr-list__empty { margin: 0; padding: 8px 12px; color: #566F7A; font-size: 14px; }
.lc-dr-list__empty[hidden] { display: none; }
.lc-dr-list__all { align-self: flex-start; padding: 4px 2px; color: var(--lc-dr-brand); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1279.98px) {
	.lc-dr-list__items { max-block-size: 320px; }
}

/* The aside stays in view (owner 2026-11-20: "doktor iç sayfalarında sağ sidebarda form sticky olsun"), the form on top
   and "Trusted worldwide" under it (2026-11-23). The whole aside is sticky, as on the category pages (only the form
   sticking hid the card under it: "form sticky kaldığında 30 years altında kayboluyor"); taller than the window, it
   follows the scroll (category.js), so going down the card comes into view and going up the form comes back. */
@media (min-width: 1024px) {
	.lc-doctor-page .lc-dr-body > .liv-cat-aside { align-self: start; }
}

/* The list's head on the light-blue ground of "Find a hospital" (owner 2026-11-20), as the quote card's head. */
.lc-dr-list__head { position: relative; isolation: isolate; overflow: hidden; border-block-end: 1px solid #D6ECF6; background: linear-gradient(120deg, #EEFAFF 0%, #F7FCFF 55%, #E6F5FC 100%); color: var(--lc-dr-brand); }
.lc-dr-list__head::before { content: ""; position: absolute; z-index: -1; inset-block-start: -120px; inset-inline-end: -80px; inline-size: 240px; block-size: 240px; border-radius: 50%; background: radial-gradient(circle, rgb(0 130 185 / 0.12), rgb(0 130 185 / 0) 70%); pointer-events: none; }
.lc-dr-list__title { color: var(--lc-dr-brand); }
.lc-dr-list__count { background: var(--lc-dr-brand); color: #FFFFFF; }
/* The doctors of the list as pills, as the site's other buttons (owner 2026-11-20). */
.lc-dr-list__items a { padding-inline: 14px; border-radius: 999px; }

/* "Download CV" at the upper right of the profile (owner 2026-11-24: "download cv butonu o alanın sağ üstünde
   barınsın"): a wide main column puts it beside the specialty and the name; a narrower one on its own line above
   them, at the right; one column (phones) on the photo's upper right corner: positioned in the profile's grid, its
   grid place (the photo's cell) is its containing block. */
.lc-dr-profile { position: relative; }
.lc-dr-info { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.lc-dr-info > * { grid-column: 1 / -1; }
.lc-dr-info > .lc-dr-cvbtn { justify-self: end; min-block-size: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
@container (min-width: 900px) {
	.lc-dr-info { grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
	.lc-dr-info > .lc-dr-spec { grid-column: 1; grid-row: 1; }
	.lc-dr-info > .lc-dr-name { grid-column: 1; grid-row: 2; }
	.lc-dr-info > .lc-dr-cvbtn { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}
@container (max-width: 520px) {
	.lc-dr-info > .lc-dr-cvbtn { position: absolute; justify-self: auto; grid-column: 1 / 2; grid-row: 1 / 2; z-index: 3; inset-block-start: 12px; inset-inline-end: 12px; border-color: rgb(255 255 255 / 0.9); background: rgb(255 255 255 / 0.94); box-shadow: 0 8px 20px -10px rgb(0 58 85 / 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
@media (max-width: 767.98px) {
	.lc-dr-info > .lc-dr-cvbtn { position: absolute; justify-self: auto; grid-column: 1 / 2; grid-row: 1 / 2; z-index: 3; inset-block-start: 12px; inset-inline-end: 12px; min-block-size: 36px; padding: 0 14px; font-size: 13px; border-color: rgb(255 255 255 / 0.9); background: rgb(255 255 255 / 0.94); box-shadow: 0 8px 20px -10px rgb(0 58 85 / 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
/* The other doctors of the specialty (owner 2026-11-24): the button under the doctor's text, the specialty's name and
   the number of its doctors; a light fill (owner: "buton rengi açık olsun iç dolgu"). */
.lc-dr-specbtn { gap: 10px; min-block-size: 48px; padding: 8px 10px 8px 20px; border-color: #CBE7F5; background: #E6F5FC; color: var(--lc-dr-brand); text-align: start; line-height: 1.25; }
.lc-dr-specbtn:hover { border-color: #B5DDF0; background: #D6EEF9; color: var(--lc-dr-brand); }
.lc-dr-specbtn svg { flex: none; }
.lc-dr-specbtn__text { min-inline-size: 0; }
.lc-dr-specbtn__count { flex: none; display: inline-flex; align-items: center; justify-content: center; min-inline-size: 30px; block-size: 30px; padding: 0 9px; box-sizing: border-box; border-radius: 999px; background: #FFFFFF; color: var(--lc-dr-brand); font-size: 13px; font-weight: 700; }

/* Areas of interest in their panel (blocks/doctor-page; owner 2026-11-24): a list with round Liv blue bullets, its
   items split into two equal halves, the first half in the left column, on phones too (owner: "sağlı sollu"); a
   single area across the whole width. */
.lc-dr-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--lc-dr-rows, 1), auto); grid-auto-flow: column; gap: 10px 40px; margin: 0; padding: 0; list-style: none; }
.lc-dr-areas li { position: relative; margin: 0; padding-inline-start: 20px; color: #163B4D; font-size: 15px; line-height: 1.55; font-weight: 500; }
.lc-dr-areas li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 0.55em; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--lc-dr-brand); }
.lc-dr-areas.is-one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767.98px) {
	.lc-dr-areas { gap: 8px 16px; }
	.lc-dr-areas li { padding-inline-start: 14px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
	.lc-dr-areas li::before { inset-inline-start: 0; inline-size: 6px; block-size: 6px; }
}
