/* Keep the existing card layout; the first three photographs remain visible. */
.pgf-news-plain { white-space:pre-line; overflow-wrap:anywhere; }
.body { text-align:left; overflow-wrap:anywhere; }
.stack-inner { overflow:visible; align-self:flex-start; }
.frame { display:block; flex-shrink:0; position:relative; cursor:zoom-in; }
.frame img { object-fit:contain; }
.frame:focus-visible { outline:3px solid #0b6b3a; outline-offset:3px; }
.pgf-gallery-more { position:absolute; bottom:0; left:0; right:0; text-align:center; padding:5px; background:#004225e8; color:white; font-size:12px; font-weight:800; }
.pgf-viewer { width:96vw; max-width:1300px; height:94dvh; max-height:94vh; margin:auto; padding:0; border:0; border-radius:14px; background:#101b17; color:white; }
.pgf-viewer::backdrop { background:rgba(0,0,0,.83); }
.pgf-viewer-shell { display:flex; flex-direction:column; height:100%; }
.pgf-viewer-toolbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:12px 16px; }
.pgf-viewer-caption { flex:1; min-width:120px; margin:0; font:700 16px/1.4 Arial,sans-serif; }
.pgf-viewer button, .pgf-viewer a { font:700 14px Arial,sans-serif; padding:10px 14px; background:#fff; color:#004225; border:0; border-radius:8px; cursor:pointer; text-decoration:none; }
.pgf-viewer button:focus-visible, .pgf-viewer a:focus-visible { outline:3px solid #b6e98e; outline-offset:3px; }
.pgf-viewer-stage { flex:1; min-height:0; overflow:auto; display:flex; align-items:center; justify-content:center; background:#07100c; }
.pgf-viewer-image { display:block; width:100%; height:100%; object-fit:contain; }
.pgf-viewer-stage.is-zoomed { display:block; }
.pgf-viewer-stage.is-zoomed .pgf-viewer-image { width:auto; height:auto; max-width:none; max-height:none; margin:auto; }
.pgf-viewer-navigation { justify-content:center; }
.pgf-viewer [hidden] { display:none; }
.pgf-viewer-count { font:700 14px Arial,sans-serif; min-width:70px; text-align:center; }
@media(max-width:860px) {
  .stack-inner { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:8px; overflow:visible; }
  .frame { width:100%; height:auto; aspect-ratio:1; }
  .pgf-viewer-toolbar { padding:10px; gap:8px; }
  .pgf-viewer-caption { flex-basis:100%; font-size:14px; }
}
