/* The two Universal Reconciliation pages (theme 0.21.14; 0.21.15: the four-positions table is visually hidden): What Is Universal Reconciliation? (acg-p-ur-explainer) and
   If Hell Made Christianity Impossible (acg-p-ur-reflection), both wrapped in .acg-p-ur. Built by
   tools/library/build_ur_pages.py; pictures and structure from the coordinator's visual plan (17 Nov). Accent: gold, the
   Faith & Scripture shelf colour. Margin rules lead with .acg-reading: on the real page every group is .is-layout-flow,
   and refresh.css zeroes ".acg-reading .is-layout-flow > *" at two classes. Spacing tokens: 40 = 1.5rem, 50 = 2.5rem. */

.acg-reading .acg-p-ur > .ur-sec + .ur-sec,
.acg-reading .acg-p-ur > .ur-sec + .wp-block-image,
.acg-reading .acg-p-ur > .wp-block-image + .ur-sec{margin-top:var(--wp--preset--spacing--50)}
.acg-reading .acg-p-ur .ur-sec > h2:first-child{margin-top:0}

/* tables: the four positions and the term table. Only the term table becomes cards on phones (the plan); the four
   positions stay a real table at every width, so screen readers keep announcing it as a table (WebKit can drop the
   table role once cells are restyled as blocks). */
.acg-reading .acg-p-ur .wp-block-table{margin:var(--wp--preset--spacing--40) 0}
.acg-p-ur .wp-block-table table{border-collapse:collapse;width:100%;font-size:15.5px;line-height:1.55}
.acg-p-ur .wp-block-table th{font-family:var(--sans);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);text-align:left;border-bottom:2px solid var(--gold-d);padding:8px 12px}
.acg-p-ur .wp-block-table td{border-bottom:1px solid var(--hairline);padding:12px;vertical-align:top}
.acg-p-ur .wp-block-table td:first-child{width:34%}
@media (max-width:680px){.acg-p-ur .wp-block-table.positions table{font-size:14.5px}.acg-p-ur .wp-block-table.positions td,.acg-p-ur .wp-block-table.positions th{padding:9px 8px}}
@media (max-width:680px){
  .acg-p-ur .wp-block-table.terms thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .acg-p-ur .wp-block-table.terms table,.acg-p-ur .wp-block-table.terms tbody,.acg-p-ur .wp-block-table.terms tr,.acg-p-ur .wp-block-table.terms td{display:block;width:auto}
  .acg-p-ur .wp-block-table.terms tr{background:var(--surface);border:1px solid var(--hairline);border-left:4px solid var(--gold-d);border-radius:10px;padding:12px 14px;margin-bottom:10px}
  .acg-p-ur .wp-block-table.terms td{border:0;padding:0}
  .acg-p-ur .wp-block-table.terms td:first-child{width:auto;margin-bottom:4px}
}

/* the four positions show once: the diagram is what's seen (alt="", decorative), and the same four rows stay in the
   page as a table that is visually hidden but read by screen readers and search (coordinator, 17 Nov; the pattern of
   the essay's .address-mobile list). */
.acg-reading .acg-p-ur .wp-block-table.positions{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* the manuscript page beside the term table, kept modest */
.acg-reading .acg-p-ur .wp-block-image.manuscript{max-width:300px;margin:var(--wp--preset--spacing--40) auto}
.acg-p-ur .wp-block-image.manuscript img{border-radius:6px;border:1px solid var(--hairline)}

/* the witness row: seven portraits in the order the text names them, cropped inside the ring (the panels' frame and
   lettering never show: clip to the inner circle, then scale it back to the box). Names only. */
.acg-reading .acg-p-ur .witnesses{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 12px;margin:var(--wp--preset--spacing--40) 0}
.acg-reading .acg-p-ur .witnesses .wp-block-image{width:88px;margin:0;text-align:center}
.acg-p-ur .witnesses img{display:block;width:88px;height:88px;object-fit:cover;clip-path:circle(30% at 50% 47%);transform:scale(1.667);transform-origin:50% 47%;margin:0 auto}
.acg-p-ur .witnesses figcaption{margin:8px 0 0;font-family:var(--sans);font-size:13px;line-height:1.3;color:var(--charcoal);text-align:center}
@media (max-width:680px){
  .acg-reading .acg-p-ur .witnesses .wp-block-image{width:72px}
  .acg-p-ur .witnesses img{width:72px;height:72px}
  .acg-p-ur .witnesses figcaption{font-size:12px}
}

/* question cards (open, nothing behind a click) and the established / open panel */
.acg-reading .acg-p-ur .qcards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:var(--wp--preset--spacing--40) 0}
.acg-p-ur .qcard{background:var(--surface);border:1px solid var(--hairline);border-top:4px solid var(--gold-d);border-radius:12px;padding:18px 20px}
.acg-reading .acg-p-ur .qcard h3{font-size:18px;line-height:1.3;margin:0 0 8px}
.acg-reading .acg-p-ur .qcard p{font-size:15.5px;margin:0}
.acg-reading .acg-p-ur .settled{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;margin:var(--wp--preset--spacing--40) 0}
.acg-p-ur .settled > div{border-radius:12px;padding:18px 20px}
.acg-p-ur .settled-yes{background:var(--surface);border:1px solid var(--hairline);border-left:4px solid var(--gold-d)}
.acg-p-ur .settled-open{background:var(--paper-deep)}
.acg-reading .acg-p-ur .settled p:last-child,.acg-reading .acg-p-ur .settled ul{margin-bottom:0}
@media (max-width:680px){.acg-reading .acg-p-ur .qcards,.acg-reading .acg-p-ur .settled{grid-template-columns:1fr}}

/* the reflection: passage cards, the word panel, numbered step cards, the closing question */
.acg-reading .acg-p-ur .pcards{display:grid;gap:12px;margin:var(--wp--preset--spacing--40) 0}
.acg-p-ur .pcard{border-left:3px solid var(--gold-d);padding:4px 0 4px 18px}
.acg-reading .acg-p-ur .pcard h3{font-family:var(--serif);font-size:19px;line-height:1.3;margin:0 0 4px}
.acg-reading .acg-p-ur .pcard p{margin:0;color:var(--charcoal)}
.acg-reading .acg-p-ur .word-panel{background:var(--surface);border:1px solid var(--hairline);border-radius:12px;padding:20px 22px;margin:var(--wp--preset--spacing--40) 0}
.acg-p-ur .word-panel em{font-family:var(--serif);font-size:1.25em;color:var(--gold-d)}
.acg-reading .acg-p-ur .word-panel p{margin:0}
.acg-reading .acg-p-ur .step-cards{display:grid;gap:12px;margin:var(--wp--preset--spacing--40) 0}
.acg-p-ur .step-card{background:var(--surface);border:1px solid var(--hairline);border-radius:12px;padding:16px 20px}
.acg-reading .acg-p-ur .step-card h3{font-size:18px;line-height:1.3;margin:0 0 6px}
.acg-reading .acg-p-ur .step-card p{margin:0}
.acg-reading .acg-p-ur .wp-block-quote.closing-q{border:0;margin:var(--wp--preset--spacing--40) 0;padding:0;text-align:center}
.acg-p-ur .closing-q p{font-family:var(--serif);font-style:italic;font-size:clamp(21px,2.6vw,26px);color:var(--ink)}
.acg-reading .acg-p-ur .wp-block-image.quiet-photo img{border-radius:12px}
