/* =============================================================
   ps_hero_banner – deux colonnes dans displayHome
   ============================================================= */

.hero-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 0;
}

/* ── Colonne gauche (texte) ─────────────────────────────────── */
.hero-col-left {
  flex: 1;
}

.hero-col-right {
  flex: 0 0 240px;
  width: 240px;
}}

/* ── Colonne droite (photo + légende) ───────────────────────── */
/* ── Photo ──────────────────────────────────────────────────── */
.hero-photo {
  width: 100%;
  line-height: 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* ── Texte sous la photo ────────────────────────────────────── */
.hero-photo-caption {
  width: 100%;
  padding: 14px 4px 0 4px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.6;
  box-sizing: border-box;
}

.hero-photo-caption p { margin-bottom: 8px; }

.hero-photo-caption strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .hero-col-right {
    flex: 1 1 100%;
    width: 100%;
  }
}

#wrapper .container:has(.hero-wrapper) {
  max-width: 1280px;
}
