.article-badge-type {
    color: #33;
    background: var(--gold);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
	margin-bottom:10px;
}

/* --- STYLE PAGE ARTICLE --- */
.article-body a.lien-titre-actu {
	text-decoration: none !important;
}

/* fixe titre des articles */
.article-body #template-fighter-fullranking .titre{
	font-family: 'Oswald', sans-serif;
	font-size: 1.2rem;
	background:#000;
	padding:15px 10px;
	text-transform: uppercase;
	letter-spacing:1px;
	}

body.light-mode .article-body #template-fighter-fullranking .titre{color:#fff;background:#212529;}

/* --- BOUTONS STYLE "PREMIUM MAT" --- */
.article-body .btn-dark {
    /* ETAT NORMAL : Sobre */
    background-color: #343a40 !important; /* Gris anthracite (Bootstrap Dark) */
    color: #ffffff !important;            /* Texte Blanc */
    border: 1px solid #343a40 !important; /* Bordure invisible (même couleur) */
    
    /* Typographie */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9rem;
    
    /* Forme */
    padding: 6px 12px;
    border-radius: 4px; /* Coins très légèrement arrondis */
    margin: 2px;        /* Espace entre les boutons */
    transition: all 0.2s ease-in-out;
}

/* ETAT SURVOL : La petite touche classe */
.article-body .btn-dark:hover {
    background-color: #333 !important; /* Fond devient Noir Pur */
    color: #var(--gold) !important;            /* Texte devient OR */
    /*border-color: #edc13b !important;      Fine bordure OR qui apparait */
}

/* ICÔNES (Horloge) */
.article-body .btn-dark i {
    color: inherit !important; /* L'icône suit la couleur du texte */
}


/* Conteneur global */
.article-container {
    background-color: var(--bg-card); /* S'adapte au thème */
    padding: 20px;
    border-radius: 2px;
    /* Optionnel : bordure légère */
    border: 1px solid var(--border-color);
}

/* 1. TITRE H1 */
.article-main-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--text-title); /* Blanc ou Noir */
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* 2. METADONNEES */
/* --- BLOC META (Auteur, Date, Vues) --- */
.article-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem; /* Taille de texte propre */
    color: var(--text-muted, #6c757d); /* Gris par défaut (mode clair) */
    
    /* Flexbox pour bien aligner */
    flex-wrap: wrap; 
    gap: 15px; /* Espace entre les groupes (Auteur / Date) */
}

/* GESTION MODE SOMBRE (Si tu as une classe body.dark ou data-theme) */
/* Ce gris plus clair s'active si le fond est sombre pour rester lisible 
body.dark-mode .article-meta, 
[data-theme="dark"] .article-meta {
    color: #b0b0b0; 
}*/
.article-meta {
    color: var(--text-meta); /* S'adapte auto au thème (Gris clair ou Gris foncé) */
}

/* TOUTES LES ICÔNES EN OR */
.article-meta i {
    color: #edc13b !important; /* Force la couleur OR partout */
    margin-right: 5px;         /* Espace entre l'icône et le texte */
    font-size: 1rem;
}

/* Espacement spécifique pour les éléments collés (Date / Heure / Vues) */
.article-meta i.fa-clock,
.article-meta i.fa-eye {
    margin-left: 15px; /* Espace avant l'icône pour séparer les infos */
}

/* LE LIEN AUTEUR */
.auteur-lien {
    color: inherit !important; /* Prend la couleur du texte (Gris) */
    text-decoration: none;
    font-weight: 700;          /* Gras */
    border-bottom: 1px solid transparent; /* Prépare le soulignement */
    transition: all 0.2s ease;
}

.auteur-lien:hover {
    color: #edc13b !important; /* Devient OR au survol */
    border-bottom-color: #edc13b; /* Souligné OR */
}

/* 3. CHAPEAU (Intro) */
.article-lead {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-title); /* S'adapte */
    opacity: 0.9;
    border-left: 4px solid #edc13b; /* Barre OR à gauche */
    padding-left: 15px;
    font-style: italic;
}

