/* Eng Chambers: extra styles for articles published from the dashboard (Pages CMS).
   Loaded only by pages built from build/templates/article.html, so existing pages are unaffected.
   Everything is scoped to .cms-article and reuses the colour tokens from styles.css. */

.cms-article img { display: block; max-width: 100%; height: auto; margin: 28px 0; border-radius: var(--radius); }
.cms-article figure { margin: 28px 0; }
.cms-article figure img { margin: 0; }
.cms-article figcaption { margin-top: 8px; font-size: var(--fs-14); color: var(--muted); }
.cms-article .cms-feature { margin: 0 0 28px; }

/* Plain quotes from the editor look like the existing "clause" quote boxes. */
.cms-article blockquote { margin: 24px 0; padding: 18px 22px; background: var(--white); border: 1px solid var(--stone); border-left: 3px solid var(--bronze); border-radius: 4px; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
.cms-article blockquote p { margin: 0; }
.cms-article blockquote p + p { margin-top: .6em; }

/* Tables scroll sideways on phones instead of breaking the layout. */
.cms-article .table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--stone); border-radius: 4px; background: var(--white); }
.cms-article table { width: 100%; border-collapse: collapse; font-size: var(--fs-16); }
.cms-article th, .cms-article td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stone); }
.cms-article th { background: var(--bronze-tint); font-weight: 600; }
.cms-article tr:last-child td { border-bottom: 0; }
.cms-article th p, .cms-article td p { margin: 0; }

.cms-article hr { border: 0; border-top: 1px solid var(--stone); margin: 36px 0; }

/* Shown only on password-protected draft previews (/drafts/...). */
.draft-banner { position: sticky; top: 0; z-index: 1000; padding: 10px 16px; background: var(--error); color: #fff; font: 600 var(--fs-14)/1.4 var(--font-body); text-align: center; }
