/* Crofton Contracting v7.8.17 — isolated responsive project gallery */
#project-gallery .container{width:min(94%,1360px);max-width:1360px;margin-inline:auto}
#projectGallery.project-gallery-slider{display:block;width:100%;max-width:none;margin:0;padding:20px 0 44px;columns:auto!important;column-count:auto!important;column-width:auto!important;box-sizing:border-box}
#projectGallery .project-slider-shell{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:16px;align-items:center;width:100%;max-width:none}
#projectGallery .project-slider-track{display:flex;align-items:stretch;gap:24px;width:100%;min-width:0;max-width:none;overflow-x:auto;overflow-y:hidden;padding:18px 2px 24px;margin:0;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;box-sizing:border-box}
#projectGallery .project-slider-track::-webkit-scrollbar{display:none}
#projectGallery .project-slider-track .project-card{position:relative;display:block;flex:0 0 calc((100% - 48px)/3);width:auto;min-width:0;max-width:none;margin:0;aspect-ratio:3/2;border-radius:16px;overflow:hidden;scroll-snap-align:start;box-sizing:border-box;background:#071522}
#projectGallery .project-slider-track .project-card img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;transition:transform .35s ease}
#projectGallery .project-slider-track .project-card:hover img{transform:scale(1.025)}
#projectGallery .project-slider-track .project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,15,26,.9));pointer-events:none}
#projectGallery .project-slider-track .project-info{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:60px 18px 18px;color:#fff;box-sizing:border-box}
#projectGallery .project-slider-track .project-info h3{color:#fff;margin-bottom:4px}
#projectGallery .project-slider-track .project-card.hidden{display:none}
#projectGallery .project-slider-arrow{width:48px;height:48px;border-radius:50%;border:1px solid #d5dee5;background:#fff;color:#071522;font-size:1.4rem;font-weight:900;cursor:pointer;justify-self:center;box-shadow:0 8px 24px rgba(7,21,36,.10)}
#projectGallery .project-slider-arrow:disabled{opacity:.28;cursor:default}
#projectGallery .project-slider-dots{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:12px;margin-top:4px}
#projectGallery .project-slider-dots span{width:7px;height:7px;border-radius:50%;background:#c7d0d8}
#projectGallery .project-slider-dots span.active{width:20px;border-radius:999px;background:var(--orange)}
@media(max-width:1100px){#project-gallery .container{width:min(94%,980px)}#projectGallery .project-slider-track .project-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:760px){#project-gallery .container{width:calc(100% - 20px)}#projectGallery.project-gallery-slider{padding:14px 0 34px}#projectGallery .project-slider-shell{grid-template-columns:1fr;gap:0}#projectGallery .project-slider-track{gap:14px;padding:14px 2px 20px}#projectGallery .project-slider-track .project-card{flex:0 0 86%;max-width:430px;aspect-ratio:4/3}#projectGallery .project-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:44px;height:44px;background:rgba(255,255,255,.96)}#projectGallery .project-slider-arrow--prev{left:8px}#projectGallery .project-slider-arrow--next{right:8px}}
@media(max-width:520px){#projectGallery .project-slider-track .project-card{flex-basis:92%;max-width:none}}
