/* ==========================================================================
   CARD GRID FIX - Error Pages Responsive Layout
   2025-11-12 - Loaded LAST to override base card-grid rules
   ========================================================================== */

/* Desktop: 3 columns for error pages */
.codice-errore-layout .card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

/* Tablet: 2 columns */
@media (max-width: 968px) {
    .codice-errore-layout .card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .codice-errore-layout .card-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}
