/* TOUTES LES CHAINES */
.ann-catego i {
     display: inline-block;
     border-radius: var(--radius);
     width: 100px;
     height: 30px;
     line-height: 30px;
     text-align: center;
     font-size: 10px;
     margin-left: 15px;
     gap: 20px;
     backdrop-filter: blur(25px);
     border: 1px solid var(--light);
     background: #dbc8c814;
}

/* Grille pour les chaînes */
.chaines-grid-container {
    width: 100%;
    max-width: 1200px; /* Limite la largeur pour grands écrans */
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.chaines-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile */
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Ajuster les cartes pour la grille */
.chaines-grid .holographic-card {
    width: 100%;
    max-width: none; /* Supprimer la limite de 180px */
    min-width: 0; /* Supprimer la limite de 180px */
    margin: 0; /* Supprimer les marges fixes */
    aspect-ratio: 16 / 9; /* Maintenir un ratio cohérent */
    display: block; /* Désactiver flex pour la grille */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
}

.chaines-grid .ann-short_item {
    position: relative;
    width: 100%;
    height: 100%; /* Remplir la carte */
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;
    display: block; /* Désactiver flex pour éviter conflits */
    background: linear-gradient(149deg, #192247bd 0%, #210e1775 99.08%);
}

.chaines-grid .ann-short_item img.xfieldimage.poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
    z-index: -1;
    opacity: 0.8;
}

.chaines-grid .ann-short_item:hover img {
    transform: scale(1.1);
}

.chaines-grid .ann-short_item .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 10px;
    z-index: 10;
}

.chaines-grid .ann-short_item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 10;
}

.chaines-grid .ann-short_item .ann-short_price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
}

.chaines-grid .holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(0deg, transparent, transparent 30%, #ffffff26);
}

.chaines-grid .holographic-card:hover {
    transform: scale(1.05);
}

/* Pour écrans plus grands (ordinateurs, tablettes) */
@media (min-width: 768px) {
    .chaines-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur grands écrans */
    }
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
    .chaines-grid {
        gap: 10px;
    }
}

/* Réinitialiser les styles conflictuels */
.chaines-grid .holographic-card,
.chaines-grid .ann-short_item {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}