/* Articles d'actualité (chargé uniquement par les pages d'article) */
.article-titre { max-width: 18ch; }
.article-chapo { color: var(--encre); font-weight: 700; line-height: 1.55; }
.article-section { padding-top: 0; }
.article-mise { display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 46em); justify-content: start; gap: 0 clamp(28px, 4vw, 56px); align-items: start;
  background: linear-gradient(var(--encre), var(--encre)) no-repeat; background-size: 100% 2px; background-origin: content-box; }
.article-mise > * { margin-top: clamp(32px, 4vw, 48px); }
.article-corps { grid-column: 2; min-width: 0; }
.article-sommaire { grid-column: 1; position: sticky; top: 112px; font-size: 0.9375rem; }
.article-sommaire p { font-family: var(--titre); font-weight: 700; color: var(--encre-2); margin-bottom: 10px; }
.article-sommaire ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--trait); }
.article-sommaire a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--encre-2); text-decoration: none; line-height: 1.35; }
.article-sommaire a:hover { color: var(--marine); border-left-color: var(--orange); }
@media (max-width: 1180px) {
  .article-mise { grid-template-columns: minmax(0, 46em); justify-content: start; }
  .article-corps, .article-sommaire { grid-column: 1; }
  .article-sommaire { position: static; margin-bottom: 32px; padding: 18px 22px; background: var(--brume); border-radius: 8px; }
  .article-sommaire ol { border-left: 0; }
  .article-sommaire a { padding-left: 0; border-left: 0; }
}

.article-corps > * + * { margin-top: 18px; }
.article-corps h2 { font-size: clamp(1.625rem, 2.6vw, 2.0625rem); margin-top: clamp(44px, 5vw, 60px); scroll-margin-top: 104px; }
.article-corps > h2:first-child { margin-top: 0; }
.article-corps h3 { font-size: 1.375rem; }
.article-corps ul { margin-bottom: 0; padding-left: 1.25em; }
.article-corps li + li { margin-top: 10px; }
.article-corps li::marker { color: var(--orange); }
.article-corps a:not(.bouton):not(.lien-fort) { text-underline-offset: 3px; }

/* Tableaux : cadre à défilement horizontal sur petit écran */
.tableau-cadre { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--trait); border-radius: 8px; background: var(--blanc);
  background-image: linear-gradient(to right, var(--blanc), var(--blanc)), linear-gradient(to right, var(--blanc), var(--blanc)),
    linear-gradient(to right, rgba(31, 59, 77, 0.14), rgba(31, 59, 77, 0)), linear-gradient(to left, rgba(31, 59, 77, 0.14), rgba(31, 59, 77, 0));
  background-position: left center, right center, left center, right center; background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 12px 100%, 12px 100%; background-attachment: local, local, scroll, scroll; }
.tableau-cadre:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.tableau-article { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.tableau-cadre--large .tableau-article { min-width: 620px; }
.tableau-article th, .tableau-article td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--trait); }
.tableau-article tr:last-child > * { border-bottom: 0; }
.tableau-article thead th { background: var(--brume); font-family: var(--titre); font-size: 0.875rem; font-weight: 700; color: var(--marine); border-bottom: 2px solid var(--marine); }
.tableau-article tbody th { font-family: var(--titre); font-weight: 700; color: var(--encre); white-space: nowrap; }
.tableau-article tbody tr:nth-child(even) { background: #f7fbfd; }
.tableau-indice { display: none; margin-top: 8px; font-size: 0.875rem; color: var(--encre-2); }
@media (max-width: 720px) {
  .tableau-indice { display: block; }
  .tableau-indice::before { content: "↔ "; color: var(--orange); font-weight: 700; }
  .tableau-article th, .tableau-article td { padding: 12px 14px; }
  .tableau-article tbody th { white-space: normal; min-width: 7.5em; }
}

/* Encadré R290 */
.article-vigilance { margin-top: 32px; padding: 24px 26px; border-left: 4px solid var(--orange); background: var(--brume); border-radius: 0 8px 8px 0; }
.article-vigilance > * + * { margin-top: 12px; }

/* Appel à l'action de fin d'article */
.article-appel { margin-top: clamp(44px, 5vw, 60px) !important; padding: clamp(28px, 4vw, 40px); background: var(--profond); color: var(--blanc); border-radius: 8px; }
.article-appel .marque-a1 { margin-bottom: 18px; }
.article-appel h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); color: var(--blanc); }
.article-appel > p:not(.marque-a1) { margin-top: 12px; color: #d3dde6; max-width: 38em; }
.article-appel a:not(.bouton) { color: var(--blanc); }
.article-appel__tel strong { white-space: nowrap; }
.article-appel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
.article-appel__appeler { font-family: var(--titre); font-weight: 700; font-size: 1.1875rem; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
@media (max-width: 560px) { .article-appel .bouton { width: 100%; justify-content: center; text-align: center; white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; line-height: 1.25; font-size: 1rem; } }
.article-retour { margin-top: 36px !important; }
.insecable { white-space: nowrap; }

/* Carte d'article dans la liste des actualités */
.article time { font-variant-numeric: tabular-nums; }
