/* Alder: practice profile (/clinic/{slug}) and its marketing sub-pages.
   Loaded after alder-pages.css and alder-profile.css; only what the
   practice page adds to the provider profile layout lives here: the logo
   in the hero, the tagline, team cards, gallery, office hours and the
   waitlist note. Mobile first; 921px is the Alder breakpoint. */

/* ---------- Hero ---------- */
/* A logo is letterboxed on white in a rounded square, never cropped. */
.al-ph__photo--logo { border-radius: 22px; background: #fff; }
.al-ph__photo--logo img { object-fit: contain; object-position: center; padding: 10px; }
.al-ph__tag { margin-top: 12px; max-width: 60ch; font: italic 400 17px/1.45 var(--al-serif); color: var(--al-body); }
/* Sub-pages: the photo and the name link back to the profile. */
.al-ph__home { display: block; border-radius: inherit; }
.al-ph__name--sub { font-size: 26px; }
.al-ph__name--sub a { display: inline-block; padding-block: 9px; margin-block: -9px; color: inherit; text-decoration: none; }
@media (hover: hover) { .al-ph__name--sub a:hover { color: var(--al-moss); } }
@media (min-width: 921px) {
  .al-ph__tag { margin-top: 16px; font-size: 18px; }
  .al-ph__name--sub { font-size: 32px; }
}

/* ---------- Section headings ---------- */
.al-psec__n { font: 400 .62em/1 var(--al-sans); letter-spacing: 0; color: var(--al-muted); }
.al-psec__h--next { margin-top: 32px; }
.al-callout__b { margin-top: 6px; font-size: 15.5px; line-height: 1.6; }
.al-callout__b p + p { margin-top: 8px; }

/* ---------- No About: the lead column goes, and the rest starts at the top ---------- */
.al-pgrid--nolead > .al-pcol--lead { display: none; }
@media (min-width: 1024px) { .al-pgrid--nolead { row-gap: 0; } }

/* ---------- About: pictures in the practice's own copy stay inside the column ---------- */
.al-pg--practice .al-psec { min-width: 0; }
.al-pg--practice .al-about img { max-width: 100%; height: auto; }

/* ---------- Team cards ---------- */
.al-mcard { align-items: flex-start; }
.al-mcard .al-ava { width: 56px; height: 56px; }
.al-mcard.is-static { cursor: default; }
@media (hover: hover) { .al-pcol .al-mcard.is-static:hover { background: var(--al-sand); } }
.al-mcard > .al-ico { align-self: center; }
.al-mtag {
  display: inline-flex; align-items: center; margin-left: 6px; padding: 3px 8px; border-radius: 999px;
  background: var(--al-paper); font: 700 10.5px/1.2 var(--al-sans); letter-spacing: .04em; color: var(--al-moss); vertical-align: 2px;
}
.al-mtag--pending { justify-self: start; margin: 4px 0 0; letter-spacing: 0; font-size: 12px; color: var(--al-ink); }
.al-mfacts { display: grid; gap: 4px; margin-top: 6px; font: 400 13px/1.35 var(--al-sans); color: var(--al-body); }
.al-mfacts > span { display: flex; align-items: flex-start; gap: 6px; }
.al-mfacts .al-ico { width: 14px; height: 14px; flex: none; margin-top: 1px; color: var(--al-brand); }
.al-mcard .al-pcard__s { margin-top: 6px; }

/* ---------- Insurance: a named OHP plan inside the chip is a 44px target ---------- */
.al-ins__ohp a { display: inline-block; padding-block: 14px; margin-block: -14px; color: var(--al-moss); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Photo gallery: square tiles, no lift ---------- */
.al-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.al-gal__fig { display: grid; gap: 6px; margin: 0; }
.al-gal__item { display: block; aspect-ratio: 1; border-radius: var(--al-r); overflow: hidden; background: var(--al-sand); cursor: zoom-in; }
.al-gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-gal__cap { font: 400 13px/1.45 var(--al-sans); color: var(--al-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .al-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

/* ---------- Videos ---------- */
.al-vids__h { margin-top: 24px; }

/* ---------- Office hours (rail) ---------- */
.al-hrs__now { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 14px/1.3 var(--al-sans); color: var(--al-muted); }
.al-hrs__now.is-on { color: var(--al-moss); }
.al-hrs { display: grid; gap: 2px; }
.al-hrs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font: 400 14.5px/1.4 var(--al-sans); color: var(--al-body); font-variant-numeric: tabular-nums; }
.al-hrs li em { margin-left: 6px; font: 700 10.5px/1 var(--al-sans); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--al-moss); }
.al-hrs li.is-today { font-weight: 600; color: var(--al-ink); }
.al-hrs li.is-closed { color: var(--al-muted); }
.al-hrs__note { margin-top: 12px; font: 400 14.5px/1.55 var(--al-sans); color: var(--al-body); }
.al-hrs__go { width: 100%; margin-top: 14px; background: #fff; }

/* ---------- Waitlist note (rail, first) ---------- */
.al-panel--note { background: var(--al-paper); }
.al-panel--note p + p { margin-top: 6px; font: 400 14px/1.5 var(--al-sans); color: var(--al-body); }

/* ---------- Location (rail): the map sits on top ---------- */
.al-pg--practice .al-rail .al-where.has-map .al-where__addr:first-child { margin-top: 0; }
.al-pg--practice .al-where__text .al-where__fmt { margin-top: 10px; }

/* ---------- Phone bar: a long practice name truncates ---------- */
.al-pg--practice .al-pbar__price strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
