.case-gallery__grid{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;aspect-ratio:2/1;margin-top:28px}.case-gallery__preview{display:block;min-width:0;min-height:0;overflow:hidden}.case-gallery__preview:first-child{grid-row:1/-1}.case-gallery__preview img{display:block;width:100%;height:100%;object-fit:cover}.case-gallery__grid--1{grid-template-columns:1fr}.case-gallery__grid--2{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.case-gallery__all{display:inline-block;margin-top:20px;padding:0 4px 6px;border-bottom:4px solid #cf1231;color:#fff;font-size:18px;font-weight:700}.case-gallery__all:hover{color:#fff;border-color:#fff}.case-gallery a:focus-visible,.case-gallery button:focus-visible{outline:3px solid #fff;outline-offset:4px}html.case-gallery-open{overflow:hidden}.case-gallery__dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:20px;border:0;background:rgba(22,22,22,.96);color:#fff}.case-gallery__dialog::backdrop{background:rgba(0,0,0,.6)}.case-gallery__dialog:not([open]){display:none}.case-gallery__dialog[open]{display:flex;flex-direction:column}.case-gallery__toolbar{position:relative;display:flex;justify-content:center;align-items:center;min-height:48px;flex-shrink:0}.case-gallery__count{font-size:18px}.case-gallery__dialog button{color:#fff;background:0 0;border:0;padding:12px;cursor:pointer;font:inherit;min-width:44px;min-height:44px}.case-gallery__close{position:absolute;right:0;top:0}.case-gallery__stage{display:flex;align-items:center;justify-content:center;gap:16px;flex:1;min-height:0;padding:20px 0}.case-gallery__image{display:block;width:100%;height:100%;min-width:0;object-fit:contain}.case-gallery__dialog .case-gallery__prev,.case-gallery__dialog .case-gallery__next{flex-shrink:0;font-size:32px}.case-gallery__dialog button[hidden]{display:none}@media (max-width:600px){.case-gallery__grid{grid-template-columns:1fr 1fr;grid-template-rows:2fr 1fr;aspect-ratio:1/1;gap:10px}.case-gallery__preview:first-child{grid-column:1/-1;grid-row:auto}.case-gallery__grid--1{grid-template-rows:1fr;aspect-ratio:4/3}.case-gallery__grid--2{grid-template-rows:1fr;aspect-ratio:4/3}.case-gallery__grid--2 .case-gallery__preview:first-child{grid-column:auto}.case-gallery__dialog{padding:10px}.case-gallery__stage{gap:4px}.case-gallery__dialog .case-gallery__prev,.case-gallery__dialog .case-gallery__next{padding:4px;font-size:24px}}