.hdh-gallery-page{max-width:1240px;margin:0 auto;padding:32px 22px 72px;min-height:60vh}
.hdh-gallery-article{width:100%;margin:0 auto}
.hdh-gallery-breadcrumb{font-size:13px;opacity:.75;overflow-wrap:anywhere;margin:0 0 24px}
.hdh-gallery-breadcrumb span{margin:0 5px}
.hdh-gallery-heading{text-align:center;margin:0 auto 22px;max-width:950px}
.hdh-gallery-heading h1{font-size:clamp(25px,3vw,40px);line-height:1.25;margin:8px 0 12px;overflow-wrap:anywhere}
.hdh-gallery-eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:700;opacity:.7}
.hdh-gallery-intro{font-size:16px;line-height:1.75;max-width:850px;margin:0 auto 22px}
.hdh-gallery-count,.hdh-gallery-hint{text-align:center;font-size:13px;opacity:.75}
.hdh-gallery-hint{margin:0 0 18px}
.hdh-gallery-images{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px auto}
.hdh-gallery-image{margin:0;min-width:0;text-align:center}
.hdh-gallery-tile{display:block;position:relative;width:100%;padding:0;border:1px solid rgba(255,255,255,.12);border-radius:10px;overflow:hidden;background:rgba(0,0,0,.22);cursor:zoom-in;aspect-ratio:3/4}
.hdh-gallery-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s ease}
.hdh-gallery-tile:hover img{transform:scale(1.035)}
.hdh-gallery-tile:focus-visible{outline:3px solid #f64ab8;outline-offset:3px}
.hdh-gallery-zoom{position:absolute;right:10px;top:10px;background:rgba(0,0,0,.7);border-radius:7px;padding:3px 9px;font-size:20px}
.hdh-gallery-image figcaption{font-size:12px;opacity:.65;padding:9px}
.hdh-gallery-attribution{text-align:center;font-size:13px;opacity:.7;overflow-wrap:anywhere}
.hdh-gallery-empty{text-align:center;padding:50px 15px}
.hdh-gallery-lightbox[hidden]{display:none!important}
.hdh-gallery-lightbox{position:fixed;z-index:2147483000;inset:0;background:rgba(8,4,17,.97);display:flex;align-items:center;justify-content:center;gap:10px;padding:55px 55px 30px}
.hdh-lightbox-stage{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;max-width:100%;height:100%;flex:1}
.hdh-lightbox-stage img{max-width:100%;max-height:calc(100vh - 125px);width:auto;height:auto;object-fit:contain;border-radius:5px}
.hdh-lightbox-count{color:#eee;font-size:13px;margin-top:12px}
.hdh-gallery-lightbox button{border:0;background:rgba(255,255,255,.1);color:white;cursor:pointer;border-radius:9px;font-size:36px;min-width:46px;min-height:48px}
.hdh-gallery-lightbox button:hover{background:rgba(255,255,255,.2)}
.hdh-lightbox-close{position:absolute;right:22px;top:14px}
body.hdh-lightbox-open{overflow:hidden}
@media(max-width:900px){.hdh-gallery-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:600px){.hdh-gallery-page{padding:20px 12px 50px}.hdh-gallery-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hdh-gallery-heading h1{font-size:26px}.hdh-gallery-lightbox{padding:65px 8px 30px;gap:3px}.hdh-gallery-lightbox button{min-width:32px;font-size:28px}.hdh-lightbox-close{right:12px;top:12px}}
@media(prefers-reduced-motion:reduce){.hdh-gallery-tile img{transition:none}}

.hdh-gallery-taxonomy{text-align:center;margin:8px auto 15px;font-size:14px;line-height:1.7}.hdh-gallery-taxonomy a{display:inline-block;margin:2px 3px;padding:3px 9px;border-radius:6px;background:rgba(255,255,255,.08);text-decoration:none}.hdh-gallery-taxonomy a:hover{background:rgba(255,255,255,.15)}

/* Gallery discovery */
.hdh-gallery-directory{max-width:1200px;margin:0 auto;padding:32px 20px}
.hdh-gallery-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0 30px}
.hdh-gallery-filters label{display:flex;flex:1 1 180px;flex-direction:column;gap:6px;font-weight:600}
.hdh-gallery-filters input,.hdh-gallery-filters select{width:100%;min-height:42px;border:1px solid #aaa;border-radius:6px;padding:9px;background:#fff;color:#222}
.hdh-gallery-filters button{min-height:42px;padding:10px 22px;border:0;border-radius:6px;background:#e63761;color:white;cursor:pointer}
.hdh-discovery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px;margin:20px 0}
.hdh-discovery-card{min-width:0}
.hdh-discovery-card a{display:flex;flex-direction:column;gap:8px;text-decoration:none}
.hdh-discovery-card img,.hdh-card-placeholder{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:9px;background:#222;display:block}
.hdh-card-placeholder{display:grid;place-items:center;color:#fff}
.hdh-card-title{font-weight:700;line-height:1.4}
.hdh-card-meta{font-size:13px;opacity:.7}
.hdh-related{margin:50px auto 20px;max-width:1200px}
.hdh-related h2{font-size:24px;margin-bottom:16px}
.hdh-gallery-pagination{margin:28px 0;display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:600px){.hdh-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hdh-gallery-filters label{flex:1 1 100%}}
.hdh-gallery-details{max-width:1000px;margin:32px auto;padding:22px;border:1px solid rgba(128,128,128,.3);border-radius:10px}
.hdh-gallery-details h2{margin:0 0 16px;font-size:22px}
.hdh-gallery-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin:0}
.hdh-gallery-details dl>div{min-width:0}
.hdh-gallery-details dt{font-size:13px;opacity:.65;margin-bottom:4px}
.hdh-gallery-details dd{font-weight:600;margin:0}
@media(max-width:600px){.hdh-gallery-details dl{grid-template-columns:1fr}}
