
/* Infos page: intro & gallery */
.infos-intro{ margin:.25rem 0 1rem; color: var(--ink-2, #555); }
:root[data-style="pro"] .infos-intro .intro-fun{ display:none; }
:root[data-style="fun"] .infos-intro .intro-pro{ display:none; }

.infos-gallery{
  display:grid; gap:12px;
  grid-template-columns: 1fr;
  margin: 1rem auto 1.25rem;
  max-width: 900px;
}
@media (min-width: 760px){
  .infos-gallery{
  display:grid; gap:12px;
  grid-template-columns: 1fr;
  margin: 1rem auto 1.25rem;
  max-width: 900px;
}
}
.infos-gallery figure{ margin:0; }

.infos-gallery figcaption{
  margin-top: .35rem; font-size: .9rem; opacity:.8;
}

/* Toggle captions per mode */
.legend-mode .legend-fun{ display:none; }
:root[data-style="fun"] .legend-mode .legend-pro{ display:none; }
:root[data-style="fun"] .legend-mode .legend-fun{ display:inline; }

/* Resume block styles */
.infos-resume{ margin:1rem 0 1.25rem; }
.infos-resume h3{ margin:0 0 .25rem; }
.resume-intro{ color: var(--ink-2,#555); margin:0; }
:root[data-style="pro"] .resume-intro .intro-fun{ display:none; }
:root[data-style="fun"] .resume-intro .intro-pro{ display:none; }

/* Map image resizing */
.infos-map {
  max-width: 600px;
  margin: 1rem auto;
  text-align: center;
}
.infos-map img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Clean, no-black-bar photo rules */
.infos-gallery{
  display:grid; gap:12px;
  grid-template-columns: 1fr;
  margin: 1rem auto 1.25rem;
  max-width: 900px;
}
@media (min-width: 760px){
  .infos-gallery{
  display:grid; gap:12px;
  grid-template-columns: 1fr;
  margin: 1rem auto 1.25rem;
  max-width: 900px;
}
}
.infos-gallery figure{
  margin:0; background: transparent !important;
}


/* STRICT: photos sans fond noir ni hauteur figée */
.infos-gallery figure{ margin:0; background:transparent !important; }
.infos-photo{
  display:block;
  width:100%;
  height:auto !important;
  background:transparent !important;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}
