/**
 * BANDEAU D'INFORMATIONS ARTICLE
 * Design moderne avec badges et icônes SVG
 */

.article-info-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-left: 4px solid #E30613;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    border-top-left-radius: 12px 12px;
    border-top-right-radius: 12px 12px;
}

/* Effet de brillance subtile */
.article-info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.info-banner-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
    overflow-x: auto; /* Scroll horizontal sur petit écran si nécessaire */
    scrollbar-width: thin;
    scrollbar-color: #9E1514 #1A1A1A; /* Rouge sur noir */
    justify-content: space-between;
}

/* Scrollbar webkit (Chrome, Safari) */
.info-banner-content::-webkit-scrollbar {
    height: 6px;
}

.info-banner-content::-webkit-scrollbar-track {
    background: #1A1A1A;
    border-radius: 3px;
}

.info-banner-content::-webkit-scrollbar-thumb {
    background: #9E1514; /* Rouge */
    border-radius: 3px;
    transition: background 0.3s ease;
}

.info-banner-content::-webkit-scrollbar-thumb:hover {
    background: #c41d1c; /* Rouge plus clair */
}

/* Chaque item d'info */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Empêche la compression des items */
    min-width: fit-content; /* S'adapte au contenu */
}

.info-item:hover {
    background: rgba(227, 6, 19, 0.1);
    transform: translateY(-2px);
}

/* Icône */
.info-icon {
    flex-shrink: 0;
    color: #E30613;
    margin-top: 2px;
}

/* Contenu */
.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

/* Badge de statut */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-published {
    background: #10b981;
    color: white;
}

.status-draft {
    background: #f59e0b;
    color: white;
}

.status-archived {
    background: #6b7280;
    color: white;
}

/* Badge de catégorie */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

/* Responsive : réduire les espacements sur mobile */
@media (max-width: 768px) {
    .article-info-banner {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .info-item {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    
    .info-label {
        font-size: 0.7rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .info-icon {
        width: 16px;
        height: 16px;
    }
}

/* Animation au chargement */
.article-info-banner {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

