/* Article page (/en/news/{slug}): a readable column in the site's identity. Rendered by the Worker. */

.article-page { background: var(--bg); color: var(--fg); min-height: 100vh; display: flex; flex-direction: column; }

/* one column for bar, article and footer (auto margins in a flex column would shrink them) */
.art-bar, .art, .art-foot { width: 100%; max-width: calc(46rem + 2 * var(--gut)); }

.art-bar { display: flex; align-items: center; padding-block: 20px; }
.art-logo { display: inline-flex; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }
.art-logo img { width: 97px; height: auto; }

.art { flex: 1; padding-block: clamp(24px, 5vw, 64px) var(--sec); }

.art-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); font-size: var(--fs-small); font-weight: 500; }
.art-nav a { color: var(--accent-text); text-underline-offset: 4px; }
.art-nav a:hover { color: var(--accent-hover); }
.art-back::before { content: "\2190\00a0"; }
.art-lang { padding: 4px 10px; border: 1px solid var(--rule-strong); border-radius: 999px; text-decoration: none; }

.art-meta { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.art h1 { margin: 14px 0 0; font-size: var(--fs-h3); line-height: 1.08; text-wrap: balance; }

.art-cover { margin: clamp(28px, 4vw, 44px) 0 0; }
.art-cover img, .art-body figure img { display: block; width: 100%; height: auto; border-radius: 4px; }

.art-body { margin-top: clamp(28px, 4vw, 44px); font-size: var(--fs-body); line-height: 1.7; }
.art-body > * + * { margin-top: 1.1em; }
.art-body h2, .art-body h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin-top: 1.6em; }
.art-body h2 { font-size: var(--fs-h4); }
.art-body h3 { font-size: 1.1rem; }
.art-body ul, .art-body ol { padding-left: 1.3em; }
.art-body li + li { margin-top: .4em; }
.art-body a { color: var(--accent-text); text-underline-offset: 3px; }
.art-body figure { margin-inline: 0; }

.art-src { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--rule); font-size: var(--fs-small); }
.art-src a { color: var(--accent-text); }

.art-foot { padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); font-size: .84rem; color: var(--fg-muted); }
