/* ARTICLE TEMPLATE WIDTHS: the one place where the width of the article page is set.
   Loaded by the public article pages (articles/_render.php) AND by the article editor in the panel (edizon/article.php),
   so the editor's "Desktop" view always follows the real page.
   To change a width: edit a number here, then raise $v in articles/_render.php and PANEL_VERSION in edizon/lib/bootstrap.php
   so browsers fetch the new file. No rebuild is needed. Set widths here only; a width typed into another rule will not reach the editor.

   Web_Update_V2 P5: the TEXT width is a PERCENTAGE of the viewport with a minimum, not a fixed number.
   --col  = max(MINIMUM, N vw): the article text. 52vw gives 666 px on a 1280 px screen, so the 42rem minimum (672 px) applies, which is exactly the width of
            the design. From about 1290 px up the column grows with the screen: 749 px at 1440, 998 px at 1920. On a screen narrower than the minimum the
            column simply shrinks to the screen.
   --wide = blocks that may be wider than the text (images, cards, video, embed set to "wider than the text"): at least the text, normally 72vw.
   --page = the frame of the header, cover text, related reads and footer (72rem, as in the design).
   The body type grows a little with the screen (see "--base" in articles.css), so the line length stays comfortable.
   If text feels too wide on a very large screen, lower the vw number of --col (45 to 50); to make it wider raise it (55 to 60).
   The article editor uses the same variables; its canvas sits inside the panel (next to the sidebar), so its text can look slightly narrower than the real page. */
:root {
  --col: max(42rem, 52vw);       /* article TEXT: 52% of the screen width, never narrower than 42rem (672 px at the default font size) */
  --wide: max(72vw, var(--col)); /* wide blocks: 72% of the screen, never narrower than the text */
  --page: 72rem;                 /* page frame: header, cover text, related reads, footer */
  --pad: 1.25rem;                   /* side gutter of the article page on small screens */
}
