/* -------------------------------------------------------------
   1. GRILLE PRINCIPALE
------------------------------------------------------------- */
.zoom-sommaire-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .zoom-sommaire-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zoom-sommaire-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* -------------------------------------------------------------
   2. CARTE
------------------------------------------------------------- */
.zoom-sommaire-item {
    background: transparent;
    border: 1px solid #6e6e6e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.zoom-sommaire-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* -------------------------------------------------------------
   3. IMAGE
------------------------------------------------------------- */
.zoom-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* -------------------------------------------------------------
   4. ICÔNE + TEXTE
------------------------------------------------------------- */
.zoom-content-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 12px;
}

.service-icon-wrap {
    flex: 0 0 auto;
}

.service-icon {
    height: auto;
    display: block;
}

.zoom-sommaire-item .service-icon {
    max-width: 50px;
}

.zoom-text {
    flex: 1 1 auto;
}

/* -------------------------------------------------------------
   5. TITRE
------------------------------------------------------------- */
.zoom-title {
    font-size: 1.2rem;
    margin: 0 0 8px;
    font-weight: 600;
}

/* -------------------------------------------------------------
   6. EXCERPT (extrait du texte)
------------------------------------------------------------- */
.zoom-excerpt {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* -------------------------------------------------------------
   7. BOUTON " Voir l'émission "
------------------------------------------------------------- */
.zoom-button {
    display: inline-block;
    padding: 8px 14px;
    background: #0073e6;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    margin-top: auto; /* ⭐ pousse le bouton en bas */
    text-align: center;
}

.zoom-sommaire-item a.zoom-button:hover {
    color: #fff;
}

.zoom-button:hover {
    background: #157fe9;
}

/* -------------------------------------------------------------
   8. FIX ELEMENTOR
------------------------------------------------------------- */
.zoom-sommaire-grid > * {
    width: auto !important;
    max-width: none !important;
}

/* -------------------------------------------------------------
   MENU DE FILTRES (même style que les pages vidéos)
------------------------------------------------------------- */
.zoom-filters {
    border:none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    justify-content: center; /* ⭐ centre les boutons */
}

.zoom-filter-btn {
    background: transparent;
    border:none;
    padding: 8px 16px;
    cursor: pointer;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* Bouton actif */
.zoom-filter-btn.active {
    background: transparent;
    color: #a7d725;
}

/* Hover identique */
.zoom-filter-btn:hover {
    background: transparent;
    color: #a7d725;
}

/* Bouton Afficher + */
.zoom-load-more {
   background-color: #cf3046;
   margin-top: 50px;
   border: none;
   border-radius: 5px;
   display: block;
   margin-left: auto;
   margin-right: auto;
}