/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
/* Importer la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* Styles spécifiques pour les listes dans la description de groupe avec la classe group-list-item */
ul.group-list-item, ol.group-list-item {
    list-style-position: inside !important; /* Assure que les puces sont à l'intérieur */
    list-style-type: disc !important; /* Pour ul : puces par défaut */
    margin-left: 20px !important; /* Ajuste le décalage à gauche */
    float: none !important; /* Annule le flottement appliqué par BuddyPress */
}
    @media (max-width: 768px) {
        .group {
            width: calc(100% - 10px);
        }
    }


@media only screen and (min-width: 960px) {
  .content-area {
   /* width: 75% !important;*/
  }



}
@media screen and (min-width: 46.8em) {}

.publication-filter-year select,
.publication-filter-author select,
.publication-filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.publication-filter-year select:hover,
.publication-filter-author select:hover,
.publication-filter-group select:hover {
    border-color: #d4aa00;
}

/* Responsive pour les filtres */
@media (max-width: 768px) {
    .publications-filters-container {
        flex-direction: column;
    }
    
    .publication-filter-year,
    .publication-filter-author,
    .publication-filter-group {
        width: 100%;
    }
}

/* Responsive : passer en vertical sur mobile */
@media (max-width: 768px) {
    .wpuf-form .wpuf-label {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding-right: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .wpuf-form .wpuf-fields {
        display: block !important;
        width: 100% !important;
    }
    
    .wpuf-form .wpuf-submit {
        margin-left: 0 !important;
    }
}
@media (max-width: 768px){
	.blog-entry.thumbnail-entry .blog-entry-content {
		 width: 95%; 
	}
		
}
@media (min-width: 769px){
	.blog-entry.thumbnail-entry .blog-entry-content {
		 width: 75%; 
	}
	
}

@media (max-width: 1079px){
	.blog-entry.thumbnail-entry.format-standard.no-featured-image .left-position .blog-entry-content {

	}	
}
@media (min-width: 1080px){
	.blog-entry.thumbnail-entry.format-standard.no-featured-image .left-position .blog-entry-content {

	}	
}
@media (max-width: 1024px) and (min-width: 768px) {
  .elementor-15806 .elementor-element.elementor-element-7f51d2c {
    --content-width: 100% !important;
  }
}

.group-members-column, .group-articles-column {
    flex: 1;
   /* padding: 10px;*/
	margin-left: 30px;margin-bottom: 30px;
}

/* Style pour les colonnes en mode mobile */
@media (max-width: 768px) {
    .group-page-container {
        flex-direction: column; /* Empile les colonnes verticalement */
    }

    .group-members-column, .group-articles-column {
        width: 100%; /* Colonne prend toute la largeur */
    }
}
@media only screen and (min-width: 960px) {
  .content-area {
    width: 95% !important;
  }
}
 @media (max-width: 768px) {
        .filter-container {
            flex-direction: column;
            gap: 10px;
        }
		.filter-block {
	  width: 300px;
	}
	 .category-software form, .category-seminars form, .category-projects form , .category-jobs form{
    width: 300px;
}
}
/* page meeting */
@media (max-width: 651px) {
	 .wpr-description.content-injected p {
  width: 21em;
}
}
 @media (max-width: 768px) {
	.page-id-5549 .wpr-description ,
	.page-id-15806 .wpr-description 
		{
			/* max-width: 60%; Garde les descriptions dans les limites du conteneur */
		}  
	 .wpr-description.content-injected p {
 /* width: 50em;*/
}
    .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry {
		overflow: hidden; /* Empêche tout contenu d’aller au-delà des limites */
    	box-sizing: border-box; /* Assure que les dimensions incluent les bordures et les marges */
 		 max-width: 98% !important;
		}  
	 .elementor-5549 .elementor-element.elementor-element-f20c8a2 .wpr-one-sided-timeline .wpr-data-wrap::after {
		 border-width: 5px;
	 }
}
 @media (min-width: 769px) {
    .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry {
  width: 98% !important;
		}  
}

/* Aligner le titre de la page avec la colonne de la vidéo sur les grands écrans */
@media (min-width: 768px) {
    #primary h1 {
        /* padding-left: 270px; Ajuste cette valeur à la largeur de la vidéo (250px) + marge (20px) 
		padding-top: 50px;*/
    }
}
/* Pour les petits écrans (smartphones), afficher la vidéo au-dessus du contenu */
@media (max-width: 768px) {
    .entry.clr {
        flex-direction: column; /* Afficher la vidéo au-dessus du contenu */
    }

    .entry-media {
        margin-bottom: 10px; /* Ajouter un peu d'espace sous la vidéo */
		flex: 0 0 50px !important;
		
    }
#primary h1 {
       /* padding-left: 30px;  Sur les petits écrans, le titre sera centré sans décalage */
    }
}

/* Réactivité : pour écrans de taille moyenne (tablettes) */
@media (max-width: 992px) {
    .alumni-members-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    }
}

/* Réactivité : pour petits écrans (mobiles) */
@media (max-width: 600px) {
    .alumni-members-grid {
        grid-template-columns: 1fr; /* 1 colonne */
    }
}

@media (min-width: 1024px) {
		.bp-groups-categories-list a:hover {
		color: #d4aa00 !important; /* Couleur des liens au survol */
	}
}


@media (max-width: 1023px) {
	.menu-item {
		cursor: pointer;
}
	.menu-item a {
		text-decoration: none;
		color: inherit;
}
	.bp-groups-categories-list a {
	    font-size: 12px;
		font-weight: 600;
        line-height: 22px;
		width: 100%;
        height: 100%;
}
	.bp-groups-categories-list a:hover {
    	background-color: #D4AA00;
		color:fff !important;;
	    font-size: 12px;
		font-weight: 600;
        line-height: 23px;
}
	}
/*.dashboard-msg-mobile {
    display: none;
}*/
/*================= icon menu dashboard ===========*/
/* .dashboard-menu a svg {
    transition: transform 0.3s ease;
}
.dashboard-menu a:hover svg {
   
}*/
/*=========== dasboard =======*/
.mon-dashboard-content H2 {
    font-size: 18px;
}
@media (max-width: 800px) {
    .mon-dashboard-wrapper {
        flex-direction: column;
    }
    .mon-dashboard-sidebar {
        width: 100%;
        min-height: unset;
        flex-direction: row;
        gap: 0;
		/*display:none;*/
    }
    .mon-dashboard-sidebar a {
        border-left: none;
        border-top: 3px solid transparent;
        padding: 14px 18px;
        text-align: center;
        font-size: 1em;
    }
    .mon-dashboard-sidebar a.active,
    .mon-dashboard-sidebar a:hover {
        border-left: none;
        border-top: 3px solid #d4aa00;
        background: #f0ece1;
    }
    .mon-dashboard-content {
        padding: 20px 10px;
    }
	.dashboard-msg-mobile{
		display:block;
		margin-bottom: 10px;
	}
}


/* Importer la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* Styles spécifiques pour les listes dans la description de groupe avec la classe group-list-item */
ul.group-list-item, ol.group-list-item {
    list-style-position: inside !important; /* Assure que les puces sont à l'intérieur */
    list-style-type: disc !important; /* Pour ul : puces par défaut */
    margin-left: 20px !important; /* Ajuste le décalage à gauche */
    float: none !important; /* Annule le flottement appliqué par BuddyPress */
}

ol.group-list-item {
    list-style-type: decimal !important; /* Pour ol : numérotation */
}

ul.group-list-item li, ol.group-list-item li {
    margin: 0 0 10px 0;
    padding: 0;
}

.wpr-sub-mega-menu {
	top:25px;
}


.elementor-widget:not(:last-child) {
  margin-block-end: 5px !important;
}
table th, table td {
    padding: 3px;
}
/* Réduire la taille des avatars des membres dans un groupe */
#buddypress .item-list .member-avatar img ,
#buddypress .item-avatar {
    width: 50px; /* Modifier cette valeur selon vos besoins */
    height: 50px; /* Modifier cette valeur selon vos besoins */
}

#buddypress .joined.item-meta {
	display:none;
}
/* CSS pour les titres de groupe */
.group h2 {
	font-weight: bold;
    margin: 0;
    padding-top: 10px;
	font-size: 18px;
	background-color: #f7f7f7;
  	padding: 15px;
  	border-radius: 8px;
	margin-bottom: 5px;
	
}

/* Seminars */
/* Style pour le titre et l'extrait déroulant */
.toggle-abstract {
    cursor: pointer;
    color: #0073aa;
    text-decoration: underline;
}

.toggle-abstract:hover {
    color: #005177;
}
.category-seminars .blog-entry-summary.clr p {
    display: none;
}
.seminar-details {
	font-size: 14px; /* Réduisez la taille de la police pour les informations */
    color: #333; /* Couleur du texte */
    line-height: 1.2;
    margin-bottom: 10px;
}

.seminar-details p {
    margin: 5px 0;
}

.seminar-details .toggle-abstract {
    display: block;
    cursor: pointer;
    color: #0073aa;
     text-decoration: underline;
 }

.non-cliquable {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}
.cliquable {
    pointer-events: auto;
    cursor: default;
    color: inherit;
    text-decoration:  auto;
}
.blog-entry.post .blog-entry-header .entry-title .seminar-details a.toggle-abstract {
	font-weight: 700;
	font-size:16px !important;
	text-decoration:none;
}
.blog-entry.post .blog-entry-header .entry-title .seminar-details a {
	font-weight: 500;
	font-size:12px !important;
	line-height:1.1;
}
.category-seminars .blog-entry.large-entry {
	padding-bottom: 0px;
	border-bottom: 0px;
}
/**/
.group h3 {
    margin: 0;
    padding-left: 20px;
	color: #00000078;
	margin-bottom: 10px;
}

.group-header-title h3 {
	padding-left: 20px;
	color: #00000078;
}

.group a.group-computational {
    background-color: transparent; /* Retirer le fond coloré */
    border-bottom: 3px solid red; /* Ajouter une barre soulignée rouge sous le texte */
	line-height: 36px;
}

.group .group-computational {
    font-size: initial;
}

