.rf-photo-mosaic{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;height:clamp(300px,29vw,440px);display:grid}.rf-photo-tile{cursor:pointer;background:oklch(18% .005 245);border-radius:8px;min-width:0;min-height:0;position:relative;overflow:hidden}.rf-photo-tile-main{grid-area:span 2/span 2}.rf-photo-tile img{object-fit:cover;width:100%;height:100%;transition:transform .35s;display:block}.rf-photo-tile:hover img{transform:scale(1.035)}.rf-photo-tile:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.rf-photo-more{color:var(--foreground);background:oklch(7% 0 0/.92);border-radius:5px;padding:8px 10px;font-size:11px;font-weight:700;position:absolute;bottom:9px;right:9px}.rf-photo-mobile{display:none}.rf-photo-mobile-open{border:1px solid var(--primary);min-height:44px;color:var(--primary);border-radius:6px;margin:10px auto 0;padding:8px 16px;font-size:12px;font-weight:700;display:block}.rf-photo-mobile-open:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.rf-photo-modal{background:oklch(9% 0 0);border:1px solid oklch(40% .04 245);border-radius:12px;gap:14px;width:min(94vw,1400px);max-width:1400px;max-height:94dvh;padding:22px;overflow-y:auto}.rf-photo-modal-header{padding-right:35px}.rf-photo-modal-title{font-family:var(--font-display);text-transform:uppercase;font-size:clamp(22px,3vw,32px);line-height:1.15}.rf-photo-modal-description{color:oklch(76% 0 0);margin-top:7px;font-size:12px;line-height:1.5}.rf-photo-modal .rf-gallery-viewport{max-height:calc(94dvh - 180px)}.rf-photo-modal .rf-gallery-track{margin-left:0}.rf-photo-modal .rf-gallery-slide{flex-basis:100%;padding-left:0}.rf-photo-modal .rf-gallery-slide img{object-fit:contain;border-radius:6px}.rf-photo-modal .rf-gallery-footer{padding-top:8px}@media (width<=899px){.rf-photo-mosaic{display:none}.rf-photo-mobile{display:block}}@media (width<=480px){.rf-photo-modal{width:96vw;padding:14px}.rf-photo-modal-description{max-width:90%;font-size:11px}}@media (prefers-reduced-motion:reduce){.rf-photo-tile img{transition:none}}.rf-photo-modal>button{place-items:center;width:44px;height:44px;display:grid;top:8px;right:8px}
