/* =========================================
   Frise Chronologique — frise-chronologique.css
   ========================================= */

.frise-chrono-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 16px 0 24px;
}

.frise-chrono-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

/* Colonne par événement */
.frise-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Zones au-dessus / en-dessous de la flèche */
.frise-top {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.frise-bottom {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Ligne de connexion flèche ↔ bulle */
.frise-connector {
  width: 2px;
  height: 32px;
  background-color: #b0b0b0;
  margin: 0 auto;
}

/* Bulle de texte */
.frise-textbox {
  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  padding: 10px 14px;
  width: 200px;
  font-size: 13px;
  line-height: 1.55;
  color: #333333;
}

.frise-textbox p {
  margin: 0 0 6px;
}

.frise-textbox p:last-child {
  margin-bottom: 0;
}

.frise-textbox strong,
.frise-textbox b {
  font-weight: 600;
}

/* Flèche SVG */
.frise-arrow svg {
  display: block;
}

/* =========================================
   Responsive : scroll horizontal sur mobile
   ========================================= */
@media (max-width: 768px) {
  .frise-chrono-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .frise-textbox {
    width: 160px;
    font-size: 12px;
  }
}
