/* ===============================
   🎨 Mise en forme image à droite
   =============================== */

.theme-selector .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selector-left {
    flex: 1;
}

.selector-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.selector-image img {
    width: 420px !important;   /* 🔥 ajuste ici */
    height: auto !important;
    object-fit: contain !important;
    margin-left: 25px !important;
}

/* ===============================
🎨 Style de la carte
=============================== */

/* FORCE LE STYLE DU TITRE DES PUBLICATIONS */
.filtre-publications-container .et_pb_blog_grid.juju-publications article.et_pb_post h2.entry-title,
.filtre-publications-container .et_pb_blog_grid.juju-publications article.et_pb_post h2.entry-title a {
 font-size: 32px !important;          /* plus gros */
  font-weight: 600 !important;         /* ultra gras */
  line-height: 1.1em !important;       /* compact */
  color: #000 !important;              /* noir profond */
  margin-bottom: 15px !important;      /* espace contrôlé */
  letter-spacing: -0.5px !important;   /* légèrement resserré */
}
/* Décaler tout le bloc des publications */
.filtre-publications-container article.et_pb_post {
    padding-left: 40px !important;  /* ajuste comme tu veux */
}

/* Remonter la barre violette dans l'image */
/* On permet enfin au ::before de se positionner correctement */
.et_pb_blog_grid.juju-publications .et_pb_post {
    position: relative !important;
}

/* Force la barre violette des publications */
.juju-publications .et_pb_post .post-content::before {
    top:10% !important;        /* ajuste ici : remonte la barre */
    height: 75% !important;
    background-color: #800080 !important;
    transform: translateX(10px) !important;
    left: 20px !important;
    width: 6px !important;
    z-index: 2 !important;
    position: absolute !important;
}

/* ----- CADRE AVEC EFFET 3D ----- */
.filtre-publications-container article.et_pb_post {
    border: 1px solid #ddd;                     /* bordure légère */
    border-radius: 10px;                        /* angles arrondis */
    padding: 25px;                              /* espace interne */
    background: #fff;                           /* fond blanc propre */
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);    /* effet 3D */
    transition: all 0.25s ease;
}

/* Effet survol (encore plus 3D) */
.filtre-publications-container article.et_pb_post:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}
/* ===============================================
   📌 ESPACE SOUS LES ICÔNES (PDF, arXiv, etc.)
   =============================================== */

/* Ajoute aussi un espace sous les images/icônes */
.filtre-publications-container .et_pb_blog_grid.juju-publications article.et_pb_post .post-content img {
    margin-bottom: 20px !important;
}

/* Grande bannière */
.publications-banner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 40px auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.publications-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Masquer l’image dans chaque publication */
.juju-publications .et_pb_image_container {
    display: none !important;
}

/* 📱 Empêcher le footer de remonter sur les publications en mobile */
@media (max-width: 980px) {
	#publications-results,
	.publications-grid,
	.filtre-publications-container {
	
		padding-bottom: 80px !important;
	}
}
/* ==========================================
   Message : Aucune publication trouvée
   ========================================== */
.no-results {
	margin-top: 30px !important;   /* descend de ~2 lignes */
	text-align: center !important; /* centré */
	font-weight: 700 !important;   /* en gras */
	font-size: 1.2rem !important;  /* taille légèrement augmentée */
	color: #444 !important;        /* gris foncé lisible */
}
.filtre-publications-container {
	margin-top: 30px;   /* Ajuste la valeur si tu veux plus d'espace */
}

/* Réduit l'espace entre les filtres publications et la liste */
@media (max-width: 980px) {

	/* Le bloc qui contient les filtres */
	.theme-selector-pub,
	.filtre-publications-container {
		margin-bottom: 10px !important; /* ↓↓↓ réduit l'espace  entre les publi et le pied de page*/
	
		padding-bottom: 0 !important;
	}

	/* Le bloc qui contient les résultats */
	/* ÉTAT PAR DÉFAUT (chargement page) */
	body.pub-initial #publications-results {
	  margin-top: -130px;
	}
	
	/* APRÈS AJAX */
	body.pub-filtered #publications-results {
	  margin-top: 0;
	}
	}
}

.lpmmc-cache-warning {
	position: relative;
	display: block;
	margin: 0 0 16px 0;
	padding: 10px 14px;
	background: rgba(255, 193, 7, 0.12);
	border-left: 4px solid #ffc107;
	color: #444;
	font-size: 14px;
	line-height: 1.4;
}
