/* Isolated Gallery styles. No global element, card, grid, or container selectors. */
.gf-gallery{background:#101415;color:#f7f8f7;isolation:isolate}
.gf-gallery .gf-section-heading h2{color:#fff}.gf-gallery .gf-section-heading>p:last-child{color:#b8c0c1}
.gf-gallery-filters{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1.5rem}
.gf-gallery-filter{appearance:none;border:1px solid #667174;border-radius:999px;background:transparent;color:#f7f8f7;cursor:pointer;font:inherit;font-size:.9rem;line-height:1.2;padding:.55rem .85rem}
.gf-gallery-filter:is(:hover,:focus-visible),.gf-gallery-filter.is-active{background:#177346;border-color:#177346;color:#fff}
.gf-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.gf-gallery-grid--preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem}
.gf-gallery-card{display:grid;gap:.65rem;margin:0;min-width:0}.gf-gallery-card[hidden]{display:none}
.gf-gallery-media{position:relative;display:block;aspect-ratio:4/3;width:100%;overflow:hidden;border:1px solid #3e494c;border-radius:6px;background:#1a2022;cursor:pointer;padding:0}
.gf-gallery-media>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.gf-gallery-media:is(:hover,:focus-visible)>img{transform:scale(1.03)}
.gf-gallery-card figcaption{color:#c5cccd;font-size:.82rem;line-height:1.45}.gf-gallery-play{position:absolute;inset:50% auto auto 50%;display:grid;place-items:center;width:3.15rem;height:3.15rem;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(8,12,13,.76);color:#fff;font-size:1rem;padding-inline-start:.15rem}
.gf-gallery-lightbox{width:min(96vw,1180px);max-width:1180px;max-height:94vh;overflow:hidden;border:1px solid #445054;border-radius:8px;background:#0e1213;color:#fff;padding:3.5rem 3.75rem 2.25rem}.gf-gallery-lightbox::backdrop{background:rgba(0,0,0,.86)}
.gf-gallery-lightbox-media{display:grid;place-items:center;min-height:0}.gf-gallery-lightbox-media>img,.gf-gallery-lightbox-media>video{display:block;max-width:100%;max-height:76vh;margin:auto;object-fit:contain}.gf-gallery-lightbox-media>video{width:100%;background:#000}
.gf-gallery-youtube-frame{display:block;width:100%;max-width:960px;aspect-ratio:16/9;max-height:76vh;border:0;background:#000}
.gf-gallery-lightbox-caption{margin:.85rem 0 0;color:#d1d7d8;text-align:center;font-size:.9rem}.gf-gallery-lightbox-close,.gf-gallery-lightbox-prev,.gf-gallery-lightbox-next{position:absolute;border:0;background:transparent;color:#fff;cursor:pointer;font:inherit;line-height:1}.gf-gallery-lightbox-close{inset-block-start:.75rem;inset-inline-end:1rem;font-size:2rem}.gf-gallery-lightbox-prev,.gf-gallery-lightbox-next{inset-block-start:50%;transform:translateY(-50%);font-size:3rem;padding:.5rem}.gf-gallery-lightbox-prev{inset-inline-start:.5rem}.gf-gallery-lightbox-next{inset-inline-end:.5rem}
html.gf-gallery-lock,html.gf-gallery-lock body{overflow:hidden}
@media (max-width:1024px){.gf-gallery-grid,.gf-gallery-grid--preview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:768px){.gf-gallery-grid,.gf-gallery-grid--preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.gf-gallery-lightbox{width:100vw;max-width:100vw;border-radius:0;padding:3.5rem 2.8rem 1.5rem}.gf-gallery-lightbox-prev,.gf-gallery-lightbox-next{font-size:2.25rem}.gf-gallery-card figcaption{font-size:.78rem}}
@media (max-width:430px){.gf-gallery-grid--preview{grid-template-columns:repeat(2,minmax(0,1fr))}.gf-gallery-filters{gap:.4rem}.gf-gallery-filter{font-size:.78rem;padding:.45rem .65rem}}
