/* ===============================
   🎨 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;
}
/* ============================================================
   PAGINATION PUBLICATIONS
============================================================ */

/* ============================================================
   PAGINATION PUBLICATIONS
============================================================ */

.pubs-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
}

/* Boutons */
.pubs-pagination button {
	background: #6a1b9a;
	color: #ffffff;
	border: none;
	padding: 12px 22px;
	border-radius: 30px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
	min-width: 200px;

	/* On masque le texte original */
	font-size: 0;
}

/* ============================
   VERSION FR
============================ */

html[lang^="fr"] .pubs-pagination button[data-dir="prev"]::before {
	content: "← Publications suivantes";
}

html[lang^="fr"] .pubs-pagination button[data-dir="next"]::before {
	content: "Publications précédentes →";
}

/* ============================
   VERSION EN
============================ */

html[lang^="en"] .pubs-pagination button[data-dir="prev"]::before {
	content: "← Next publications";
}

html[lang^="en"] .pubs-pagination button[data-dir="next"]::before {
	content: "Previous publications →";
}

/* Taille du texte injecté */
.pubs-pagination button::before {
	font-size: 15px;
	font-weight: 600;
}

/* Hover */
.pubs-pagination button:hover:not(:disabled) {
	background: #4a148c;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(106, 27, 154, 0.3);
}

/* Disabled */
.pubs-pagination button:disabled {
	background: #e3d7ee;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
	opacity: 0.7;
}
@media (max-width: 600px) {

  /* On masque le texte original */
  .pubs-pagination button {
	font-size: 0;
	min-width: 0;
	padding: 14px 18px;
  }

  /* ============================
	 VERSION FR
  ============================ */

  html[lang^="fr"] .pubs-pagination button[data-dir="prev"]::before {
	content: "← Suivantes";
  }

  html[lang^="fr"] .pubs-pagination button[data-dir="next"]::before {
	content: "Précédentes →";
  }

  /* ============================
	 VERSION EN
  ============================ */

  html[lang^="en"] .pubs-pagination button[data-dir="prev"]::before {
	content: "← Next";
  }

  html[lang^="en"] .pubs-pagination button[data-dir="next"]::before {
	content: "Previous →";
  }

  /* Rétablit la taille du texte injecté */
  .pubs-pagination button::before {
	font-size: 15px;
	font-weight: 600;
  }
}
 /* ============================
	 Publication de :
  ============================ */
.pub-author-banner {
  margin-top: 8px;
  font-size: 16px;
}

.pub-author-banner strong {
  font-size: 24px;
  font-weight: 800;
}