/* ============================================================
   RÉFÉRENCE 14 SPORT — dynamic.css
   Compléments de style pour les fonctionnalités dynamiques (Django)
   ============================================================ */

/* ── Emplacements publicitaires libres ── */
.r14-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; width: 100%; height: 100%; text-decoration: none; position: relative;
  background:
    radial-gradient(circle at 15% 50%, rgba(232,0,28,.18), transparent 45%),
    radial-gradient(circle at 85% 50%, rgba(0,168,107,.14), transparent 45%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px dashed rgba(255,255,255,.12); border-radius: var(--radius-md);
  color: var(--text-secondary); transition: border-color var(--transition), transform var(--transition);
}
.r14-slot:hover { border-color: var(--border-accent); color: var(--text-primary); }
.r14-slot__tag {
  position: absolute; top: 6px; left: 8px; font-family: var(--font-mono); font-size: .58rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted);
}
.r14-slot__title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--text-primary); text-align: center; line-height: 1.15; }
.r14-slot__size { font-family: var(--font-mono); font-size: .68rem; color: var(--text-muted); }
.r14-slot__icon { font-size: 1.6rem; color: var(--primary); margin-bottom: .35rem; }
.r14-slot__cta { margin-top: .5rem; font-size: .75rem; font-weight: 700; color: var(--primary); }
.r14-slot--box { min-height: 250px; border-radius: var(--radius-lg); }
.r14-slot--wide { flex-direction: row; gap: 1rem; }
.r14-slot--wide .r14-slot__title { font-size: 1.3rem; }
.r14-promo--inline { margin-bottom: 1rem; }

/* ── Champ piège anti-spam ── */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── Chapeau d'article ── */
.article-lead { font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); font-weight: 500; border-left: 3px solid var(--primary); padding-left: 1rem; margin-bottom: 1.5rem; }
.article-meta-bar a.meta-tag { color: inherit; }
.article-meta-bar a.meta-tag:hover { color: var(--primary); }

/* ── Navigation article précédent / suivant ── */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.article-nav__item { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; transition: border-color var(--transition), transform var(--transition); }
.article-nav__item:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.article-nav__label { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.article-nav__title { font-family: var(--font-display); font-weight: 700; color: var(--text-primary); line-height: 1.25; }
@media (max-width: 575px) { .article-nav { grid-template-columns: 1fr; } }

/* ── Bouton enregistrer ── */
.share-btn.saved { background: var(--secondary) !important; border-color: var(--secondary) !important; color: #111 !important; }

/* ── Tri des commentaires (liens) ── */
a.comm-sort-btn { display: inline-flex; align-items: center; text-decoration: none; }

/* ── Centres d'intérêt (inscription / profil) ── */
.interest-chip { cursor: pointer; margin: 0; }
.interest-chip input { position: absolute; opacity: 0; pointer-events: none; }
.interest-chip input:checked + .search-tag { background: var(--primary); border-color: var(--primary); color: #fff; }
.interest-chip input:focus-visible + .search-tag { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Suggestions de recherche (modale) ── */
.search-suggestions:empty { display: none; }
.search-suggestions { margin: -.25rem 0 1rem; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-body); }
.search-suggestions a { display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem; text-decoration: none; border-bottom: 1px solid var(--border); color: var(--text-primary); font-size: .85rem; }
.search-suggestions a:last-child { border-bottom: none; }
.search-suggestions a:hover, .search-suggestions a.active { background: rgba(232,0,28,.08); }
.search-suggestions img { width: 48px; height: 34px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.search-suggestions small { display: block; color: var(--primary); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.search-suggestions .more { justify-content: center; color: var(--primary); font-weight: 700; font-size: .8rem; }

/* ── Partenaires « argent » ── */
.partner-mini { display: flex; align-items: center; justify-content: center; min-height: 72px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; transition: all .25s ease; text-decoration: none; }
.partner-mini:hover { border-color: var(--border-accent); transform: translateY(-2px); }

/* ── Menus déroulants : boutons ── */
.navbar-r14 .dropdown-menu button.dropdown-item { width: 100%; text-align: left; background: none; border: none; }

/* ── Notifications ── */
@keyframes slideInR { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.r14-notif { position: fixed; right: 1.5rem; z-index: 9999; background: var(--bg-card); border-radius: 10px; padding: .8rem 1.1rem; display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--text-primary); box-shadow: 0 8px 30px rgba(0,0,0,.4); animation: slideInR .3s ease; max-width: min(420px, calc(100vw - 2rem)); }

/* ── Divers ── */
.search-filters a.sf-btn { text-decoration: none; display: inline-flex; align-items: center; }
.cl-tabs a.cl-tab { text-decoration: none; display: inline-flex; align-items: center; }
.result-cat a { color: inherit; }
.comm-card:target, .reply-card:target { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,0,28,.15); }
.font-display { font-family: var(--font-display); }
.alert { border-radius: var(--radius-md); }

/* ── Pages d'erreur ── */
.error-page { padding: 4.5rem 0 4rem; position: relative; overflow: hidden; }
.error-page::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(232,0,28,.18), transparent 55%); pointer-events: none; }
.error-page .container { position: relative; }
.error-page__code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(232,0,28,.6); letter-spacing: .02em; }
.error-page__icon { width: 64px; height: 64px; margin: -1.6rem auto 1rem; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 10px 30px rgba(232,0,28,.45); position: relative; }
.error-page__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: .6rem; }
.error-page__text { color: var(--text-secondary); max-width: 520px; margin: 0 auto 2rem; }
.error-page__kicker { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); margin-bottom: .75rem; }
.error-page .btn-outline-light { border-color: var(--border); color: var(--text-secondary); }
.error-page .btn-outline-light:hover { background: var(--bg-card); color: #fff; border-color: var(--border-accent); }

/* ── Photos des buteurs ── */
.bt-photo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.bt-photo--txt { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #334155, #1E293B); color: #fff; font-size: .7rem; font-weight: 800; }

/* ── Emplacements partenaires (noms neutres pour ne pas être masqués par les bloqueurs) ── */
.r14-promo { display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: rgba(255,255,255,.03); }
.r14-promo--wide { height: 90px; }
.r14-promo a { display: block; width: 100%; height: 100%; }
.r14-promo__img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.r14-promo__img--wide { height: 90px; object-fit: cover; border-radius: var(--radius-md); }
.r14-slot--wide .r14-slot__title { font-size: 1.3rem; }

/* ── Carte (page contact) ── */
.contact-map { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 21/7; min-height: 280px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ── Image principale d'un article : affichée en entier (la signature reste visible) ── */
.article-hero-img { height: auto !important; max-height: none !important; object-fit: contain !important; width: 100%; border-radius: var(--radius-lg); }

/* ── Partage ── */
.r14-share { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.r14-share--bar { flex-direction: column; }
.share-btn.tw { background: #000 !important; border: 1px solid #333; }
.share-btn.li { background: #0A66C2; }
.share-btn.tg { background: #229ED9; }
.share-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.share-btn.em { background: #475569; }
.share-btn.ns { background: var(--primary); }
.share-btn.li, .share-btn.tg, .share-btn.ig, .share-btn.em, .share-btn.ns { color: #fff; }
.r14-share-end { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding: 1rem 1.2rem; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.r14-share-end > span { font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; color: var(--text-primary); }

/* ── Avatars d'auteurs homogènes ── */
.r14-avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--primary); color: #fff; font-family: var(--font-display); font-weight: 900; letter-spacing: .02em; vertical-align: middle; }
.r14-avatar--txt { border-color: rgba(255,255,255,.15); }
.meta-author { display: inline-flex !important; align-items: center; gap: .45rem; }
.meta-author .r14-avatar { border-width: 1.5px; }
.author-avatar-wrap { flex-shrink: 0; display: inline-flex; }

/* ── Photo de profil ── */
.comm-avatar--img { object-fit: cover; padding: 0; border: 2px solid var(--border); }
.nav-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin-right: .4rem; border: 1.5px solid rgba(255,255,255,.4); vertical-align: middle; }
.profile-photo { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding: 1rem; border-radius: var(--radius-lg); background: var(--bg-body); border: 1px solid var(--border); }
.profile-photo__preview { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), #900012); }
.profile-photo__preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo__preview span { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: #fff; }
.profile-photo__title { font-weight: 700; margin: 0 0 .15rem; color: var(--text-primary); }
.profile-photo__help { font-size: .78rem; color: var(--text-muted); margin: 0 0 .6rem; }
.profile-photo__remove { display: inline-flex; align-items: center; font-size: .8rem; color: var(--text-muted); cursor: pointer; margin: 0; }

/* ── Pages d'erreur : informations ── */
.error-info { height: 100%; padding: 1.4rem 1.5rem; border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--border); border-top: 3px solid var(--primary); }
.error-info--green { border-top-color: var(--mali-green); }
.error-info h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin-bottom: .9rem; display: flex; align-items: center; gap: .55rem; }
.error-info h2 i { color: var(--primary); }
.error-info--green h2 i { color: var(--mali-green); }
.error-info ul, .error-info ol { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); font-size: .9rem; line-height: 1.7; }
.error-info li + li { margin-top: .35rem; }
.error-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius-xl); background: var(--bg-card); border: 1px solid var(--border); }
.error-links h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: .6rem; }
.error-links a { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; font-size: .85rem; color: var(--text-secondary); }
.error-links a i { width: 16px; text-align: center; color: var(--text-muted); font-size: .75rem; }
.error-links a:hover { color: var(--text-primary); }
.error-report { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.4rem 1.6rem; border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(232,0,28,.12), rgba(0,168,107,.06)); border: 1px solid var(--border-accent); }
.error-report strong { color: var(--text-primary); }
.error-report p { margin: .3rem 0 .5rem; font-size: .85rem; color: var(--text-secondary); }
.error-report code { display: inline-block; font-size: .78rem; color: var(--secondary); background: var(--bg-body); padding: .25rem .55rem; border-radius: 6px; word-break: break-all; }
.error-report small { display: block; margin-top: .4rem; font-size: .72rem; color: var(--text-muted); }

/* ── Pagination ── */
.r14-pagination__info { text-align: center; font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; }
.r14-pagination__info strong { color: var(--primary); }

/* ── Pied de page : compteurs des réseaux sociaux ───────────────────────── */
/* Grille 2 × 2 compacte : le bloc se termine au même niveau que les listes de liens */
.footer-socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .25rem; }
.site-footer .social-counter { width: 100%; min-width: 0; overflow: hidden; margin: 0; padding: .55rem .7rem; gap: .6rem; }
.site-footer .social-counter:hover { transform: translateY(-2px); border-color: var(--border-accent); }
.site-footer .social-counter__icon { width: 34px; height: 34px; font-size: .95rem; }
.site-footer .social-counter__info { display: flex; flex-direction: column; justify-content: center; gap: .2rem; min-width: 0; flex: 1 1 auto; }
.site-footer .social-counter__num { display: block; font-size: .9rem; line-height: 1.1; }
.site-footer .social-counter__label { display: block; font-size: .68rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359.98px) { .footer-socials { grid-template-columns: minmax(0, 1fr); } }

/* ── Galerie photos de l'article ───────────────────────────────────────── */
.r14-gallery { margin: 2rem 0 1rem; }
.r14-gallery__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.r14-gallery__head h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0; color: var(--text-primary); }
.r14-gallery__head h2 i { color: var(--primary); margin-right: .4rem; }
.r14-gallery__head span { font-size: .8rem; color: var(--text-muted); }
.r14-gallery__grid { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); }
.r14-gallery__grid--1 { grid-template-columns: 1fr; }
.r14-gallery__grid--3 .r14-gallery__item:first-child { grid-column: 1 / -1; }
.r14-gallery__grid--many { grid-template-columns: repeat(4, 1fr); }
.r14-gallery__grid--many .r14-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.r14-gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); background: var(--bg-card-2); aspect-ratio: 4 / 3; cursor: zoom-in; }
.r14-gallery__grid--1 .r14-gallery__item { aspect-ratio: 16 / 9; }
.r14-gallery__grid--many .r14-gallery__item:first-child { aspect-ratio: auto; }
.r14-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.r14-gallery__item:hover img { transform: scale(1.05); }
.r14-gallery__zoom { position: absolute; top: .5rem; right: .5rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: .75rem; opacity: 0; transition: opacity .2s; }
.r14-gallery__item:hover .r14-gallery__zoom, .r14-gallery__item:focus-visible .r14-gallery__zoom { opacity: 1; }
.r14-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,8,16,.62); color: #fff; font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
@media (max-width: 575.98px) {
  .r14-gallery__grid--many { grid-template-columns: repeat(2, 1fr); }
  .r14-gallery__grid--many .r14-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* Visionneuse plein écran */
.r14-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; flex-direction: column; background: rgba(4,6,12,.96); color: #fff; }
.r14-lightbox.is-open { display: flex; }
.r14-lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; font-size: .85rem; color: rgba(255,255,255,.75); }
.r14-lightbox__stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 3.5rem; }
.r14-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); user-select: none; }
.r14-lightbox__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.r14-lightbox__btn:hover { background: var(--primary); border-color: var(--primary); }
.r14-lightbox__prev, .r14-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.r14-lightbox__prev { left: .75rem; } .r14-lightbox__next { right: .75rem; }
.r14-lightbox__caption { padding: .9rem 1rem 1.2rem; text-align: center; font-size: .9rem; min-height: 3rem; }
.r14-lightbox__caption small { display: block; margin-top: .2rem; color: rgba(255,255,255,.55); font-size: .75rem; }
@media (max-width: 575.98px) { .r14-lightbox__stage { padding: 0 .5rem; } .r14-lightbox__prev, .r14-lightbox__next { top: auto; bottom: -3.4rem; } }
.r14-edit-link{color:var(--text-secondary);text-decoration:none;border:1px dashed var(--border-accent);border-radius:999px;padding:.15rem .7rem}.r14-edit-link:hover{color:var(--primary)}

