/* Smile4U v8 · information template (V8-TEMPLATES-BRIEF builder B; markup _tools/pages/info.py). Every information
   page uses this file (/angst-sedierung/ now; /kassen-kosten/, /erster-termin/, /akuttermin/, /befunde-anfordern/
   next): selectors name section kinds (.in-*), not pages. The quietest template: paper and mist only, no night, no
   3D, no page JS; the shared sections (css/pages.css) are placed here, never restyled. Tokens only. */

/* ---- page head: phones get their own 4:5 file (info-angst-foto-13-p, face and brochure), so it fills the frame
   whole; ≥ 810 the band file (2.7 : 1) is framed around his face (x ≈ .52 of the source) ---- */
.page-info .pgh-frame picture { display: block; width: 100%; height: 100%; }
.page-info .pgh-img { object-position: 50% 50%; }
@media (min-width: 810px) { .page-info .pgh-img { object-position: 52% 50%; } }

/* ---- inline links set on unchanged copy (the practice's phone inside a line) ---- */
.page-info .in-tel { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; white-space: nowrap; }
.page-info .in-tel:hover { color: var(--ink); }

/* ---- ledger: the paragraphs at reading measure ---- */
.page-info .in-ledger .sk-body p { max-width: 34em; }

/* ---- rows: H2 and list share cols 1–7; the steps read as one column, the right half stays open (calm, no aside) ---- */
.page-info .in-rows { padding-top: 0; }                         /* the ledger above closes with its own 180 */
@media (min-width: 810px) {
  .page-info .in-rows .sk-h2 { grid-column: 1 / 8; }
  .page-info .in-rows .sk-list { grid-column: 4 / 11; }         /* stepped in under the H2: the list is read, not scanned */
}

/* ---- readout: the section's paragraph is its lead (CP order: paragraph, then the rows), so ≥ 810 it reads first in
   cols 1–5 under the H2 and the card sits beside it in cols 7–12; phones: H2, card, paragraph as the DOM gives them ---- */
.page-info .in-readout .sk-body { align-content: start; }
.page-info .in-readout .sk-body p { max-width: 30em; }
@media (min-width: 810px) {
  .page-info .in-readout .sk-body { grid-column: 1 / 6; grid-row: 2; margin-top: 32px; }
  .page-info .in-readout .sk-ro-wrap { grid-column: 7 / 13; grid-row: 2; }
}

/* ---- statement: the first sentence at --fs-band over cols 1–9, the rest offset ---- */
.page-info .in-statement .sk-first { max-width: 18em; }

