/* Single article, Actualités and Blog (single.php), owner's change list of 26 Nov 2026, item 10: a balanced reading
   layout in the site's own fonts and colours. One centred axis: the head (trail, date, title and the featured image)
   at most 1080 px wide, the text in a centred column of about 68 characters. The featured image keeps its own
   proportions: a portrait or square one (most press images, 2:3 with the outlet's name at the top) sits beside the
   title from 900 px and under it on a phone, its top always shown; a landscape one runs under the title at 3:2. An
   article without an image keeps the head as narrow as the text. Links to other sites carry the « external » icon
   (inc/content.php gp_article_external_links()). */

.gp-article { --art-read: 44rem; --art-wide: 1080px; }

/* Head */
.gp-article__head { max-width: calc(var(--art-wide) + 2 * var(--gutter)); }
.gp-article--text .gp-article__head { max-width: calc(var(--art-read) + 2 * var(--gutter)); }
.gp-article__intro { min-width: 0; }
.gp-article__intro .gp-eyebrow { margin-bottom: .8rem; }
.gp-article .gp-article__title { max-width: 22ch; margin: 0; font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3.4rem); line-height: 1.06; text-wrap: balance; }
.gp-article__top { padding-bottom: clamp(28px, 4vw, 56px); }

/* Featured image: never stretched, never cut into a strip */
.gp-article .gp-article__media { margin: clamp(22px, 3vw, 36px) 0 0; }
.gp-article .gp-article__media img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 0; border-radius: var(--radius); background: var(--bg-2); box-shadow: 0 1px 0 var(--line); }
.gp-article--tall .gp-article__media img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
	.gp-article--tall .gp-article__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); align-items: center; gap: clamp(32px, 4.5vw, 72px); }
	.gp-article--tall .gp-article__media { margin: 0; }
	.gp-article--tall .gp-article__title { max-width: none; }
	.gp-article--tall .gp-article__media img { aspect-ratio: 2 / 3; }
}

/* Text column */
.gp-article .gp-wrap.gp-article__body { max-width: calc(var(--art-read) + 2 * var(--gutter)); margin-inline: auto; padding-top: clamp(30px, 4.5vw, 64px); font-size: clamp(1.03rem, .98rem + .25vw, 1.14rem); line-height: 1.72; }
.gp-article__body > p:first-child { font-size: 1.12em; line-height: 1.6; color: var(--paper-ink); }
.gp-article__body p, .gp-article__body li { text-wrap: pretty; }
.gp-article__body > * + * { margin-top: 1.15em; }
.gp-article__body h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem); margin: 1.9em 0 .6em; text-wrap: balance; }
.gp-article__body h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.45rem); margin: 1.7em 0 .5em; text-wrap: balance; }
.gp-article__body :is(h2, h3) + * { margin-top: 0; }
.gp-article__body a:not(.wp-block-button__link) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gp-article__body a:not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }
.gp-article__body .wp-block-image { margin-block: 1.8em; }
.gp-article__body .wp-block-image img { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; }
.gp-article__body figcaption { margin-top: .6em; font-size: .86em; color: var(--paper-muted); }
.gp-article__body blockquote { font-size: 1.08em; }
.gp-article__body .wp-block-buttons { margin-top: 2em; padding-top: 1.6em; border-top: 1px solid var(--line); }

/* Links to other sites: the icon after the text */
.gp-article__body a[data-gp-ext] .gp-i { display: inline-block; width: 1em; height: 1em; margin-left: .25em; vertical-align: -.12em; }
.gp-article__body .wp-block-button__link[data-gp-ext] .gp-i { margin-left: 0; width: 1.05em; height: 1.05em; vertical-align: 0; }
