/* Actualités: the index and the articles, generated by scripts/actualites/build.mjs.
   Loads after site.v20261125.css and only uses its tokens: Host Grotesk, ink, logo teal, copper labels, teal field. */

.news { overflow-wrap: break-word; }
.news-wrap { width: min(100%, 1180px); margin-inline: auto; padding-inline: var(--margin); }
:where(.news) :where(h1, h2, h3, p, figure) { margin: 0; } /* :where keeps it below every class rule, site.css ones included */

/* breadcrumb and meta line */
.news-crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.875rem; color: var(--muted); }
.news-crumbs li + li::before { content: "›"; margin-right: 10px; }
.news-crumbs a { color: inherit; text-decoration: none; }
.news-crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--fs-small); color: var(--muted); }
.news-tag { font-weight: 600; color: var(--copper); }
.news-tag::after { content: "·"; margin-left: 10px; color: var(--muted); font-weight: 400; }

/* ---------- index ---------- */
.news-head { padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.news-head .display { font-size: var(--fs-display); }
.news-index { padding-bottom: clamp(64px, 8vw, 112px); }
.news-empty { padding: 48px 0; color: var(--ink-2); font-size: var(--fs-lead); }

/* covers: illustrations on white, set on the faint teal field so they read as one family */
.news-feature__art, .news-card__art, .news-cover {
  overflow: hidden; border-radius: 10px; background: var(--paper-2);
}
:is(.news-feature__art, .news-card__art, .news-cover) img {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  transition: transform 600ms var(--ease-out);
}

.news-feature { border-top: 1px solid rgba(17, 28, 38, 0.12); padding-top: clamp(28px, 3.5vw, 48px); }
.news-feature > a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 4.5vw, 72px); color: inherit; text-decoration: none; }
.news-feature.text-only > a { grid-template-columns: minmax(0, 46rem); }
.news-feature__art { aspect-ratio: 3 / 2; }
.news-feature__title { margin-top: 16px; font: 600 var(--fs-title)/1.08 var(--font); letter-spacing: -0.03em; text-wrap: balance; transition: color 180ms ease; }
.news-feature__summary { margin-top: 18px; font-size: var(--fs-lead); color: var(--ink-2); }
.news-feature .link { display: inline-block; margin-top: 24px; }

.news-section-title { margin: clamp(64px, 8vw, 104px) 0 clamp(24px, 3vw, 36px); padding-top: 24px; border-top: 1px solid rgba(17, 28, 38, 0.12); font: 600 var(--fs-sub)/1.12 var(--font); letter-spacing: -0.02em; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 36px); }
.news-card > a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.news-card__art { aspect-ratio: 3 / 2; margin-bottom: 6px; }
.news-card__title { font: 600 var(--fs-lead)/1.25 var(--font); letter-spacing: -0.015em; text-wrap: balance; transition: color 180ms ease; }
.news-card__summary { color: var(--ink-2); font-size: var(--fs-small); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }

@media (hover: hover) and (pointer: fine) {
  :is(.news-feature, .news-card) > a:hover img { transform: scale(1.025); }
  .news-feature > a:hover .news-feature__title, .news-card > a:hover .news-card__title { color: var(--teal-ink); }
  .news-feature > a:hover .link { color: var(--teal-ink); text-decoration-color: currentColor; }
}
@media (prefers-reduced-motion: reduce) { :is(.news-feature__art, .news-card__art, .news-cover) img { transition: none; } }

/* ---------- article ---------- */
.news-article { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.news-article__head { max-width: calc(44rem + 2 * var(--margin)); }
.news-article__title { margin-top: 14px; font: 600 var(--fs-section)/1.04 var(--font); letter-spacing: -0.035em; text-wrap: balance; }
.news-standfirst { margin-top: 22px; font: 400 clamp(1.1875rem, 1rem + 0.6vw, 1.4375rem)/1.45 var(--font); color: var(--ink-2); text-wrap: pretty; }
.news-article__figure { max-width: calc(58rem + 2 * var(--margin)); margin-top: clamp(32px, 4vw, 56px); }
.news-cover { aspect-ratio: 3 / 2; }

.news-body { width: min(100%, calc(44rem + 2 * var(--margin))); margin: clamp(36px, 4.5vw, 64px) auto 0; padding-inline: var(--margin); font-size: 1.125rem; line-height: 1.72; }
.news-body > * + * { margin-top: 1.1em; }
.news-body h2 { margin-top: 2em; font: 600 var(--fs-sub)/1.15 var(--font); letter-spacing: -0.02em; text-wrap: balance; }
.news-body h3 { margin-top: 1.8em; font: 600 var(--fs-lead)/1.3 var(--font); letter-spacing: -0.01em; }
.news-body :is(h2, h3) + * { margin-top: 0.6em; }
.news-body > :first-child { margin-top: 0; }
.news-body a { color: var(--teal-ink); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.news-body a:hover { color: var(--teal-press); }
.news-body strong { font-weight: 650; }
.news-body :is(ul, ol) { padding-left: 1.4em; }
.news-body li + li { margin-top: 0.4em; }
.news-body ul { list-style: none; padding-left: 22px; }
.news-body ul > li { position: relative; }
.news-body ul > li::before { content: ""; position: absolute; left: -22px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.news-body ol > li::marker { color: var(--teal-ink); font-weight: 700; }
.news-body blockquote { margin-inline: 0; padding: 22px 26px; border-radius: 10px; background: var(--paper-2); font-size: var(--fs-lead); color: var(--ink); }
.news-body blockquote > * + * { margin-top: 0.8em; }
.news-body img { width: 100%; height: auto; border-radius: 10px; background: var(--paper-2); }
.news-body hr { margin-block: 2.2em; border: 0; border-top: 1px solid rgba(17, 28, 38, 0.12); }
.news-body code { padding: 0.1em 0.35em; border-radius: 4px; background: var(--paper-2); font-size: 0.92em; }
.news-body table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); display: block; overflow-x: auto; }
.news-body :is(th, td) { padding: 10px 12px; border-bottom: 1px solid rgba(17, 28, 38, 0.12); text-align: left; vertical-align: top; }
.news-body th { font-weight: 600; }

.news-back { width: min(100%, calc(44rem + 2 * var(--margin))); margin: clamp(40px, 5vw, 64px) auto 0; padding: 24px var(--margin) 0; }
.news-back .link { position: relative; }
.news-back::before { content: ""; display: block; margin-bottom: 24px; border-top: 1px solid rgba(17, 28, 38, 0.12); }

.news-more { padding-bottom: clamp(64px, 8vw, 104px); }
.news-more .news-section-title { margin-top: 0; }

/* ---------- closing invitation, on the teal field like the other pages' contact block ---------- */
.news-cta { padding-block: clamp(56px, 7vw, 96px); background: var(--paper-2); }
.news-cta .lead { color: var(--ink-2); }

@media (max-width: 1023px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-article__title { font-size: 2.25rem; }
  .news-body { font-size: 1.0625rem; }
}
@media (max-width: 719px) {
  .news-feature > a { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news-card > a { grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 6px; align-items: start; }
  .news-card__art { grid-row: 1 / 4; margin: 0; aspect-ratio: 1; }
  .news-card__art img { object-fit: cover; }
  .news-card.text-only > a { grid-template-columns: minmax(0, 1fr); }
  .news-card__summary { -webkit-line-clamp: 2; line-clamp: 2; }
  .news-article__title { font-size: 2rem; }
}

/* an article without a cover keeps its place in the grid with a teal rule instead of a picture */
.news-card.text-only > a { padding-top: 20px; border-top: 2px solid var(--teal); }
