/* Style de la grille */
.accueil_sec_cat_grid {
    display: grid;
    gap: 20px;
    margin: 0 auto;
    padding: 10px;
}

@media screen and (min-width:250px) and (max-width:480px) {
        .accueil_sec_cat_grid{
          grid-template-columns: repeat(1, 1fr);
        }
      }

       /* Tablet View */
       @media screen and (min-width:481px) and (max-width:768px) {
        .accueil_sec_cat_grid{
          grid-template-columns: repeat(2, 1fr);
        }
      }
       /* Laptop View */
       @media screen and (min-width:769px) and (max-width:2560px) {
        .accueil_sec_cat_grid{
          grid-template-columns: repeat(3, 1fr);
        }
      }

/* Style des cartes */
.ascg_card {
    background: #fff;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 0 15px 30px 15px;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
    border: hidden;
    border-radius: 0;
}

.ascg_card:hover {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2)!important;
    transform: scale(1.05)!important;
}

.ascg_card_title {
    text-align: center;
    color: #444;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: capitalize;
    line-height: 1;
    margin-top: 50px;
    margin-bottom: 20px;
}

.ascg_card_title:hover {
    color: #909090;
}

.ascg_img_wrap {
    height:214px;
    overflow: hidden;
    padding:20px;
}

.ascg_img {
    transition: all 0.7s ease 0s;
    transform: scale(1);
    width: 100%;
}

.ascg_img:hover {
    transition: all 0.7s ease 0s;
    transform: scale(1.2);
    width: 100%;
}

/* Réactivité */
@media (max-width: 1024px) {
    .accueil_sec_cat_grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour les tablettes */
    }
}

@media (max-width: 768px) {
    .accueil_sec_cat_grid {
        grid-template-columns: 1fr; /* 1 colonne pour les téléphones */
    }
}