/* Photography browser: reuse the portfolio's quiet black-and-white palette. */
.explore-main{box-sizing:border-box;max-width:80rem;margin:auto;padding:140px 24px 80px}.explore-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}.explore-heading h1{font-size:clamp(30px,4vw,52px);font-weight:500;line-height:1.12;margin:0 0 14px;letter-spacing:-.025em}.explore-heading p{color:#aaa;font-size:15px;line-height:1.6;max-width:650px;margin:0}.explore-heading>a{color:#ccc;font-size:13px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.explore-tabs{display:flex;gap:28px;border-bottom:1px solid #333;margin-bottom:24px;overflow:auto}.explore-tabs a{min-height:48px;display:flex;align-items:center;white-space:nowrap;color:#aaa;text-decoration:none;border-bottom:2px solid transparent;font-size:14px}.explore-tabs a[aria-current=page]{color:#fff;border-color:#fff}
.explore-filters{display:grid;grid-template-columns:2fr repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end}.explore-filters label,.explore-map-panel>label{font-size:12px;color:#bbb;display:flex;flex-direction:column;gap:8px;min-width:0}.explore-filters input,.explore-filters select,.explore-map-panel select,.explore-filters button,.explore-empty button{width:100%;min-height:46px;background:#141414;color:#eee;border:1px solid #404040;border-radius:4px;padding:10px 12px;font-size:13px;box-sizing:border-box;color-scheme:dark}.explore-filters button{width:auto;cursor:pointer}.explore-filters input::placeholder{color:#aaa}
.explore-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0}.explore-summary p{color:#aaa;font-size:12px;line-height:1.5;margin:0}.explore-summary .explore-count{font-size:14px;color:#ddd;white-space:nowrap}
.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.explore-photo{position:relative;min-width:0}.explore-photo-open{display:block;padding:0;border:0;background:#141414;cursor:pointer;width:100%;overflow:hidden;border-radius:3px}.explore-photo-open img{width:100%;height:260px;object-fit:cover;display:block;transition:transform 200ms ease}.explore-photo-open:hover img{transform:scale(1.025)}.explore-photo-caption{padding:12px 0 0}.explore-photo h3,.explore-album h3{font-size:14px;font-weight:500;line-height:1.5;margin:0 0 5px}.explore-photo p,.explore-album p{font-size:12px;color:#aaa;line-height:1.5;margin:0}.photo-save{position:absolute;right:10px;top:10px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:rgba(12,12,12,.9);color:#fff;border:1px solid #666;border-radius:4px;cursor:pointer;z-index:3}.photo-save[aria-pressed=true]{background:#fff;color:#111}
.explore-album{color:#eee;text-decoration:none;min-width:0}.explore-album img{width:100%;height:220px;object-fit:cover;border-radius:3px;display:block;margin-bottom:14px}.explore-album h3{font-size:16px}.explore-empty{grid-column:1/-1;padding:50px 24px;background:#101010;text-align:center;color:#ccc;font-size:15px;line-height:1.6}.explore-empty button{width:auto;margin-top:18px;cursor:pointer}
.explore-map-panel{margin-bottom:28px}.explore-map-panel[hidden]{display:none}.explore-map-panel>label{max-width:420px;margin-bottom:16px}#explore-map{height:460px;border-radius:4px;background:#171717;z-index:0}#map-note{color:#aaa;font-size:12px;line-height:1.6;margin:12px 0}.explore-map-popup{color:#222;font-family:'Helvetica Neue',Arial,sans-serif}.explore-map-popup p{margin:8px 0}.explore-map-popup button{min-height:44px;border:0;background:#145c48;color:white;padding:9px 12px;border-radius:3px;cursor:pointer}.explore-map-panel .leaflet-control-attribution{font-size:11px}
.gallery-explore-links{display:flex;flex-wrap:wrap;gap:18px 24px;align-items:center;margin:0 0 24px;font-size:13px}.gallery-explore-links a{min-height:44px;display:inline-flex;align-items:center;color:#ccc;text-decoration:underline;text-underline-offset:4px}#gallery-status{font-size:13px;line-height:1.5;color:#ccc;margin:16px 0}#gallery-status:empty{display:none}
.explore-main button:focus-visible,.explore-main input:focus-visible,.explore-main select:focus-visible,.explore-main a:focus-visible,.photo-save:focus-visible{outline:2px solid #fff;outline-offset:4px}.explore-main ::selection{background:#ddd;color:#111}
@media(max-width:1050px){.explore-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-summary{align-items:flex-start}.explore-summary p:last-child{text-align:right;max-width:60%}}
@media(max-width:600px){.explore-main{padding:108px 24px 50px}.explore-heading{display:block;margin-bottom:24px}.explore-heading>a{display:inline-block;margin-top:20px}.explore-heading h1{font-size:34px}.explore-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.explore-filters label:first-child{grid-column:1/-1}.explore-tabs{gap:26px}.explore-grid{gap:22px 12px}.explore-photo-open img{height:190px}.explore-photo h3{font-size:12px}.explore-photo p{font-size:11px}.explore-summary{display:block}.explore-summary p:last-child{max-width:none;text-align:left;margin-top:8px}.explore-album img{height:160px}.explore-album h3{font-size:13px}#explore-map{height:350px}.gallery-explore-links{gap:4px 18px}.explore-empty{padding:30px 16px}.photo-save{right:7px;top:7px}}
@media(prefers-reduced-motion:reduce){.explore-photo-open img{transition:none}}

/* Match the navigation container: px-6, sm:px-10, max-w-7xl. */
@media(min-width:640px){.explore-main{padding-inline:40px}}

/* Legacy photo cards have both Info and Favourite controls on touch screens. */
@media(max-width:767px){
 .gallery-item>.photo-save{left:12px;right:auto;top:12px}
 .gallery-item>.info-btn{top:12px;right:12px;width:44px;height:44px}
}
.explore-map-popup .explore-map-preview{display:block;width:220px;max-width:100%;padding:0;margin-bottom:12px;background:#eee;overflow:hidden;border-radius:4px}
.explore-map-preview img{display:block;width:100%;height:140px;object-fit:cover}
.explore-map-preview:focus-visible{outline:2px solid #145c48;outline-offset:3px}
