.ebgal-sec{padding:3rem 1rem;max-width:1440px;margin:0 auto;text-align:center}
.ebgal-title{font-size:clamp(1.4rem,3vw,2.2rem);color:#0A3442;font-weight:800;margin-bottom:.4rem}
.ebgal-title span{color:#00A9B7}
.ebgal-sub{color:#5b7280;margin-bottom:1.6rem;font-size:1rem}
.ebgal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ebgal-item{position:relative;overflow:hidden;border-radius:16px;cursor:pointer;box-shadow:0 4px 18px rgba(10,52,66,.12);aspect-ratio:4/3;background:#eaf6f8}
.ebgal-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.ebgal-item video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.ebgal-item:hover video{transform:scale(1.07)}
.ebgal-video::after{content:"\f04b";opacity:1}
.ebgal-item:hover img{transform:scale(1.07)}
.ebgal-item::after{content:"\f00e";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;inset:auto 12px 12px auto;width:38px;height:38px;border-radius:50%;background:rgba(0,169,183,.92);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem;opacity:0;transition:opacity .3s}
.ebgal-item:hover::after{opacity:1}
.ebgal-lightbox{position:fixed;inset:0;background:rgba(6,30,38,.9);display:none;align-items:center;justify-content:center;z-index:10000;padding:20px}
.ebgal-lightbox.ebgal-open{display:flex}
.ebgal-lightbox img{max-width:min(920px,94vw);max-height:84vh;border-radius:14px;box-shadow:0 10px 50px rgba(0,0,0,.5)}
.ebgal-close{position:absolute;top:18px;left:22px;background:#00A9B7;color:#fff;border:none;width:42px;height:42px;border-radius:50%;font-size:1.3rem;cursor:pointer}
.ebgal-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.9);border:none;width:46px;height:46px;border-radius:50%;font-size:1.2rem;cursor:pointer;color:#0A3442}
.ebgal-prev{right:14px}.ebgal-next{left:14px}
.ebgal-count{position:absolute;bottom:20px;color:#fff;font-size:.95rem}
@media(max-width:768px){.ebgal-grid{grid-template-columns:repeat(2,1fr);gap:10px}}
