/* Local gallery only: retain the approved page shell and 245px photo boxes. */
.interior-page .gallery-grid.gallery-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.interior-page .gallery-projects .gallery-item h2{min-height:0;margin-bottom:10px}
.interior-page .gallery-projects .gallery-compare{height:245px;aspect-ratio:auto;border-radius:12px}
.gallery-compare>img,.gallery-compare .before img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.gallery-compare .tag{z-index:2;color:#fff;font-size:13px;font-style:italic;font-weight:900;border-radius:8px;background:linear-gradient(#0093fc,#003ba1 40%,#001b53);box-shadow:0 0 6px #008cff70;pointer-events:none}
.gallery-compare .divider{background:#b4eeff;box-shadow:0 0 7px #008fff;pointer-events:none;z-index:3}
.gallery-compare .divider span{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:linear-gradient(#00b8ff,#003bb4);border:1px solid #d4f6ff;transform:translateX(-16px);font-size:21px;color:white;box-shadow:0 0 8px #007bff}
.gallery-compare input{z-index:4;touch-action:none;cursor:ew-resize}
.gallery-compare:focus-within{outline:3px solid #007bff;outline-offset:4px}
@media(max-width:600px){.interior-page .gallery-grid.gallery-projects{grid-template-columns:1fr}}

.project-photo-gallery[hidden]{display:none!important}
.interior-page .project-photo-gallery{padding-top:12px}
.project-photo-gallery h2{font-size:23px;font-style:italic;color:#123553;margin:0 0 18px}
.gallery-empty-state{padding:28px;border:1px solid #b9cfdf;border-radius:12px;background:linear-gradient(140deg,#f3f9fd,#e1edf6);font-size:17px;line-height:1.5;color:#355573;text-align:center}
.project-photo-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px}
.project-photo-thumb{padding:0;border:1px solid #80b7db;border-radius:8px;background:#001b30;overflow:hidden;cursor:zoom-in;min-width:0}
.project-photo-thumb img{display:block;width:100%;height:112px;object-fit:cover;object-position:center}
.gallery-photo-dialog{max-width:94vw;max-height:94vh;padding:38px 18px 14px}
.gallery-photo-dialog img{display:block;width:auto;height:auto;max-width:88vw;max-height:76vh;min-width:0;object-fit:contain;margin:auto}
.gallery-photo-dialog p{font-size:14px;text-align:center;margin:12px 0 0}
@media(min-width:1200px) and (min-height:820px){
 .interior-page.gallery-category-open .site-shell{grid-template-rows:100px auto auto}
 .interior-page.gallery-category-open main{height:auto;min-height:833.0104370117188px;overflow:visible}
}
@media(max-width:1399px){.project-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:900px){.project-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.project-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Reuse approved service artwork without implying a completed project. */
.wallpaper-service-image{max-width:640px;margin:0 auto 20px}
.wallpaper-service-image[hidden]{display:none}
.wallpaper-service-image img{display:block;width:100%;height:auto;object-fit:cover;object-position:center;border:1px solid #80b7db;border-radius:12px;box-shadow:0 2px 8px #001b3030}
