.page-id-1534  .et_pb_row_1_tb_body {
    background-image: none !important;
    padding-top: 0px !important;
   
}

#id_contenu_page{

    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    background-color: #fff0 ;
   
}

.digi-biblio-partage {
    display: flex;
    width: 100%;
    max-width: 1060px;
    padding: 24px 40px;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    background: #F3F4DD;
    margin-bottom: 80px;
    justify-content: space-between; /* Sépare l'icône/texte du bouton */
}


.digi-biblio-partage .partage-icon {
   width: 48px;
    height: 48px;
   
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Empêche le rétrécissement */
}

 

.digi-biblio-partage .partage-text {
    flex: 1;
    margin: 0 16px;
  

    
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
}

.partage-soustitre{
     
    font-weight: 400;
    

}

/* ======================
   CONTENEUR PRINCIPAL
   ====================== */
.digi-biblio-wrapper {
    position: relative; /* 👈 OBLIGATOIRE pour le ::after */
    width: 100%;
    max-width: 1060px;
    padding: 24px 40px;
    padding-bottom: 10px ;
    margin: 0 auto 50px;
   
    border-radius: 40px;
    border: 1px solid #000;
    background: #FFF;
   
}



.digi-biblio-wrapper::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -40px;
  width: 300px;
  height: 300px;
  background-image: url('/wp-content/plugins/digi-biblio/assets/svg/vector_fond.svg');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}




 

 
/* ======================
   SECTION RECHERCHE
   ====================== */
/* .digi-biblio-search {
    margin-bottom: 30px;
} */

.digi-biblio-search .search-header h2 {
    color: var(--Primaire-Noir-100, #000);

    
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;  
}

.digi-biblio-search .search-box {
    display: flex;
    
   
    border: 1px solid #000000;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
    max-width: 620px ;
}

.digi-biblio-search .search-box input {
    flex: 1;
    padding:13px 16px;;
    border: none;
    font-size: 16px;
    height: 50px;
    color: #000;
    outline: none;
    
    border-radius: 0 16px 16px 0;
 
 
}

.digi-biblio-search .search-box input::placeholder {
    
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}

.digi-biblio-search .search-box button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.2s;
}

/* ======================
   FILTRES
   ====================== */
.filters-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
   
}

.filter-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0px;
}


 #theme-filters{
    min-height: 70px;
}
 
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}  

.filter-tag {
    padding: 5px 12px;
    justify-content: center;
    align-items: center;
   

    border-radius: 12px;
    border: 1px solid  #000;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; 

    cursor: pointer;
 
}

.filter-tag:hover {
    border-color: #D029B5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.filter-tag.selected {

   
    background: #8CD9C4;
    border-color: #000;
    color:  #000;
}

.filter-tag input[type="checkbox"] {
    display: none;
}

.filter-tag i {
    font-size: 14px;
}

.icon_profile{
     width: 14px;
    height: 14px;

     
}

.duration_ic{
   margin-right: 5px;
}

/* ======================
   BOUTONS D'ACTION
   ====================== */
.search-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    
}

 
 

#digi-biblio-reset {
    background: none;
    border: none;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    
    text-decoration: underline;
    padding: 12px 0;
}

#digi-biblio-reset:hover {
    color:  #D029B5;
}

/* ======================
   RÉSULTATS
   ====================== */
.digi-biblio-results {
    /* background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0; */
}


/* ======================
   EN-TÊTE DES RÉSULTATS
   ====================== */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #000000;
    flex-wrap: wrap; /* 👈 Pour le responsive */
    gap: 16px; /* Espacement si wrap */
    width: 100%;
}

.results-left {
    display: flex;
    align-items: center;
    gap: 24px; /* Espacement entre les deux textes */
    flex-wrap: wrap; /* 👈 Pour le responsive */
}

.results-right {
    display: flex;
    align-items: center;
    
}

.results-count {
    font-weight: 400;
    font-size: 14px;
    color: #000;
    margin: 0; /* Supprime les marges par défaut */
    min-width:   190px;
}

