/* Contenu des articles GFG : tableaux, encadrés, blocs dépliables, galeries, colonnes,
   boutons, légendes, code et intégrations à chargement sur clic.
   Utilisé par la page article et par l'aperçu de La rédaction (fond sombre). */
.article-content{display:flow-root;overflow-wrap:anywhere}
.article-content p{white-space:normal;margin:0 0 1.2em}
.article-content h2,.article-content h3,.article-content h4{clear:both;font-family:'Barlow Condensed',Impact,sans-serif;line-height:1.1}
.article-content h4{font-size:1.45rem;margin:1.6em 0 .5em;color:#fff}
.article-content img{height:auto;max-width:100%;border-radius:6px}
.article-content a{color:var(--accent-light,#83ddff);text-decoration:underline}
.article-content sub,.article-content sup{font-size:.7em;line-height:0}
.article-content mark{background:#fff3b0;color:#10151c;padding:0 .15em}
.article-content [style*="background-color"]{color:#10151c;padding:0 .15em;border-radius:2px}
.article-content code{font:500 .92em/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#202934;border:1px solid #39424b;border-radius:4px;padding:.1em .35em}
.article-content pre{margin:1.5em 0;padding:16px 18px;background:#0b1016;border:1px solid #39424b;border-radius:8px;overflow-x:auto;white-space:pre;font:500 .9rem/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.article-content pre code{background:none;border:0;padding:0}
.article-content hr{clear:both;border:0;border-top:1px solid #39424b;margin:2.2em 0}

/* Légendes d'images */
.article-content figure.article-figure{margin:1.4em auto}
.article-content figure.article-figure img{display:block;width:100%}
.article-content figcaption{margin-top:.5em;color:#9aa6b2;font-size:.88em;line-height:1.45;text-align:center}

/* Galerie */
.article-content .article-gallery{clear:both;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:1.6em 0}
.article-content .article-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;margin:0}

/* Deux colonnes */
.article-content .article-columns{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:1.4em 0}
@media(max-width:700px){.article-content .article-columns{grid-template-columns:1fr;gap:0}}

/* Encadrés */
.article-content .article-callout{clear:both;margin:1.8em 0;padding:18px 22px;border:1px solid #2c4560;border-left:4px solid #5b91ce;border-radius:8px;background:#15212e}
.article-content .article-callout.article-callout-key{border-color:#5b4a1b;border-left-color:#f5c542;background:#211d12}
.article-content .article-callout>:last-child{margin-bottom:0}

/* Bloc dépliable */
.article-content details{clear:both;margin:1.4em 0;border:1px solid #39424b;border-radius:8px;background:#151c24}
.article-content summary{cursor:pointer;padding:14px 18px;font:700 1.15rem 'Barlow Condensed',sans-serif;letter-spacing:.02em;color:#fff}
.article-content details[open] summary{border-bottom:1px solid #39424b}
.article-content details>:not(summary){margin-left:18px;margin-right:18px}
.article-content details>:last-child{margin-bottom:16px}

/* Bouton */
.article-content a.article-button{display:inline-block;margin:.4em 0;padding:12px 22px;border-radius:8px;background:#5b91ce;color:#10151c;text-decoration:none;font:700 1rem 'Barlow Condensed',sans-serif;letter-spacing:.06em;text-transform:uppercase}
.article-content a.article-button:hover{background:#a9d2ff}

/* Tableaux (style épuré inspiré de HeroUI : conteneur arrondi, en-tête discret, lignes séparées sans grille) */
.article-content .article-table-wrap{clear:both;margin:1.6em 0;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:6px;border:1px solid #ffffff14;border-radius:14px;background:#141b24;box-shadow:0 8px 24px #0000002e}
.article-content table{width:100%;border-collapse:separate;border-spacing:0;font-size:.95em;line-height:1.45}
.article-content caption{caption-side:top;text-align:left;padding:14px 16px 10px;font:700 1.1rem 'Barlow Condensed',sans-serif;letter-spacing:.02em;color:#fff}
.article-content th,.article-content td{padding:12px 16px;text-align:left;vertical-align:top;border:0}
.article-content thead th{background:#1c2633;color:#8fa0b2;font:700 .82rem 'Barlow Condensed',sans-serif;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.article-content thead th:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}
.article-content thead th:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}
.article-content tbody th{color:#fff;font-weight:700}
.article-content tbody tr:not(:last-child) > *{border-bottom:1px solid #ffffff0f}
.article-content tbody tr{transition:background-color .15s}
.article-content tbody tr:hover{background:#ffffff07}
.article-content tbody td{color:#dbe3ea}
.article-content .article-table-wrap table{min-width:520px}
@media(max-width:700px){.article-content th,.article-content td{padding:10px 12px}}

/* Intégrations */
.article-content .article-embed{clear:both;margin:1.8em 0;padding:0;background:#10151c;border-radius:8px;overflow:hidden;aspect-ratio:auto}
.article-content .article-embed iframe{display:block;width:100%;border:0;min-height:0}
.article-content .article-embed-video{position:relative;aspect-ratio:16/9}
.article-content .article-embed-video iframe,.article-content .article-embed-video .embed-consent{position:absolute;inset:0;width:100%;height:100%!important}
.article-content .article-embed-post{max-width:560px;margin-left:auto;margin-right:auto}
.embed-consent{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:24px;border:1px solid #39424b;border-radius:8px;background:linear-gradient(135deg,#1b2532,#10151c);color:#d3d9df;font-size:.95rem;line-height:1.5}
.embed-consent strong{color:#fff;font:700 1.25rem 'Barlow Condensed',sans-serif;letter-spacing:.02em}
.embed-consent p{margin:0;color:#b5c0cc}
.embed-consent-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.embed-consent button{min-height:44px;padding:10px 18px;border:0;border-radius:7px;background:#5b91ce;color:#10151c;font:700 1rem 'Barlow Condensed',sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.embed-consent button:hover{background:#a9d2ff}
.embed-consent label{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#9aa6b2;cursor:pointer}
.embed-consent a{color:var(--accent-light,#83ddff)}
@media(max-width:600px){.embed-consent{padding:16px;font-size:.88rem}.article-content .article-embed-video{aspect-ratio:auto}.article-content .article-embed-video .embed-consent{position:static;height:auto!important}.article-content .article-embed-video iframe{position:static;aspect-ratio:16/9;height:auto!important}}

/* Previews : coureurs commentés (favoris, outsiders, contenders) */
.article-content .article-riders{display:flex;flex-direction:column;gap:0;margin:.6em 0 1.8em;clear:both}
.article-content .article-rider{position:relative;padding:16px 0 14px 58px;border-top:1px solid #29323c}
.article-content .article-rider:first-child{border-top:0}
.article-content .article-rider h3{margin:0;font-size:1.45rem;color:#fff}
.article-content .article-rider-rank{position:absolute;left:4px;top:14px;width:40px;text-align:center;font:800 2rem/1 'Barlow Condensed',Impact,sans-serif;color:#f5c542}
.article-content .article-rider-team{margin:.15em 0 .55em;color:#9aa6b2;font-size:.9rem;letter-spacing:.02em}
.article-content .article-rider p:last-child{margin-bottom:0}
.article-content .article-rider-team{display:flex;align-items:center;gap:7px}
.article-content .article-rider-team img{border-radius:0;margin:0}
.article-content img.article-rider-jersey{width:26px;height:26px;object-fit:contain}
.article-content img.article-rider-flag{width:20px;height:14px;object-fit:cover;border-radius:2px}

/* Coureurs sans numéro de rang */
.article-content .article-rider-rank{display:none}
.article-content .article-rider{padding-left:0}