/* 4. CORPS DU TEXTE (Le plus important) */
.article-body {
    font-size: 1.05rem; /* Taille confortable */
    line-height: 1.8;   /* Bonne aération des lignes */
    color: var(--text-title); /* S'adapte au thème */
    font-family: 'Roboto', sans-serif; /* Police de lecture simple */
}

/* Gestion des titres H2, H3 dans l'article */
.article-body h2, 
.article-body h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--text-title);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.article-body h2 { font-size: 1.8rem; border-bottom: 1px solid var(--border-color); padding-bottom: 5px; }
.article-body h3 { font-size: 1.4rem; }

/* Gestion des paragraphes */
.article-body p {
    margin-bottom: 20px;
}

/* Gestion des liens dans le texte */
.article-body a {
    color: #edc13b; /* Couleur OR */
    text-decoration: underline;
}
.article-body a:hover {
    color: #fff;
}

/* Gestion des images DANS le texte (Très important pour le responsive) */
.article-body img {
    max-width: 100% !important; /* Force l'image à ne jamais dépasser */
    height: auto !important;
    border-radius: 6px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
body.light-mode .article-body .flag img{box-shadow:none;}
body.light-mode .article-body .minibelt{box-shadow:none;}
/* Gestion des citations (Blockquote) */
.article-body blockquote {
    background: rgba(255, 255, 255, 0.05); /* Fond très léger */
    border-left: 5px solid #edc13b;
    margin: 20px 0;
    padding: 15px 20px;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-title);
}

/* --- CORRECTIF FORCE POUR LES LIENS DANS LES ARTICLES --- */

/* 1. On cible les liens qui ont la classe "text-muted" ou "lien-actu" DANS l'article */
.article-body a.text-muted,
.article-body a.lien-actu {
    /* L'astuce est ici : on utilise !important pour écraser Bootstrap */
    color: var(--text-title) !important; /* Deviendra Blanc (Sombre) ou Noir (Clair) */
    
    font-weight: 500;
    text-decoration: none; /* On gère le soulignement nous-même */
    border-bottom: 1px dotted var(--text-meta); /* Petit souligné discret */
    transition: color 0.2s;
}

/* 2. Au survol de ces liens */
.article-body a.text-muted:hover,
.article-body a.lien-actu:hover {
    color: #edc13b !important; /* Devient OR au survol */
    border-bottom: 1px solid #edc13b;
    background-color: rgba(237, 193, 59, 0.1); /* Petit fond jaune très léger */
}

/* 3. On corrige aussi le titre "Voir aussi..." qui est parfois en noir */
.article-body span[style*="text-decoration: underline"] {
    color: var(--text-title) !important; /* Force la couleur du texte normal */
}

.article-body a.lien-actu-sponsor{
color: var(--text-title) !important;
font-weight: 700;
}

.article-body a.lien-actu-sponsor:hover{
color: #edc13b !important;
}

/* --- STYLE SPECIFIQUE TABLEAU PESEE --- */

/* 1. On nettoie le tableau pour qu'il prenne les couleurs du thème */
.article-body .table {
    background-color: var(--bg-card) !important;
    color: var(--text-title) !important;
    border-color: var(--border-color) !important;
    margin-bottom: 0;
}

/* 2. On s'assure que les cellules sont transparentes et alignées verticalement */
.article-body .table td {
    background-color: transparent !important;
    border-color: var(--border-color) !important;
	color: var(--text-title) !important;
    vertical-align: middle; /* Pour que le "vs" soit bien centré par rapport aux noms */
    padding: 12px 8px;      /* Un peu d'air */
}

/* 3. Gestion des LIENS (Noms des combattants) */
.article-body .table a.lien-actu {
    color: var(--text-title) !important; /* Blanc ou Noir */
    font-weight: 700; /* On met les noms en gras */
    text-decoration: none;
}
.article-body .table a.lien-actu:hover {
    color: #edc13b !important; /* Or au survol */
}

