@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
.brede-page .brede-intro {
  margin-bottom: 4em;
}

.brede-diaporama {
  max-width: 920px;
  margin: 0 auto 2.5em;
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 18px;
}

.brede-diaporama::before {
  content: attr(data-date);
  display: block;
  margin-bottom: 1em;
  color: #827f7f;
  font: 0.95em "Inter", Helvetica, Arial, sans-serif;
  text-align: center;
}

.brede-onglets,
.brede-commandes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brede-onglets {
  margin-bottom: 18px;
}

.brede-onglet,
.brede-bouton {
  border: 1px solid #ddd;
  background: #fff;
  color: #4c4b4b;
  min-height: 42px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.brede-onglet {
  padding: 0 16px;
}

.brede-bouton {
  width: 46px;
}

.brede-bouton-large {
  width: 46px;
  padding: 0;
}

.brede-onglet:hover,
.brede-bouton:hover,
.brede-onglet.actif {
  background: #2582a3;
  border-color: #2582a3;
  color: #fff;
}

.brede-photo {
  margin: 0;
}

.brede-photo img {
  display: block;
  width: 100%;
  height: min(62vh, 640px);
  min-height: 320px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 6px;
}

.brede-photo figcaption {
  color: #666;
  font-size: 0.95rem;
  padding: 12px 2px 16px;
  text-align: center;
}

.brede-vignettes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.brede-vignette {
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.brede-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brede-vignette.actif {
  border-color: #2582a3;
}

html[data-theme="dark"] .brede-diaporama {
  background: #191919;
  border-color: #fff;
}

html[data-theme="dark"] .brede-photo img {
  background: #111;
}

html[data-theme="dark"] .brede-onglet,
html[data-theme="dark"] .brede-bouton {
  background: #191919;
  border-color: #666;
  color: #f1f1f1;
}

html[data-theme="dark"] .brede-onglet:hover,
html[data-theme="dark"] .brede-bouton:hover,
html[data-theme="dark"] .brede-onglet.actif {
  background: #30a9d4;
  border-color: #30a9d4;
  color: #111;
}

@media (max-width: 640px) {
  .brede-diaporama {
    padding: 12px;
  }

  .brede-photo img {
    height: 58vh;
    min-height: 240px;
  }

}
