/* Use the unchanged Smart Trend layouts. Only Harmonic gallery and focus additions. */
.shp-page .shp-gallery-caption{padding:20px 22px;border-top:1px solid var(--line);text-align:left}
.shp-page .shp-gallery-caption h3{font-size:clamp(1.1rem,2.5vw,1.5rem);line-height:1.4;margin:0 0 10px}
.shp-page .shp-gallery-caption p{margin:8px 0;font-size:1rem;max-width:75ch}
.shp-page .shp-gallery-caption .pf-small{color:var(--muted);font-size:.9375rem}
.shp-page .shp-gallery-expand{padding:0 22px 12px;display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.shp-page .shp-gallery-dialog{padding:0;width:min(1500px,96vw);max-width:96vw;max-height:94dvh;border:1px solid #47605e;border-radius:12px;background:#0b1419;color:#f5f5f0;overflow:auto}
.shp-page .shp-gallery-dialog::backdrop{background:#000d}
.shp-page .shp-dialog-controls{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:12px;padding:12px;background:#0b1419;border-bottom:1px solid #47605e}
.shp-page .shp-dialog-controls [data-dialog-close]{margin-left:auto}
.shp-page .shp-dialog-controls .button{min-height:44px;padding:10px 16px}
.shp-page .shp-gallery-dialog [data-dialog-image]{display:block;width:100%;height:auto;touch-action:pan-y}
.shp-page .shp-gallery-dialog [data-dialog-counter]{white-space:nowrap;font-size:.9375rem}
.shp-page .shp-gallery-dialog [data-full-image]{margin-top:12px}
.shp-page .welcome-main>.pf-gallery{margin-block:40px 64px}
@media(max-width:620px){.shp-page .shp-gallery-caption{padding:18px 14px}.shp-page .shp-gallery-expand{padding:0 14px 12px;gap:10px}.shp-page .shp-gallery-dialog{width:96vw}.shp-page .shp-dialog-controls{gap:6px;padding:8px}.shp-page .shp-dialog-controls .button{padding:10px 11px;font-size:.875rem}}

.shp-page a:focus-visible,.shp-page button:focus-visible,.shp-page summary:focus-visible,.welcome-body a:focus-visible,.welcome-body button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.shp-page .pf-gallery button:focus-visible{outline-offset:-3px}
