.rubrique-fiche .view-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.rubrique-fiche .views-field-title {
    width: 100%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding: 10px 0;
}

.rubrique-fiche .views-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.rubrique-fiche .views-field-field-illustration,
.rubrique-fiche .views-field-field-in-short {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.rubrique-fiche .views-field-field-illustration {
    display: flex;
    align-items: center; /* Centre verticalement le contenu */
}

.rubrique-fiche .views-field-field-illustration img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.rubrique-fiche .views-field-field-in-short .field-content {
    height: 100%;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rubrique-fiche .views-field-field-description {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Media query pour les tablettes et smartphones */
@media screen and (max-width: 768px) {
    .rubrique-fiche .views-field-field-illustration,
    .rubrique-fiche .views-field-field-in-short {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .rubrique-fiche .views-field-field-illustration {
        align-items: flex-start; /* Réinitialise l'alignement vertical sur les petits écrans */
    }
}

/* Media query pour les petits écrans (smartphones) */
@media screen and (max-width: 480px) {
    .rubrique-fiche .views-field-field-illustration {
        display: none;
    }
}
