/* Clinic template (S16), shared by the six clinic pages under /our-spaces/. Find the door: address, number, the other five. */

/* Phones and tablets: one tap back to all six. */
.cl-trail { display: none; }

.cl-head .page-head__words { max-width: 760px; }

/* ---------- Visit: the street photo, then three facts. ---------- */
.cl-visit { padding-top: 0; display: flex; flex-direction: column; gap: 48px; }
.cl-visit__photo { aspect-ratio: 1264 / 560; border-radius: 16px; gap: 8px; }
.cl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: start; }
.cl-fact { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; border-top: 1px solid var(--color-foreground); }
.cl-fact__k { color: var(--color-foreground); }
.cl-fact .label-row { min-height: 18px; }
.cl-maps { align-self: flex-start; }
.cl-fact__num { align-self: flex-start; font-family: var(--font-mono); font-size: 22px; line-height: 28px; letter-spacing: 0.02em; }
.cl-hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.cl-hours__row:last-child { border-bottom: 0; }
.cl-hours dt { font-size: var(--text-secondary); line-height: 22px; }
.cl-hours dd { line-height: 22px; white-space: nowrap; }

/* ---------- Inside this clinic: room photos and the team, each with consent. ---------- */
.cl-inside { display: flex; flex-direction: column; gap: 40px; }
.cl-inside__head { max-width: 900px; }
.cl-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cl-room { display: flex; flex-direction: column; gap: 10px; }
.cl-room__photo { height: 300px; background: #FFFFFF; }
.cl-team { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.cl-team__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cl-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: #FFFFFF; border-radius: 12px; }
.cl-card__photo { width: 72px; height: 88px; flex-shrink: 0; border: 1px dashed #BDBDBD; border-radius: 8px; }
.cl-card__words { display: flex; flex-direction: column; gap: 2px; }
.cl-card__name { font-weight: 700; line-height: 24px; color: var(--color-muted-foreground); }

/* ---------- The other five. ---------- */
.cl-other { display: flex; gap: 64px; padding-top: 72px; padding-bottom: 72px; }
/* With the inside section held back (the live site for now), the list follows the facts directly. */
.cl-visit + .cl-other, html.is-ship .cl-other { padding-top: 0; }
.cl-other__k { width: 300px; flex-shrink: 0; color: var(--color-foreground); }
.cl-other__list { flex: 1; min-width: 0; }
.cl-other__list li { border-top: 1px solid var(--color-border); }
.cl-other__list li:first-child { border-top-color: var(--color-foreground); }
.cl-other__list li:last-child { border-bottom: 1px solid var(--color-border); }
.cl-other__link { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.cl-other__name { text-decoration: underline 1px; text-underline-position: from-font; }
.cl-other__link .t-label { line-height: 27px; text-align: right; }
@media (hover: hover) and (pointer: fine) {
  .cl-other__link:hover .cl-other__name { text-decoration-thickness: 2px; }
}

/* 768 to 1023: facts two across; rooms and cards two, then one full width. */
@media (max-width: 1023px) {
  .cl-trail { display: flex; align-items: center; height: 44px; padding: 0 var(--gutter); border-bottom: 1px solid var(--color-border); }
  .cl-trail a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--text-secondary); line-height: 18px; }
  .cl-trail svg { width: 8px; height: 12px; }
  .cl-visit { gap: 32px; }
  .cl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .cl-inside { gap: 32px; }
  .cl-rooms, .cl-team__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cl-rooms > :last-child, .cl-team__cards > :last-child { grid-column: 1 / -1; }
  .cl-other { flex-direction: column; gap: 16px; padding-top: 56px; padding-bottom: 64px; }
  .cl-other__k { width: auto; }
}

/* Below 768: one column, Maps full width at 44. */
@media (max-width: 767px) {
  .cl-visit { gap: 32px; }
  .cl-visit__photo { aspect-ratio: 4 / 3; border-radius: 12px; padding: 16px; }
  .cl-facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cl-fact { gap: 10px; }
  .cl-maps { align-self: stretch; height: 44px; }
  .cl-room__photo { height: auto; aspect-ratio: 4 / 5; }
  .cl-rooms > :last-child .cl-room__photo { aspect-ratio: 16 / 9; }
  .cl-team__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cl-team .label-row { flex-wrap: wrap; gap: 8px 16px; }
  .cl-other { gap: 10px; padding-top: 40px; padding-bottom: 48px; }
  .cl-other__link { align-items: center; min-height: 48px; padding: 10px 0; }
  .cl-other__link .t-label { line-height: 18px; }
}
