/* =====================================================
AMUP — COUPS DE COEUR
===================================================== */

/* 🔥 FIX GLOBAL GUTENBERG (ligne blanche parasite) */
body.page-id-2915 p:empty{
  display:none;
  margin:0;
  padding:0;
}

/* grille */
.amup-coeurs-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(320px,420px));
  justify-content:center;
  justify-items:center;
  gap:40px;
  margin-top:50px;
}

/* intro texte */
.amup-coeurs-intro{
  max-width:1100px;
  margin:40px auto;
  padding:25px 30px;
  font-size:20px;
  line-height:1.8;
  text-align:justify;
  background:rgba(255,255,255,0.50);
  border-radius:10px;
}

/* carte */
.amup-coeur-card{
  background:rgba(255,255,255,0.9);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
  transition:all .35s ease;
  width:100%;
  max-width:420px;
}

/* ❌ inutile sur grid → supprimé margin-bottom */

/* hover */
.amup-coeur-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 45px rgba(0,0,0,0.25);
}

/* bandeau */
.coeur-header{
  background:var(--coeur-color,#0a6b4f);
  padding:18px 20px;
  text-align:center;
}

/* logo */
.coeur-header img{
  width:70px;
  height:70px;
  border-radius:50%;
  border:3px solid white;
  background:white;
  display:block;            /* 🔥 évite micro ligne inline */
  margin:auto;
}



/* contenu */
.coeur-content{
  padding:24px;
  text-align:center;
}

/* titres */
.coeur-content h3{
  font-size:20px;
  margin-bottom:6px;
}

/* ligne graphique */
.coeur-content h3::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  background:var(--coeur-color,#0a6b4f);
  margin:8px auto 0;
  border-radius:3px;
}

/* activité */
.coeur-activite{
  font-weight:600;
  color:var(--coeur-color,#0a6b4f);
  margin-bottom:14px;
  font-size:15px;
}

/* coordonnées */
.coeur-coords{
  font-size:14px;
  line-height:1.6;
  margin-bottom:20px;
  color:#444;
}

/* boutons */
.coeur-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.coeur-actions a{
  padding:9px 16px;
  border-radius:6px;
  background:var(--coeur-color,#0a6b4f);
  color:white;
  text-decoration:none;
  font-size:14px;
  transition:.25s;
  cursor:pointer;
}

.coeur-actions a:hover{
  filter:brightness(0.9);
}

/* responsive */
@media (max-width:768px){
  .amup-coeurs-grid{
    grid-template-columns:1fr;
    padding:0 18px;
  }
}

/* fond page */
body.page-id-2915 #outer-wrap{
  background:url("/wp-content/plugins/amup-core/assets/images/backgrounds/fd-coeur.webp") center/cover no-repeat;
}

/* supprimer fonds thème */
body.page-id-2915 #wrap,
body.page-id-2915 #main,
body.page-id-2915 #content,
body.page-id-2915 .page-content,
body.page-id-2915 .content-area{
  background:transparent !important;
}

/* mobile fond */
@media (max-width:768px){
  body.page-id-2915 #outer-wrap{
    background-image:url("/wp-content/plugins/amup-core/assets/images/backgrounds/fd-coeur-mob.webp");
    background-attachment:scroll;
  }
}

