/* Miami Dade Shades - reusable service galleries */
.mdsg-gallery,.mdsg-gallery *{box-sizing:border-box}
.mdsg-gallery{width:100%;background:#080c08;color:#fff;font-family:Poppins,Arial,sans-serif;padding:75px 24px 80px}
.mdsg-container{max-width:1160px;margin:0 auto;width:100%}
.mdsg-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}
.mdsg-header-copy{min-width:0}
.mdsg-eyebrow{display:block;color:#a6d078;font-size:11px;font-weight:600;letter-spacing:2.5px;line-height:1.5;margin-bottom:13px}
.mdsg-gallery .mdsg-heading{color:#fff!important;font-size:clamp(30px,3.5vw,42px)!important;font-weight:600!important;line-height:1.2!important;letter-spacing:-.7px;margin:0 0 12px!important}
.mdsg-gallery .mdsg-heading span{color:#a6d078!important;font-weight:600!important}
.mdsg-gallery .mdsg-description{color:#c0cabc!important;font-size:13px!important;font-weight:400;line-height:1.75;max-width:540px;margin:0!important}
.mdsg-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mdsg-cols-1 .mdsg-track{grid-template-columns:minmax(0,560px)}
.mdsg-cols-2 .mdsg-track{grid-template-columns:repeat(2,minmax(0,1fr))}
.mdsg-cols-4 .mdsg-track{grid-template-columns:repeat(2,minmax(0,1fr))}
.mdsg-card{position:relative;min-width:0;aspect-ratio:1.35/1;overflow:hidden;border:1px solid #344130;border-radius:14px;background:#141b13;margin:0!important}
.mdsg-open{position:relative;display:block;width:100%;height:100%;padding:0!important;margin:0;border:0!important;background:transparent!important;cursor:zoom-in;overflow:hidden;border-radius:inherit}
.mdsg-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .35s ease}
.mdsg-video{display:block;width:100%;height:100%;object-fit:contain;background:#070807}
.mdsg-zoom{position:absolute;right:14px;bottom:14px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(9,14,9,.87);color:#fff;pointer-events:none}
.mdsg-zoom svg{width:19px;height:19px}
.mdsg-controls{display:none;align-items:center;gap:12px}
.mdsg-controls button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #57784a;border-radius:50%;background:#172115;color:#fff;cursor:pointer}
.mdsg-controls button:disabled{opacity:.35;cursor:default}
.mdsg-controls svg{width:19px;height:19px}
.mdsg-counter{color:#e9f0e5;font-size:12px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.mdsg-lightbox{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:68px 20px 20px;background:rgba(0,0,0,.94)}
.mdsg-lightbox[hidden]{display:none!important}
.mdsg-lightbox img{display:block;max-width:100%;max-height:85vh;width:auto;height:auto;object-fit:contain;border-radius:6px}
.mdsg-lightbox-close{position:absolute;top:13px;right:18px;display:flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:0!important;border-radius:50%;background:#1b2818!important;color:#fff!important;font-size:32px;cursor:pointer}
.mdsg-editor-notice{padding:12px;background:#fff6e3;color:#6a4e08}
@media(hover:hover) and (pointer:fine){.mdsg-open:hover .mdsg-image{transform:scale(1.045)}}
@media(max-width:1024px){.mdsg-gallery{padding:65px 22px}.mdsg-track{gap:12px}}
@media(max-width:767px){
.mdsg-gallery{padding:55px 17px}
.mdsg-header{flex-direction:column;align-items:stretch;gap:19px;margin-bottom:22px}
.mdsg-eyebrow{font-size:10px;margin-bottom:11px}
.mdsg-gallery .mdsg-heading{font-size:30px!important;margin-bottom:11px!important}
.mdsg-gallery .mdsg-description{font-size:12px!important;line-height:1.75}
.mdsg-controls{display:flex}
.mdsg-track,.mdsg-cols-1 .mdsg-track,.mdsg-cols-2 .mdsg-track,.mdsg-cols-4 .mdsg-track{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;scroll-padding-inline:0}
.mdsg-track::-webkit-scrollbar{display:none}
.mdsg-card{flex:0 0 88%;width:88%;aspect-ratio:1.12/1;scroll-snap-align:start;scroll-snap-stop:always;border-radius:12px}
.mdsg-gallery.mdsg-cols-1 .mdsg-card{flex-basis:100%;width:100%}
}
@media(prefers-reduced-motion:reduce){.mdsg-image{transition:none!important}}
