.swd-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:20px}.swd-photo-grid figure{margin:0;padding:12px;background:#fff;border:1px solid #cbd8e1;border-radius:12px}.swd-photo-grid img{width:100%;height:230px;object-fit:contain;display:block;background:#f1f5f8;border-radius:8px}.swd-photo-grid figcaption{padding:10px 4px;color:#17344b;overflow-wrap:anywhere}.swd-photo-grid a:focus-visible{outline:3px solid #a46800;outline-offset:4px}.swd-lightbox{max-width:96vw;width:1100px;max-height:95vh;padding:16px;border:0;border-radius:12px;background:#122438;color:#fff}.swd-lightbox::backdrop{background:rgba(0,0,0,.85)}.swd-lightbox>img{display:block;max-width:100%;width:auto;height:65vh;object-fit:contain;margin:12px auto}.swd-lightbox button{background:#fff!important;color:#17344b!important;border:1px solid #a5b7c6;border-radius:8px;padding:11px 15px;min-height:44px;cursor:pointer;font:600 15px/1.4 system-ui}.swd-photo-controls{display:flex;align-items:center;justify-content:space-between;gap:14px}.swd-photo-controls p{color:#fff!important;text-align:center;overflow-wrap:anywhere}.swd-album-photo{display:grid;grid-template-columns:150px 1fr;gap:20px;border:1px solid #cbd8e1;background:#f4f8fa;padding:18px;border-radius:10px;margin:16px 0}.swd-album-photo>img{width:150px;height:150px;object-fit:contain;background:#fff;border-radius:8px}.swd-album-photo label{display:block;margin:10px 0;font-weight:600;color:#17344b}.swd-album-photo input{width:100%;padding:9px;border:1px solid #879daa;border-radius:8px;display:block;margin-top:5px}.swd-album-photo h4{margin:0 0 10px}.swd-album-photo .swd-actions{gap:7px;margin-top:14px}.swd-studio [data-album-editor] select{width:100%;padding:10px;border:1px solid #879daa;border-radius:8px;min-height:44px}@media(max-width:640px){.swd-album-photo{grid-template-columns:1fr}.swd-album-photo>img{width:100%;height:170px}.swd-photo-controls{flex-wrap:wrap}.swd-photo-controls p{order:3;width:100%}.swd-lightbox>img{height:55vh}}
.swd-gallery{background:#f5f8fa;color:#17344b;border-radius:14px}.swd-gallery :is(h1,h2,h3,p,figcaption){color:#17344b!important}.swd-gallery .swd-lightbox p{color:#fff!important}
