/* 820px is a deliberate prose measure, narrower than any Bootstrap
   column at this container width, so it stays bespoke; mx-auto centres it. */
.pg-wrap { max-width: 820px; padding: var(--ta-hdr-pad) 0 0; }
.pg-crumb { font-size: 11px; color: var(--tx3); margin-bottom: var(--ta-sec-gap); }
/* Underlined at rest: the accent against the crumb's own --tx3 is 1.28:1, so
   colour alone cannot mark the link inside the sentence (SC 1.4.1). */
.pg-crumb a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pg-h1 { font-size: 30px; font-weight: 900; letter-spacing: -.8px; color: var(--tx); line-height: 1.2; }
.pg-lede { font-size: 15px; color: var(--tx2); line-height: 1.7; margin: var(--ta-sec-gap) 0 0; }
.pg-updated {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: var(--tx3); margin-top: var(--ta-sec-gap);
    padding-bottom: var(--ta-sec-gap); border-bottom: 1px solid var(--bd); width: 100%;
}

/* Symmetric so the .pg-related rule below sits the same distance from the prose
   above it as from the chips below it; the site footer supplies its own 44px. */
.pg-prose { padding: var(--ta-sec-gap) 0; }
/* The prose's own bottom padding is the section gap, so the last paragraph must
   not add its 14px on top of it — padding and margin do not collapse. */
.pg-prose > :last-child { margin-bottom: 0; }
.pg-prose h2 {
    font-size: 19px; font-weight: 800; color: var(--tx); letter-spacing: -.3px;
    margin: 34px 0 12px; padding-left: 12px; border-left: 3px solid var(--blue);
}
.pg-prose h2:first-child { margin-top: 0; }
.pg-prose h3 { font-size: 15px; font-weight: 800; color: var(--tx); margin: 24px 0 8px; }
.pg-prose p { font-size: 14.5px; color: var(--tx2); line-height: 1.8; margin-bottom: 14px; }
.pg-prose ul, .pg-prose ol { margin: 0 0 16px 20px; padding: 0; }
.pg-prose li { font-size: 14.5px; color: var(--tx2); line-height: 1.8; margin-bottom: 7px; }
/* --blue-ink because prose runs at 14.5px on --bg2 in places (3.97:1 for plain
   --blue in dark), and underlined at rest because the accent against the
   paragraph's own --tx2 is under 3:1 (SC 1.4.1). */
.pg-prose a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pg-prose strong { color: var(--tx); font-weight: 700; }
/* A scroll rail, not a squeeze. The widest of these tables is three columns of
   prose and its min-content is ~330px, so at 320px it took the whole document
   sideways. Same treatment as .session-table-wrap in pages/article.css, plus a
   tab stop: a region that only scrolls is unreachable by keyboard (SC 2.1.1). */
.pg-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.pg-table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pg-prose table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 13.5px; }
.pg-table-wrap table { margin-bottom: 0; }
.pg-prose th, .pg-prose td {
    text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bd); color: var(--tx2); vertical-align: top;
}
.pg-prose th { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--tx); background: var(--bg2); }

.pg-callout {
    background: var(--bg2); border: 1px solid var(--bd); border-left: 3px solid var(--amber);
    border-radius: var(--r); padding: 16px 18px; margin: 20px 0;
}
.pg-callout p:last-child { margin-bottom: 0; }
.pg-callout-ttl {
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
    color: var(--amber-ink); margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}

.pg-related { border-top: 1px solid var(--bd); padding: var(--ta-sec-gap) 0; }
/* An h2, not an h4: the prose above ends at h2/h3, so h4 skipped a level. */
.pg-related h2 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: var(--tx3); margin-bottom: var(--ta-sec-gap); }
.pg-related-grid a {
    font-size: 12.5px; font-weight: 600; color: var(--tx2);
    border: 1px solid var(--bd); border-radius: 20px; padding: 6px 14px; background: var(--bg);
    transition: color .15s, border-color .15s;
}
.pg-related-grid a:hover { color: var(--blue); border-color: var(--blue); }

@media (max-width: 640px) {
    .pg-h1 { font-size: 24px; }
}