/* 4. La colonne centrale "VS" (Petite touche de style) */
.actualite-pesee-table-vs {
    font-weight: bold;
    color: #edc13b !important; /* On met le VS en OR */
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Oswald', sans-serif;
}
/* On retire le soulignement du lien "vs" s'il y en a un */
.actualite-pesee-table-vs a {
    text-decoration: none !important;
    color: #edc13b !important;
}

/* 5. GESTION DES COMBATS ANNULÉS (Line-through) */
/* On cible les lignes (tr) qui ont un style "line-through" */
.article-body tr[style*="line-through"] {
    opacity: 0.5; /* On les rend semi-transparents pour montrer qu'ils sont annulés */
}
.article-body tr[style*="line-through"] td {
    color: var(--text-meta) !important; /* On force le gris */
}
.article-body tr[style*="line-through"] a {
    pointer-events: none; /* Optionnel : empêche de cliquer sur les liens annulés */
    color: var(--text-meta) !important;
}


/* --- CLASSES SPECIFIQUES ARTICLES (Titres & Sous-titres) --- */

/* 1. TITRE CARD (Ex: "MAIN CARD", "RESULTATS PESEE") */
.article-body .titre-card {
    /* Style de base demandé */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.4rem; /* Un peu plus gros que 20px pour le confort */
    padding: 15px 0;
    margin-bottom: 15px; /* Espace en dessous */
    
    /* Couleurs (Force Brute pour résister au Dark Mode auto) */
    background-color: #343A40 !important; /* Le Gris foncé que tu aimes */
    color: #ffffff !important;            /* Texte Blanc toujours */
    
    /* La petite touche "Marque" : Bordures OR */
    border-top: 3px solid #edc13b;
    border-bottom: 3px solid #edc13b;
    
    /* Petit arrondi pour faire moderne */
    border-radius: 4px;
}

/* 2. SOUS-TITRE (Petits labels) */
.article-body .sous-titre {
    /* Style de base demandé */
    font-size: 0.95rem; /* ~15px */
    font-weight: 700;
    display: inline-block; /* Pour que le padding fonctionne bien */
    padding: 4px 8px;      /* J'ai aéré un tout petit peu (1px c'est trop serré) */
    margin-bottom: 10px;
    
    /* Couleurs */
    background-color: #343A40 !important;
    color: #ffffff !important;
    
    /* Finition */
    border-radius: 1px;
    border-left: 6px solid #edc13b; /* Petite barre OR à gauche */
	border-right: 6px solid #edc13b; /* Petite barre OR à gauche */
}


/* --- CORRECTION TABLE STRIPED (RAYURES) --- */

/* 1. CAS PAR DÉFAUT (Mode CLAIR / Light) */
.article-body .table-striped > tbody > tr:nth-of-type(odd) > * {
    /* Fond gris très clair */
    background-color: rgba(0, 0, 0, 0.05) !important; 
    
    /* TEXTE NOIR (ou gris foncé) pour être lisible sur le blanc */
    color: #212529 !important; 
    
    box-shadow: none !important;
}

/* 2. CAS SPÉCIFIQUE (Mode SOMBRE / Dark) */
/* Ce bloc s'active uniquement si le site est en mode sombre */
/*body.dark .article-body .table-striped > tbody > tr:nth-of-type(odd) > *,
body.dark-mode .article-body .table-striped > tbody > tr:nth-of-type(odd) > *,
[data-theme="dark"] .article-body .table-striped > tbody > tr:nth-of-type(odd) > * {
    
   
    background-color: rgba(255, 255, 255, 0.05) !important; 
    
    
    color: #ffffff !important; 
}
*/
/* --- 1. PAR DÉFAUT (Mode Sombre) --- */
/* On applique le style "texte blanc" directement, sans attendre de classe "dark" */
.article-body .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.05) !important; /* Rayure claire subtile */
    color: #ffffff !important; /* Texte BLANC */
    box-shadow: none !important;
}