.group a.group-quantitative {
	background-color: transparent; /* Retirer le fond coloré */
	border-bottom: 3px solid  #F9C000; /* Ajouter une barre soulignée rouge sous le texte */
	line-height: 36px;
}
.group .group-quantitative {
    font-size: initial;
}
.group a.group-synthetic {
	background-color: transparent; /* Retirer le fond coloré */
	border-bottom: 3px solid  #9A00FF; /* Ajouter une barre soulignée rouge sous le texte */
	line-height: 36px;
}
.group .group-synthetic {
    font-size: initial;
}
.group a.group-default {
    color: black; /* Par défaut, titre en noir */
}

.computational-member {
    background-color: #FF0000; /* Couleur rouge computational */
}

.quantitative-member {
    background-color: #5EA300; /* Couleur vert Quantitative */
}

.synthetic-member {
    background-color: #0084FF; /* Couleur bleu Synthetic */
}
.computational-member .member-name {
    background-color: #FF0000 !important; /* Couleur rouge computational */
}

.quantitative-member .member-name {
    background-color: #5EA300 !important; /* Couleur vert Quantitative */
}

.synthetic-member .member-name {
    background-color: #0084FF !important; /* Couleur bleu Synthetic */
}

.last-activity {
    display: none;
}
#buddypress ul.item-list li {
  
    padding: 2px 0 !important;
}

/*  ///////// pour groupe et membres ////////  */

.group-computational {
	color : red;
	padding-bottom: 4px;
	font-size: inherit;
}
    .group-quantitative  {
		color:#F9C000;
		padding-bottom: 4px;
		font-size: inherit;
 
    }
    .group-synthetic  {
		color:#9A00FF;
		padding-bottom: 4px;
		font-size: inherit;
    }
    .group-default  {
        background-color: grey;
        color: white;
		font-size: initial;
    }
.custom-bp-groups-and-members .row {
    display: flex;
    flex-wrap: wrap;
}

.custom-bp-groups-and-members .column {
    flex: 50%;
    padding: 10px;
}

.custom-bp-groups-and-members .group {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
}

.groups-list-container {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; /* Ajouter une marge négative pour compenser le padding des colonnes */
}

.group-item {
    width: 50%; /* Chaque colonne prend la moitié de la largeur */
    box-sizing: border-box;
    padding: 10px; /* Ajouter du padding pour l'espacement entre les colonnes */
}

.group-item h2 {
    margin-top: 0;
}

.group-item ul {
    list-style-type: none; /* Supprime les puces des listes */
    padding-left: 0; /* Supprime le padding par défaut des listes */
}

.group-group h2 {
        margin: 0 0 10px;
    }
.group-group h2 a {
        text-decoration: none !important;
    }
.group-group .group-type-label {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 10px;
    }
.group-group .members-list {
        list-style-type: none;
        padding: 0;
	    align-items: center;
        margin: 0 0 0 20px;
    }
.group-group .members-list li {
        display: flex;
        align-items: center;
        margin: 0 0 0px;
    }
.group-group .members-list li a {
        text-decoration:none !important;
    }
.group-group .members-list ul {
        margin: 0 0 5px;
    }
.group-group .members-list li img.member-avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-right: 10px;
    }

 .groups-container {
        display: flex;
        flex-wrap: wrap;
    }
    .group {
        width: calc(33% - 10px);
        margin: 5px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        box-sizing: border-box;
		/*padding-left: 20px;
		padding-bottom: 20px;*/
		border-radius: 8px;
		font-size: 14px;
    }

	 .group .group-type-label {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 1px;
    }
    .group .members-list {
        list-style-type: none;
        padding: 0;
		margin: 0 0 0px;
		line-height: 1.6;
		
    }
    .group .members-list li {
        display: flex;
        align-items: center;
        margin: 0 0 0 20px;
		/*font-size: 14px;*/
    }

    .group .members-list li img.member-avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-right: 10px;
    }
    .clear {
        clear: both;
    }

    .group-quantitative a {
        background-color: #F9C000;
        color: black;
        padding: 5px;
        border-radius: 3px;
    }
    .group-synthetic a {
        background-color: #9A00FF;
        color: white;
        padding: 5px;
        border-radius: 3px;
    }
    .group-default a {
        background-color: grey;
        color: white;
        padding: 5px;
        border-radius: 3px;
    }
    @media (max-width: 768px) {
        .group {
            width: calc(100% - 10px);
        }
    }

/* Réduire la taille des balises h3 pour les noms des membres dans BuddyPress */
.additional-class .list-wrap .item .item-block .list-title.member-name {
    font-size: 1.2em; /* Ajustez cette valeur selon vos besoins */
    font-weight: normal; /* Ajustez le poids de la police si nécessaire */
    line-height: 1.4; /* Ajustez l'interligne si nécessaire */
}

body .wpuf-menu-item.active a {
    color: #d4aa00 !important;
}


@media only screen and (min-width: 960px) {
  .content-area {
   /* width: 75% !important;*/
  }



}
@media screen and (min-width: 46.8em) {}
  .bp-list li .item .list-title {
    font-size: 20px !important;
	  line-height: 1.4 !important;
  }


.widget-area {
  width: 25%;
}


.subcategories-wrapper {
    margin-left: 20px; /* Ajustez la valeur selon votre préférence */
}

.parent-category {
    padding-left: 1px; /* Ajustez la valeur pour le décalage */
}

.subcategory {
    padding-left: 20px; /* Ajustez la valeur pour le décalage */
}

#buddypress div#item-header img.avatar {
  max-width: 80px;
}
#buddypress .item-avatar {
  width: auto;
}
#buddypress .group-title {
  display: none;
}
#buddypress .standard-form label, #buddypress .standard-form legend, #buddypress .standard-form span.label {
	margin: 0 0 0px;
}
#item-body #subnav ul li.groups-members-search , #group_members-order-select {
	display: none;	
}

body ul.wpuf-form li.field-size-small .wpuf-fields {
    width: auto;
}
.bp-list li .item-avatar img.avatar {
	max-width: 50px !important;
}
.bp-group-type-list {
  display: none;
}

#members-group-list {
           display: none;
        }
#item-actions {
 display: none;
}
.activity {
		  	display: none !important;
		}
.highlight {
			display: none !important;
		}
body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content, body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions {
  		   max-width: 95%;
	       margin-top: 0px;
		}

/* Styles pour le menu déroulant du filtre */
form select {
    padding: 5px;
    font-size: 14px;
}

/* Styles pour le filtre sélectionné */
form select option[selected="selected"] {
    background-color: #d4aa00; /* Couleur de fond pour l'option sélectionnée */
    color: #fff; /* Couleur du texte pour l'option sélectionnée */
}

/* ==================== PUBLICATIONS PAGE ==================== */

/* Container des 3 filtres côte à côte */
.publications-filters-container {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
    align-items: center;
}

.publication-filter-year,
.publication-filter-author,
.publication-filter-group {
    flex: 1;
    min-width: 180px;
}

/*.publication-filter-year select,
.publication-filter-author select,
.publication-filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}*/

.publication-filter-year select:hover,
.publication-filter-author select:hover,
.publication-filter-group select:hover {
    border-color: #d4aa00;
}

.publication-filter-year select:focus,
.publication-filter-author select:focus,
.publication-filter-group select:focus {
    outline: none;
    border-color: #d4aa00;
    box-shadow: 0 0 0 2px rgba(212, 170, 0, 0.1);
}

/* Forcer l'affichage en ligne des formulaires */
.publications-filters-container .news-filter-form {
    display: block;
    width: 100%;
    margin: 0;
}

/* Style des publications (SANS timeline - pas de barre à gauche) */
.publications-list {
    max-width: 100%;
    padding-left: 0 !important;
    margin-left: 0px !important;
}

.publications-list.no-timeline {
    padding-left: 0 !important;
}

.publications-list.no-timeline::before,
.publications-list.no-timeline::after {
    display: none !important;
    content: none !important;
}

.publications-list.no-timeline .publication-item::before,
.publications-list.no-timeline .publication-item::after {
    display: none !important;
    content: none !important;
}

/* Supprimer tout élément de timeline */
.publications-list .news-item::before,
.publications-list .news-item::after,
.publications-list .publication-item::before,
.publications-list .publication-item::after {
    display: none !important;
    content: none !important;
}

.publication-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    margin-left: 4px !important;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.publication-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Titre de publication cliquable */
.publication-item .news-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 0 0;
    line-height: 1.2;
}

.publication-item .news-title a {
    color: #d4aa00;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline;
   /* align-items: center;
    gap: 8px;*/
}

.publication-item .news-title a:hover {
    color: #006400;
}
/* Empêcher le wrap juste avant l'icône */
.publication-item .news-title a svg {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}