/* ---- Termin band with the page CTA: the H3's longest word fits the band down to 320 px (info.py checks ≤ 7.2 em) ---- */
.page-info .tm-h { font-size: min(var(--fs-band), calc((100vw - 2 * var(--band-inset) - 2 * var(--side)) / 7.2)); }
.page-info .tm-p a { white-space: nowrap; color: inherit;text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* ---- related: the run under the FAQ, set tight to the band that follows ---- */
.page-info .in-related { padding-block: 0 120px; }
@media (max-width: 809.98px) { .page-info .in-related { padding-bottom: 64px; } }

/* =====================================================================================================================
   Ported pages (/kassen-kosten/, /erster-termin/, /akuttermin/, /befunde-anfordern/). Same rules: tokens only, shared
   sections placed here, never restyled. Paper sections that follow each other close up (the first one's 180 is the gap).
   ===================================================================================================================== */
.page-info :is(.in-ledger:not(.in-ledger--mist), .in-rows:not(.in-rows--mist), .in-statement, .in-list, .in-pair, .in-hours)
  + :is(.in-ledger:not(.in-ledger--mist), .in-statement, .in-list, .in-pair, .in-hours) { padding-top: 0; }

/* ---- links set on unchanged copy: a word that leads to its page; arrow links for the CP link lines ---- */
.page-info .in-lk { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.page-info .in-lk:hover { color: var(--ink); }
.page-info .in-go { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--blue-deep); text-decoration: none; }
.page-info .in-go:hover > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.page-info .in-go-a { display: inline-flex; flex: none; }
.page-info .in-go-a svg { width: 20px; height: 20px; transition: transform .45s var(--spring-enter); }
@media (hover: hover) { .page-info .in-go:hover .in-go-a svg { transform: translateX(4px); } }

/* ---- grounds: the ledger and the steps can sit on mist when a paper section would be their neighbour ---- */
.page-info .in-ledger--mist { background: var(--mist); }
.page-info .in-rows--mist { background: var(--mist); padding-top: var(--sec-pad); }
/* the steps with a paragraph and the mail button after them (/befunde-anfordern/): under the list, same columns */
@media (min-width: 810px) { .page-info .in-rows--act .sk-aside { grid-column: 4 / 11; margin-top: 32px; } }
.page-info .in-rows--act .sk-aside { display: grid; gap: 24px; justify-items: start; }
.page-info .in-rows--act .sk-aside p { max-width: 34em; }

/* ---- statement with its question: the H2 small above the answer ---- */
.page-info .in-st-h { grid-column: 1 / -1; margin-bottom: 24px; font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: var(--ls-h5); font-weight: var(--fw-statement); color: var(--ink-64); }

/* ---- list: single lines as mist bars 4 px apart (the house's ruled list, no hairlines) ---- */
.page-info .in-list-ul { grid-column: 1 / -1; margin-top: 32px; display: grid; gap: 4px; align-content: start; }
.page-info .in-list-ul li { padding: 16px 24px; border-radius: var(--r-md); background: var(--mist); font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: var(--ls-h5); }
@media (min-width: 810px) {
  .page-info .in-list .sk-h2 { grid-column: 1 / 6; }
  .page-info .in-list-ul { grid-column: 7 / 13; margin-top: 0; }
}

/* ---- pair: two one-paragraph sections side by side, each under a 1 px rule ---- */
.page-info .in-pair-c { grid-column: 1 / -1; min-width: 0; display: grid; gap: 24px; align-content: start; padding-top: 32px; border-top: 1px solid var(--ink-64); scroll-margin-top: calc(var(--nav-bottom) + 16px); }
.page-info .in-pair-c + .in-pair-c { margin-top: 32px; }
.page-info .in-pair-c .t-body { max-width: 30em; }
@media (min-width: 810px) {
  .page-info .in-pair-c { grid-column: span 6; }
  .page-info .in-pair-c + .in-pair-c { margin-top: 0; }
}

/* ---- head actions (/akuttermin/): the call button first, under it the Öffnungszeiten line with the live status ---- */
.page-info .in-act { display: grid; gap: 24px; justify-items: start; margin-top: 32px; scroll-margin-top: calc(var(--nav-bottom) + 16px); }
.page-info .in-hrs { display: grid; gap: 2px; min-height: 44px; align-content: center; color: var(--ink); text-decoration: none; }
.page-info .in-hrs-l { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-statement); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.page-info .in-hrs-s { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-75); }
.page-info .in-hrs-s:empty { display: none; }
.page-info .in-hrs:hover .in-hrs-l { text-decoration-thickness: 2px; }
@media (max-width: 809.98px) { .page-info .in-call { width: 100%; justify-content: space-between; } }

/* ---- hours: H2 and its line cols 1–5, the week cols 6–12 at the size of the job (block 12's ledger, today marked) ---- */
.page-info .in-hours-head { grid-column: 1 / -1; min-width: 0; display: grid; gap: 24px; align-content: start; }
.page-info .in-hours-p { display: grid; gap: 16px; max-width: 24em; }
.page-info .in-hours-body { grid-column: 1 / -1; min-width: 0; margin-top: 32px; }
.page-info .in-days { width: 100%; border-collapse: collapse; font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); color: var(--ink); }
.page-info .in-days th, .page-info .in-days td { padding: 4px 0; text-align: left; vertical-align: top; font-weight: var(--fw-display); }
.page-info .in-days th { position: relative; padding-left: 20px; padding-right: 32px; }
.page-info .in-days td { font-weight: var(--fw-statement); }
.page-info .in-days tr[aria-current] th::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 1px; background: var(--lime); }
@media (min-width: 810px) { .page-info .in-days { width: auto; } .page-info .in-days td { white-space: nowrap; } }
@media (min-width: 1200px) {
  .page-info .in-hours-head { grid-column: 1 / 6; }
  .page-info .in-hours-body { grid-column: 6 / -1; margin-top: 0; }
  .page-info .in-days { width: 100%; }
  .page-info .in-days th { white-space: nowrap; }
}
@media (max-width: 809.98px) {
  .page-info .in-days { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .page-info .in-days th { padding-left: 16px; padding-right: 16px; }
  .page-info .in-days tr[aria-current] th::before { top: 8px; bottom: 8px; }
}

/* ---- head index (five entries on /kassen-kosten/): sized for long labels; the numeral never breaks ("0 / 2") ---- */
.page-info .pgh-index .pgh-lab { font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: var(--ls-h5); }
.page-info .pgh-index a { padding: 8px 0; }
.page-info .pgh-num { flex: none; }