/* --- 2. EXCEPTION (Mode Clair) --- */
/* C'est ici qu'on inverse si la classe light-mode est présente */
body.light-mode .article-body .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 0, 0, 0.05) !important; /* Rayure foncée subtile */
    color: #212529 !important; /* Texte NOIR pour être lisible sur le blanc */
}

/* --- FORCE TABLEAU DARK (Même en mode Light) --- */

/* 1. Le fond et le texte du tableau entier */
.article-body .table-dark {
    background-color: #212529 !important; /* Fond Gris Foncé */
    color: #ffffff !important;            /* Texte Blanc */
}

/* 2. Les cellules (th, td) */
.article-body .table-dark th,
.article-body .table-dark td {
    border-color: #373b3e !important;     /* Bordures gris foncé discrètes */
    color: #ffffff !important;            /* Force le blanc */
}

/* 3. Les rayures (Striped) spécifiques au mode Dark */
.article-body .table-dark.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.05) !important; /* Rayure claire subtile */
    color: #ffffff !important;
}

/* 4. Le survol (Hover) */
.article-body .table-dark.table-hover > tbody > tr:hover > * {
    color: #edc13b !important; /* Texte OR au survol */
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.article-body .table th{    color: #fff !important; /* Texte OR au survol */
    background-color: #020205 !important;}
	
	
/* --- TITRE PARTAGE --- */
.share-title {
    color: var(--text-title); /* Noir par défaut (Mode Clair) */
}


/* Le conteneur qui englobe tous les tags */
.actu-tags-container {
    display: flex;              /* Active le mode Flexbox */
    align-items: center;        /* Centre verticalement parfaitement */
    flex-wrap: wrap;            /* Permet de passer à la ligne si trop de tags */
    gap: 8px;                   /* Espace entre les tags (remplace les margin) */
    margin-bottom: 17px;        /* Espace sous le bloc de tags */
}

/* Le style spécifique de ton badge */
.theme-tag {
    font-size: 0.75rem;         /* La taille que tu voulais (0.8rem ajusté) */
    font-weight: 700;           /* Équivalent de fw-bold */
    text-transform: uppercase;  /* Optionnel : rend tout majuscule pour faire propre */
    padding: 0.5em 0.8em;       /* Un peu plus d'espace intérieur */
    line-height: 1;             /* Évite les décalages de hauteur */
    vertical-align: middle;     /* Sécurité supplémentaire */
    border-radius: 4px;         /* Arrondi les angles */
}



/* --- BLOC "A LIRE AUSSI" --- */
/* --- BLOC "A LIRE AUSSI" --- */
/* --- BLOC "A LIRE AUSSI" --- */
/* --- BLOC "A LIRE AUSSI" --- */

/* Titre de section avec ligne traversante */
.section-title-gold {
    border-bottom: 2px solid #edc13b;
    line-height: 0.1em;
    margin: 20px 0 30px;
    text-align: center; 
}
.section-title-gold span {
    background: var(--bg-card); /* Le texte cache la ligne derrière */
    color: var(--text-title);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    padding: 0 15px;
    font-weight: 700;
}

/* Carte Article Suggéré */
.card-related {
    display: block;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%; /* Pour aligner les hauteurs */
}

.card-related:hover {
    border-color: #edc13b;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-related-img {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.card-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-related:hover .card-related-img img {
    transform: scale(1.1); /* Zoom image au survol */
}

.badge-cat {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #edc13b;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.card-related-body {
    padding: 15px;
}

.card-related h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: 'Oswald', sans-serif;
}

/* Helper pour couper le texte après 2 lignes */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-body #template-fighter-fullranking .titre .fa-chevron-down {display: none !important;}
.article-body #template-fighter-fullranking .ranking-list td {padding: 0 !important;}
.article-body #template-fighter-fullranking .ranking-list .nom {margin-left:10px;}
.article-body #template-fighter-fullranking .ranking-list .image {margin:10px 10px 10px 0;}