.island-card-photo{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--soft)}
.island-card-photo img,.similar-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .25s}
.island-card-photo:hover img{transform:scale(1.025)}
.island-photo{margin:0;min-width:0}
.photo-open{display:block;position:relative;overflow:hidden;border-radius:10px;background:var(--soft)}
.photo-open img{display:block;width:100%;height:auto}
.photo-enlarge{position:absolute;bottom:15px;right:15px;display:grid;place-items:center;width:38px;height:38px;background:var(--surface);color:var(--ink);border-radius:50%;box-shadow:0 2px 12px #0003}
.island-photo figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;font-size:11px;line-height:1.65;color:var(--muted);padding-top:12px}
.island-photo figcaption>a{color:var(--link);overflow-wrap:anywhere}
.detail-photo-hero .photo-open{aspect-ratio:1.2}
.detail-photo-hero img{height:100%;object-fit:cover}
.editorial-photo{margin:38px 0}
.similar-photo{width:84px;height:80px;flex-shrink:0;overflow:hidden;border-radius:7px;background:var(--soft)}
.photo-mosaic{display:grid;grid-template-columns:1.2fr 1fr;gap:38px 28px;align-items:start}
.photo-mosaic .island-photo:nth-child(4n+2){margin-top:70px}
.photo-mosaic .photo-open{max-height:650px}
.photo-mosaic img{max-height:650px;object-fit:contain}
.photo-mosaic .photo-panorama{grid-column:1/-1;margin-top:0}
.photo-modal-open{overflow:hidden}
.photo-lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;background:transparent;padding:30px;color:var(--ink)}
.photo-lightbox::backdrop{background:rgb(0 0 0 / .88)}
.lightbox-inner{width:min(1100px,92%);margin:auto;background:var(--surface);border-radius:10px;padding:18px 24px;box-sizing:border-box}
.lightbox-toolbar,.lightbox-navigation{display:flex;align-items:center;justify-content:space-between;gap:18px}
.lightbox-toolbar{margin-bottom:15px;font-size:13px}
.photo-lightbox button{background:var(--soft);color:var(--ink);border:1px solid var(--border);border-radius:6px;min-width:44px;min-height:44px;padding:8px 14px;cursor:pointer;flex-shrink:0}
.photo-lightbox img{display:block;width:100%;height:calc(100dvh - 250px);object-fit:contain}
.lightbox-navigation{margin-top:15px}.lightbox-navigation p{font-size:13px;margin:0;text-align:center}
.lightbox-inner>a{display:block;text-align:center;color:var(--link);font-size:12px;margin-top:12px}
.photo-credits{padding-bottom:70px}.credit-index{display:flex;flex-wrap:wrap;gap:10px 22px;padding-bottom:35px;border-bottom:1px solid var(--border)}
.credit-index a{color:var(--link);font-size:14px}.credit-island{padding-top:48px;scroll-margin-top:25px}
.credit-entry{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;padding:28px 0;border-bottom:1px solid var(--border);scroll-margin-top:25px}
.credit-thumb img{width:100%;height:auto;display:block;border-radius:8px}.credit-entry h3{font-size:20px}.credit-entry p{font-size:13px;overflow-wrap:anywhere;margin-bottom:9px}.credit-entry a{color:var(--link)}.credit-record+.credit-record{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
@media(max-width:767px){.detail-photo-hero .photo-open{aspect-ratio:3/2}.photo-mosaic{grid-template-columns:1fr;gap:28px}.photo-mosaic .island-photo:nth-child(4n+2){margin-top:0}.photo-mosaic .photo-open,.photo-mosaic img{max-height:none}.similar-photo{width:70px;height:75px}.photo-lightbox{padding:16px 12px}.lightbox-inner{width:100%;padding:12px}.photo-lightbox img{height:calc(100dvh - 270px)}.lightbox-navigation{gap:10px}.lightbox-navigation p{font-size:11px}.credit-entry{grid-template-columns:1fr;gap:20px}.credit-thumb{max-width:320px}.photo-credits .section-intro h1{font-size:40px}}
@media(prefers-reduced-motion:reduce){.island-card-photo img{transition:none}}
