/* Police locale ; aucun chargement depuis Google Fonts. */
@font-face {
 font-family: "PG Great Vibes";
 src: url("/assets/fonts/GreatVibes-Regular.ttf?v=1213") format("truetype");
 font-weight: 400;
 font-style: normal;
 font-display: swap;
}

/* PHOTOGAMAT 1.2.2 — consultation privée responsive */
.pg-photo-viewer{max-width:100%;overflow:hidden}
.pg-photo-viewer>img{width:auto;max-width:100%;max-height:min(75dvh,900px);object-fit:contain;touch-action:pan-y;user-select:none;-webkit-user-drag:none}
.pg-photo-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px;flex-wrap:wrap}
.pg-photo-controls .button{width:auto;min-width:128px;text-align:center;text-decoration:none}
.pg-photo-controls .muted-text{text-align:center;flex:1}
@media(max-width:520px){.pg-photo-controls{gap:8px}.pg-photo-controls .button{font-size:.82rem;min-width:0;padding:10px}.pg-photo-viewer{padding:12px}}

/* V1.2.8 : flèches latérales, titre optionnel et compteur en haut à droite */
.pg-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px;min-height:26px}
.pg-photo-heading h1{font-size:clamp(1.05rem,2vw,1.5rem);line-height:1.3;margin:0;min-width:0;overflow-wrap:anywhere;font-weight:500}
.pg-photo-counter{margin-left:auto;color:#a9b5b9;font-size:.9rem;white-space:nowrap;flex:none}
.pg-photo-viewer{padding:14px!important}
.pg-photo-stage{display:grid;grid-template-columns:minmax(44px,1fr) minmax(0,auto) minmax(44px,1fr);align-items:center;gap:9px;width:100%}
.pg-photo-stage>img{grid-column:2;display:block;width:auto;height:auto;max-width:100%;max-height:75dvh;object-fit:contain;margin:0 auto;min-width:0}
.pg-photo-side,.pg-photo-side-placeholder{width:44px;height:48px;display:flex;align-items:center;justify-content:center;justify-self:center}
.pg-photo-side{font-size:2.8rem;line-height:1;text-decoration:none;color:#c5ae88;border-radius:8px;transition:background .15s}
.pg-photo-side:hover,.pg-photo-side:focus-visible{background:#293135;color:#e5d0ae;outline-offset:2px}
.pg-photo-side-placeholder{visibility:hidden}
.pg-photo-controls{display:none!important}
.pg-album-back-button{color:var(--accent);text-decoration:none}
@media(max-width:600px){.pg-photo-viewer{padding:8px!important}.pg-photo-stage{grid-template-columns:38px minmax(0,1fr) 38px;gap:3px}.pg-photo-side,.pg-photo-side-placeholder{width:36px;height:46px}.pg-photo-side{font-size:2.4rem}.pg-photo-heading h1{font-size:1.06rem}}

/* PHOTOGAMAT V1.2.13 — Calligraphie locale pour les titres */
.pg-photo-heading{align-items:flex-end;margin:18px 0 6px}
.pg-photo-heading .pg-photo-title-group>h1{
  font-family:"PG Great Vibes", "Palatino Linotype", Georgia, serif;
  font-style:normal;
  font-weight:400;
  font-size:clamp(1.8rem, 2.9vw, 2.5rem);
  line-height:1.25;
  letter-spacing:0;
  color:#d2ab6d;
  margin:8px 0 0;
  text-shadow:none;
}
@media(max-width:600px){
  .pg-photo-heading{margin:14px 0 6px}
  .pg-photo-heading .pg-photo-title-group>h1{font-size:1.85rem;margin-top:6px}
}
