
/* RC12 Étape 2 — Actualités / Agenda seulement */

/* Masque les titres Kadence seulement quand la page contient le bloc Étape 2 */
body:has(.m12e2-page) .entry-hero,
body:has(.m12e2-page) .entry-header,
body:has(.m12e2-page) .page-header,
body:has(.m12e2-page) h1.entry-title{
  display:none !important;
}

.m12e2-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  min-height:300px;
  display:flex;
  align-items:center;
  background:linear-gradient(135deg,#0f4d2f,#08391f);
  color:#fff;
}

.m12e2-hero > div{
  width:min(1120px,92vw);
  margin:0 auto;
  padding:3.5rem 0;
}

.m12e2-hero h1{
  color:#fff;
  font-size:clamp(3rem,7vw,6rem);
  line-height:1;
  margin:0 0 1rem;
}

.m12e2-hero p{
  color:#fff;
  font-size:1.2rem;
  margin:0;
}

.m12e2-panel{
  width:min(960px,92vw);
  margin:2rem auto;
  background:#fff;
  border:1px solid rgba(15,77,47,.12);
  border-radius:18px;
  padding:1.6rem;
  box-shadow:0 10px 24px rgba(16,32,51,.05);
  display:grid;
  grid-template-columns:auto 1fr;
  gap:1rem;
  align-items:flex-start;
}

.m12e2-icon{
  width:3rem;
  height:3rem;
  border-radius:999px;
  background:#edf5ed;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.35rem;
}

.m12e2-panel h2{
  margin:0 0 .45rem;
}

.m12e2-panel p{
  margin:.35rem 0;
}

.m12e2-muted{
  color:#5d685f;
}

@media(max-width:700px){
  .m12e2-panel{
    grid-template-columns:1fr;
  }
}
