.soi-front-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}

.soi-front-calendar { width: 100%; }

.fc .fc-toolbar-title {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Rendu event (identique admin) */
.soi-event__line {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.3;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.soi-event__dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  margin-right: 4px; flex: none; margin-top: 3px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.soi-event__time { font-weight: 600; white-space: nowrap; flex: none; }
.soi-event__title { font-weight: 600; flex: 1 1 100%; white-space: normal; overflow-wrap: break-word; word-break: break-word; line-height: 1.3; }
.soi-event__meta { font-size: 12px; font-style: italic; opacity: .85; line-height: 1.3; white-space: normal; overflow-wrap: break-word; word-break: break-word; margin-top: 2px; }

.fc .fc-daygrid-event { font-size: 12px; line-height: 1.3; }
.fc .fc-daygrid-day-top { padding: 4px 6px; }
.fc .fc-daygrid-block-event .fc-event-time { display: none; }

/* ===== Accordéon ===== */
.soi-front-accordion { margin-top: 18px; }

.soi-acc-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.soi-acc-header {
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}
.soi-acc-header:focus { outline: 2px solid #3b82f6; outline-offset: 2px; }

.soi-acc-dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}

.soi-acc-title {
  font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.soi-acc-date {
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.soi-acc-panel {
  padding: 14px;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 16px;
}

.soi-acc-col { min-width: 0; }
.soi-acc-row { margin-bottom: 6px; }
.soi-acc-msg { font-style: italic; opacity: .85; }

.soi-acc-col--map { display: flex; flex-direction: column; }
.soi-acc-map {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 6px;
}

.soi-acc-right-title {
  font-weight: 700;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .soi-acc-panel {
    grid-template-columns: 1fr;
  }
  .soi-acc-map { height: 220px; }
  .soi-acc-title { white-space: normal; }
}
@media (max-width: 782px) {
  .fc .fc-daygrid-event { font-size: 11px; }
  .soi-event__title { font-size: 11px; }
  .soi-event__meta  { font-size: 11px; }
}
.soi-acc-header {
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto; /* dot | titres | chevron */
  gap: 10px;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.soi-acc-titlewrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.soi-acc-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soi-acc-date {
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.soi-acc-chevron {
  width: 20px;
  height: 20px;
  transition: transform .2s ease;
  fill: #334155;
}

/* État ouvert : chevron orienté vers le haut */
.soi-acc-header[aria-expanded="true"] .soi-acc-chevron {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 900px) {
  .soi-acc-title { white-space: normal; }
}