Corrigge moi tout le css
/******  Single View CSS ******/

.resources-single .img-wrapper img {
    flex-shrink: 0;
    width: 200px;
}

/* COUVERTURES : ne jamais rogner */
.resource-cover-list img,
.resource-cover-single img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}


/* Le lien généré autour de l'image ne doit pas imposer de taille */
.resource-cover-list,
.resource-cover-single {
    overflow: visible !important;
}

.resources-asearch input[type="text"],
.resources-asearch input[type="url"],
.resources-asearch input[type="date"],
.resources-asearch select,
.resources-asearch textarea {
    width: 100% !important;
    max-width: 100% !important;
}

/****** RECHERCHE AVANCÉE COMPACTE ******/

.resources-asearch {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Grille responsive */
.resources-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
}

/* Chaque critère */
.resources-search-field {
    min-width: 0;
}

/* Libellés */
.resources-search-label {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    color: #16345f;
    margin-bottom: 4px;
}

/* Neutralise les marges verticales Moodle */
.resources-asearch .form-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.resources-asearch .form-group label {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    font-size: 11px;
    line-height: 1.2;
}

/* Champs */
.resources-asearch input[type="text"],
.resources-asearch input[type="url"],
.resources-asearch input[type="date"],
.resources-asearch select,
.resources-asearch textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
}

/* Réduit légèrement la hauteur des champs */
.resources-asearch input[type="text"],
.resources-asearch input[type="url"],
.resources-asearch input[type="date"],
.resources-asearch select {
    min-height: 34px;
}

/* Checkboxes */
.resources-asearch .form-check {
    margin-top: 2px;
    margin-bottom: 2px;
}

/* TABLETTE */
@media (max-width: 1000px) {
    .resources-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .resources-search-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .resources-asearch {
        margin: 6px 0 !important;
    }
}