/* Generated from site/src/styles/pages/article.css by wordpress/tools/sync-theme-assets.mjs – edit the source, not this copy. */
/* ==========================================================================
   News article (pages/news/[slug].astro) – prototype/Article.dc.html
   "More news" reuses .section / .section-head / NewsCards from global.css.
   ========================================================================== */

/* Header: breadcrumb, date badge, title. */
.article__header { max-width: var(--container-outer); margin-inline: auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; }
.article__crumbs { margin-bottom: 20px; }
.article__intro { max-width: 900px; }
.article__date { margin: 0 0 16px; }
.article__title { margin: 0; font: 700 clamp(2rem, 4.2vw, 3.625rem)/1.05 var(--font); text-wrap: balance; }

/* Featured image. */
.article__figure { max-width: var(--container-outer); margin: clamp(28px, 3.5vw, 48px) auto 0; padding: 0 var(--gutter); }
.article__figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center top; display: block; background: var(--bg-soft); }

/* Body column + aside. */
.article__layout {
  max-width: var(--container-outer); margin-inline: auto; padding: clamp(32px, 4vw, 56px) var(--gutter) 0;
  display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start;
}
.article__main { flex: 2 1 480px; min-width: 0; max-width: 76ch; display: flex; flex-direction: column; gap: 22px; }

/* Post content (WordPress the_content()); first paragraph is the standfirst. */
.article__content { display: flex; flex-direction: column; gap: 22px; }
.article__content > * { margin: 0; }
.article__content p { font: 400 clamp(1.0625rem, 1.25vw, 1.1875rem)/1.65 var(--font); color: var(--text); text-wrap: pretty; }
.article__content > p:first-child { font: 700 clamp(1.1875rem, 1.5vw, 1.4375rem)/1.5 var(--font); color: var(--ink); }
.article__content a, .article__content a:hover { color: var(--red); font-weight: 700; }
/* WordPress: the full article bodies copied from the live site (29 Sep 2026)
   also have headings, lists, images and two spec tables. */
.article__content :is(h2, h3) { font: 700 clamp(1.375rem, 2vw, 1.75rem)/1.2 var(--font); color: var(--ink); }
.article__content h3 { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); }
.article__content :is(ul, ol) { padding-left: 1.25em; font: 400 clamp(1.0625rem, 1.25vw, 1.1875rem)/1.65 var(--font); color: var(--text); }
.article__content img { display: block; max-width: 100%; height: auto; }
.article__content table { display: block; overflow-x: auto; border-collapse: collapse; font: 400 var(--fs-small)/1.5 var(--font); color: var(--text); }
.article__content :is(th, td) { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article__content :is(th, td):first-child { white-space: nowrap; }
@media (max-width: 560px) { .article__content :is(th, td) { white-space: nowrap; } } /* phones: one line per row, table scrolls */
.article__content :is(th, tr:first-child td) { background: var(--bg-soft); font-weight: 700; color: var(--ink); }

/* Dashed "to be imported" note (posts without a body yet). */
.article__placeholder { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); }
.article__placeholder a, .article__placeholder a:hover { color: var(--red); }

.article__actions { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }

.article__aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.article__panel { background: var(--bg-soft); padding: clamp(20px, 2.5vw, 32px); }
.article__panel-title { margin: 0 0 14px; font: 700 var(--fs-label)/1 var(--font); letter-spacing: .08em; }

.article__share { display: flex; gap: 8px; }
.article__share-link {
  width: 46px; height: 46px; display: inline-flex; /* 44px + border, as in the prototype */ align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--ink); text-decoration: none;
  font: 700 var(--fs-label)/1 var(--font);
}
.article__share-link--email { font-size: var(--fs-small); }
.article__share-icon { width: 13px; height: 20px; fill: currentColor; }
.article__share-link:hover { border-color: var(--red); color: var(--red); }

.article__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.article__links a { display: flex; justify-content: space-between; color: var(--ink); text-decoration: none; font: 400 var(--fs-body)/1.3 var(--font); }
.article__links a:hover { color: var(--red); }
