/* ============================================================
   Article and legal pages — pieces the editor can produce that
   the static design did not have (sub-headings, plain lists,
   captions, quotes, tables, videos) plus spacing between blocks
   placed in any order. The design's own spacing pairs are left
   untouched, so the original article looks exactly as before.
   Whole numbers only, no coordinate positioning.
   ============================================================ */

/* spacing between blocks (the design's own pairs — after an H2, after a check list — keep their values) */
.ar__body > :not(.ar__h2):not(.checks):not(.ar__h3) + .ar__text,
.ar__sec > :not(.ar__h2):not(.checks):not(.ar__h3) + .ar__text,
.ar__body > :not(.ar__h2) + .afaq,
.ar__sec > :not(.ar__h2) + .afaq{margin-top:32px}
.ar__h3,.ar__raw{margin-top:32px}
.ar__list{margin-top:24px}
.ar__body > :first-child{margin-top:0}
.ar__h3 + *{margin-top:14px}
.ar__text a,.ar__list a,.note a,.aq a{color:var(--blue);text-decoration:underline}
.ar__text strong,.ar__text b{color:var(--ink)}

/* sub-heading (H3) */
.ar__h3{font-size:22px;line-height:32px;font-weight:700;letter-spacing:calc(-1em / 25);color:var(--ink)}

/* plain lists */
.ar__list{display:flex;flex-direction:column;gap:10px;padding-left:22px}
ul.ar__list{list-style:disc}
ol.ar__list{list-style:decimal}
.ar__list li::marker{color:var(--blue)}

/* picture caption */
.ar__fig figcaption{padding:12px 20px;background:#fff;border-top:1px solid #e3e8f5;font-size:14px;line-height:22px;color:var(--text-soft)}
.checks li > :where(strong, b){color:var(--ink)}

/* anything else from the editor */
.ar__raw blockquote{padding:4px 0 4px 24px;border-left:3px solid var(--blue);font-size:20px;line-height:32px;color:var(--ink)}
.ar__raw blockquote cite{display:block;margin-top:12px;font-size:14px;line-height:22px;font-style:normal;color:var(--text-soft)}
.ar__raw table{width:100%;border-collapse:collapse;font-size:15px;line-height:24px}
.ar__raw th,.ar__raw td{padding:10px 14px;border:1px solid #e3e8f5;text-align:left;vertical-align:top}
.ar__raw th{background:#f6f8fd;color:var(--ink)}
.ar__raw iframe{display:block;width:100%;height:auto;aspect-ratio:16 / 9;border:0;border-radius:24px}
.ar__raw hr{height:1px;border:0;background:#e3e8f5}
.ar__raw img{max-width:100%;height:auto}

/* legal pages */
.lg-list{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-left:22px}
ul.lg-list{list-style:disc}
ol.lg-list{list-style:decimal}
.lg-intro > :first-child{margin-top:0}
.lg-intro .lg-card{background:#fff}

/* the WordPress toolbar for a logged-in admin sits above the page */
.admin-bar .toc__inner,.admin-bar .lg-toc__inner{top:56px}
.lg-updated a{color:var(--blue);text-decoration:underline}