/* Contenu APA de la publication */
.publication-content {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.publication-content p {
    margin: 0;
}
/* Format APA standard : journal en italique */
.publication-content .publication-authors {
    font-style: normal;
}

.publication-content .publication-journal {
    font-style: italic;
}

.publication-content .publication-year {
    font-style: normal;
}

/* Teams en bas de la publication */
.publication-item .post-buddypress-groups {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 13px;
}

/* Responsive pour les filtres */
@media (max-width: 768px) {
    .publications-filters-container {
        flex-direction: column;
    }
    
    .publication-filter-year,
    .publication-filter-author,
    .publication-filter-group {
        width: 100%;
    }
}

/* Indicateur de chargement */
.publications-list .loading-indicator {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}

/* OVERRIDE GLOBAL - Supprimer TOUTE timeline sur la page publications */
body.page-publications .native-news-list,
body.page-publications .publications-list {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

body.page-publications .native-news-list::before,
body.page-publications .native-news-list::after,
body.page-publications .publications-list::before,
body.page-publications .publications-list::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
}

body.page-publications .news-item,
body.page-publications .publication-item {
    margin-left: 0 !important;
    padding-left: 20px !important;
}

body.page-publications .news-item::before,
body.page-publications .news-item::after,
body.page-publications .publication-item::before,
body.page-publications .publication-item::after {
    display: none !important;
    content: none !important;
}
/* Assurer que les titres sont toujours visibles */
/*.publications-category .blog-entry-summary.clr h2 {
  /* display: block;*/
/*}*/

/* ==================== WPUF PUBLICATIONS FORM - HORIZONTAL LAYOUT ==================== */

/* Chaque ligne du formulaire : label à gauche, input à droite */
.wpuf-form .wpuf-label {
    display: inline-block !important;
    width: 200px !important;
    vertical-align: top !important;
    padding-top: 8px !important;
    padding-right: 20px !important;
    text-align: right !important;
}

.wpuf-form .wpuf-fields {
    display: inline-block !important;
    width: calc(100% - 220px) !important;
    vertical-align: top !important;
}

/* Inputs en pleine largeur */
.wpuf-form .wpuf-fields input[type="text"],
.wpuf-form .wpuf-fields input[type="url"],
.wpuf-form .wpuf-fields input[type="email"],
.wpuf-form .wpuf-fields input[type="date"],
.wpuf-form .wpuf-fields select,
.wpuf-form .wpuf-fields textarea {
    width: 100% !important;
    max-width: 600px !important;
}

/* Help text sous l'input */
.wpuf-form .wpuf-fields .wpuf-help {
    display: block !important;
    margin-top: 5px !important;
    font-size: 13px !important;
    color: #666 !important;
    font-style: italic !important;
}

/* Required asterisk */
.wpuf-form .wpuf-label .required {
    color: #d32f2f !important;
    margin-left: 2px !important;
}

/* Bouton submit */
.wpuf-form .wpuf-submit {
    margin-left: 220px !important;
}

/* Responsive : passer en vertical sur mobile */
@media (max-width: 768px) {
    .wpuf-form .wpuf-label {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding-right: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .wpuf-form .wpuf-fields {
        display: block !important;
        width: 100% !important;
    }
    
    .wpuf-form .wpuf-submit {
        margin-left: 0 !important;
    }
}

/*******************************************/
li.meta-author {
    display: none;
}
.blog-entry-comments.clr {
    display: none;
}
.related-category {
  margin-left: 25px;
	font-size:15px;
}
.tox-promotion {
    display: none;
}
/* Styles spécifiques pour les listes dans la description de groupe avec la classe group-list-item */
.single-item.groups #buddypress div#item-meta ul li {
    float: inherit !important;
    list-style: disc !important;
}
@media (max-width: 768px){
	.blog-entry.thumbnail-entry .blog-entry-content {
		 width: 95%; 
	}
		
}
@media (min-width: 769px){
	.blog-entry.thumbnail-entry .blog-entry-content {
		 width: 75%; 
	}
	
}

@media (max-width: 1079px){
	.blog-entry.thumbnail-entry.format-standard.no-featured-image .left-position .blog-entry-content {

	}	
}
@media (min-width: 1080px){
	.blog-entry.thumbnail-entry.format-standard.no-featured-image .left-position .blog-entry-content {

	}	
}
@media (max-width: 1024px) and (min-width: 768px) {
  .elementor-15806 .elementor-element.elementor-element-7f51d2c {
    --content-width: 100% !important;
  }
}

.blog-entry.thumbnail-entry.format-standard.no-featured-image .blog-entry-content {
    width: 92%;
}


.blog-entry.thumbnail-entry .left-position .blog-entry-content {
     padding-left: inherit; 
}

.link-entry.clr {
  display: none;
}

.elementor-1308 .elementor-element.elementor-element-9d30e5c .wpr-grid-image-wrap {
    display: none;
}
.wpr-grid-image-wrap {
    display: none;
}
.avatar.avatar-100.photo {
  display: none;
}

.blog-entry.post .thumbnail img {
       width: 100%;
    max-width: 100px;
   /* max-height: 70px;*/
  
}

/* Style pour les colonnes en mode bureau (grandes tailles d'écran) */
.group-page-container {
    display: flex;
    flex-wrap: wrap;
	margin-top: 25px;
}
}

.group-members-column, .group-articles-column {
    flex: 1;
   /* padding: 10px;*/
	margin-left: 30px;margin-bottom: 30px;
}

/* Style pour les colonnes en mode mobile */
@media (max-width: 768px) {
    .group-page-container {
        flex-direction: column; /* Empile les colonnes verticalement */
    }

    .group-members-column, .group-articles-column {
        width: 100%; /* Colonne prend toute la largeur */
    }
}


.related-category h4 {
    margin: 10px 0;
	font-size: 15px;
}

.related-category h4 a {
    text-decoration: none;
 	color: #00000078;
}

.related-category h4 a:hover {
    text-decoration: underline;
}

.member-avatar {
    margin-right: 10px;
    border-radius: 50%; /* Rendre les avatars ronds */
}


.all-members-container {
    margin-top: 20px;
}
.member-search-form input {
    padding: 5px;
    font-size: 13px;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.member-search-form button {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #d4aa00;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.member-search-form button:hover {
    background-color: #005a87;
}
.all-members-list {
    list-style: none; /* Enlever les puces de la liste */
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Grille responsive */
 }

.member-item {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
}

.member-avatar-people {
    border-radius: 50%; /* Avatars ronds */
    width: 80px; /* Largeur de l'avatar */
    height: 80px; /* Hauteur de l'avatar */
    margin-bottom: 5px; /* Espace sous l'avatar */
}

.member-name {
   /* font-family: 'Montserrat', sans-serif; /* Police Montserrat */
    font-size: 14px; /* Taille de la police */
    font-weight: 700; /* Poids de la police */
    color: #333333c9; /*color: #333; /* Couleur du texte */
    text-decoration: none; /* Enlever la décoration du lien */
}

.member-name:hover {
    text-decoration: underline; /* Souligner le nom au survol */
}

.member-biography {
  font-size: 14px;
  line-height: 20px;
}

/* Conteneur principal de la timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les éléments de la timeline */
    margin-top: 20px;
    position: relative; /* Position relative pour la ligne verticale */
    padding-left: 30px; /* Espace pour la ligne verticale */
}

.timeline:before {
    content: '';
    position: absolute;
    left: 10px; /* Position de la ligne verticale */
    top: 0;
    bottom: 0;
    width: 4px; /* Largeur de la ligne */
    background: #0073aa; /* Couleur de la ligne */
}

.timeline-item {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073aa; /* Ligne sur le côté pour la timeline */
    position: relative;
    margin-bottom: 10px; /* Espacement entre les items */
    border-radius: 5px; /* Arrondir les coins */
}

.timeline-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    position: relative;
    left: -20px; /* Décalage pour aligner avec la ligne */
}

.timeline-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.timeline-title a {
    color: #333;
    text-decoration: none;
}

.timeline-title a:hover {
    text-decoration: underline;
}

.timeline-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.timeline-read-more {
    display: inline-block;
    padding: 8px 12px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.timeline-read-more:hover {
    background-color: #D4AA00;
}

.timeline-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.timeline-pagination .page-numbers {
    margin: 0 5px;
    padding: 5px 10px;
    background: #eee;
    border-radius: 3px;
    color: #0073aa;
    text-decoration: none;
}

.timeline-pagination .page-numbers.current {
    background: #0073aa;
    color: white;
}

.timeline-pagination .page-numbers:hover {
    background: #005a87;
    color: white;
}
/* //////////////////// */
.ra-timeline-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.ra-timeline-pagination .page-numbers {
    margin: 0 5px;
    padding: 5px 10px;
    background: #eee;
    border-radius: 3px;
    color: #D4AA00;
    text-decoration: none;
}

.ra-timeline-pagination .page-numbers.current {
    background: #D4AA00;
    color: white;
}

.ra-timeline-pagination .page-numbers:hover {
    background: #D4AA00;
    color: white;
}
/*  nom membre buddypress  */

.bp-member-full-name {
    display: inline-block; /* Pour afficher à côté de l'avatar */
    margin-left: 10px; /* Espacement entre l'avatar et le nom */
    vertical-align: middle; /* Aligner verticalement avec l'avatar */
    font-size: 13px; /* Taille de la police */
    font-weight: 700; /* Mettre en gras */
    font-family: 'Montserrat', sans-serif; /* Police Montserrat */
}
#filed_2.form input[type=checkbox], form input[type=radio] {
    margin-right: 5px;
}
fieldset.group-create-privacy {
    display: none;
}
input#save {
    margin-top: 10px;
}

a {
  color: #333333c9;
}
.my-e-con-inner {
    /* Styles personnalisés pour imiter Elementor */
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-inline-start: 0;
  padding-inline-end: 0;
  height: 100%;
    /* Ajoutez d'autres propriétés si nécessaire */
}
.author-bio-description.clr {
    display: none;
}
#right-sidebar {
  display: none;
}
.content-area {
 border-style: unset;
}
@media only screen and (min-width: 960px) {
  .content-area {
    width: 95% !important;
  }
}
#author-bio-inner {
  display: none !important;
}
#message {
  display: none;
}
#groups-list .item-desc {
  display: none;
}

.blog-entry-date.clr {
  display: none;
}

