.profile-gallery{margin:38px 0 48px;min-width:0}.profile-gallery h2{margin-bottom:22px}.profile-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.profile-photo-grid figure{margin:0;min-width:0}.profile-photo{display:block;overflow:hidden;background:#edeae4;border-radius:8px;aspect-ratio:4/3}.profile-photo img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s}.profile-photo:hover img{transform:scale(1.025)}.profile-photo:focus-visible{outline:3px solid #716040;outline-offset:3px}.profile-photo-grid figcaption{font-size:.85rem;line-height:1.5;margin-top:8px;color:#605c55}.profile-gallery>.textlink{display:inline-block;margin-top:20px}.photo-dialog{background:#151515;color:#fff;border:0;border-radius:10px;padding:16px;width:min(1100px,95vw);max-height:95dvh}.photo-dialog::backdrop{background:#000c}.photo-dialog img{display:block;width:100%;height:min(72dvh,780px);object-fit:contain}.photo-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;position:static;background:transparent;border:0;padding:0 0 12px}.photo-dialog button{background:#fff;color:#111;border:0;border-radius:5px;padding:10px 16px;cursor:pointer}.photo-dialog p{margin:12px 0 0;color:#fff}.photo-dialog .photo-controls{display:flex;gap:8px}.article .profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.profile-photo-grid,.article .profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-gallery{margin:26px 0 34px}.photo-dialog{padding:12px}.photo-dialog img{height:65dvh}}@media(max-width:420px){.profile-photo-grid,.article .profile-photo-grid{grid-template-columns:1fr}.profile-photo{aspect-ratio:4/3}}
