/* ==========================================
   ANNOUNCEMENTS PAGE STYLES
   ========================================== */

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Applique l'animation aux cartes avec un délai progressif */
.grid > a {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Animation delay pour chaque carte */
.grid > a:nth-child(1) { animation-delay: 0.05s; }
.grid > a:nth-child(2) { animation-delay: 0.1s; }
.grid > a:nth-child(3) { animation-delay: 0.15s; }
.grid > a:nth-child(4) { animation-delay: 0.2s; }
.grid > a:nth-child(5) { animation-delay: 0.25s; }
.grid > a:nth-child(6) { animation-delay: 0.3s; }
.grid > a:nth-child(7) { animation-delay: 0.35s; }
.grid > a:nth-child(8) { animation-delay: 0.4s; }
.grid > a:nth-child(9) { animation-delay: 0.45s; }
.grid > a:nth-child(10) { animation-delay: 0.5s; }
.grid > a:nth-child(11) { animation-delay: 0.55s; }
.grid > a:nth-child(12) { animation-delay: 0.6s; }
.grid > a:nth-child(13) { animation-delay: 0.65s; }
.grid > a:nth-child(14) { animation-delay: 0.7s; }
.grid > a:nth-child(15) { animation-delay: 0.75s; }
.grid > a:nth-child(16) { animation-delay: 0.8s; }
.grid > a:nth-child(17) { animation-delay: 0.85s; }
.grid > a:nth-child(18) { animation-delay: 0.9s; }
.grid > a:nth-child(19) { animation-delay: 0.95s; }
.grid > a:nth-child(20) { animation-delay: 1s; }

/* Effet de survol amélioré */
.group:hover {
    z-index: 10;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}