.blog-entry.post .blog-entry-header .entry-title a {
  font-weight: inherit;
  font-size: 16px !important;  
}
.blog-entry-category.clr {
  display: none !important;
}
.blog-entry.thumbnail-entry {
  border-bottom: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.blog-entry.post .blog-entry-header {
  margin-bottom: 0px;
}
.blog-entry.thumbnail-entry .blog-entry-bottom {
  border-top: 0px ;
  padding-top: 0px;
}

.category-software form, .category-seminars form, .category-projects form , .category-jobs form{
    width: 450px;
}

.filter-block {
  width: 400px;
}
.filter-container {
        display: flex;
        gap: 20px;
    }
 @media (max-width: 768px) {
        .filter-container {
            flex-direction: column;
            gap: 10px;
        }
		.filter-block {
	  width: 300px;
	}
	 .category-software form, .category-seminars form, .category-projects form , .category-jobs form{
    width: 300px;
}
}


.bp-profile-social-links {
    margin-top: 20px;
    margin-bottom: 5px;
}

.bp-profile-social-links .social-link {
    display: inline-block;
      text-decoration: none;
    color: #d4aa00;
    padding: 5px 10px;
    border-radius: 30px;
  /*  transition: background-color 0.3s ease;*/
}

.bp-profile-social-links .social-link:hover {
    color: #8c7205;
}
/* Désactiver les liens des titres dans la timeline sur la page Events */
.page-id-5549 .wpr-title-wrap a.wpr-title,
.page-id-15806 .wpr-title-wrap a.wpr-title {
    pointer-events: none; /*Désactive l'interaction */
    cursor: default;      /* Change le curseur pour indiquer que ce n'est plus un lien */
    color: inherit;       /* Facultatif : Empêche les liens de ressembler à des liens cliquables */
    text-decoration: none; /* Supprime la soulignure si présente */
}
.page-id-5549 .wpr-description p ,
.page-id-15806 .wpr-description p 
{
   margin: 0; /* Réinitialise les marges à 0 */
}
.page-id-5549 .wpr-description ,
.page-id-15806 .wpr-description 
{
    /*word-wrap: break-word; Coupe les mots trop longs pour éviter les débordements */
    max-width: 98%; /* Garde les descriptions dans les limites du conteneur */
}
/* page meeting */
@media (max-width: 651px) {
	 .wpr-description.content-injected p {
  width: 21em;
}
}
 @media (max-width: 768px) {
	.page-id-5549 .wpr-description ,
	.page-id-15806 .wpr-description 
		{
			/* max-width: 60%; Garde les descriptions dans les limites du conteneur */
		}  
	 .wpr-description.content-injected p {
 /* width: 50em;*/
}
    .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry {
		overflow: hidden; /* Empêche tout contenu d’aller au-delà des limites */
    	box-sizing: border-box; /* Assure que les dimensions incluent les bordures et les marges */
 		 max-width: 98% !important;
		}  
	 .elementor-5549 .elementor-element.elementor-element-f20c8a2 .wpr-one-sided-timeline .wpr-data-wrap::after {
		 border-width: 5px;
	 }
}
 @media (min-width: 769px) {
    .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry {
  width: 98% !important;
		}  
} 
/* Limiter la taille des vidéos intégrées (iframe) dans les articles */
.entry-content iframe {
    max-width: 30%; /* La vidéo ne dépassera pas la largeur de son conteneur */
    height: auto;    /* Maintient les proportions */
    display: block;  /* Assurez-vous que l'iframe se comporte comme un bloc */
    margin: 0 auto;  /* Centrer la vidéo dans le conteneur */
}
/* Limiter la taille des images dans les articles à 40px */
.entry-content img {
    max-width: 40px;
    max-height: 40px;
    width: auto; /* Préserver les proportions */
    height: auto;
    display: inline-block; /* Garder l'image inline avec le texte */
    margin: 0; /* Ajustement des marges si nécessaire */
}

.entry-content {
	line-height: 22px;
}
h1 {
	display: inline-block;
}
.entry-title {
	 margin: 0;
	font-size: 15px;
	font-weight: 400;
}
h2.entry-title {
	font-weight: 700;
}
.entry-summary {
  line-height: 25px;
}
.entry-summary .e-con {
	padding-left:0px;	
}
.e-con-inner {
	padding-top:0px !important;
}

.category p {
	margin-bottom:5px;
}
/* Pour les écrans plus larges (desktop), afficher la vidéo à gauche */
.entry.clr {
    flex-direction: row;
    align-items: flex-start;
}

/* Aligner le titre de la page avec la colonne de la vidéo sur les grands écrans */
@media (min-width: 768px) {
    #primary h1 {
        /* padding-left: 270px; Ajuste cette valeur à la largeur de la vidéo (250px) + marge (20px) 
		padding-top: 50px;*/
    }
}
/* Pour les petits écrans (smartphones), afficher la vidéo au-dessus du contenu */
@media (max-width: 768px) {
    .entry.clr {
        flex-direction: column; /* Afficher la vidéo au-dessus du contenu */
    }

    .entry-media {
        margin-bottom: 10px; /* Ajouter un peu d'espace sous la vidéo */
		flex: 0 0 50px !important;
		
    }
#primary h1 {
       /* padding-left: 30px;  Sur les petits écrans, le titre sera centré sans décalage */
    }
}
/* Conteneur principal pour les contrats */
.alumni-members-container {
	/*width: 1140px;
    margin-bottom: 40px;*/
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
 	padding: 30px;
	border-radius: 8px;
	margin-right: 0px;
}

/* Style pour chaque titre de contrat */
.contract-title {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: left;
	background-color: rgb(247, 247, 247);
    padding: 15px;
    border-radius: 8px;
}

/* Conteneur pour organiser les membres en 3 colonnes */
.alumni-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    gap: 20px; /* Espacement entre les éléments */
    margin-bottom: 40px;
}

/* Style pour chaque membre */
.alumni-member-item {
    text-align: left;
    margin: 0px 0; /* Ajoute un léger espacement */
}

/* Réactivité : pour écrans de taille moyenne (tablettes) */
@media (max-width: 992px) {
    .alumni-members-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    }
}

/* Réactivité : pour petits écrans (mobiles) */
@media (max-width: 600px) {
    .alumni-members-grid {
        grid-template-columns: 1fr; /* 1 colonne */
    }
}
.member-biography p {
	margin-bottom: 0px;
}

/* masquage des detail fiche member  */
/* Masquer tous les champs sauf "Contrat" et "Biography" */
.bp-widget .field_1, /* Remplacez par l'ID du champ nom */
.bp-widget .field_32, /* Remplacez par l'ID du champ LinkedIn */
.bp-widget .field_33, /* Ajoutez d'autres champs à masquer ici */ 
.bp-widget .field_34,
.bp-widget .field_35
{
    display: none;
}


/* Espace entre les publications de la catégorie "Publications" */
.category-publications .entry.clr {
    margin-bottom: 25px; /* Ajustez la marge selon vos préférences */
}

.apa-citation {
    font-size: 13px;
}

.single[class*="category-projects"] .meta-date {
    display: none;
}
.single[class*="category-projects"] .meta-cat i.icon-folder,
.single[class*="category-projects"] .meta-cat a[href*="/category/projects/"],
.single[class*="category-projects"] .meta-cat .owp-sep {
    display: none;
}
/* fiche individuelle budypress */
/* Masquer #pag-top, #pag-bottom, et .meta pour tous les utilisateurs */
#pag-top, #pag-bottom, .meta {
    display: none !important;

}
/* Appliquer une bordure de 0 et une marge supérieure de 10px à #buddypress ul.item-list */
#buddypress ul.item-list {
    border: 0 !important;
    margin-top: 10px;
}
.bp-widget.details {
  margin-top: 20px;
}
.details h2 {
  display: none;
}
.color-help {  
    color: red;
}
/* page sofwares */
.blog-entry.large-entry .thumbnail {
  margin-bottom: 0px;
}
.blog-entry.post .blog-entry-summary {
  margin-bottom: 0px;
}
.blog-entry.large-entry {
   padding-bottom: 2px;
}
.filter-block h2 {
    font-size: 16px;
}
/* page news */
.field-item.even {
  font-size: 14px;
}


a[href*="section=billing-address"] {
    display: none !important;
}

.member-column {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1;
    min-width: 300px;
}

.member-column h2 {
    text-align: left;
    color: #333;
    margin-bottom: 15px;
}

.members-list {
    list-style: none;
    padding: 0;
}

.members-list li {
    margin: 5px 0;
}

.single-post .related-posts {
    display: none !important;
}
#related-posts {
  display: none;
}


.attachment-thumbnail.size-thumbnail.wp-post-image {
	max-width: 60%;
}
.attachment-thumbnail.wp-post-image{
	max-width: 60%;
}
#buddypress #header-cover-image {
	position: relative;
}

/* Désactiver les liens dans la colonne Featured Image */
.items-table.post td[data-label="Featured Image: "] a {
    pointer-events: none;
    cursor: default;
    color: inherit; /* Conserver la couleur du texte */
}

/* Désactiver les liens dans la colonne Title */
.items-table.post td[data-label="Title: "] a {
    pointer-events: none;
    cursor: default;
    color: inherit;
}

/* Masquer la colonne Status (contenu des cellules et de l'en-tête) */
.items-table.post tr th:nth-child(3),
.items-table.post tr td:nth-child(3) {
    display: none !important;
}
.items-table.post tr th:nth-child(4),
.items-table.post tr td:nth-child(4) {
   width: 90px;
}

.bp-groups-categories-container {
    margin: 15px 0; /* Réduit l'espacement autour de la liste */
    padding-left: 20px; /* Décale tout le contenu vers la droite */
    border-left: 2px solid #d4aa00; /* Ligne distinctive sur le côté */
}

.bp-groups-categories-list {
    list-style-type: none; /* Supprime les puces */
    padding: 0;
    margin: 0;
}

.bp-groups-categories-list li {
    margin: 0; /* Supprime complètement l'espace vertical entre les éléments */
    padding: 2px 0; /* Réduit le padding interne */
    border-bottom: 1px solid #dddddd; /* Ligne horizontale entre les éléments */
	line-height:1.4;
}

.bp-groups-categories-list li:last-child {
    border-bottom: none; /* Supprime la ligne pour le dernier élément */
}

.bp-groups-categories-list a {
    text-decoration: none; /* Supprime le soulignement des liens */
    color: #333333c9; /* Couleur du texte des liens */
    font-size: 15px; /* Taille de la police */
    font-weight: 400; /* Poids de la police */
    display: inline-block; /* Permet un meilleur alignement */
    padding: 1px 5px; /* Réduit le padding autour du texte */
}

@media (min-width: 1024px) {
		.bp-groups-categories-list a:hover {
		color: #d4aa00 !important; /* Couleur des liens au survol */
	}
}

.manage-group-admins th,
.manage-group-admins td {
    font-size: 13px;
    padding: 8px 12px; /* Ajuste l'espacement pour un rendu plus équilibré */
}

.manage-group-admins input,
.manage-group-admins select,
.manage-group-admins button {
    font-size: 13px;
}
select#group-filter {
    width: auto;
    height: 1.9em;
}

th.thag {
    width: 170px;
}


@media (max-width: 1023px) {
	.menu-item {
		cursor: pointer;
}
	.menu-item a {
		text-decoration: none;
		color: inherit;
}
	.bp-groups-categories-list a {
	    font-size: 12px;
		font-weight: 600;
        line-height: 22px;
		width: 100%;
        height: 100%;
}
	.bp-groups-categories-list a:hover {
    	background-color: #D4AA00;
		color:fff !important;;
	    font-size: 12px;
		font-weight: 600;
        line-height: 23px;
}
	}

/* Correction de l'alignement du champ */
.wpuf-fieldsa {
    float: left;
    width: auto;
}

.html_19589, .html_19642, .html_19657, .html_19673, .html_19650, .html_11198, .html_11149 {
    width: 100% !important;
}

nav.navigation.post-navigation {
    display: none;
}

/* Conteneur principal en ligne */
.wpr-story-info-vertical {
    display: flex !important;
    flex-direction: row !important; /* Assurez-vous que le contenu est en ligne */
    align-items: center; /* Alignement vertical */
    gap: 20px; /* Espacement entre l'image et le texte */
    margin-bottom: 20px; /* Espacement entre les articles */
}

