/* =================================================================== GUIDE ARTICLE (client, 2026-12-03)
   The three guides (what-is-an-ai-application, prototype-to-production, ai-governance) read as one article:
   hero + facts as before, then a sticky "On this page" list on the left and one reading column on the right,
   each part of the guide separated by a hairline. FAQ and outro as before.
   Black scene (client, round 2). Section h2s in the column use --f45 (an article heading, kept as h2). The part that used to be the orange band
   (.gd-art__sec--note) gets an orange rule on top instead. No boxes, no numbering.
   Previous version: _backup/guides-pre-article/ =================================================================== */
.gd-art { padding-block: var(--secPadInner); }
/* client, 2026-12-03 round 6: the reading column is 900px and sits in the centre of the page; the contents list
   stays at the left edge in the first (equal) side column. Below 1600 there is no room for the list beside a
   centred 900px column, so there the column sits right after the list (still 900px at most). The worked steps
   stay stacked title-over-text so the column reads as an article. */
.gd-art { --gd-measure: 900px; }
.gd-art__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--gd-measure)) minmax(0, 1fr);
    align-items: start;
    column-gap: var(--sp45);
}
.gd-art__grid > .gd-toc { grid-column: 1; max-width: 300px; }
/* client, 2026-12-03 round 7: the contents list sits a little further left (half the page gutter) and its links
   are 14px (--f14: 15 was too big, 12 too small) */
.gd-art__grid > .gd-toc { margin-left: calc(var(--gutter) * -.5); }
.gd-art__grid > .gd-art__body { grid-column: 2; }
@media (max-width: 1599.98px) {
    .gd-art__grid { grid-template-columns: minmax(220px, 280px) minmax(0, var(--gd-measure)); column-gap: var(--sp75); }
    .gd-art__grid > .gd-toc { max-width: none; }
}

/* ---- contents (client, 2026-12-03, round 2): a thin rail that fills orange as the guide is read; the part being
   read is white, the rest soft grey. No markers, no numbers. */
.gd-toc { position: sticky; top: calc(var(--cvw) * 8); display: flex; flex-direction: column; gap: var(--sp20); }
.gd-toc__k { font-size: var(--f15); font-weight: 600; line-height: var(--lhUi); color: var(--white); }
.gd-toc__list {
    --p: 0;
    position: relative; display: flex; flex-direction: column; gap: var(--sp4);
    margin: 0; padding: 0 0 0 var(--sp20); list-style: none;
    border-left: 1px solid var(--white-20);
    &::before {
        position: absolute; left: -1px; top: 0; width: 2px; height: calc(var(--p) * 100%);
        background: var(--orange); transition: height .2s linear; content: "";
    }
}
.gd-toc__a {
    display: block; padding: var(--sp8) 0;
    font-size: var(--f14); line-height: var(--lhUi); color: var(--light-grey); text-decoration: none;
    transition: color .3s ease;
    &:is(:hover, :focus-visible) { color: var(--white); }
    &[aria-current="true"] { color: var(--white); font-weight: 600; }
}

/* ---- the reading column */
.gd-art__body { min-width: 0; }
.gd-art__sec { scroll-margin-top: calc(var(--cvw) * 8); }
.gd-art__sec + .gd-art__sec {
    margin-top: var(--sp90); padding-top: var(--sp75);
    border-top: 1px solid var(--white-20);
}
.gd-art__sec--note.gd-art__sec { border-top: 2px solid var(--orange); }
:where(.gd-art__sec) > * + * { margin-top: var(--sp30); }

main.inner .gd-art .gd-art__body h2.gd-art__h {
    max-width: none;
    font-size: var(--f45); font-weight: 700; line-height: var(--lhTight); letter-spacing: var(--ls-h1);
}
.gd-art__lede { max-width: none; font-size: var(--f20); line-height: var(--lhLead); color: var(--white-75); }

/* components from guides.css / inner.css, fitted to one column */
.gd-art .pg-split, .gd-art .vx-split { grid-template-columns: minmax(0, 1fr); gap: var(--sp25); }
/* inside the article measure every block fills the column */
.gd-art :is(.pg-prose, .pg-note, .gd-list, .gd-steps--plain, .gd-answer, .pg-statement) { max-width: none; }
/* the highlighted table column stays visible on black */
.gd-art .gd-table-wide.gd-focus4 :is(thead th:nth-child(4), tbody td:nth-child(4)) { background: var(--grey); color: var(--white); }
.gd-art .pg-statement { font-size: var(--f40); }
.gd-art .gd-answer { font-size: var(--f35); }
.gd-art .gd-item { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.gd-art .pg-cols .pg-cols__t { font-size: var(--f35); }

/* list lead-ins as titles, the lists under them at normal text size (client, 2026-12-03) */
.gd-art .pg-label {
    display: flex; align-items: center; gap: var(--sp12);
    font-family: var(--font-display); font-size: var(--f30); font-weight: 700; line-height: var(--lhSnug); letter-spacing: var(--ls-h3);
    color: var(--white);
    &.pg-label--dot::before { flex: 0 0 auto; width: 10px; height: 10px; }
}
.gd-art .gd-list > li {
    grid-template-columns: 7px minmax(0, 1fr); gap: var(--sp15);
    padding-block: var(--sp15);
    font-size: var(--f20); font-weight: 400; line-height: var(--lhLead); letter-spacing: 0; color: var(--white-75);
}
.gd-art .gd-list > li::before { margin-top: .7em; }
.gd-art .gd-steps--plain .gd-steps__d { font-size: var(--f20); line-height: var(--lhLead); color: var(--white-75); }
.gd-art .gd-steps--plain > li { gap: var(--sp15); padding-block: var(--sp15); }
/* in the article measure the worked steps read title over text */
.gd-art .gd-steps:not(.gd-steps--plain) > li { grid-template-columns: minmax(0, 1fr); gap: var(--sp12); padding-block: var(--sp30); }
.gd-art .gd-steps:not(.gd-steps--plain) .gd-steps__d { font-size: var(--f18); }

@media (max-width: 1199.98px) {
    .gd-art__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp75); }
    .gd-art__grid > .gd-toc, .gd-art__grid > .gd-art__body { grid-column: auto; }
    .gd-art__grid > .gd-toc { margin-left: 0; }
    .gd-toc { position: static; }
    .gd-toc__list::before { display: none; }
    .gd-art .gd-item { grid-template-columns: minmax(0, 1fr); gap: var(--sp15); }
}
@media (max-width: 767.98px) {
    .gd-art__sec + .gd-art__sec { margin-top: 12vw; padding-top: 10vw; }
    .gd-art .pg-cols { grid-template-columns: minmax(0, 1fr); }
    .gd-art .gd-list > li { padding-block: var(--sp12); font-size: var(--f17); }
}
