/* Page-specific styles exported from the approved design: photo-gallery.html */
.pg-img{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;aspect-ratio:4/3;border:1px dashed var(--border-input);border-radius:8px 8px 0 0;background:var(--surface-subtle);font:400 var(--fs-14)/1.4 var(--font-sans);color:var(--text-muted);text-align:center}
.pg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:16px}
.pg-card{display:flex;flex-direction:column;border:1px solid var(--border-default);border-radius:8px;background:var(--surface-page);overflow:hidden}.pg-card__img{display:block}
.pg-card__b{display:flex;flex-direction:column;gap:6px;padding:16px 20px 20px}.pg-card h3,.pg-card h4{font:600 var(--fs-18)/1.4 var(--font-sans);color:var(--text-heading)}
.pg-meta,.pg-count{font:400 var(--fs-14)/1.6 var(--font-sans);color:var(--text-body)}.pg-count{font-weight:500}
.pg-feat{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);margin-top:20px;border:1px solid var(--border-default);border-radius:8px;background:var(--surface-page);overflow:hidden}
.pg-feat .pg-img{height:100%;aspect-ratio:auto;min-height:280px;border-radius:0;border-width:0 1px 0 0}.pg-feat__b{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;padding:28px 32px}.pg-feat h3{font:600 var(--fs-20)/1.35 var(--font-sans);color:var(--text-heading)}
.pg-filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto auto;align-items:end}.pg-chk{display:flex;align-items:center;gap:8px;min-height:44px;font:500 var(--fs-14) var(--font-sans);color:var(--text-label)}.pg-chk input{width:20px;height:20px}
.pg-year{padding-top:28px}.pg-year h3{padding-bottom:8px;border-bottom:2px solid var(--border-brand);font:600 var(--fs-20)/1.4 var(--font-sans);color:var(--text-brand)}
.pg-pager{display:flex;justify-content:center;padding-top:32px}.pg-pager ul{display:flex;gap:8px}.pg-pager button{min-width:44px;min-height:44px;padding:0 14px;border:1px solid var(--border-input);border-radius:8px;background:var(--surface-page);font:500 var(--fs-14) var(--font-sans);color:var(--link);cursor:pointer}
.pg-pager button[aria-current="page"]{background:var(--surface-selected);border-color:var(--surface-selected);color:var(--text-on-brand)}.pg-pager button:disabled{color:var(--text-muted);cursor:not-allowed;background:var(--surface-subtle)}
@media(max-width:1024px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pg-filters{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.pg-grid,.pg-feat{grid-template-columns:1fr}.pg-feat .pg-img{border-width:0 0 1px 0;min-height:200px}}
