.atelier-wall{width:min(1200px,92%);margin:clamp(3rem,7vw,7rem) auto}
.atelier-wall h2{margin:0 0 1.5rem;font:normal clamp(2.4rem,6vw,4.8rem)/1.05 var(--serif);color:#33291f}
.atelier-photos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(4px,.65vw,10px)}
.atelier-photos figure{margin:0;min-width:0}
.atelier-photos a{display:block;position:relative;overflow:hidden;border-radius:3px;background:#eee7dd}
.atelier-photos img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .24s ease}
@media(hover:hover) and (pointer:fine){.atelier-photos a:hover img{transform:scale(1.12)}}
.atelier-photos a:focus-visible,.atelier-view button:focus-visible{outline:3px solid #a8793f;outline-offset:2px}
.atelier-view{padding:0;border:0;background:#fbf8f3;color:#30291f;width:max-content;max-width:94vw;max-height:94dvh;border-radius:6px;box-shadow:0 14px 60px #0004}
.atelier-view::backdrop{background:#18140fe0}
.atelier-view img{display:block;max-width:94vw;max-height:76dvh;width:auto;height:auto;margin:auto;object-fit:contain}
 .atelier-stage{position:relative}
.atelier-stage button{position:absolute;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#251c16d9;color:white;font:normal 32px/1 var(--sans);cursor:pointer;z-index:1}
.atelier-stage [data-step]{top:50%;transform:translateY(-50%)}
.atelier-stage [data-step="-1"]{left:6px}
.atelier-stage [data-step="1"]{right:6px}
.atelier-stage [data-close]{right:6px;top:6px;font-size:26px}
.atelier-view .atelier-caption{margin:0;padding:12px 14px;text-align:center;font-size:1rem;line-height:1.35}
@media(max-width:850px){.atelier-photos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.atelier-photos{grid-template-columns:repeat(3,minmax(0,1fr))}.atelier-wall{width:94%}}
@media(prefers-reduced-motion:reduce){.atelier-photos img{transition:none}}

/* Galerie grupată pe seturi: o fotografie per set, cu nume și număr de fotografii */
.atelier-photos{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2vw,26px) clamp(10px,1.6vw,20px)}
.atelier-photos a{border-radius:6px}
.atelier-photos img{aspect-ratio:1}
.atelier-photos figcaption{margin-top:.6rem;font-size:.875rem;line-height:1.4;color:#30291f}
.atelier-photos figcaption span{display:block;margin-top:.15rem;font-size:.75rem;color:#6a6258}
@media(max-width:850px){.atelier-photos{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.atelier-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
