/* Les gabarits approuvés accueillent désormais des titres et textes éditables. */
.page-index .essential-home{height:auto}
.page-index .essential-home h1{overflow-wrap:anywhere}
.page-index .essential-home h1 em{white-space:normal}
.page-index .essential-home h1.title-long{font-size:clamp(2.3rem,2.8vw,3rem);line-height:1}
.page-index .essential-status,.page-index .essential-facts{white-space:normal;line-height:1.35}
.page-index .essential-home-poster{position:absolute;right:clamp(1rem,3vw,3rem);bottom:1.1rem;z-index:3;display:block;width:clamp(105px,12vw,165px);height:clamp(135px,16vw,210px);padding:5px;background:#fff;border-radius:10px;box-shadow:0 10px 26px #30114255;transform:rotate(3deg);transition:transform .18s ease}
.page-index .essential-home-poster:hover,.page-index .essential-home-poster:focus-visible{transform:rotate(0) scale(1.04)}
.page-index .essential-home-poster img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:6px}
.page-agenda .essential-card .card-poster{grid-column:1;grid-row:1/3;width:68px;height:84px;object-fit:cover;border-radius:8px;box-shadow:0 4px 12px #30114226}
.page-agenda .essential-card strong,.page-agenda .essential-card span:not(.card-icon){overflow-wrap:anywhere}
.page-agenda .essential-content h2:not(:first-of-type){margin-top:2rem}
.page-agenda .essential-cards+.essential-cards{margin-top:1rem}
.page-evenement-exemple .essential-intro h1{white-space:normal;overflow-wrap:anywhere}
.page-evenement-exemple .essential-note{white-space:pre-line;overflow-wrap:anywhere}
.page-evenement-exemple .essential-richtext{white-space:normal;line-height:1.65}
.page-evenement-exemple .essential-richtext p{margin:.3em 0 1em}
.page-evenement-exemple .essential-richtext ul,.page-evenement-exemple .essential-richtext ol{margin:.5em 0 1em;padding-left:1.5em}
.page-evenement-exemple .essential-richtext a{color:#542177;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.page-evenement-exemple .event-poster{width:min(420px,100%);margin:0 auto 1.5rem;padding:10px 10px 6px;background:#fff;border:1px solid #eadfea;border-radius:16px;box-shadow:0 12px 32px #48205a22;text-align:center}
.page-evenement-exemple .event-poster img{display:block;width:100%;max-height:640px;object-fit:contain;border-radius:9px}
.page-evenement-exemple .event-poster figcaption{padding:.45rem .2rem 0;color:#633087;font-size:.83rem;font-weight:800}
.page-evenement-exemple .essential-richtext blockquote{margin:1em 0;padding:.25em 1em;border-left:4px solid #f55a16}
.page-evenement-exemple .helloasso-reservation{margin-top:2rem;padding:1.5rem;background:#fff;border:1px solid #e9dfee;border-radius:18px;box-shadow:0 10px 28px #4d236415;scroll-margin-top:20px}
.page-evenement-exemple .helloasso-reservation h2{font-size:clamp(1.8rem,3.2vw,2.5rem);color:#542177;margin:0 0 .5rem}
.page-evenement-exemple .helloasso-reservation>p{font-size:1rem;line-height:1.45;margin:0 0 1rem;color:#4e2471}
.page-evenement-exemple .helloasso-frame{width:100%;max-width:100%;overflow:hidden;border-radius:10px;background:#f8f3fb}
.page-evenement-exemple .helloasso-frame iframe{display:block;width:100%;min-height:800px;border:0}
.page-evenement-exemple .helloasso-fallback{margin:1rem 0 0;padding:1rem;border-left:5px solid #f55a16;background:#fff1e9;border-radius:7px}
.page-evenement-exemple .helloasso-fallback a{font-weight:900;color:#50176c;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){
  .page-index .essential-home h1.title-long{font-size:clamp(2rem,7.5vw,2.7rem)}
  .page-index .essential-home h1 em{white-space:normal}
  .page-index .essential-home-poster{width:95px;height:125px;right:1rem;bottom:.65rem;padding:4px}
  .page-agenda .essential-card .card-poster{width:50px;height:66px}
  .page-evenement-exemple .helloasso-reservation{padding:1rem;margin-top:1.4rem}
  .page-evenement-exemple .helloasso-frame iframe{min-height:750px}
}
