/* 30 compacte sjablonen met filters rechts van de voorbeelden. */
@media(min-width:841px){
 #gallery:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 215px;align-items:start;gap:17px}
 #gallery .filters{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:stretch;position:sticky;top:16px;margin:0;padding:14px 12px;background:#fff;border:1px solid #d8e5f2;border-radius:12px;box-shadow:0 4px 14px #193d6210;gap:14px;min-width:0}
 #gallery .filters label{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:12px;line-height:1.35}
 #gallery .filters label:first-of-type{display:grid;gap:7px}
 #gallery .filters select{width:100%;min-width:0!important;padding:9px;font-size:13px}
 #gallery .filters #counts{margin:0;font-weight:800;font-size:12px;color:#315d86}
 #gallery .gallery-grid{grid-column:1;grid-row:1;grid-template-columns:repeat(auto-fill,minmax(166px,1fr));gap:9px;min-width:0}
 #gallery .s24-filter-heading{font:900 16px/1.3 system-ui,sans-serif;color:#173b63}
}
@media(max-width:840px){
 #gallery:not([hidden]){display:flex;flex-direction:column;gap:9px}
 #gallery .filters{display:flex;align-items:center;gap:10px;position:static;background:#fff;padding:9px;border:1px solid #e0ebf6;border-radius:10px;margin:0;width:100%}
 #gallery .s24-filter-heading{display:none}
 #gallery .gallery-grid{width:100%;min-width:0}
}
@media(max-width:480px){
 #gallery .filters{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 #gallery .filters label:first-of-type,#gallery .filters #counts{grid-column:1/-1}
 #gallery .filters select{width:100%;min-width:0}
}