/* Ajustement de la vignette */
.wpr-animation-wrap.wpr-timeline-media {
    flex: 0 0 180px; /* Largeur fixe pour l'image */
    max-width: 180px;
}

/* Ajustement de la vignette pour éviter le rognage */
.wpr-animation-wrap.wpr-timeline-media img {
    width: 100%;
    height: auto; /* S'assurer que l'image garde ses proportions */
    max-height: 140px; /* Ajuster à la hauteur définie */
    object-fit: contain; /* Éviter le rognage et s’assurer que tout l’image est visible */
    border-radius: 10px;
    padding: 5px; /* Petit espace autour de l’image pour éviter qu'elle touche les bords */
}

.wpr-timeline-content-wrapper {
    flex: 1; /* Permet au texte d'occuper l'espace restant */
    display: flex;
    flex-direction: column;
}

.wpr-title-wrap {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wpr-title {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.wpr-title:hover {
    color: #0073aa; /* Effet au survol */
}

.wpr-inner-date-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.wpr-description {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.publication-form-container {
  margin: 30px auto;
  padding: 25px 30px 30px 30px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.publication-form-container h2,
.publication-form-container h3 {
  color: #2e3a4e;
  margin-top: 0;
  font-size: 2em;
}
.publication-form-container label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}
.publication-form-container input,
.publication-form-container select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 5px;
  font-size: 1em;
  margin-bottom: 15px;
  background: white;
}
.publication-form-container .form-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}
.publication-form-container button,
.publication-form-container a.button-like {
  flex: 1;
  padding: 12px;
  background-color: #4CAF50;
  color: white !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.07em;
  text-align: center;
  font-weight: bold;
  transition: background 0.18s;
  text-decoration: none;
  display: block;
}
.publication-form-container a.button-like.cancel {
  background: #607D8B !important;
}
.publication-form-container .error-message {
  background: #ffebee;
  border: 1px solid #f44336;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 18px;
  color: #d32f2f;
  font-size: 1.08em;
}

table tr:nth-child(odd) {
  background-color: #f2f2f2; /* Gris clair */
}


/***************** DASHBOARD *******************************/
#content-wrap {
  padding-top: 0px !important;
}
.mon-dashboard-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 30px 0;
    font-size: 14px;
}

/* Onglet menu - caché par défaut sur desktop */
.dashboard-menu-tab {
    display: none;
}

/*=========== MOBILE : MENU DRAWER AVEC ONGLET =======*/
@media (max-width: 800px) {
    
    /* Onglet attaché au menu - DRAGGABLE */
    .dashboard-menu-tab {
        display: block;
        position: fixed;
        top: 50%; /* Position par défaut - sera écrasée par JS */
        left: 0;
        transform: translateY(-50%);
        z-index: 1001;
        width: 45px;
        height: 80px;
        background: #d4aa00;
        border: none;
        border-radius: 0 12px 12px 0;
        cursor: grab; /* Curseur pour indiquer que c'est draggable */
        box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        padding: 0;
        transition: left 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        touch-action: none; /* Désactive le scroll natif pendant le drag sur mobile */
    }
	
/* Curseur quand on est en train de drag */
    .dashboard-menu-tab.dragging {
        cursor: grabbing;
        transition: none; /* Pas de transition pendant le drag */
    }
    
    .dashboard-menu-tab:hover {
        background: #b89000;
    }
    
    /* Icône dans l'onglet */
    .dashboard-menu-tab-icon {
        width: 24px;
        height: 24px;
        stroke: white;
        stroke-width: 2.5;
        transition: transform 0.3s ease;
		pointer-events: none; /* Évite les conflits avec le drag */
    }
    
    /* Texte "MENU" vertical */
    .dashboard-menu-tab-text {
        color: white;
        font-size: 10px;
        font-weight: bold;
        letter-spacing: 2px;
        margin-top: 5px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
		pointer-events: none; /* Évite les conflits avec le drag */
    }
    
    /* Quand menu ouvert, l'onglet se déplace avec le menu */
    .dashboard-menu-tab.open {
        left: 260px !important;
        transform: translateY(-50%) !important;
    }
    
    /* Inverser la flèche quand ouvert */
    .dashboard-menu-tab.open .dashboard-menu-tab-icon {
        transform: rotate(180deg);
    }
	.dashboard-menu-tab path {
  color: white;
}
    
    /* Wrapper */
    .mon-dashboard-wrapper {
        flex-direction: column;
        margin: 0;
        padding-top: 20px;
    }
    
    /* Sidebar : drawer depuis la gauche */
    .mon-dashboard-sidebar {
        position: fixed;
        top: 30px;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: #f7f7f7;
        border-radius: 0;
        box-shadow: 2px 0 12px rgba(0,0,0,0.3);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 20px 0 20px 0;
    }
    
    /* Menu ouvert */
    .mon-dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    /* Liens du menu : style vertical */
    .mon-dashboard-sidebar a {
        border-left: 3px solid transparent;
        padding: 14px 20px;
        text-align: left;
        font-size: 1em;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mon-dashboard-sidebar a:last-child {
        border-bottom: none;
    }
    
    /* Icônes visibles sur mobile */
    .mon-dashboard-sidebar a svg {
        display: inline-block;
        width: 18px;
        height: 18px;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .mon-dashboard-sidebar a.active,
    .mon-dashboard-sidebar a:hover {
        border-left: 4px solid #d4aa00;
        background: #f0ece1;
    }
    
    /* Contenu principal */
    .mon-dashboard-content {
        padding: 20px 15px;
        margin-top: 0;
        width: 100%;
    }
    
    .mon-dashboard-content h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /* Overlay sombre quand menu ouvert */
    .dashboard-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .dashboard-overlay.open {
        display: block;
        opacity: 1;
    }
}

/* TRÈS PETIT MOBILE */
@media (max-width: 480px) {
    .dashboard-menu-tab {
        width: 40px;
        height: 70px;
    }
    
    .dashboard-menu-tab-icon {
        width: 20px;
        height: 20px;
    }
    
    .dashboard-menu-tab-text {
        font-size: 9px;
    }
    
    .mon-dashboard-sidebar {
        width: 260px;
        max-width: 90%;
    }
    
    .mon-dashboard-sidebar a {
        font-size: 0.95em;
        padding: 5px 15px;
    }
    
    .mon-dashboard-sidebar a svg {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }
    
    .mon-dashboard-content {
        padding: 15px 10px;
        border-radius: 12px;
    }
}

/*=========== PROFIL UTILISATEUR RESPONSIVE =======*/
@media (max-width: 800px) {
    .user-profile-box {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .user-profile-box .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .user-profile-box .profile-icon {
        margin: 0 auto 10px;
    }
    
    .user-profile-box h3 {
        font-size: 16px;
    }
    
    .profile-rights-content-always-open {
        font-size: 12px;
    }
}

/*=========== TABLEAUX RESPONSIVE =======*/
@media (max-width: 800px) {
    #filtre-categorie,
    #filtre-date {
        width: 100%;
        margin-bottom: 10px;
        font-size: 13px;
        padding: 8px;
        box-sizing: border-box;
    }
    
    #mon-post-tableau-content table {
        font-size: 12px !important;
    }
    
    #mon-post-tableau-content table th,
    #mon-post-tableau-content table td {
        font-size: 12px !important;
        padding: 8px 5px !important;
    }
}

@media (max-width: 480px) {
    #mon-post-tableau-content table th:nth-child(2),
    #mon-post-tableau-content table td:nth-child(2) {
        display: none;
    }
}

/* En-tête avec filtre */
.news-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
   /* margin-bottom: 40px;*/
    padding-bottom: 20px;
    /*border-bottom: 2px solid #e0e0e0;*/
}

.news-filter-header h1 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

/*.news-filter-form select {
    padding: 10px 20px;
    font-size: 13px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}*/

.news-filter-form select:hover {
    border-color: #d4aa00;
}

/* Image à gauche - position fixe */
.news-thumbnail {
    flex: 0 0 235px !important;
	min-width: 235px !important;
    align-self: flex-start !important;
	/* margin-left: 20px; ← Même espace que le gap */
	display: flex !important;
	justify-content: center !important;
	align-items: flex-start !important;
}

.news-thumbnail img {
    width: auto !important;
    height: auto !important;
    max-height: 150px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    /*border-radius: 8px;*/
    display: block !important;
    object-fit: contain !important;
}

