/* ============================================
   FIGHTERS LISTING - STYLES PRINCIPAUX   Version: 1.9.00
   ============================================ */

/* Container principal */
.fighters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   FILTRE ALPHABÉTIQUE
   ============================================ */

.fighters-alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
    justify-content: center;
}

.alphabet-letter {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 45px;
    text-align: center;
}

.alphabet-letter:hover {
    background: #333;
    color: #fff;
    border-color: #333;
    transform: translateY(-2px);
}

.alphabet-letter.active {
    background: #00d9ff;
    color: #000 !important;
    border-color: #00d9ff;
}

.alphabet-letter.all {
    background: #333;
    color: #fff;
    border-color: #333;
}

.alphabet-letter.all:hover {
    background: #00d9ff;
    color: #000;
    border-color: #00d9ff;
}

/* ============================================
   GRILLE DES FIGHTERS
   ============================================ */

.fighters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.fighter-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: none;
    position: relative;
}

.fighter-card:hover {
    transform: translateY(-5px);
}

.fighter-card:hover .fighter-image-wrapper {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.fighter-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 4px;
}

.fighter-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fighter-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fighter-image-placeholder span {
    font-size: 64px;
    color: #fff;
    font-weight: bold;
}

.fighter-info {
    padding: 15px 0 0 0;
}

.fighter-info .cs-entry__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.fighter-organisation {
    display: inline-block;
    background: #f3f3f3;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.55rem;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.no-fighters {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

/* ============================================
   CONTENU DU FIGHTER (PAGE INDIVIDUELLE)
   ============================================ */

/* Masquer le contenu par défaut du thème (titre + image) sur les pages fighter */
body.single-fighter .cs-entry__wrap {
    display: none !important;
}

.fighter-content-section {
    background: #fff;
    padding: 60px 0;
}

.fighter-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.fighter-name {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #000;
}

.fighter-organisation-badge {
    display: inline-block;
    background: #00d9ff;
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.fighter-bio {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.fighter-bio p {
    margin-bottom: 20px;
}

/* ============================================
   SECTION ARTICLES LIÉS (PAGE INDIVIDUELLE)
   Utilise les classes du thème pour cohérence
   ============================================ */

.fighter-articles-section {
    clear: both;
    margin: 60px 0 40px 0;
    padding: 40px 0;
    background: #f9f9f9;
}

.fighter-articles-section .cs-posts-area {
    margin: 0;
}

.fighter-articles-section .cs-posts-area__outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fighter-articles-section .cs-posts-area__header {
    margin-bottom: 40px;
}

.fighter-articles-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #00d9ff;
    color: #333;
}

/* Laisser le thème gérer la mise en page des articles */
.fighter-articles-section .cs-posts-area__main {
    /* Le thème applique déjà les bons styles */
}

.fighter-articles-section article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.fighter-articles-section article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .fighters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fighters-alphabet-filter {
        gap: 5px;
        padding: 15px;
    }
    
    .alphabet-letter {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 38px;
    }
    
    .fighters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .fighter-articles-title {
        font-size: 28px;
    }
    
    .fighter-articles-section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .fighters-grid {
        grid-template-columns: 1fr;
    }
    
    .fighter-articles-title {
        font-size: 24px;
    }
    
    .fighter-articles-section .cs-posts-area__outer {
        padding: 0 15px;
    }
}
