/* FFPA Events strip */
.ffpa-events-strip{
  margin: 0 0 0 0;
}

.ffpa-events-strip__frame{
  width: 100%;
  border: 0;
  display: block;

  /* évite “flash” de hauteur avant resize */
  min-height: 90px;
}

/* ==========================================================
   FFPA - Modale événements (forum)
   Étape 1 : structure + scroll interne + fermeture
   ========================================================== */

#ffpa-events-modal { display:none; }
#ffpa-events-modal.open { display:block; }

#ffpa-events-modal{
  position:fixed;
  inset:0;
  z-index:999999;
}

#ffpa-events-modal .ffpa-modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

#ffpa-events-modal .ffpa-modal-panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);

  width: min(980px, calc(100vw - 24px));
  height: min(90vh, calc(100vh - 24px));

  background:#fff;
  border-radius:14px;
  overflow:hidden;

  display:flex;
  flex-direction:column;

  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

#ffpa-events-modal .ffpa-modal-topbar{
  flex: 0 0 42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding:8px 10px;
  box-sizing:border-box;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.08);
}

#ffpa-events-modal .ffpa-modal-close{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.2);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:32px;
}

#ffpa-events-modal .ffpa-modal-body{
  flex: 1 1 auto;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}

#ffpa-events-modal .ffpa-modal-iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* bloque le scroll du forum quand modale ouverte */
body.ffpa-modal-open{
  overflow:hidden !important;
}