.gallery-shell{width:min(1500px,calc(100% - 3rem));margin:auto}.gallery-hero{background:#f8fafc;min-height:270px;position:relative;overflow:hidden}.gallery-hero-image{position:absolute;inset:0 0 0 40%;background:linear-gradient(90deg,#f8fafc,transparent 65%),url('https://storage.googleapis.com/findminetechnologies/laxmangoudcharitabletrust/32f8209dde5217ab67d8dc93561b011d.jpg') center/cover}.gallery-hero-copy{position:relative;padding:2rem 0}.gallery-hero nav{color:#d60913}.gallery-hero nav a{color:#07366a}.gallery-hero h1{font-size:clamp(2.4rem,4vw,3.5rem);color:#082344;margin:1rem 0}.gallery-hero h1 span{color:#d60913}.gallery-hero h1:after{content:'';display:block;background:#579b16;width:70px;height:4px;margin-top:.6rem}.gallery-hero p{max-width:480px}.gallery-content{padding:2rem 0}.gallery-toolbar{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin-bottom:1.5rem}.gallery-toolbar select,.gallery-toolbar button,.gallery-clear{min-height:44px;border:1px solid #e2e8f0;border-radius:2rem;background:#f8fafc;padding:.6rem 1rem;font:inherit;color:#07366a}.gallery-clear{text-decoration:none}.gallery-toolbar .gallery-filter-button,.gallery-view-controls button[aria-pressed=true]{background:#d60913;color:#fff;border-color:#d60913}.gallery-view-controls{margin-left:auto;display:flex;gap:.4rem}.media-gallery{columns:4;column-gap:1rem}.media-card{display:inline-block;break-inside:avoid;position:relative;width:100%;margin:0 0 1rem;border-radius:14px;overflow:hidden;background:#edf2f7;color:#fff;text-decoration:none}.media-card img{width:100%;height:auto;display:block}.media-card>span{position:absolute;inset:auto 0 0;padding:2rem .8rem .7rem;background:linear-gradient(transparent,#08192bdd);display:grid}.media-card small{color:#e2e8f0}.media-gallery.grid-view{columns:unset;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.grid-view .media-card{margin:0;height:240px}.grid-view .media-card img{width:100%;height:100%;object-fit:contain}.gallery-pagination{text-align:center;margin:2rem}.gallery-cta{margin:3rem 0 0;background:#082344;color:white;padding:2rem;border-radius:16px;display:flex;justify-content:space-between;gap:1rem;align-items:center}.gallery-cta h2{color:white}.gallery-dialog{background:#061526f2;border:0;color:#fff;width:100%;height:100%;max-width:none;max-height:none}.gallery-dialog::backdrop{background:#061526ee}.gallery-dialog[open]{display:flex;justify-content:center;align-items:center;gap:1rem}.gallery-dialog figure{margin:0;text-align:center}.gallery-dialog img{max-width:75vw;max-height:75vh;object-fit:contain}.gallery-dialog button{min-width:48px;min-height:48px;border:0;background:#ffffff20;color:white;font-size:2rem}.gallery-dialog [data-close]{position:absolute;top:1rem;right:1rem}@media(max-width:1023px){.media-gallery{columns:3}.media-gallery.grid-view{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.gallery-shell{width:calc(100% - 2rem)}.gallery-hero-image{opacity:.25;inset:0}.media-gallery{columns:2}.media-gallery.grid-view{grid-template-columns:repeat(2,1fr)}.gallery-view-controls{margin-left:0}.gallery-cta{display:block}.gallery-cta .btn{margin:.25rem 0}.gallery-dialog img{max-width:65vw}}
.media-card{background:#fff;color:#102443;border:1px solid #e2e9f2;box-shadow:0 5px 18px #0823440d}
.media-link,.gallery-video{position:relative;display:block;width:100%;aspect-ratio:4/3;background:#edf2f7;overflow:hidden}
.media-link img{width:100%;height:100%;display:block;object-fit:contain}
.media-caption{display:grid;gap:.3rem;padding:.9rem 1rem 1rem}
.media-caption strong{font-size:.96rem;line-height:1.4;color:#0b2344;overflow-wrap:anywhere}
.media-caption small{font-size:.8rem;color:#62748b}
.gallery-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#071728}
.video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:54px;height:54px;padding-left:3px;border-radius:50%;background:#d60913;color:#fff;box-shadow:0 4px 16px #0005}
.grid-view .media-card{height:auto}
.grid-view .media-link img{height:100%;object-fit:contain}
@media(max-width:680px){
  .media-gallery,.media-gallery.grid-view{columns:unset;display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
  .media-card,.grid-view .media-card{margin:0;height:auto}
  .media-caption{padding:.85rem 1rem 1rem}
  .media-caption strong{font-size:1rem}
  .gallery-video,.media-link{aspect-ratio:16/10}
}

@media(max-width:680px){
  .gallery-toolbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;gap:.45rem;padding:.15rem 0 .55rem;-webkit-overflow-scrolling:touch}
  .gallery-toolbar>label{font-size:.8rem;white-space:nowrap;flex:none}
  .gallery-toolbar select,.gallery-toolbar button,.gallery-clear{flex:none;width:auto;min-height:38px;padding:.4rem .75rem;font-size:.78rem;line-height:1.2;white-space:nowrap}
  .gallery-toolbar select{max-width:155px}
  .gallery-view-controls{flex:none;margin-left:0;gap:.4rem}
}