/* Fil d'Ariane du bandeau de catégorie */
.cat-banner-label a { color: var(--primary); text-decoration: none; }
.cat-banner-label a:hover { text-decoration: underline; }
/* Titres des cartes : couleur du texte, accent au survol (au lieu de la couleur des liens) */
.article-card__title a { color: inherit; }
.article-card__title a:hover { color: var(--primary); }

/* ── Widget « Les plus lus » : numéros de classement ───────────────────── */
.trending-item { align-items: center; gap: .85rem; }
.trending-scroll-inner .trending-item, .sidebar-widget__body.p-0 > .trending-item { padding: .8rem 1rem; }
.trending-item .r14-rank,
.trending-scroll-inner .trending-item .r14-rank {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; min-width: 40px; border-radius: 10px;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1;
  letter-spacing: .02em; font-variant-numeric: tabular-nums; opacity: 1;
  color: var(--text-muted); background: var(--bg-card-2); border: 1px solid var(--border);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
/* Podium aux couleurs du Mali : rouge, or, vert */
.trending-item .r14-rank--1 { color: #fff; background: linear-gradient(135deg, #FF2B45, #B8001A); border-color: transparent; box-shadow: 0 6px 16px rgba(232,0,28,.32); }
.trending-item .r14-rank--2 { color: #2A2100; background: linear-gradient(135deg, #FFE066, #F2B705); border-color: transparent; box-shadow: 0 6px 16px rgba(242,183,5,.28); }
.trending-item .r14-rank--3 { color: #fff; background: linear-gradient(135deg, #1FC75A, #0B8A35); border-color: transparent; box-shadow: 0 6px 16px rgba(14,143,52,.28); }
.trending-item:hover .r14-rank { transform: scale(1.06); }
.trending-item:hover .r14-rank:not(.r14-rank--1):not(.r14-rank--2):not(.r14-rank--3) { color: var(--primary); border-color: var(--border-accent); }
.trending-item .trending-title { color: var(--text-primary); font-weight: 600; }
.trending-item .trending-title:hover { color: var(--primary); }
.trending-item .trending-date { display: flex; flex-wrap: wrap; gap: .25rem .85rem; margin: .3rem 0 0; font-family: var(--font-body); font-size: .72rem; }
.trending-item .trending-date i { margin-right: .3rem; font-size: .68rem; opacity: .8; }

/* ── Bloc « Équipe nationale » (thème Nuit) ────────────────────────────────
   Bleu nuit légèrement plus clair que le fond, accordé aux cartes, avec une
   fine bande tricolore du Mali en haut et des halos discrets vert / rouge. */
html:not([data-theme="mali"]) .aigles-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 181, 58, .16), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(232, 0, 28, .12), transparent 45%),
    linear-gradient(160deg, #17233D 0%, #111B30 55%, #0D1526 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
html:not([data-theme="mali"]) .aigles-section::before { display: none; }
html:not([data-theme="mali"]) .aigles-section .article-card {
  background: #0E1628; border: 1px solid rgba(255, 255, 255, .07);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
html:not([data-theme="mali"]) .aigles-section .article-card:hover {
  transform: translateY(-4px); border-color: rgba(20, 181, 58, .45); box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
}
html:not([data-theme="mali"]) .aigles-section .aigles-badge { background: rgba(20, 181, 58, .14); border-color: rgba(20, 181, 58, .45); color: #5BE38A; }
html:not([data-theme="mali"]) .aigles-section .section-link:hover { border-color: #14B53A !important; color: #fff !important; }

/* ── Widget « Catégories » ─────────────────────────────────────────────── */
.r14-cats nav { padding: .4rem; }
.r14-cat {
  --c: #F97316;
  --c-soft: color-mix(in srgb, var(--c) 15%, transparent);
  position: relative; display: flex; align-items: center; gap: .8rem;
  padding: .65rem .7rem; border-radius: 12px; text-decoration: none;
  color: var(--text-primary); transition: background .2s ease, transform .2s ease;
}
.r14-cat + .r14-cat { margin-top: 2px; }
.r14-cat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 3px;
  background: var(--c); opacity: 0; transform: scaleY(.4); transition: opacity .2s ease, transform .2s ease;
}
.r14-cat:hover { background: var(--c-soft); color: var(--text-primary); }
.r14-cat:hover::before { opacity: 1; transform: none; }
.r14-cat__icon {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--c-soft); color: var(--c); font-size: .95rem; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.r14-cat:hover .r14-cat__icon { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.04); }
.r14-cat__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.r14-cat__label { font-size: .9rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-cat__bar { display: block; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.r14-cat__bar span { display: block; height: 100%; border-radius: inherit; background: var(--c); opacity: .85; transition: width .6s ease; }
.r14-cat__count {
  flex-shrink: 0; min-width: 34px; padding: .2rem .55rem; border-radius: 999px; text-align: center;
  font-family: var(--font-display); font-size: .9rem; font-weight: 800; line-height: 1.3;
  color: var(--c); background: var(--c-soft); font-variant-numeric: tabular-nums;
}
.r14-cat__go { flex-shrink: 0; width: 0; opacity: 0; font-size: .7rem; color: var(--c); transition: width .2s ease, opacity .2s ease; }
.r14-cat:hover .r14-cat__go { width: 10px; opacity: 1; }
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .r14-cat { --c-soft: var(--bg-card-2); }
}
.r14-cat { --c-ink: color-mix(in srgb, var(--c) 82%, #fff); }
html[data-theme="mali"] .r14-cat { --c-ink: color-mix(in srgb, var(--c) 68%, #000); --c-soft: color-mix(in srgb, var(--c) 12%, transparent); }
.r14-cat__icon, .r14-cat__count, .r14-cat__go { color: var(--c-ink); }
@supports not (color: color-mix(in srgb, red 10%, transparent)) { .r14-cat { --c-ink: var(--c); } }
.r14-cat__go { width: 10px; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.r14-cat:hover .r14-cat__go { transform: none; }

/* ── Bandeau newsletter « Restez informé » ─────────────────────────────────
   Thème Nuit : panneau bleu nuit accordé aux cartes, bande tricolore, bouton rouge du site. */
.newsletter-band-inner {
  background:
    radial-gradient(circle at 8% 0%, rgba(59, 130, 246, .12), transparent 38%),
    radial-gradient(circle at 92% 100%, rgba(232, 0, 28, .2), transparent 42%),
    linear-gradient(160deg, #17233D 0%, #111B30 55%, #0D1526 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  padding: 2.75rem 2rem 2.25rem;
}
/* Bande tricolore : uniquement en thème Mali (voir plus bas) */
.newsletter-band .nl-icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1rem; border-radius: 16px;
  font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--primary), #A3001A);
  box-shadow: 0 10px 24px rgba(232, 0, 28, .35); transform: rotate(-6deg);
}
.newsletter-band .nl-title { font-size: 1.9rem; letter-spacing: -.01em; color: var(--text-primary); }
.newsletter-band .nl-text { font-size: .93rem; color: var(--text-secondary); }
.newsletter-band .nl-note { margin: .9rem 0 0; font-size: .74rem; color: var(--text-muted); }
.newsletter-band .nl-note i { margin-right: .3rem; font-size: .68rem; }
.newsletter-band input { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: var(--text-primary); }
.newsletter-band input::placeholder { color: var(--text-muted); }
.newsletter-band input:focus { background: rgba(255, 255, 255, .08); border-color: var(--primary); color: var(--text-primary); }
.newsletter-band .btn-nl { background: var(--primary); color: #fff; }
.newsletter-band .btn-nl:hover { background: var(--primary-hover); color: #fff; }

/* Thème Mali : panneau clair, icône verte, bouton vert (couleurs du drapeau) */
html[data-theme="mali"] .newsletter-band-inner {
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 181, 58, .14), transparent 40%),
    radial-gradient(circle at 92% 100%, rgba(252, 209, 22, .22), transparent 45%),
    linear-gradient(160deg, #FFFFFF 0%, #F3F7F0 60%, #ECF3E8 100%);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(17, 45, 27, .09);
}
html[data-theme="mali"] .newsletter-band .nl-icon { background: linear-gradient(135deg, #14B53A, #0B6E2E); box-shadow: 0 10px 24px rgba(14, 143, 52, .3); }
html[data-theme="mali"] .newsletter-band input { background: #FFFFFF; border-color: rgba(17, 52, 30, .2); color: var(--text-primary); }
html[data-theme="mali"] .newsletter-band input:focus { background: #FFFFFF; border-color: var(--mali-flag-green); box-shadow: 0 0 0 3px rgba(20, 181, 58, .15); }
html[data-theme="mali"] .newsletter-band .btn-nl { background: var(--mali-deep); color: #fff; }
html[data-theme="mali"] .newsletter-band .btn-nl:hover { background: var(--mali-deeper); color: var(--mali-flag-gold); }

/* ═══════════════════════════════════════════════════════════════════════════
   ACCUEIL — blocs automatiques (matchs, championnat, réactions, chiffres)
   ═══════════════════════════════════════════════════════════════════════════ */
/* Écusson de club (logo ou sigle coloré) */
.r14-crest {
  --club: #64748B;
  display: inline-grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; overflow: hidden;
  font-family: var(--font-display); font-size: .62rem; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--club), color-mix(in srgb, var(--club) 60%, #000));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.r14-crest img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

/* ── Bandeau des matchs ── */
.r14-scores { padding: 1.25rem 0 0; }
.r14-scores__inner { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.r14-scores__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; border-bottom: 1px solid var(--border); }
.r14-scores__title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-primary); }
.r14-scores__title i { color: var(--primary); margin-right: .35rem; }
.r14-scores__link { font-size: .78rem; font-weight: 600; color: var(--text-secondary); }
.r14-scores__link:hover { color: var(--primary); }
.r14-scores__link i { font-size: .7rem; margin-left: .25rem; }
.r14-scores__viewport { position: relative; }
/* Fondu sur les bords : une carte partielle se fond sous les flèches au lieu d'être coupée net */
.r14-scores__viewport::before,
.r14-scores__viewport::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.r14-scores__viewport::before { left: 0; background: linear-gradient(90deg, var(--bg-card) 38%, transparent); }
.r14-scores__viewport::after  { right: 0; background: linear-gradient(270deg, var(--bg-card) 38%, transparent); }
.r14-scores__viewport.can-prev::before { opacity: 1; }
.r14-scores__viewport.can-next::after  { opacity: 1; }
.r14-scores__track { display: flex; align-items: stretch; gap: .6rem; padding: .85rem 1.1rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; scroll-padding-inline: 3rem; }
.r14-scores__track::-webkit-scrollbar { display: none; }
.r14-scores__divider {
  flex-shrink: 0; display: flex; align-items: center; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--text-muted); padding: .3rem .15rem; border-radius: 6px; background: var(--bg-card-2);
}
.r14-scores__divider.is-next { color: #fff; background: var(--primary); }
.r14-scores__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary);
  box-shadow: var(--shadow-card); font-size: .72rem; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.r14-scores__nav.is-prev { left: .35rem; } .r14-scores__nav.is-next { right: .35rem; }
.r14-scores__viewport.can-prev .is-prev, .r14-scores__viewport.can-next .is-next { opacity: 1; pointer-events: auto; }
.r14-scores__nav:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.r14-match {
  flex: 0 0 214px; display: flex; flex-direction: column; gap: .4rem; padding: .6rem .75rem; border-radius: 12px;
  background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text-primary); text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.r14-match:hover { transform: translateY(-2px); border-color: var(--border-accent); color: var(--text-primary); }
.r14-match__meta { display: flex; justify-content: space-between; align-items: center; font-size: .66rem; font-family: var(--font-mono); color: var(--text-muted); }
.r14-match__tag { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.r14-match__tag.is-next { color: var(--primary); text-transform: none; letter-spacing: 0; }
.r14-match__tag.is-warn { color: #F59E0B; }
.r14-match__team { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--text-secondary); }
.r14-match__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-match__team b { font-family: var(--font-display); font-size: 1.05rem; min-width: 1ch; text-align: right; color: var(--text-secondary); }
.r14-match__team.is-win { color: var(--text-primary); font-weight: 700; }
.r14-match__team.is-win b { color: var(--text-primary); }
.r14-match.is-next { border-style: dashed; }

/* ── Championnat : classement + buteurs ── */
.r14-league__pill { font-family: var(--font-mono); font-size: .66rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--bg-card-2); color: var(--text-muted); border: 1px solid var(--border); }
.r14-league__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.r14-league__card-head { display: flex; align-items: baseline; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; color: var(--text-primary); }
.r14-league__card-head i { color: var(--primary); }
.r14-league__card-head small { margin-left: auto; font-family: var(--font-body); font-size: .7rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.r14-league__table { width: 100%; font-size: .82rem; border-collapse: collapse; }
.r14-league__table th { padding: .5rem .6rem; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.r14-league__table td { padding: .5rem .6rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.r14-league__table tr:last-child td { border-bottom: 0; }
.r14-league__table .c { text-align: center; }
.r14-league__table tbody tr { transition: background .15s; }
.r14-league__table tbody tr:hover { background: var(--bg-card-2); }
.r14-league__table .is-pos { color: #16A34A; } .r14-league__table .is-neg { color: #E11D48; }
.r14-league__rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-weight: 800; font-size: .74rem; color: var(--text-secondary); background: var(--bg-card-2); }
.z-champion .r14-league__rank { background: #16A34A; color: #fff; }
.z-caf .r14-league__rank { background: #2563EB; color: #fff; }
.z-releg .r14-league__rank { background: #E11D48; color: #fff; }
.r14-league__club { display: flex; align-items: center; gap: .55rem; color: var(--text-primary); font-weight: 600; }
.r14-league__club span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.r14-league__pts { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-primary); }
.r14-form { display: inline-flex; gap: 3px; }
.r14-form i { width: 17px; height: 17px; border-radius: 5px; display: inline-grid; place-items: center; font-style: normal; font-size: .55rem; font-weight: 800; color: #fff; }
.r14-form .f-V { background: #16A34A; } .r14-form .f-N { background: #94A3B8; } .r14-form .f-D { background: #E11D48; }
.r14-form em { color: var(--text-muted); font-style: normal; }
@media (max-width: 575.98px) { .r14-league__table .hide-xs { display: none; } }
.r14-scorers { list-style: none; margin: 0; padding: .35rem .6rem .6rem; }
.r14-scorer { display: flex; align-items: center; gap: .7rem; padding: .5rem .4rem; border-bottom: 1px dashed var(--border); }
.r14-scorer:last-child { border-bottom: 0; }
.r14-scorer__photo { position: relative; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; overflow: visible;
  background: linear-gradient(135deg, #334155, #1E293B); color: #fff; font-weight: 800; font-size: .78rem; }
.r14-scorer__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.r14-scorer__photo em { position: absolute; right: -4px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: .6rem; font-weight: 800; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border); }
.r14-scorer--1 .r14-scorer__photo em { background: #F2B705; border-color: #F2B705; color: #2A2100; }
.r14-scorer--2 .r14-scorer__photo em { background: #94A3B8; border-color: #94A3B8; color: #fff; }
.r14-scorer--3 .r14-scorer__photo em { background: #B87333; border-color: #B87333; color: #fff; }
.r14-scorer--1 .r14-scorer__photo { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px #F2B705; }
.r14-scorer__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.r14-scorer__who strong { font-size: .86rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-scorer__who small { font-size: .72rem; color: var(--text-muted); }
.r14-scorer__goals { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.r14-scorer__goals b { font-family: var(--font-display); font-size: 1.35rem; color: var(--primary); }
.r14-scorer__goals small { font-size: .62rem; color: var(--text-muted); }
.r14-league__empty { margin: 0; padding: 1rem; font-size: .82rem; color: var(--text-muted); }

/* ── Ça fait réagir + tendances ── */
.r14-talk__list { list-style: none; margin: 0; padding: .35rem; }
.r14-talk__item { display: flex; align-items: center; gap: .75rem; padding: .55rem; border-radius: 10px; color: var(--text-primary); text-decoration: none; transition: background .15s; }
.r14-talk__item:hover { background: var(--bg-card-2); color: var(--text-primary); }
.r14-talk__item img { width: 64px; height: 48px; flex-shrink: 0; border-radius: 8px; object-fit: cover; }
.r14-talk__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.r14-talk__text small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.r14-talk__text strong { font-size: .84rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r14-talk__item:hover strong { color: var(--primary); }
.r14-talk__bubble { flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
  color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.r14-tags { display: flex; flex-wrap: wrap; gap: .45rem; padding: 1rem; }
.r14-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-card-2); color: var(--text-secondary); font-weight: 600; text-decoration: none; transition: all .2s ease; }
.r14-tag span { font-size: .62rem; font-weight: 700; padding: .05rem .35rem; border-radius: 999px; background: var(--bg-card); color: var(--text-muted); }
.r14-tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.r14-tag:hover span { background: rgba(255,255,255,.2); color: #fff; }
.r14-tag.w1 { font-size: .74rem; } .r14-tag.w2 { font-size: .8rem; } .r14-tag.w3 { font-size: .88rem; }
.r14-tag.w4 { font-size: .96rem; color: var(--text-primary); border-color: var(--border-accent); }

/* ── Accueil : blocs automatiques dans la colonne de droite ── */
.r14-side .sidebar-widget__head h5 { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-side__pill { flex-shrink: 0; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); }
.r14-side__table { font-size: .8rem; }
.r14-side__table th, .r14-side__table td { padding: .45rem .5rem; }
.r14-side__table th:first-child, .r14-side__table td:first-child { padding-left: .85rem; }
.r14-side__table th:last-child, .r14-side__table td:last-child { padding-right: .85rem; }
.r14-side__table .r14-league__club { gap: .45rem; }
.r14-side__table .r14-league__club span:last-child { max-width: 120px; }
.r14-side__table .r14-crest { width: 22px; height: 22px; font-size: .55rem; border-radius: 6px; }
.r14-side__table .r14-league__rank { width: 22px; height: 22px; font-size: .7rem; }
.r14-side__more { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem; border-top: 1px solid var(--border); font-size: .78rem; font-weight: 600; color: var(--text-secondary); }
.r14-side__more:hover { color: var(--primary); background: var(--bg-card-2); }
.r14-side__more i { font-size: .68rem; }
.r14-side .r14-scorers { padding: .25rem .75rem .5rem; }
.r14-side .r14-scorer__photo { width: 38px; height: 38px; font-size: .72rem; }
.r14-side .r14-talk__list { padding: .3rem; }
.r14-side .r14-talk__item { gap: .6rem; padding: .5rem; }
.r14-side .r14-talk__item img { width: 52px; height: 42px; }
.r14-side .r14-talk__text strong { font-size: .8rem; }
.r14-side .r14-talk__bubble { padding: .2rem .45rem; font-size: .7rem; }
.r14-side .r14-tags { padding: .85rem; gap: .4rem; }
.r14-side .r14-tag.w4 { font-size: .9rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   PODCAST
   ═══════════════════════════════════════════════════════════════════════════ */
.r14-menu-podcast { display: flex !important; align-items: center; }
.r14-menu-badge { margin-left: auto; padding: .05rem .4rem; border-radius: 999px; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--primary); }

/* En-tête (toujours foncé : bleu nuit en thème Nuit, vert foncé en thème Mali) */
.r14-pod-hero {
  --pod-a: #17233D; --pod-b: #0B1222; --pod-glow: rgba(232, 0, 28, .28);
  position: relative; overflow: hidden; padding: 3rem 0; color: #fff;
  background: radial-gradient(circle at 85% 10%, var(--pod-glow), transparent 45%), linear-gradient(135deg, var(--pod-a), var(--pod-b));
}
html[data-theme="mali"] .r14-pod-hero { --pod-a: #0B6E2E; --pod-b: #06451C; --pod-glow: rgba(252, 209, 22, .25); }
.r14-pod-hero::after { /* ondes sonores décoratives */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 420px; height: 220px; opacity: .08; pointer-events: none;
  background: repeating-linear-gradient(90deg, #fff 0 10px, transparent 10px 24px);
  -webkit-mask: radial-gradient(ellipse at center, #000 30%, transparent 70%); mask: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.r14-pod-hero__inner { position: relative; z-index: 1; display: flex; gap: 2.25rem; align-items: center; }
.r14-pod-hero__cover { width: 240px; height: 240px; flex-shrink: 0; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.r14-pod-hero__text { flex: 1; min-width: 0; }
.r14-pod-hero__kicker { margin: 0 0 .6rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF8A98; }
html[data-theme="mali"] .r14-pod-hero__kicker { color: #FCD116; }
.r14-pod-hero h1 { margin: 0 0 .5rem; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; text-transform: uppercase; color: #fff; }
.r14-pod-hero.is-episode h1 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); text-transform: none; }
.r14-pod-hero__tagline { font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,.92); margin: 0 0 .5rem; }
.r14-pod-hero__desc { max-width: 680px; font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 .8rem; }
.r14-pod-hero__host { font-size: .82rem; color: rgba(255,255,255,.8); margin: 0 0 1.1rem; }
.r14-pod-hero__host i { margin-right: .35rem; opacity: .8; }
.r14-pod-hero__player { margin-top: 1.2rem; max-width: 720px; }
.r14-pod-crumb { position: relative; z-index: 1; margin-bottom: 1.4rem; font-size: .76rem; color: rgba(255,255,255,.6); }
.r14-pod-crumb a { color: rgba(255,255,255,.85); } .r14-pod-crumb a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767.98px) {
  .r14-pod-hero { padding: 2rem 0; }
  .r14-pod-hero__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .r14-pod-hero__cover { width: 150px; height: 150px; border-radius: 16px; }
}

/* Boutons des plateformes */
.r14-platforms { display: flex; flex-wrap: wrap; gap: .55rem; }
.r14-platform { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .85rem .45rem .6rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07); color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.1; text-decoration: none; transition: transform .2s, background .2s; cursor: pointer; }
.r14-platform i { font-size: 1.3rem; width: 24px; text-align: center; }
.r14-platform small { display: block; font-size: .6rem; font-weight: 500; opacity: .7; }
.r14-platform:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); color: #fff; }
.r14-platform.is-sp i { color: #1ED760; } .r14-platform.is-ap i { color: #B150E2; } .r14-platform.is-yt i { color: #FF3D3D; } .r14-platform.is-dz i { color: #A238FF; } .r14-platform.is-rss i { color: #F59E0B; }
.sidebar-widget .r14-platform { color: var(--text-primary); background: var(--bg-card-2); border-color: var(--border); width: 100%; }
.sidebar-widget .r14-platform:hover { color: var(--text-primary); border-color: var(--border-accent); }

/* Lecteur audio */
.r14-player { display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.r14-pod-hero .r14-player { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); box-shadow: none; --text-primary: #fff; --text-muted: rgba(255,255,255,.65); --border: rgba(255,255,255,.18); }
.r14-player__play { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.05rem; color: #fff;
  background: var(--primary); box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 40%, transparent); transition: transform .15s, background .2s; cursor: pointer; }
.r14-player__play:hover { transform: scale(1.06); background: var(--primary-hover); }
.r14-player__play .fa-play { margin-left: 3px; }
.r14-player.is-playing .r14-player__play { animation: r14-pulse 1.8s ease-out infinite; }
@keyframes r14-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.r14-player__body { flex: 1; min-width: 0; }
.r14-player__title { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; font-size: .8rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-player__live { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.r14-player__live i { width: 3px; height: 4px; border-radius: 2px; background: var(--primary); }
.r14-player.is-playing .r14-player__live i { animation: r14-eq .9s ease-in-out infinite; }
.r14-player.is-playing .r14-player__live i:nth-child(2) { animation-delay: .2s; } .r14-player.is-playing .r14-player__live i:nth-child(3) { animation-delay: .4s; }
@keyframes r14-eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.r14-player__bar { position: relative; height: 6px; border-radius: 6px; background: var(--border); cursor: pointer; }
.r14-player__bar:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.r14-player__buffer, .r14-player__progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; }
.r14-player__buffer { background: color-mix(in srgb, var(--text-muted) 35%, transparent); }
.r14-player__progress { background: var(--primary); }
.r14-player__progress::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--primary); transform: translateY(-50%) scale(0); transition: transform .15s; }
.r14-player__bar:hover .r14-player__progress::after, .r14-player.is-playing .r14-player__progress::after { transform: translateY(-50%) scale(1); }
.r14-player__times { display: flex; justify-content: space-between; margin-top: .35rem; font-family: var(--font-mono); font-size: .68rem; color: var(--text-muted); }
.r14-player__tools { display: flex; align-items: center; gap: .3rem; }
.r14-player__tools button, .r14-player__tools a { position: relative; min-width: 36px; height: 36px; padding: 0 .45rem; border-radius: 10px; border: 1px solid var(--border);
  background: transparent; color: var(--text-primary); font-size: .8rem; font-weight: 700; display: inline-grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.r14-player__tools button:hover, .r14-player__tools a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.r14-player__tools small { position: absolute; font-size: .45rem; font-weight: 800; }
.r14-player.is-compact { padding: .45rem .6rem; gap: .65rem; box-shadow: none; background: var(--bg-card-2); }
.r14-player.is-compact .r14-player__play { width: 38px; height: 38px; font-size: .85rem; box-shadow: none; }
.r14-player.is-empty { gap: .7rem; font-size: .82rem; color: var(--text-muted); box-shadow: none; }
.r14-player.is-empty .r14-player__play { width: 38px; height: 38px; font-size: .85rem; background: var(--bg-card-2); color: var(--text-muted); box-shadow: none; cursor: default; }
@media (max-width: 575.98px) { .r14-player:not(.is-compact) { flex-wrap: wrap; } .r14-player__tools { width: 100%; justify-content: flex-end; } }
.r14-player-embed { border-radius: 14px; overflow: hidden; }
.r14-player-embed iframe { display: block; width: 100%; border: 0; border-radius: 14px; }
.r14-player-embed.is-video iframe { aspect-ratio: 16 / 9; height: auto; }

/* Dernier épisode à la une */
.r14-pod-latest { display: grid; grid-template-columns: 300px 1fr; gap: 1.75rem; align-items: center; padding: 1.4rem; border-radius: var(--radius-xl);
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.r14-pod-latest__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; transition: transform .3s; }
.r14-pod-latest__cover:hover img { transform: scale(1.02); }
.r14-pod-latest__badge { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--primary); }
.r14-pod-latest h2 { margin: .3rem 0 .5rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.15; }
.r14-pod-latest h2 a { color: var(--text-primary); } .r14-pod-latest h2 a:hover { color: var(--primary); }
.r14-pod-latest__guests { font-size: .84rem; font-weight: 600; color: var(--text-secondary); margin: 0 0 .5rem; }
.r14-pod-latest__guests i { color: var(--primary); margin-right: .3rem; }
.r14-pod-latest__summary { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 1rem; }
@media (max-width: 767.98px) { .r14-pod-latest { grid-template-columns: 1fr; } .r14-pod-latest__cover img { max-width: 220px; } }

/* Saisons */
.r14-seasons { display: flex; flex-wrap: wrap; gap: .35rem; }
.r14-seasons a { padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); font-size: .76rem; font-weight: 600; color: var(--text-secondary); }
.r14-seasons a:hover, .r14-seasons a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Liste des épisodes */
.r14-ep-list { display: flex; flex-direction: column; gap: .9rem; }
.r14-ep { display: flex; gap: 1.1rem; padding: 1rem; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: border-color .2s; }
.r14-ep:hover { border-color: var(--border-accent); }
.r14-ep__cover { position: relative; flex-shrink: 0; width: 132px; height: 132px; border-radius: 12px; overflow: hidden; }
.r14-ep__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.r14-ep:hover .r14-ep__cover img { transform: scale(1.05); }
.r14-ep__cover span { position: absolute; right: 6px; bottom: 6px; padding: .1rem .4rem; border-radius: 6px; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.7); }
.r14-ep__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.r14-ep__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: 0 0 .35rem; font-size: .72rem; color: var(--text-muted); }
.r14-ep__meta i { margin-right: .3rem; font-size: .66rem; }
.r14-ep__meta.is-light { color: rgba(255,255,255,.75); } .r14-ep__meta.is-light a { color: #fff; }
.r14-ep__label { padding: .1rem .5rem; border-radius: 6px; font-family: var(--font-mono); font-size: .64rem; font-weight: 800; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.r14-ep__title { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.r14-ep__title a { color: var(--text-primary); } .r14-ep__title a:hover { color: var(--primary); }
.r14-ep__summary { margin: 0 0 .7rem; font-size: .84rem; line-height: 1.55; color: var(--text-secondary); }
.r14-ep .r14-player { margin-top: auto; }
@media (max-width: 575.98px) { .r14-ep { flex-direction: column; } .r14-ep__cover { width: 100%; height: auto; aspect-ratio: 16 / 9; } }
.r14-pod-empty { padding: 3rem 1rem; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--border); color: var(--text-muted); }
.r14-pod-empty i { font-size: 2rem; color: var(--primary); margin-bottom: .75rem; }

/* Page épisode */
.r14-pod-notes { margin: 1.5rem 0; padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.r14-pod-notes h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin: 0 0 .75rem; color: var(--text-primary); }
.r14-pod-notes h2 i { color: var(--primary); margin-right: .4rem; }
.r14-pod-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.5rem; }
.r14-pod-nav a { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); }
.r14-pod-nav a.is-next { text-align: right; grid-column: 2; }
.r14-pod-nav a:hover { border-color: var(--border-accent); color: var(--primary); }
.r14-pod-nav small { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.r14-pod-nav strong { font-size: .88rem; line-height: 1.35; }
.r14-ep-mini { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); color: var(--text-primary); }
.r14-ep-mini img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; object-fit: cover; }
.r14-ep-mini span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.r14-ep-mini small { font-family: var(--font-mono); font-size: .62rem; color: var(--text-muted); }
.r14-ep-mini strong { font-size: .82rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r14-ep-mini > i { color: var(--primary); font-size: 1.3rem; opacity: .7; transition: opacity .2s, transform .2s; }
.r14-ep-mini:hover { background: var(--bg-card-2); color: var(--text-primary); }
.r14-ep-mini:hover > i { opacity: 1; transform: scale(1.1); }

/* ── Accueil : raccourci podcast à côté du carrousel ── */
.aside-podcast { position: relative; flex: 1; min-height: 0; border-radius: var(--radius-md); overflow: hidden; color: #fff; isolation: isolate; }
.aside-podcast__bg { position: absolute; inset: -20px; z-index: -2; background: var(--cover) center / cover no-repeat; filter: blur(18px) saturate(1.3); transform: scale(1.1); }
.aside-podcast::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 100% 0%, rgba(232, 0, 28, .35), transparent 55%), linear-gradient(160deg, rgba(10, 15, 30, .78), rgba(10, 15, 30, .94)); }
html[data-theme="mali"] .aside-podcast::before { background: radial-gradient(circle at 100% 0%, rgba(252, 209, 22, .3), transparent 55%), linear-gradient(160deg, rgba(6, 69, 28, .82), rgba(4, 40, 17, .95)); }
.aside-podcast__content { height: 100%; display: flex; flex-direction: column; gap: .75rem; padding: 1rem; }
.aside-podcast__top { display: flex; align-items: center; justify-content: space-between; }
.aside-podcast__kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .22rem .6rem; border-radius: 999px; background: var(--primary);
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.aside-podcast__kicker .r14-player__live i { background: #fff; animation: r14-eq .9s ease-in-out infinite; }
.aside-podcast__kicker .r14-player__live i:nth-child(2) { animation-delay: .2s; } .aside-podcast__kicker .r14-player__live i:nth-child(3) { animation-delay: .4s; }
.aside-podcast__all { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.75); }
.aside-podcast__all:hover { color: #fff; }
.aside-podcast__all i { font-size: .62rem; margin-left: .2rem; }
.aside-podcast__main { flex: 1; min-height: 0; display: flex; align-items: center; gap: .8rem; }
.aside-podcast__cover { width: 76px; height: 76px; flex-shrink: 0; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.aside-podcast__meta { margin: 0 0 .25rem; font-family: var(--font-mono); font-size: .64rem; font-weight: 700; color: #FF8A98; }
html[data-theme="mali"] .aside-podcast__meta { color: #FCD116; }
.aside-podcast__title { margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aside-podcast__title a { color: #fff; } .aside-podcast__title a:hover { color: #FFD1D7; }
.aside-podcast .r14-player { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); box-shadow: none;
  --text-primary: #fff; --text-muted: rgba(255,255,255,.7); --border: rgba(255,255,255,.22); --bg-card-2: rgba(255,255,255,.1); }
.aside-podcast__listen { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem; border-radius: 12px; background: var(--primary); color: #fff; font-size: .82rem; font-weight: 700; }
.aside-podcast__listen:hover { background: var(--primary-hover); color: #fff; }

/* Colonne à côté du carrousel : podcast et article en deux blocs bien séparés */
.hero-aside.is-split { background: transparent !important; padding: 0 !important; gap: 16px !important; border-radius: 0 !important; }
.hero-aside.is-split > .aside-podcast,
.hero-aside.is-split > .aside-article {
  border-radius: var(--radius-lg) !important; border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
html[data-theme="mali"] .hero-aside.is-split > .aside-podcast,
html[data-theme="mali"] .hero-aside.is-split > .aside-article { box-shadow: 0 10px 26px rgba(17, 45, 27, .14); }
.hero-aside.is-split > .aside-podcast { flex: 0 0 auto; }
.hero-aside.is-split > .aside-podcast .aside-podcast__content { gap: .9rem; }
.hero-aside.is-split > .aside-podcast .aside-podcast__main { flex: 0 0 auto; }

/* ── Sélecteur de langue (barre du haut) : liste à drapeaux FR / EN ───────── */
.r14-lang { display: inline-flex; align-items: center; gap: .2rem; margin: 0; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.r14-lang__item { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .5rem; border: 0; background: transparent; color: rgba(255,255,255,.72); font-family: inherit; font-size: .72rem; font-weight: 600; line-height: 1; border-radius: 999px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.r14-lang__item:hover { color: #fff; background: rgba(255,255,255,.12); }
.r14-lang__item.is-active { color: #fff; background: rgba(255,255,255,.2); cursor: default; }
.r14-lang__flag { width: 19px; height: 13px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.18); display: inline-block; flex-shrink: 0; }
.r14-lang__flag svg { width: 100%; height: 100%; display: block; }
.r14-lang__label { white-space: nowrap; }
@media (max-width: 991.98px) { .r14-lang__label { display: none; } .r14-lang__item { padding: .2rem .35rem; } }

/* Thème Mali : repère la langue active en or du drapeau */
html[data-theme="mali"] .r14-lang { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
html[data-theme="mali"] .r14-lang__item.is-active { background: var(--mali-flag-gold); color: var(--mali-deeper); }

/* ════════ Blocs d'accueil modernes : Mosaïque (bento) & Fil numéroté ════════ */

/* — Mosaïque / bento — */
.r14-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 162px;
  gap: 14px;
}
.r14-mosaic__item {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
}
.r14-mosaic__item.is-lead { grid-row: span 2; }
.r14-mosaic__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.r14-mosaic__item:hover img { transform: scale(1.07); }
.r14-mosaic__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.r14-mosaic__cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--primary); color: #fff;
  font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .55rem; border-radius: 999px;
}
.r14-mosaic__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; }
.r14-mosaic__title {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; line-height: 1.25; margin: 0 0 .3rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.r14-mosaic__item.is-lead .r14-mosaic__title { font-size: 1.15rem; }
.r14-mosaic__meta {
  color: rgba(255,255,255,.78); font-size: .68rem;
  display: inline-flex; align-items: center; gap: .3rem;
}
.r14-mosaic__meta i { color: rgba(255,255,255,.6); font-size: .64rem; }
@media (max-width: 992px) {
  .r14-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .r14-mosaic__item.is-lead { grid-column: span 2; grid-row: span 1; grid-auto-rows: 200px; }
  .r14-mosaic__item.is-lead .r14-mosaic__title { font-size: 1rem; }
}
@media (max-width: 560px) {
  .r14-mosaic { grid-template-columns: 1fr; }
  .r14-mosaic__item, .r14-mosaic__item.is-lead { grid-column: auto; }
}

/* — Fil moderne / liste numérotée — */
.r14-feed { display: flex; flex-direction: column; gap: 10px; }
.r14-feed__item {
  display: flex; align-items: center; gap: 14px; padding: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.r14-feed__item:hover {
  border-color: var(--border-accent); transform: translateX(4px); box-shadow: var(--shadow-card);
}
.r14-feed__num {
  flex-shrink: 0; width: 30px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--primary); opacity: .55;
}
.r14-feed__thumb {
  flex-shrink: 0; width: 94px; height: 66px;
  border-radius: var(--radius-md); overflow: hidden;
}
.r14-feed__thumb img { width: 100%; height: 100%; object-fit: cover; }
.r14-feed__body { flex: 1; min-width: 0; }
.r14-feed__cat {
  display: inline-block; font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: .2rem;
}
.r14-feed__title {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.3;
  color: var(--text-primary); margin: 0 0 .2rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s ease;
}
.r14-feed__item:hover .r14-feed__title { color: var(--primary); }
.r14-feed__meta { font-size: .7rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: .3rem; }
.r14-feed__meta i { font-size: .66rem; }
.r14-feed__arrow { flex-shrink: 0; color: var(--text-muted); transition: transform .2s ease, color .2s ease; }
.r14-feed__item:hover .r14-feed__arrow { color: var(--primary); transform: translateX(3px); }
@media (max-width: 480px) {
  .r14-feed__num { display: none; }
  .r14-feed__thumb { width: 72px; height: 54px; }
  .r14-feed__title { font-size: .86rem; }
}

/* ════════ Blocs d'accueil : Mercato / Transferts & Débats & opinions ════════ */

/* — Mercato / transferts : grande carte + statuts colorés — */
.r14-mercato { display: grid; grid-template-columns: 1.7fr 1fr; grid-auto-rows: 136px; gap: 14px; }
.r14-mercato__item {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); text-decoration: none;
}
.r14-mercato__item.is-lead { grid-row: span 2; }
.r14-mercato__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.r14-mercato__item:hover img { transform: scale(1.06); }
.r14-mercato__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.r14-mercato__status {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem;
  background: #2563eb; color: #fff;
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: .22rem .6rem; border-radius: 999px;
}
.r14-mercato__status.is-official { background: #16a34a; }
.r14-mercato__status.is-rumor { background: var(--primary); }
.r14-mercato__status.is-nego { background: rgba(2,8,23,.6); border: 1px solid #60a5fa; color: #bfdbfe; }
.r14-mercato__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; }
.r14-mercato__title {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: .9rem; line-height: 1.25; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.r14-mercato__item.is-lead .r14-mercato__title { font-size: 1.3rem; }
@media (max-width: 768px) {
  .r14-mercato { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .r14-mercato__item.is-lead { grid-column: span 2; grid-row: span 1; grid-auto-rows: 190px; }
  .r14-mercato__item.is-lead .r14-mercato__title { font-size: 1.05rem; }
}
@media (max-width: 480px) { .r14-mercato { grid-template-columns: 1fr; } .r14-mercato__item.is-lead { grid-column: auto; } }

/* — Débats & opinions : grand sujet + liste commentée — */
.r14-debates { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
.r14-debates__feat {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 300px; box-shadow: var(--shadow-card); text-decoration: none;
}
.r14-debates__feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.r14-debates__feat:hover img { transform: scale(1.05); }
.r14-debates__feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.25) 60%, transparent 100%); }
.r14-debates__feat-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; }
.r14-debates__tag {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.r14-debates__feat-title { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.25; margin: 0 0 .6rem; }
.r14-debates__meta { display: inline-flex; align-items: center; gap: 1rem; font-size: .72rem; color: rgba(255,255,255,.8); }
.r14-debates__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.r14-debates__list { display: flex; flex-direction: column; gap: 10px; }
.r14-debates__row {
  display: flex; gap: 12px; align-items: center; padding: 10px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  text-decoration: none; transition: border-color .2s ease, transform .2s ease;
}
.r14-debates__row:hover { border-color: var(--border-accent); transform: translateX(3px); }
.r14-debates__thumb { flex-shrink: 0; width: 84px; height: 60px; border-radius: 8px; overflow: hidden; }
.r14-debates__thumb img { width: 100%; height: 100%; object-fit: cover; }
.r14-debates__row-body { flex: 1; min-width: 0; }
.r14-debates__row-title {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; line-height: 1.3;
  color: var(--text-primary); margin: 0 0 .25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.r14-debates__row:hover .r14-debates__row-title { color: var(--primary); }
.r14-debates__list .r14-debates__meta { color: var(--text-muted); gap: .3rem; }
@media (max-width: 768px) { .r14-debates { grid-template-columns: 1fr; } .r14-debates__feat { min-height: 230px; } }

/* ════════ À la une (bannière) + blocs composables de la colonne de droite ════════ */

/* — Spotlight / À la une (colonne principale) — */
.r14-spotlight { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; min-height: 320px; box-shadow: var(--shadow-card); text-decoration: none; }
.r14-spotlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.r14-spotlight:hover img { transform: scale(1.04); }
.r14-spotlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.2) 55%, transparent); }
.r14-spotlight__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; max-width: 720px; }
.r14-spotlight__cat { display: inline-block; background: var(--primary); color: #fff; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .22rem .6rem; border-radius: 999px; margin-bottom: .7rem; }
.r14-spotlight__title { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.2; margin: 0 0 .5rem; }
.r14-spotlight__excerpt { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r14-spotlight__meta { color: rgba(255,255,255,.72); font-size: .74rem; display: inline-flex; align-items: center; gap: .35rem; }
@media (max-width: 768px) { .r14-spotlight { min-height: 240px; } .r14-spotlight__title { font-size: 1.25rem; } .r14-spotlight__excerpt { display: none; } }

/* — Cadre commun des blocs de droite (bord à bord) — */
.r14-aside-block .sidebar-widget__body { padding: 0; }
.r14-aside-block__more { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: 10px; border-top: 1px solid var(--border); font-size: .76rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.r14-aside-block__more:hover { background: var(--bg-card-2); }

/* — Droite : liste compacte numérotée — */
.r14-asl { list-style: none; margin: 0; padding: 0; }
.r14-asl__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background .15s ease; }
.r14-asl li:last-child .r14-asl__item { border-bottom: 0; }
.r14-asl__item:hover { background: var(--bg-card-2); }
.r14-asl__num { flex-shrink: 0; width: 20px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--primary); opacity: .6; }
.r14-asl__thumb { flex-shrink: 0; width: 54px; height: 40px; border-radius: 7px; overflow: hidden; }
.r14-asl__thumb img { width: 100%; height: 100%; object-fit: cover; }
.r14-asl__body { min-width: 0; }
.r14-asl__title { font-size: .8rem; font-weight: 600; line-height: 1.25; margin: 0 0 .15rem; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r14-asl__item:hover .r14-asl__title { color: var(--primary); }
.r14-asl__meta { font-size: .66rem; color: var(--text-muted); }

/* — Droite : petites cartes image + titre — */
.r14-asc { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.r14-asc__item { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; height: 118px; text-decoration: none; }
.r14-asc__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.r14-asc__item:hover img { transform: scale(1.06); }
.r14-asc__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92), transparent 72%); }
.r14-asc__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 10px; }
.r14-asc__cat { display: inline-block; font-size: .56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--primary); padding: .12rem .4rem; border-radius: 4px; margin-bottom: .3rem; }
.r14-asc__title { color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.25; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* — Droite : titres en liste (sans image) — */
.r14-ash { list-style: none; margin: 0; padding: 0; }
.r14-ash__item { display: flex; gap: 9px; padding: 10px 12px; border-bottom: 1px solid var(--border); text-decoration: none; }
.r14-ash li:last-child .r14-ash__item { border-bottom: 0; }
.r14-ash__ic { color: var(--primary); margin-top: 3px; font-size: .8rem; flex-shrink: 0; }
.r14-ash__title { font-size: .82rem; font-weight: 600; line-height: 1.3; margin: 0 0 .15rem; color: var(--text-primary); }
.r14-ash__item:hover .r14-ash__title { color: var(--primary); }
.r14-ash__meta { font-size: .66rem; color: var(--text-muted); }

/* — Droite : matchs / rencontres — */
.r14-asm { list-style: none; margin: 0; padding: 0; }
.r14-asm__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border); text-decoration: none; }
.r14-asm li:last-child .r14-asm__item { border-bottom: 0; }
.r14-asm__item:hover { background: var(--bg-card-2); }
.r14-asm__teams { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.r14-asm__team { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-asm__badge { flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-size: .54rem; font-weight: 800; }
.r14-asm__res { flex-shrink: 0; text-align: center; }
.r14-asm__score { font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--text-primary); line-height: 1.35; }
.r14-asm__when { font-family: var(--font-mono, monospace); font-size: .64rem; color: var(--primary); font-weight: 700; line-height: 1.4; }

/* — Droite : meilleurs buteurs — */
.r14-assc { list-style: none; margin: 0; padding: 0; }
.r14-assc__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.r14-assc li:last-child, .r14-assc__item:last-child { border-bottom: 0; }
.r14-assc__rank { flex-shrink: 0; width: 22px; text-align: center; font-weight: 800; font-size: .9rem; color: var(--text-muted); }
.r14-assc__ph { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--bg-card-2); display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: var(--primary); }
.r14-assc__ph img { width: 100%; height: 100%; object-fit: cover; }
.r14-assc__body { flex: 1; min-width: 0; }
.r14-assc__name { font-size: .82rem; font-weight: 700; margin: 0; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r14-assc__club { font-size: .66rem; color: var(--text-muted); }
.r14-assc__goals { flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--primary); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.r14-assc__goals small { font-size: .52rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }

/* — Droite : publicité / encart — */
.r14-asad { padding: 12px; }
.r14-asad__item { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; }
.r14-asad__item + .r14-asad__item { margin-top: 10px; }
.r14-asad__item img { width: 100%; height: auto; display: block; }
.r14-asad__tag { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: .54rem; text-transform: uppercase; letter-spacing: .05em; padding: .1rem .4rem; border-radius: 4px; }

/* ══════════════ Corrections PDF (nov. 2026) ══════════════ */

/* 4. Sélecteur de langue en liste déroulante (drapeau + nom du pays) */
.r14-langdd { position: relative; display: inline-block; }
.r14-langdd__toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border-radius: 999px; font-family: inherit; font-size: .74rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease; }
.r14-langdd__toggle:hover { color: #fff; background: rgba(255,255,255,.14); }
.r14-langdd__caret { font-size: .6rem; transition: transform .2s ease; opacity: .8; }
.r14-langdd.is-open .r14-langdd__caret { transform: rotate(180deg); }
.r14-langdd__menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 168px; background: var(--bg-card, #111827); border: 1px solid var(--border, rgba(255,255,255,.1)); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.4); padding: .3rem; margin: 0; display: none; z-index: 1200; }
.r14-langdd.is-open .r14-langdd__menu { display: block; }
.r14-langdd__opt { display: flex; align-items: center; gap: .55rem; width: 100%; padding: .5rem .6rem; border: 0; background: transparent; color: var(--text-secondary, #cbd5e1); font-family: inherit; font-size: .82rem; font-weight: 600; text-align: left; border-radius: 8px; cursor: pointer; transition: background .12s ease, color .12s ease; }
.r14-langdd__opt:hover { background: rgba(255,255,255,.07); color: var(--text-primary, #fff); }
.r14-langdd__opt.is-active { color: var(--primary, #E8001C); }
.r14-langdd__opt span:nth-child(2) { flex: 1; }
.r14-langdd__tick { font-size: .7rem; color: var(--primary, #E8001C); }
html[data-theme="mali"] .r14-langdd__menu { background: #fff; border-color: rgba(16,40,24,.12); }
html[data-theme="mali"] .r14-langdd__opt { color: #2B3A30; }
html[data-theme="mali"] .r14-langdd__opt:hover { background: rgba(16,40,24,.06); color: #0D1911; }

/* 2. Date de la barre du haut : jamais de retour à la ligne, tronquée si besoin */
.live-time { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
@media (max-width: 1199.98px) { .live-time { max-width: 190px; } }

/* 6. Badge catégorie dans la grande carte « à la une » : au-dessus du titre, pas par-dessus */
.article-card--featured .article-card__cat { position: static; display: inline-block; align-self: flex-start; margin-bottom: .55rem; }

/* 11. Le texte du badge catégorie reste TOUJOURS visible au survol — qu'on
   survole la carte OU le badge-lien lui-même (le badge est un <a>, sinon la
   règle globale « a:hover » rend le texte rouge sur fond rouge = invisible).
   Harmonisé pour tous les gabarits et toutes les teintes. */
.article-card:hover .article-card__cat,
.r14-feed__item:hover .r14-feed__cat,
.r14-spotlight:hover .r14-spotlight__cat,
.r14-mosaic__item:hover .r14-mosaic__cat,
.r14-asc__item:hover .r14-asc__cat,
a.article-card__cat:hover, .article-card__cat:hover,
a.r14-feed__cat:hover, .r14-feed__cat:hover,
a.r14-spotlight__cat:hover, .r14-spotlight__cat:hover,
a.r14-mosaic__cat:hover, .r14-mosaic__cat:hover,
a.r14-asc__cat:hover, .r14-asc__cat:hover { color: #fff; }
/* Variante « or » : fond clair → texte foncé, y compris au survol du lien. */
.article-card__cat.gold,
.article-card:hover .article-card__cat.gold,
a.article-card__cat.gold:hover, .article-card__cat.gold:hover { color: var(--bg-body); }

/* 10. Un peu plus d'air entre les icônes et le texte des méta (date, heure, lecture) */
.hero-meta { gap: 1.15rem; }
.hero-meta span, .article-card__meta span, .cl-meta span, .r14-feed__meta, .r14-spotlight__meta,
.result-meta span, .legal-meta-item { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta i, .article-card__meta i, .cl-meta i, .r14-feed__meta i, .r14-spotlight__meta i,
.result-meta i, .meta-tag i { margin-right: .12rem; }
