/* ============================================================
   Core block output -> editorial design.

   The point of this file: the client writes an article with the normal WordPress
   editor (paragraph, image, quote, heading) and it comes out looking like the
   hand-built articles. No custom blocks to learn, nothing bespoke to remember.

   Column widths mirror the static build exactly: body copy at 680px, figures at
   980px so wide UI screenshots stay legible.
   ============================================================ */

.art-body{width:min(680px,90vw);margin:0 auto;}

/* ---------- body copy ---------- */
.art-body p{
  font-size:clamp(16px,1.6vw,18px);
  line-height:1.75;
  opacity:.85;
  margin:0 0 26px;
}
/* The standfirst paragraph reads a size up, as in the static articles. */
.art-body > p:first-of-type{font-size:clamp(18px,1.9vw,21px);opacity:.95;}

.art-body a{color:var(--accent);border-bottom:1px solid var(--accent);}

.art-body h2,.art-body h3{
  font-weight:800;letter-spacing:-.02em;line-height:1.15;
  margin:48px 0 18px;
}
.art-body h2{font-size:clamp(22px,2.8vw,32px);}
.art-body h3{font-size:clamp(18px,2.1vw,23px);}

.art-body ul,.art-body ol{
  font-size:clamp(16px,1.6vw,18px);line-height:1.75;opacity:.85;
  margin:0 0 26px;padding-left:1.3em;
}
.art-body li{margin-bottom:8px;}

/* ---------- images ---------- */
/* Break out of the 680px body column: these are often wide UI screenshots that
   become unreadable if constrained to the text measure. */
.art-body figure.wp-block-image{
  width:min(980px,92vw);
  margin:48px calc(50% - min(490px,46vw)) 48px;
  max-width:none;
}
.art-body figure.wp-block-image img{
  width:100%;height:auto;display:block;
  border:1px solid var(--line);
  background:#fff;
}
.art-body figure.wp-block-image figcaption{
  margin-top:10px;
  font-size:11px;letter-spacing:.06em;opacity:.5;line-height:1.5;
  text-align:left;
}
/* An image the author explicitly sizes small stays in the text column. */
.art-body figure.wp-block-image.is-resized,
.art-body figure.wp-block-image.size-medium{
  width:auto;margin-left:auto;margin-right:auto;
}

/* ---------- pull quotes ---------- */
.art-body blockquote.wp-block-quote,
.art-body figure.wp-block-pullquote blockquote{
  margin:52px 0;
  padding:6px 0 6px 30px;
  border-left:3px solid var(--accent);
  border-right:0;
}
.art-body blockquote.wp-block-quote p,
.art-body figure.wp-block-pullquote p{
  font-size:clamp(21px,2.6vw,30px);
  font-weight:700;letter-spacing:-.015em;line-height:1.3;
  color:var(--accent);
  opacity:1;
  margin-bottom:0;
}
.art-body blockquote cite,
.art-body figure.wp-block-pullquote cite{
  display:block;margin-top:14px;
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  font-weight:600;font-style:normal;
  color:var(--ink);opacity:.5;
}

/* ---------- separator ---------- */
.art-body hr.wp-block-separator{
  border:0;border-top:1px solid var(--line);
  margin:44px 0;
}
