.popup-ekno-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.popup-ekno-wrapper {
  color: white;
  text-align: center;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.popup-ekno-wrapper.animate-in {
  opacity: 1;
  transform: scale(1);
}

.popup-ekno-wrapper.animate-out {
  opacity: 0;
  transform: scale(0.9);
}

/*
  Image "principale" de la pop-up (celle ajoutée via le champ "Image")
  → on évite de cibler toutes les images, sinon l’icône LinkedIn est étirée / masquée.
*/
.popup-ekno-inner > img:first-child {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenu */
.popup-ekno-inner {
  padding: 20px;
}

.popup-ekno-wrapper h3,
.popup-ekno-wrapper h4,
.popup-ekno-wrapper h5 {
  margin: 10px 0;
  color: #fff;
}

.popup-ekno-wrapper h4,
.popup-ekno-wrapper h5 {
  font-style: italic;
}

.popup-ekno-wrapper hr {
  width: 100px;
  margin: 20px auto;
  border: 1px solid #fff;
}

.popup-ekno-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.popup-ekno-wrapper ul li {
  color: #fff;
  margin-bottom: 5px;
}

.popup-ekno-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Icône LinkedIn (24x24), centrée après les mots-clés */
.popup-ekno-linkedin {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
}

.popup-ekno-linkedin img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  max-width: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
