
@media (max-width: 700px) {
  .benevolat-table, .benevolat-recap-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .benevolat-table tr, .benevolat-recap-table tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    background: #fff;
  }
  .benevolat-table td, .benevolat-recap-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 1em;
  }
  .benevolat-table td:before, .benevolat-recap-table td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #333;
    min-width: 90px;
    display: inline-block;
  }
  .benevolat-table input[type="submit"], .benevolat-table button,
  .benevolat-recap-table input[type="submit"], .benevolat-recap-table button {
    width: 100%;
    margin: 8px 0;
    font-size: 1.1em;
  }
  .fc-icon {
    font-size: 14px; /* Réduit la taille des icônes */
  }
}


/* ---- Ligne d'événement : 4 colonnes ---- */

.benevolat-event-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.benevolat-event-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Colonne 1 : date (petit bloc jour/mois) */
.benevolat-event-col-date {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Colonne 2 : nom + photo + heures */
.benevolat-event-col-main {
    flex: 1 1 30%;
}

/* Colonne 3 : référent + description + lien externe */
.benevolat-event-col-info {
    flex: 1 1 30%;
}

/* Colonne 4 : créneaux */
.benevolat-event-col-slots {
    flex: 1 1 40%;
    overflow-x: auto;
}

/* Titre */
.benevolat-event-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Photo */
.benevolat-event-photo img {
    max-width: 100%;
    width:126.65px; 
    height:126.65px;
    border: 1px solid #ddd;
    display: block;
    margin: 0 0 0.75rem 0;
    border-radius: 4px;
}

/* Description dans la colonne 3 */
.benevolat-event-description {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
}

/* Table des créneaux */
.benevolat-event-slots {
    width: 100%;
}

/* Responsive : on empile les colonnes sur mobile */
@media (max-width: 700px) {
    .benevolat-event-row {
        flex-direction: column;
    }

    .benevolat-event-col-date,
    .benevolat-event-col-main,
    .benevolat-event-col-info,
    .benevolat-event-col-slots {
        flex: 1 1 100%;
    }
}