/* ══════════════════════════════════════
   mediaou.css — Photos & Vidéos
   Complète common.css + index.css
══════════════════════════════════════ */


/* ── Switcher Photos / Vidéos ── */
.media-nav {
  display: flex;
  gap: .4rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.media-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.media-nav-btn svg {
  width: 13px; height: 13px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: .6;
}
.media-nav-btn:hover { color: rgba(240,237,232,.7); }
.media-nav-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.media-nav-btn.active svg { opacity: 1; }


/* ── Grille photos — 3 colonnes ── */
/* .photos-grid → common.css */

/* ── Grille vidéos — 3 colonnes ── */
/* .videos-grid → common.css */

/* .p-item, .p-thumb-wrap, .p-thumb, .p-caption, .p-caption-titl, .p-caption-credit → common.css */
/* .v-card, .video-thumb-wrap, .video-thumb, .v-play, .v-ring, .v-tri, .v-caption → common.css */
.mediaou-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 600px) {
  .photos-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
}

/* ── Légendes photos → common.css ── */

/* ── Footer aligné sous .mediaou-wrap ── */
.mediaou-wrap + .site-footer,
.mediaou-wrap ~ .site-footer {
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}