/* Description à droite - prend l'espace restant */
.news-content {
    flex: 1 1 auto !important;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    min-width: 0; /* Important pour éviter le débordement */
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	
    .native-news-list::before {
        display: none; /* Masque la ligne verticale */
    }
    
    .news-item {
        margin-left: 0; /* Supprime la marge */
    }
    
    .news-item::before,
    .news-item::after {
        display: none; /* Masque point et flèche */
    }

    .native-news-list {
        padding: 1px;
    }
    
    .news-item {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    /* IMAGE AU-DESSUS du texte en mobile */
    .news-body {
        flex-direction: column !important; /* ← Changé de row à column */
		gap: 15px !important; /* Espace entre image et texte */
    }
    
	.news-thumbnail {
        max-width: 100% !important;
        margin: 0 auto 15px auto !important; /* Centre le conteneur et ajoute espace en bas */
        text-align: center !important;
    }
    
    .news-thumbnail img {
        max-height: 140px !important;
        max-width: 100% !important;
        display: inline-block !important; /* ← Changé en inline-block pour que text-align fonctionne */
        margin: 0 !important;
    }
    
    .news-title {
        font-size: 16px; /* Garde la même taille */
    }
    
    .news-filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-filter-header h1 {
        font-size: 1.4em;
    }
    
    .show-all-link {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
   .post-buddypress-groups {
	   padding-bottom: 0px;
	   margin-top: 0px
	}
	
	.news-item {
        padding: 15px;
    }
    
    .news-title {
        font-size: 14px; /* Un peu plus petit sur très petit écran */
    }
    
    .news-content {
        font-size: 14px;
    }
}

/* Responsive popup */
@media (max-width: 768px) {
    .abstract-content {
        padding: 25px;
        max-width: 95%;
    }
    
    .abstract-content h3 {
        font-size: 1.3em;
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .software-filters-container {
        flex-direction: column;
    }
    
    .software-meta-container {
        flex-direction: column;
        gap: 10px;
    }
}
.project-external-link {
    margin-bottom: 10px;
    border-top: 1px solid #e1e4e8;
    border-bottom: 1px solid #e1e4e8;
	font-weight: 600;
	background: #f9f9f9;
    padding: 6px 7px;
    border-left: 4px solid #d4aa00;
    border-radius: 4px;   
}

.project-external-link a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s;
}

.project-external-link a:hover {
    color: #004499;
}

.project-external-link svg {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.project-external-link a:hover svg {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .external-link-button {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .openposition-contact {
        font-size: 13px;
    }
}

/* Responsive mobile - vidéo au-dessus */
@media (max-width: 768px) {
    .outreach-video {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .outreach-video iframe {
        height: 200px !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .outreach-external-link {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .external-link-box {
        min-height: 150px;
        padding: 30px 15px;
    }
}

/* Responsive : 2 colonnes sur tablette */
@media (max-width: 992px) {
    .members-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-top-grid .group-empty {
        display: none;
    }
    
    .past-visitors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visitors-section .members-list {
        column-count: 2;
    }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .members-top-grid {
        grid-template-columns: 1fr;
    }
    
    .past-visitors-grid {
        grid-template-columns: 1fr;
    }
    
    .visitors-section .members-list {
        column-count: 1;
    }
    
    .past-visitors-box {
        padding: 20px;
    }
    
    .past-visitors-box h2 {
        font-size: 18px;
    }
    
    .letter-header {
        font-size: 18px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .latest-publication-title {
        font-size: 13px;
    }
    
    .latest-publication-apa {
        font-size: 13px;
    }
}

/*=========== PROFIL UTILISATEUR RESPONSIVE =======*/
@media (max-width: 800px) {
    .user-profile-box {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .user-profile-box .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .user-profile-box .profile-icon {
        margin: 0 auto 10px;
    }
    
    .user-profile-box h3 {
        font-size: 16px;
    }
    
    .profile-rights-content-always-open {
        font-size: 12px;
    }
}

/*=========== TABLEAUX RESPONSIVE =======*/
@media (max-width: 800px) {
    #filtre-categorie,
    #filtre-date {
        width: 100%;
        margin-bottom: 10px;
        font-size: 13px;
        padding: 8px;
        box-sizing: border-box;
    }
    
    #mon-post-tableau-content table {
        font-size: 12px !important;
    }
    
    #mon-post-tableau-content table th,
    #mon-post-tableau-content table td {
        font-size: 12px !important;
        padding: 8px 5px !important;
    }
}

@media (max-width: 480px) {
    #mon-post-tableau-content table th:nth-child(2),
    #mon-post-tableau-content table td:nth-child(2) {
        display: none;
    }
}
/***************** DASHBOARD *******************************/
/*.mon-dashboard-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 30px 0;
    font-size: 14px;
}

.mon-dashboard-sidebar {
    width: 246px;
    background: #f7f7f7;
    border-radius: 16px;
    box-shadow: 0 2px 16px #0001;
    padding: 0px 0 0px 0;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mon-dashboard-sidebar a {
    display: block;
    padding: 4px 30px;
    color: #444;
    text-decoration: none;
    font-size: 1.09em;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.mon-dashboard-sidebar a.active,
.mon-dashboard-sidebar a:hover {
    background: #f0ece1;
    border-left: 4px solid #d4aa00;
    color: #2a2a2a;
    font-weight: bold;
}

.mon-dashboard-content {
    flex: 1 1 0%;
    min-width: 0;
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
}
*/
/*================= ICON MENU DASHBOARD ===========*/
.dashboard-menu-item svg {
   /* transition: transform 0.3s ease;*/
}

.dashboard-menu-item:hover svg {
  /* transform: rotate(90deg);*/
}

nav.mon-dashboard-sidebar {
    display: flex !important;
    flex-direction: column !important;
    font-size: 14px;
    background: #f7f7f7 !important;
    padding:25px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 25px;
    width: 270px !important;
    min-width: 270px !important;
    flex-shrink: 0 !important;
}

.mon-dashboard-content h2 {
    font-size: 18px;
}

/* Burger button - caché par défaut sur desktop
.dashboard-burger {
    display: none;
} */

/***************** fin dashboard*******************************/



/* personalisation page news*/
.wpr-description.content-injected p {
    margin-bottom: 14px;
}
.wpr-description.content-injected a {
    color: #d4aa00;
    font-weight: 600; /* ou 700 ou bold */
    text-decoration: underline;
}
.wpr-description.content-injected a:hover {
    color: darkgreen;
    text-decoration: none;
}


/* ============================================
   NEWS LIST - TIMELINE DESIGN (Style Royal Elementor)
   ============================================ */

.native-news-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
	position: relative; /* Pour positionner la ligne */
}
/* Ligne verticale à gauche */
.native-news-list::before {
    content: '';
    position: absolute;
    left: 53px; /* Position de la ligne */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #d4aa00, #006400); /* Dégradé doré → vert */
    border-radius: 2px;
}

/* En-tête avec filtre 
.news-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}*/

.news-filter-header h1 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.news-filter-form select {
    padding: 10px 20px;
    font-size: 13px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.news-filter-form select:hover {
    border-color: #d4aa00;
}

.show-all-link {
    color: #d4aa00;
    text-decoration: none;
    font-size: 15px;
    margin-left: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.show-all-link:hover {
    color: #006400;
    text-decoration: underline;
}

/* Article avec espace pour la timeline */
.news-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    margin-left: 80px; /* Espace pour la ligne et la flèche */
    padding: 20px;
	padding-bottom: 3px;
    transition: box-shadow 0.3s, transform 0.2s;
    position: relative;
	line-height:21px
}
/* Point/cercle sur la ligne */
.news-item::before {
    content: '';
    position: absolute;
    left: -54px; /* Position sur la ligne */
    top: 30px;
    width: 16px;
    height: 16px;
    background: #d4aa00;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #d4aa00;
    z-index: 2;
    transition: all 0.3s;
}

/* Flèche qui pointe vers le cadre */
.news-item::after {
    content: '';
    position: absolute;
    left: -36px;
    top: 32px;
    width: 0;
    height: 0;
    border-left: 10px solid #d4aa00;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    transition: all 0.3s;
}
.news-item:hover::before {
    background: #006400;
    box-shadow: 0 0 0 3px #006400; /* Halo plus grand */
    width: 17px; /* ← Grossit le rond */
    height: 17px; /* ← Grossit le rond */
    left: -56px; /* ← Ajuste position pour rester centré */
    top: 28px; /* ← Ajuste position pour rester centré */
}

.news-item:hover::after {
    border-left-color: #006400;
    left: -32px; /* La flèche avance un peu */
}

/* Image à gauche - taille contrôlée */
/* Container pour image + description côte à côte - FORCÉ */
.news-body {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
  /*  align-items: flex-start !important;*/
	align-items:normal;
    margin-bottom: 15px;
}

/* Image à gauche - position fixe 
.news-thumbnail {
    flex: 0 0 auto !important;
	max-width: 220px !important;
    align-self: flex-start !important;
	margin-left: 20px;
}*/
/*voir 4080
.news-thumbnail img {
    width: auto !important;
    height: auto !important;
    max-height: 130px !important;
    max-width: 100% !important;
   
    display: block !important;
    object-fit: contain !important;
}*/

/* Description à droite - prend l'espace restant */
.news-content {
    flex: 1 1 auto !important;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    min-width: 0; /* Important pour éviter le débordement */
}

/* Neutraliser le display:flex du container Elementor dans le contenu */
.news-content .elementor {
    display: block !important;
}

.news-content .e-con {
    display: block !important;
}

.news-content .e-flex {
    display: block !important;
}

/* S'assurer que les paragraphes dans le contenu restent normaux */
.news-content p {
    margin-bottom: 12px;
    display: block !important;
}

.news-content p:last-child {
    margin-bottom: 0;
}

/* Liens DANS la description - en gras #d4aa00 */
.news-content a {
    color: #d4aa00 !important;
    font-weight: 600 !important;
    text-decoration: underline;
    transition: color 0.3s;
}

.news-content a:hover {
    color: #006400 !important;
}
/* Wrapper du contenu (comme wpr-timeline-content-wrapper) */
.news-header,
.news-content,
.post-buddypress-groups {
    padding: 0 0px;
}

.news-header {
    padding-top: 20px;
}

.news-title a {
    color: #d4aa00;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #006400;
}

/* Date (comme wpr-inner-date-label) */
.news-date {
    display: block;
    color: #999;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 400;
}
/* Article - AVEC PADDING INTERNE */

.news-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Titre avec espace en bas */
.news-title {
    margin: 0 0 4px 0; /* 4px en bas */
    font-size: 16px;
    line-height: 1.3;
    font-weight: bold;
    color: #333;
}

/* Teams - Style intégré 
.post-buddypress-groups {margin-top: 15px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 14px;
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}
}*/
.post-buddypress-groups {
	margin-top: 15px; 
	padding-bottom: 15px;
	padding-top: 10px; 
	border-top: 1px solid #ddd; 
	font-size: 14px;
}
 
.post-buddypress-groups strong {
    color: #333;
    font-weight: 600;
}

.post-buddypress-groups .team-link {
    color: #d4aa00;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.post-buddypress-groups .team-link:hover {
    color: #006400;
}

/* "No teams" style */
.post-buddypress-groups span[style*="italic"] {
    color: #999;
    font-style: italic;
}

/* Loading indicator */
.loading-indicator {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
    font-style: italic;
}

.loading-indicator::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top-color: #d4aa00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 12px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message "No results" */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 18px;
    font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	
    .native-news-list::before {
        display: none; /* Masque la ligne verticale */
    }
    
    .news-item {
        margin-left: 0; /* Supprime la marge */
    }
    
    .news-item::before,
    .news-item::after {
        display: none; /* Masque point et flèche */
    }

    .native-news-list {
        padding: 1px;
    }
    
    .news-item {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    /* IMAGE AU-DESSUS du texte en mobile */
    .news-body {
        flex-direction: column !important; /* ← Changé de row à column */
		gap: 15px !important; /* Espace entre image et texte */
    }
    
	.news-thumbnail {
        max-width: 100% !important;
        margin: 0 auto 15px auto !important; /* Centre le conteneur et ajoute espace en bas */
        text-align: center !important;
    }
    
    .news-thumbnail img {
        max-height: 140px !important;
        max-width: 100% !important;
        display: inline-block !important; /* ← Changé en inline-block pour que text-align fonctionne */
        margin: 0 !important;
    }
    
    .news-title {
        font-size: 16px; /* Garde la même taille */
    }
    
    .news-filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-filter-header h1 {
        font-size: 1.4em;
    }
    
    .show-all-link {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
   .post-buddypress-groups {
	   padding-bottom: 0px;
	   margin-top: 0px
	}
	
	.news-item {
        padding: 15px;
    }
    
    .news-title {
        font-size: 14px; /* Un peu plus petit sur très petit écran */
    }
    
    .news-content {
        font-size: 14px;
    }
}
/* ============================================
   SEMINARS - Adaptations du design timeline
   ============================================ */

.seminar-item {
    /* Hérite du style .news-item */
}
.seminar-date {
    display: block;
    color: #d4aa00;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.seminar-info {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 5px;
}

.seminar-field {
	font-size: 14px;
   line-height: 20px;
}

.seminar-field strong {
    color: #333;
    font-weight: 600;
    margin-right: 8px;
}

.seminar-title-link {
    color: #d4aa00 !important;
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
	font-size: 15px;
}

.seminar-title-link:hover {
    color: #006400 !important;
}

.seminars-instruction {
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}
/* Add to Calendar - Menu déroulant pour séminaires */
.seminar-date-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.add-to-calendar-wrapper {
    position: relative;
    display: inline-block;
}

.add-to-calendar-btn {
    background: #d4aa00;
    color: white;
    border: none;
    padding: 4px 6px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.add-to-calendar-btn:hover {
    background: #006400;
    transform: translateY(-1px);
}

.calendar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    margin-top: 5px;
    z-index: 1000;
	line-height: .5em;
}
.calendar-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 3px 15px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.calendar-option:last-child {
    border-bottom: none;
    border-radius: 0 0 5px 5px;
}

.calendar-option:hover {
    background: #f5f5f5;
}

.calendar-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Hover effects spécifiques */
.calendar-option:hover .calendar-icon path {
    opacity: 0.8;
}
/* Bouton Add to Calendar désactivé pour événements passés */
.add-to-calendar-wrapper.past-event {
    opacity: 0.6;
}

.add-to-calendar-btn.disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.add-to-calendar-btn.disabled:hover {
    background: #cccccc !important;
    transform: none !important;
}

.add-to-calendar-btn.disabled svg {
    opacity: 0.5;
}
* Lien online pour séminaires */
.seminar-online-link {
    color: #d4aa00;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.seminar-online-link:hover {
    color: #006400;
    text-decoration: underline;
}

.seminar-online-link svg {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.seminar-online-link:hover svg {
    transform: translateX(2px) translateY(-2px);
}
a.seminar-online-link {
    color: #d4aa00;
	font-weight: 600;
}
/* Message de connexion requise pour Meeting Code */
.meeting-code-login-required {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.meeting-code-login-required svg {
    color: #999;
}

.meeting-code-login-required a {
    color: #d4aa00;
    text-decoration: none;
    font-weight: 600;
    margin: 0 4px;
}

.meeting-code-login-required a:hover {
    color: #006400;
    text-decoration: underline;
}

/* Ajustement du style pour utilisateurs connectés */
.seminar-meeting-code {
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #d4aa00;
}

.meeting-code-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.copy-code-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #d4aa00;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.copy-code-btn:hover {
    color: #006400;
    transform: scale(1.1);
}

.copy-code-btn svg {
    display: block;
}

.abstract-inline-content .abstract-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.abstract-inline-content .abstract-text p {
    margin-bottom: 5px;
	font-size: 14px;
	line-height: 21px;
}

/* Indicateur visuel quand l'abstract est ouvert */
.seminar-title-link.abstract-open {
    color: #006400 !important;
}

/* Animation smooth */
.abstract-inline-content {
    overflow: hidden;
}

.seminar-abstract-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.abstract-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.abstract-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.close-abstract {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f5f5f5;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-abstract:hover {
    background: #d4aa00;
    color: white;
}

.abstract-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #d4aa00;
    font-size: 1.6em;
    font-weight: bold;
}

.abstract-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.abstract-text p {
    margin-bottom: 15px;
}

/* Responsive popup */
@media (max-width: 768px) {
    .abstract-content {
        padding: 25px;
        max-width: 95%;
    }
    
    .abstract-content h3 {
        font-size: 1.3em;
    }
}
/* ============================================
   SOFTWARES - SANS TIMELINE (comme Projects)
   ============================================ */

/* Masquer la ligne verticale pour softwares */
.softwares-list.no-timeline::before {
    display: none !important;
}

/* Supprimer la marge gauche pour softwares */
.softwares-list.no-timeline .news-item {
    margin-left: 0 !important;
}

/* Masquer le point et la flèche pour softwares */
.softwares-list.no-timeline .news-item::before,
.softwares-list.no-timeline .news-item::after {
    display: none !important;
}

/* Réinitialiser le transform au survol */
.softwares-list.no-timeline .news-item:hover {
    transform: translateY(-3px) !important;
}
.softwares-list.no-timeline .news-title {
    margin-bottom:15px;
}
/* Titre avec lien externe */
.external-link-title {
    /*display: inline-flex;*/
    align-items: center;
    gap: 8px;
    color: #000000 !important;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.external-link-title:hover {
    color: #d4aa00 !important;
}

/* Animation au survol - l'icône se déplace en diagonale */
.external-link-title:hover .external-link-icon {
    transform: translate(3px, -3px);
}
/* Container pour Type et Teams côte à côte */
.software-meta-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.software-meta-container > div {
    flex: 1;
    min-width: 200px;
}

/* Container pour les deux filtres côte à côte */
.software-filters-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.software-filter-type,
.software-filter-group {
    flex: 1;
    min-width: 200px;
}

.software-filters-container select {
    width: 100%;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .software-filters-container {
        flex-direction: column;
    }
    
    .software-meta-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   PROJECTS - SANS TIMELINE
   ============================================ */

/* Masquer la ligne verticale pour projects */
.projects-list.no-timeline::before {
    display: none !important;
}

/* Supprimer la marge gauche pour projects */
.projects-list.no-timeline .news-item {
    margin-left: 0 !important;
}
.projects-list.no-timeline .news-title {
     margin-bottom:15px;
}
/* Masquer le point et la flèche pour projects */
.projects-list.no-timeline .news-item::before,
.projects-list.no-timeline .news-item::after {
    display: none !important;
}

/* Réinitialiser le transform au survol */
.projects-list.no-timeline .news-item:hover {
    transform: translateY(-3px) !important; /* Garde juste le effet vertical */
}
/*================== PROJECTS  ==================*/
/* Project Leader - Style spécial */
.project-leader {
    background: #f9f9f9;
    padding: 6px 7px;
    border-left: 4px solid #d4aa00;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.project-leader strong {
    color: #333;
    font-weight: 600;
    margin-right: 8px;
	
	
}
/* ============================================
   OPEN POSITIONS - Texte aéré
   ============================================ */

/* Masquer la timeline pour open positions */
.openpositions-list.no-timeline::before {
    display: none !important;
}

.openpositions-list.no-timeline .news-item {
    margin-left: 0 !important;
}

.openpositions-list.no-timeline .news-item::before,
.openpositions-list.no-timeline .news-item::after {
    display: none !important;
}

/* Texte aéré pour open positions */
.openposition-content {
    font-size: 14px;
    line-height: 1.4; /* Plus aéré */
    color: #555;
}

.openposition-content p {
    margin-bottom: 18px; /* Espacement entre paragraphes */
}

.openposition-content h1,
.openposition-content h2,
.openposition-content h3,
.openposition-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.openposition-content ul,
.openposition-content ol {
    margin-bottom: 18px;
    padding-left: 25px;
}

.openposition-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}
/* ==================== OPEN POSITIONS - LIEN EXTERNE & CONTACT ==================== */

/* Lien externe vers l'annonce complète */
.openposition-external-link {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.external-link-button {
    display: inline-block;
    padding: 10px 20px;
    background: #d4aa00;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.external-link-button:hover {
    background: #006400;
    color: #fff;
    transform: translateX(3px);
}

.external-link-button svg {
    vertical-align: middle;
    margin-right: 5px;
}

/* Contact PI */
.openposition-contact {
	background: #f9f9f9;
    padding: 6px 7px;
    border-left: 4px solid #d4aa00;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.openposition-contact strong {
    color: #333;
    margin-right: 5px;
}

.openposition-contact a {
    color: #d4aa00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.openposition-contact a:hover {
    color: #006400;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .external-link-button {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .openposition-contact {
        font-size: 13px;
    }
}
/* ============================================
   OUTREACH - Vidéo YouTube + Texte
   ============================================ */

/* Masquer la timeline pour outreach */
.outreach-list.no-timeline::before {
    display: none !important;
}

.outreach-list.no-timeline .news-item {
    margin-left: 0 !important;
}

.outreach-list.no-timeline .news-item::before,
.outreach-list.no-timeline .news-item::after {
    display: none !important;
}

/* Vidéo YouTube à gauche */
.outreach-video {
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
}

.outreach-video iframe {
    width: 100% !important;
    height: 169px !important;
    border-radius: 8px;
    border: none;
}
/* Marge bottom spécifique pour les titres outreach uniquement */
.outreach-item .news-title {
    margin-bottom: 15px; /* Augmente la marge */
}

/* Responsive mobile - vidéo au-dessus */
@media (max-width: 768px) {
    .outreach-video {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .outreach-video iframe {
        height: 200px !important;
    }
}
/* Lien externe quand pas de vidéo YouTube */
.outreach-external-link {
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
}

.external-link-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border: 2px solid #d4aa00;
    border-radius: 12px;
    text-decoration: none;
    color: #d4aa00;
    transition: all 0.3s;
    min-height: 169px;
}

.external-link-box:hover {
    background: #d4aa00;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 170, 0, 0.3);
}

.external-link-box svg {
    margin-bottom: 15px;
    stroke: currentColor;
}

.external-link-box span {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .outreach-external-link {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .external-link-box {
        min-height: 150px;
        padding: 30px 15px;
    }
}
/* Image featured outreach (cas sans YouTube) */
.outreach-thumbnail {
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
}

.outreach-thumbnail img.news-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    transition: opacity 0.2s ease;
}

.outreach-thumbnail a:hover img.news-image {
    opacity: 0.85;
}

.outreach-link-below {
    margin-top: 8px;
    text-align: center;
}

.outreach-ext-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #d4aa00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.outreach-ext-link:hover {
    color: #b38f00;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .outreach-thumbnail {
        max-width: 100%;
        margin-bottom: 15px;
    }
}
/* */
/* Ajustement pour le champ bp_groups dans le formulaire software */
.wpuf-form .wpuf-el.custom_html {
    margin-bottom: 20px;
}

.wpuf-form .wpuf-el.custom_html .wpuf-label {
    margin-bottom: 5px;
}

.wpuf-form .wpuf-el.custom_html .wpuf-fields {
    clear: both;
}

/* S'assurer que le champ suivant ne soit pas perturbé */
.wpuf-form .wpuf-el.custom_html + .wpuf-el {
    clear: both;
    margin-top: 20px;
}

/*=============================
 * TABLEAU LOGIN
 *========================== */
  .user-profile-box {
        background: #f9f9f9;
        border: 2px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .profile-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .profile-icon {
        font-size: 32px;
    }
    
    .profile-info h3 {
        margin: 0;
        font-size: 15px;
        color: #333;
    }
    
    .profile-role {
        font-size: 14px;
        color: #666;
        margin-top: 5px;
    }
    
    .profile-groups {
        font-size: 13px;
        color: orangered;
        font-weight: 600;
        margin-top: 5px;
    }
    
    .profile-rights-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border: 1px solid #ddd;
        padding: 12px 15px;
        margin-top: 10px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s;
        text-decoration: none;
        color: #333;
    }
    
    .profile-rights-toggle:hover {
        background: #f0f0f0;
    }
    
    .toggle-icon {
        font-size: 12px;
        color: #666;
    }
    
    .profile-rights-content {
        display: none;
        background: #fff;
        border: 1px solid #ddd;
        border-top: none;
        padding: 15px;
        margin-top: -5px;
        border-radius: 0 0 5px 5px;
		font-size: 14px;
    }
    
    .profile-rights-content ul {
        margin: 0;
        padding-left: 20px;
    }
    
    .profile-rights-content li {
        margin-bottom: 8px;
        line-height: 1.5;
    }
/* Icônes de profil dans le dashboard */
.user-profile-box .profile-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-profile-box.admin .profile-icon {
    background: #d4f4dd;
}

.user-profile-box.admin .profile-icon svg {
    stroke: #46b450;
}

.user-profile-box.team-leader .profile-icon {
    background: #fff3cd;
}

.user-profile-box.team-leader .profile-icon svg {
    stroke: #d4aa00;
}

.user-profile-box.member .profile-icon {
    background: #e8f4f8;
}

.user-profile-box.member .profile-icon svg {
    stroke: #00a0d2;
}
    
    /* Couleurs selon le profil */
    .user-profile-box.admin {
        border-color: #46b450;
        background: #d4f4dd;
    }
    
    .user-profile-box.team-leader {
        border-color: #d4aa00;
        background: #fff3cd;
    }
    
    .user-profile-box.member {
        border-color: #00a0d2;
        background: #e8f4f8;
    }

a#profile-rights-toggle {
    font-size: 14px;
}
 .profile-rights-content-always-open {
    font-size: 14px;
}   
div#mon-post-tableau-content th {
    font-weight: 600;
} 

/* Icônes dans les liens footer */
.intranet svg,
.logout svg,
.account svg,
.color-help svg {
    vertical-align: middle;
    margin-right: 4px;
    transition: transform 0.2s;
}

.intranet:hover svg {
    transform: scale(1.1);
}

.logout:hover svg {
    transform: translateX(2px);
}

.account:hover svg,
.color-help:hover svg {
    transform: scale(1.1);
}

/* Couleur spécifique pour logout */
.logout {
    color: #d9534f;
}

.logout:hover {
    color: #c9302c;
}
 /* Icône lien externe dans le menu */
.external-link-icon {
    vertical-align: middle;
   /* margin-left: 5px;*/
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.menu-item:hover .external-link-icon {
    opacity: 1;
    transform: translateX(2px) translateY(-2px);
}   
/* Pour les liens avec classe 'bim' dans le contenu */
a.bim::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4aa00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

a.bim:hover::after {
    transform: translateX(2px) translateY(-2px);
}

/* ==================== PAST VISITORS - VIEW ALL LINK ==================== */

.view-all-link {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.view-all-past-visitors {
    color: #d4aa00;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.view-all-past-visitors:hover {
    color: #006400;
    text-decoration: underline;
}

/* Flèche du lien */
.view-all-past-visitors::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.view-all-past-visitors:hover::after {
    margin-left: 10px;
}

/* ==================== TEAMS PAGE - NOUVEAU LAYOUT ==================== */

/* Container principal */
.members-container {
    max-width: 1200px;
    margin: 0 auto;
  /*  padding: 20px;*/
}

/* Grille du haut : 3 colonnes (Associate Research Scientists | Staff | vide) */
.members-top-grid {
    display: contents;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.members-top-grid .group {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.members-top-grid .group-empty {
    /* Colonne vide pour maintenir la grille */
    background: transparent;
    border: none;
}

.members-top-grid .group h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
 /*   padding-bottom: 10px;*/
    /*border-bottom: 2px solid #d4aa00;*/
}

.members-top-grid .members-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.members-top-grid .members-list li {
   /* margin: 8px 0;*/
}

.members-top-grid .members-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.members-top-grid .members-list li a:hover {
    color: #d4aa00;
}

/* Section Visitors (si présente) */
.visitors-section {
    margin-bottom: 40px;
}

.visitors-section .group {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.visitors-section .group h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4aa00;
}

.visitors-section .members-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 3;
    column-gap: 30px;
}

.visitors-section .members-list li {
    margin: 8px 0;
    break-inside: avoid;
}

.visitors-section .members-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.visitors-section .members-list li a:hover {
    color: #d4aa00;
}

/* Cadre Past Visitors en bas (pleine largeur, 3 colonnes alphabétiques) */
.past-visitors-box {
    border-radius: 8px;
    padding: 20px;
	margin:5px;
    margin-right:15px;
	width: 1140px;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.past-visitors-box h2 {
    font-size: 18px;
	font-weight: bold;
    color: #333;
    margin-bottom: 25px;
	background-color: #f7f7f7;
 	padding: 15px;
  	border-radius: 8px;
}

.past-visitors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
	padding: 20px;
}

.letter-group {
    break-inside: avoid;
}

.letter-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.visitors-list {
    list-style: none;
	padding: 0;
    margin: 0;
	line-height: 1.6em;
	font-size: 14px;
}

.visitors-list li {
}

.visitors-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
   /* padding: 3px 0;*/
}

.visitors-list li a:hover {
    color: #d4aa00;
}

/* Responsive : 2 colonnes sur tablette */
@media (max-width: 992px) {
    .members-top-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-top-grid .group-empty {
        display: none;
    }
    
    .past-visitors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visitors-section .members-list {
        column-count: 2;
    }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .members-top-grid {
        grid-template-columns: 1fr;
    }
    
    .past-visitors-grid {
        grid-template-columns: 1fr;
    }
    
    .visitors-section .members-list {
        column-count: 1;
    }
    
    .past-visitors-box {
        padding: 20px;
		margin-right: 5px;
    }
    
    .past-visitors-box h2 {
        font-size: 18px;
    }
    
    .letter-header {
        font-size: 18px;
    }
}
/*======= icon post ===========*/
.action-icon {
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
    color: #64748b; /* Couleur neutre par défaut */
}

.action-icon:hover {
    transform: scale(1.15);
}

.edit-icon:hover {
    color: #2563eb; /* Bleu au hover */
}

.delete-icon:hover {
    color: #dc2626; /* Rouge au hover */
}

.action-icon svg {
    display: inline-block;
    vertical-align: middle;
}

/*==============================================*/
/* ==================== LATEST PUBLICATIONS SHORTCODE ==================== */

.latest-publications-list {
   /* margin: 20px 0;*/
	
}

.latest-publication-item {
    margin-bottom: 20px;
   /* padding-bottom: 15px;*/
    /*border-bottom: 1px solid #e0e0e0;*/
}

.latest-publication-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Titre de la publication - NOIR */
.latest-publication-title {
    font-size: 14px;
    /*font-weight: 600;*/
    margin: 0 0 0 0;
    line-height: 1.4;
}

.latest-publication-title a {
    text-decoration: none;
	font-weight: 600;
	color: #393939!important;
    transition: color 0.3s ease;
	
}

.latest-publication-title a:hover {
	color: #d4aa00 !important;
}

/* Icône lien externe */
.latest-publication-title .external-link-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    stroke: #666;
    transition: stroke 0.3s ease;
}

.latest-publication-title a:hover .external-link-icon {
    stroke: #d4aa00;
}

/* Contenu APA - 14px */
.latest-publication-apa {
    font-size: 14px;
    color: #666;
    line-height: 19px;
}

/* Format APA : journal en italique */
.latest-publication-apa .publication-authors {
    font-style: normal;
}

.latest-publication-apa .publication-journal {
    font-style: italic;
}

.latest-publication-apa .publication-year {
    font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
    .latest-publication-title {
        font-size: 13px;
    }
    
    .latest-publication-apa {
        font-size: 13px;
    }
}
/******* masquer moderator ********/
/* ==================== BUDDYPRESS - MASQUER MODERATORS ==================== */

/* Masquer la section "Group Moderators" dans la sidebar des groupes */
.bp-widget.group-members-list.group-mods-list,
#group-moderators-list-wrapper,
.group-moderators {
    display: none !important;
}

/* Masquer le bouton "Promote to Mod" dans la liste des membres */
a.button.confirm.member-promote-to-mod,
a.member-promote-to-mod,
.group-button.member-promote-to-mod {
    display: none !important;
}

/* Masquer aussi dans les dropdowns/menus d'administration */
#group-settings-form .group-mods-list,
.group-admin-settings .moderators-section {
    display: none !important;
}
/****************************/
#buddypress .standard-form div.submit {
    margin-bottom: 20px;
}

/* ========================== BUDDYPRESS - BOUTON ========================== */

#buddypress .comment-reply-link, #buddypress .generic-button a, #buddypress .standard-form button, #buddypress a.button, #buddypress input[type=button], #buddypress input[type=reset], #buddypress input[type=submit], #buddypress ul.button-nav li a, a.bp-title-button {
	background: #d4aa00;
	color:#fff;
	padding: 10px;
}