.pagination-info {
    font-size: 14px;
    color:#000;
    font-weight: 400;
    margin: 0; /* Supprime les marges par défaut */
}

.sort-and-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
} 

.sort-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-container label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    white-space: nowrap; /* Empêche le retour à la ligne */
}

.sort-container label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

#sort-by {
    padding: 8px 12px 8px 16px;
    padding-right: 30px;
    border: 1px solid #000;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

#sort-by:focus {
    outline: none;
    border-color: #D029B5;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}


/* ======================
   CARDS DE RÉSULTATS
   ====================== */
.result-card {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    /* padding-bottom: 30px;*/
     margin-bottom: 20px; 
     border-bottom: 1px solid #000000 !important;; 
   
}  

.result-card:last-child {
    border-bottom: none;
    /* padding-bottom: 0;*/
} 

.result-thumbnail {
    width: 400px;
    height: 294px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.result-thumbnail.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.result-content-meta-titre{
    padding-left: 20px;
    border-left: 1px solid #000000;
}
.result-meta-top {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-tag {
   

    display: flex;
    height: 24px;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 12px;
    border: 1px solid   #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
 
}
.meta-tag-duration{
    border-left: 1px solid  #000;
    padding-left: 20px;
   margin-left: 0px;

}
.meta-tag i {
    font-size: 12px;
}

 
.result-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-top: 16px;
    margin-bottom: 0px !important;
    padding-bottom: 0px;
}

.result-card h3 a {
    color: #000;
    text-decoration: none;
}

.result-card h3 a:hover {
    color: #D029B5;
}
.result-excerpt{
    display: flex;
    padding: 20px;
    margin-top: 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    background-color: #F3F4DD;
}
.result-excerpt p {
    overflow: hidden;
    color:  #000;
    text-overflow: ellipsis;
    
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
}

.result-excerpt .wp-element-button {
    
    background: #fff;
    color: #000; 
    margin-bottom: 0px;
    margin-top: 0px;
     

    margin-left: auto;  
    
    align-self: flex-end;  
    
}

 .result-excerpt  .wp-element-button::after {
    
   background-image: url('/wp-content/essentiel-svg/chevron-forward-outline_droite-black.svg') !important;
    
  }  

  .result-excerpt  .wp-element-button:hover::after {
    
    background-image: url('/wp-content/essentiel-svg/chevron-forward-outline_droite.svg') !important;
     
   }  

/* ======================
   PAGINATION
   ====================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #f8f9fa;
    border-color: #8B3FA8;
}

.page-btn.active {
    background: #8B3FA8;
    color: #fff;
    border-color: #8B3FA8;
}

/* ======================
   MESSAGES
   ====================== */
.loading, .no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 14px;
}


@media (max-width: 768px) {
    .results-left {
        gap: 12px; /* Moins d'espace sur mobile */
    }
    .results-header {
        gap: 8px;
    }
}

/* ======================
   CARDS DE RÉSULTATS - RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    .result-card {
        flex-direction: column; 
        gap: 16px; 
    }

    .result-thumbnail {
        width: 100% !important; 
        height: 200px !important; 
    }

    .result-content {
        width: 100%; 
    }

   
    .result-excerpt {
        flex-direction: column; /* 👈 Passe en colonne */
        align-items: flex-start; /* Aligné à gauche */
        gap: 16px; /* Espacement entre le texte et le bouton */
    }

    .result-excerpt p {
        margin: 0;
        flex: 1;
    }

    .result-excerpt .wp-element-button {
        margin-left: 0 !important; /* 👈 Réinitialise */
        align-self: flex-start !important; /* 👈 Aligné à gauche */
        
    }

    .digi-biblio-partage {
        flex-direction: column; /* Passe en colonne */
        align-items: flex-start; 
        gap: 16px; 
        text-align: left; 
    }

    .partage-text {
        margin: 0 !important;
        width: 100%;
        text-align: left; 
        order: 1;
    }

    .partage-icon {
        order: 0;
        align-self: flex-start;
    }

    .wp-block-button__link.wp-element-button {
        width: auto;
        order: 2;
        align-self: flex-start; 
    }
}

 