
.work-gallery {background:#f1f5f9;padding:clamp(3rem,7vw,6rem) 1.25rem;scroll-margin-top:6rem}
.work-gallery-inner {max-width:76rem;margin-inline:auto}
.work-gallery h2 {margin:0 0 1.75rem;color:#0f172a;font-size:clamp(2rem,4vw,3rem);font-weight:800;line-height:1.08;letter-spacing:-.035em}
.work-gallery-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}
.work-gallery-card {padding:0;overflow:hidden;border:1px solid #e2e8f0;border-radius:1rem;background:#fff;text-align:start;color:#0f172a;cursor:zoom-in}
.work-gallery-card img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.work-gallery-card span {display:block;padding:.85rem 1rem;font-size:.95rem;font-weight:700}
.work-gallery-card:hover,.work-gallery-card:focus-visible {outline:2px solid #ea580c;outline-offset:2px}
.work-photo-dialog {position:fixed;inset:0;margin:auto;width:min(60rem,94vw);max-height:calc(100dvh - 2rem);overflow:auto;border:1px solid #334155;border-radius:1rem;background:#0f172a;color:#fff;padding:.85rem}
.work-photo-dialog::backdrop {background:#020617db}
.work-photo-actions {display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}
.work-photo-actions form {margin-inline-start:auto}
.work-photo-actions button {background:#243247;color:#fff;border:1px solid #64748b;border-radius:.55rem;padding:.45rem .75rem;font-weight:700}
.work-photo-actions button:focus-visible {outline:2px solid #fb923c}
.work-photo-dialog figure {margin:0}
.work-photo-full {display:block;width:100%;max-height:calc(100dvh - 10rem);object-fit:contain;background:#020617;border-radius:.55rem}
.work-photo-dialog figcaption {padding:.6rem .2rem 0;font-weight:700}
@media (max-width:800px){.work-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.work-gallery-grid{grid-template-columns:1fr}}

.work-gallery [hidden],.knoks-android #galeria,.knoks-android [data-web-gallery-link]{display:none!important}
.work-gallery-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}
.work-gallery-filters button,.work-gallery-more summary{border:1px solid #cbd5e1;border-radius:.6rem;background:white;color:#0f172a;padding:.55rem .9rem;font-weight:700}
.work-gallery-filters button[aria-pressed="true"]{background:#0f172a;border-color:#0f172a;color:white}
.work-gallery-more{margin-top:1.25rem;color:#334155}
.work-gallery-more summary{display:list-item;width:fit-content;cursor:pointer}
.work-gallery-more .work-gallery-grid{margin-top:1rem}
.work-gallery button:focus-visible{outline:2px solid #ea580c;outline-offset:3px}
