.gallery.ck-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.gallery.ck-project-gallery a,.gallery.ck-project-gallery a:first-child{grid-column:auto;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:7px;background:#e9e9e5}
.gallery.ck-project-gallery img,.gallery.ck-project-gallery a:first-child img{width:100%;height:100%;max-height:none;object-fit:cover}
.project-link{overflow-wrap:anywhere}
.ck-photo-viewer{padding:0;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;background:transparent;color:white;overflow:hidden}
.ck-photo-viewer::backdrop{background:rgba(20,24,27,.9)}
.ck-photo-stage{height:100%;display:flex;align-items:center;justify-content:center;padding:70px 70px 80px}
.ck-photo-stage img{max-width:100%;max-height:100%;object-fit:contain}
.ck-photo-viewer button{position:absolute;border:1px solid #aaa;border-radius:50%;background:#263039;color:#fff;width:48px;height:48px;font-size:28px;line-height:1}
.ck-photo-close{top:16px;right:16px}.ck-photo-prev{left:12px;top:calc(50% - 24px)}.ck-photo-next{right:12px;top:calc(50% - 24px)}
.ck-photo-count{position:absolute;bottom:18px;left:0;width:100%;text-align:center;color:white;margin:0;pointer-events:none}
html.ck-photo-open{overflow:hidden}
@media(max-width:700px){.gallery.ck-project-gallery{grid-template-columns:1fr;gap:16px}.ck-photo-stage{padding:72px 12px 100px}.ck-photo-prev,.ck-photo-next{top:auto;bottom:18px}.ck-photo-prev{left:18px}.ck-photo-next{right:18px}}
