/* ===== /our-doctors/ (and /review/doctors/): the doctors page as a card list (client reference, live 2026-11-13). ===== */
.dl { --brand: #b5106a; --ink: #313131; --muted: #6e5862; --line: #e9cbe1; --blush: #fdf7fb; --pink: #ffdaf9; font-family: "Lato", "Segoe UI", Helvetica, Arial, sans-serif; color: var(--ink); max-width: 1180px; margin: 0 auto; padding: 28px 20px 72px; line-height: 1.45; }
.dl *, .dl *::before, .dl *::after { box-sizing: border-box; }
.dl p, .dl h1, .dl h2 { margin: 0; }
.dl ul { list-style: none; margin: 0; padding: 0; }
.dl a { text-decoration: none; }
.dl :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.dl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dl-review { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); text-align: center; }

.dl-head { text-align: center; margin-top: 10px; }
.dl-head h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: 0; color: var(--ink); }
.dl-head p { margin-top: 8px; font-size: 17px; color: var(--muted); }

.dl-filters { display: flex; justify-content: center; gap: 12px; margin: 26px auto 30px; max-width: 640px; }
.dl-filters label { flex: 1 1 0; min-width: 0; }
.dl-filters select, .dl-filters input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.dl-filters select:focus, .dl-filters input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--pink); }

.dl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dl-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 20px 24px; padding: 26px; background: #fff; border-radius: 22px; box-shadow: 0 1px 0 rgba(181, 16, 106, 0.06), 0 14px 34px -22px rgba(49, 49, 49, 0.35); }
.dl-photo { display: block; width: 132px; height: 132px; border-radius: 14px; overflow: hidden; align-self: start; }
.dl-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.dl-body h2, .dl .dl-body h3 { margin: 0; font-family: "Lato", "Segoe UI", Helvetica, Arial, sans-serif; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.dl-body h2 a, .dl .dl-body h3 a { color: var(--brand); }
.dl-body h2 a:hover, .dl .dl-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-role { margin-top: 6px !important; font-size: 17px; color: var(--ink); }
.dl-meta { margin-top: 12px !important; display: grid; gap: 8px; }
.dl-meta li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15.5px; color: var(--muted); }
.dl-meta svg { width: 22px; height: 22px; fill: none; stroke: #9a8590; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dl-meta span { padding-top: 1px; overflow-wrap: anywhere; }
.dl-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 14px; border: 1.5px solid var(--brand); border-radius: 10px; background: #fff; color: var(--ink) !important; font-weight: 700; font-size: 15.5px; text-align: center; line-height: 1.2; transition: background 0.15s, color 0.15s; }
.dl-btn:hover { background: var(--blush); }
.dl-btn.is-book { background: var(--pink); }
.dl-btn.is-book:hover { background: var(--brand); color: #fff !important; }

.dl-empty { text-align: center; padding: 40px 0; color: var(--muted); font-size: 17px; }
.dl-empty button { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 999.98px) { .dl-list { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto !important; } }
@media (max-width: 559.98px) {
  .dl { padding: 20px 14px 56px; }
  .dl-head p { font-size: 15px; }
  .dl-filters { flex-direction: column; gap: 10px; margin: 20px 0 22px; }
  .dl-filters label { flex: none; }
  .dl-list { gap: 18px; }
  .dl-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px 16px; padding: 18px 16px; border-radius: 18px; }
  .dl-photo { width: 96px; height: 96px; border-radius: 12px; }
  .dl-body h2, .dl .dl-body h3 { font-size: 20px; }
  .dl-role { font-size: 16px; }
  .dl-meta li { font-size: 14.5px; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
  .dl-meta svg { width: 20px; height: 20px; }
  .dl-actions { gap: 10px; grid-template-columns: 0.85fr 1.15fr; }
  .dl-btn { font-size: 14px; padding: 8px 4px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .dl-btn { transition: none; } }

/* ----- department "Meet Our Specialists" sections in the same card style (review: /review/department-doctors/) ----- */
.dd-dept { margin-top: 44px; }
.dd-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; margin-bottom: 18px !important; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dd-label a { color: var(--brand); text-transform: none; letter-spacing: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.dd-section { background: var(--blush); border-radius: 28px; padding: 40px 32px 44px; }
.dd-section > h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-align: center; color: var(--ink); }
.dd-sub { text-align: center; margin: 8px 0 28px !important; font-size: 17px; color: var(--muted); }
/* an odd card left alone on the last row sits in the middle */
.dd-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
@media (max-width: 999.98px) { .dd-list > li:last-child:nth-child(odd) { width: 100%; } }
@media (max-width: 559.98px) { .dd-section { padding: 26px 12px 28px; border-radius: 20px; } .dd-sub { font-size: 15px; margin-bottom: 20px !important; } .dd-label { flex-direction: column; gap: 4px; } }

/* phone frames on the department-doctors review page */
.dd-hint { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
.dd-phones { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.dd-phone { margin: 0; width: 410px; max-width: 100%; }
.dd-phone figcaption { font-weight: 700; margin-bottom: 8px; text-align: center; }
.dd-phone iframe { display: block; box-sizing: content-box; width: 390px; max-width: calc(100% - 20px); height: 720px; border: 10px solid #2c1a24; border-radius: 36px; background: #fff; }
/* inside a frame: only the section, no site header, footer, bottom bar or chat bubble */
body:has(.dd-embed) header, body:has(.dd-embed) footer, body:has(.dd-embed) #offcanvas, body:has(.dd-embed) .bnav_bottom_nav_wrapper, body:has(.dd-embed) .qlwapp { display: none !important; }
.dl.dd.dd-embed { padding: 10px 8px 24px; }

/* Phones (user, 2026-11-14): the department sections use exactly the doctors-page phone layout: no tinted panel around
   the cards and the same 14px gutters, so each card is as wide and as short as on /our-doctors/. */
@media (max-width: 559.98px) {
  .dd .dd-section { background: none; padding: 0; border-radius: 0; }
  .dl.dd.dd-embed { padding: 20px 14px 40px; }
  article:has(> .dd) { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: none !important; }
  body:has(.dd-embed) .ct-container-full, body:has(.dd-embed) #main { width: 100% !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
}

/* live on the department pages (lib/departmentDoctorsHtml.ts): the section sits in the page flow */
.dl.dd.dd-live { padding-top: 0; padding-bottom: 48px; }
/* phones: full-bleed with the doctors page's 14px gutters, so cards are the same size as on /our-doctors/ */
@media (max-width: 559.98px) { .dl.dd.dd-live { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 0 14px 32px; } }
