/* SOCIAL MEDIA */


.uncode-share .social ul li {
    border: 1px solid #000;
    border-radius: 50px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 5px;
    width: 48px !important;
    height: 32px !important;
    line-height: 26px !important;
}

.uncode-share .social ul li::before {
    position: static !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.thb-share-icons.thb-center {
    text-align: right;
}

.boxed-icon {
    border:none ;
    width: 25px;
    height: 24px;
}

.thb-share-wrapper {
    text-align: right !important;
    margin-top: 20px;
}

.thb-share-label {
    font-size: 15px;
    font-weight: 600;
    vertical-align: middle;
}

.style-light hr {
    border-color:#fff ;
}


/* TAXOS */

/* Conteneurs des taxonomies */
.theme1-wrapper,
.theme2-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    /* Espace entre les termes */
    margin-bottom: 10px;
}

/* Style pour chaque terme individuellement */
.theme1-wrapper a,
.theme2-wrapper a {
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight:500 ;
}

/* Thématiques principales - chaque terme séparé */
.theme1-wrapper a {
    padding: 5px 10px;
    border-radius: 50px;
    border: 1px solid #2e2882;
    background: #2e2882;
    color: #fff !important;
    line-height: 1.4;
    white-space: nowrap;
    margin-right: 0;
    /* Pas de marge car on utilise gap */
}

/* Sous-thématiques - chaque terme séparé */
.theme2-wrapper a {
    padding: 5px 10px;
    border-radius: 50px;
    border: 1px solid #00A6B2;
    background: #00A6B2;
    color: #fff !important;
    line-height: 1.4;
    white-space: nowrap;
    margin-right: 0;
    pointer-events: none ;
    /* Pas de marge car on utilise gap */
}

/* Effets de survol */
.theme1-wrapper a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.theme2-wrapper a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Supprimer les virgules ajoutées par get_the_term_list */
.theme1-wrapper .theme1,
.theme2-wrapper .theme2 {
    display: contents;
    /* Pour hériter du style du parent */
}

/* SIDEBAR */

.etude-sidebar {
    background-color: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 6px;
    padding-top: 30px !important;
    height: auto !important;
    /* Hauteur automatique basée sur le contenu */
    align-self: flex-start;
    /* Empêche l'étirement en hauteur */
}

.encadre {
    background-color: #FFEEEB !important;
    padding: 15px !important;
    border-radius: 10px;
    margin-top: 10px;
    margin-right:20px ;
}

.etude-field {
    font-weight:500 ;
    margin-bottom: 15px;
    /* Ajustez l'espace selon vos besoins */
}

.etude-field:last-child {
    margin-bottom: 0;
    /* Supprimer la marge du dernier élément */
}


.post-content .single-etude p {
    line-height:32px ;
}


.file_pdf {
font-size: 15px;
margin-left:5px ;
font-weight:500 ;
}

.main-container .row-container .row-parent .single-internal-gutter .uncont>*:not(.uncode-owl-nav-wrap):not(.pin-spacer):not([data-sticky]),
.main-container .row-container .row-parent .row-parent .single-internal-gutter .uncont>*:not(.uncode-owl-nav-wrap):not(.pin-spacer):not([data-sticky]) {
    margin-top:18px !important ;
}


/* Container du partage */
.partager-etude-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Aligne à droite */
    gap: 15px;
    /* Espace entre le texte et les icônes */
}

.thb-share-label {
    font-weight: 600;
    margin: 0;
}

/* Icônes sur la même ligne */
.partager-etude-container .uncode-share-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

h4 {
    color:#2e2882 !important ;
}

/* PADDING */

.post-content.row-container .double-top-padding {
    padding-top: 18px;
} 

/* FOOTER */

#colophon .row div.column_child.pos-top,
.row div.column_child.pos-top .uncell {
    vertical-align: middle;
}

#colophon .single-internal-gutter .uncont>*:not(.uncode-owl-nav-wrap):not(.pin-spacer):not([data-sticky]) {
    margin-top: 0px !important;
}
