/* Gallery v0.6.6, styled like SpancoX Gallery cards. Isolated from other pages. */
.gallery-topline{margin-bottom:22px}
.gallery-topline p{max-width:780px}
#gallery-filter{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 17px}
#gallery-filter button{font:700 13px/1.3 inherit;font-size:13px;font-weight:700;border:1px solid #d7dcd5;border-radius:99px;background:#fff;color:#214a3d;padding:11px 17px;box-shadow:0 2px 6px #162b1d08;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
#gallery-filter button:hover{background:#eaf3ee;border-color:#abc9b8;transform:translateY(-1px)}
#gallery-filter button.selected,#gallery-filter button[aria-pressed="true"]{color:#fff;background:#164b3b;border-color:#164b3b;box-shadow:0 4px 14px #14362b1c}
#gallery-live-status{font-size:13px;color:#758078;margin:0 0 19px}
#gallery-media.gallery-masonry{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:18px}
#gallery-media>.gallery-media-card{width:100%;display:flex;flex-direction:column;position:relative;aspect-ratio:auto;min-width:0;height:100%;padding:0;background:#fff;border:1px solid #e0e7df;border-radius:14px;overflow:hidden;text-align:left;color:#183e31;box-shadow:0 4px 18px #1e42230c;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
#gallery-media>.gallery-media-card:hover{transform:translateY(-3px);box-shadow:0 12px 27px #173c2119}
#gallery-media>.gallery-media-card:focus-visible{outline:3px solid #c49233;outline-offset:3px}
#gallery-media .gallery-media-visual{display:block;flex:none;width:100%;position:relative;aspect-ratio: 1.54 / 1;min-height:0;overflow:hidden;background:#eef0eb}
#gallery-media .gallery-media-visual img,#gallery-media .gallery-media-visual video{display:block;width:100%;height:100%;object-fit:cover;border:0;pointer-events:none;transition:transform .23s ease;background:#173e32}
#gallery-media>.gallery-media-card:hover .gallery-media-visual img,#gallery-media>.gallery-media-card:hover .gallery-media-visual video{transform:scale(1.035)}
#gallery-media .gallery-play-badge{display:flex;justify-content:center;align-items:center;position:absolute;bottom:11px;left:11px;top:auto;right:auto;width:37px;height:37px;font-size:15px;color:white;background:#0b2b24d9;border:1px solid #ffffff55;border-radius:100%;box-shadow:0 4px 10px #0005}
#gallery-media .gallery-card-body{display:block;flex:1;padding:13px 13px 15px;min-height:71px;background:#fff}
#gallery-media .gallery-card-title{position:static;display:block;padding:0;background:none;color:#183126;font-family:inherit;font-size:14px;font-weight:750;line-height:1.4;letter-spacing:0;margin:0 0 6px;overflow-wrap:anywhere}
#gallery-media .gallery-card-meta{display:block;color:#77827c;font-size:12px;font-weight:450;line-height:1.3}
#gallery-media>.gallery-media-card[hidden]{display:none!important}
/* Large lightbox with real next/previous controls for both photos and films. */
#gallery-lightbox.gallery-lightbox{box-sizing:border-box;position:fixed;margin:auto;width:min(96vw,1480px);max-width:none;max-height:none;height:min(94dvh,1000px);padding:0;overflow:hidden;border:1px solid #ffffff35;border-radius:16px;background:#0d1814;color:#fff;box-shadow:0 30px 100px #0007}
#gallery-lightbox::backdrop{background:rgba(5,13,10,.92);backdrop-filter:blur(5px)}
#gallery-lightbox .gallery-lightbox-inner{height:100%;width:100%;display:flex;flex-direction:column;position:relative}
#gallery-lightbox .gallery-lightbox-stage{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;position:relative;padding:38px 82px 14px;background:#08110e}
#gallery-lightbox .gallery-lightbox-stage img,#gallery-lightbox .gallery-lightbox-stage video{display:block;max-width:100%;width:auto;height:auto;max-height:100%;object-fit:contain;margin:auto;border-radius:3px;background:#050a08}
#gallery-lightbox .gallery-lightbox-stage iframe{display:block;aspect-ratio:16/9;width:min(100%,1200px);max-height:100%;border:0;border-radius:3px}
#gallery-lightbox .gallery-lightbox-caption{flex:none;padding:14px 24px 17px;background:#17241e;border-top:1px solid #ffffff18}
#gallery-lightbox .gallery-lightbox-counter{font-size:11px;font-weight:750;color:#b7c9ba;letter-spacing:.09em;margin:0 0 5px}
#gallery-lightbox .gallery-lightbox-caption h3{font:700 18px/1.35 inherit;font-size:18px;font-weight:700;line-height:1.35;color:#fff;margin:0}
#gallery-lightbox .gallery-lightbox-caption p{font-size:12px;color:#b9c9bf;line-height:1.5;margin:4px 0 0}
#gallery-lightbox .gallery-close,#gallery-lightbox .gallery-nav{box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:absolute;z-index:10;border:1px solid #ffffff80;border-radius:100%;color:#12382b;background:#fdfefeeb;box-shadow:0 5px 24px #0004;cursor:pointer;padding:0;line-height:1}
#gallery-lightbox .gallery-close{top:16px;right:18px;width:44px;height:44px;font-size:29px}
#gallery-lightbox .gallery-nav{top:45%;transform:translateY(-50%);width:48px;height:48px;font-size:37px;font-family:Arial,sans-serif}
#gallery-lightbox .gallery-prev{left:17px}
#gallery-lightbox .gallery-next{right:17px}
#gallery-lightbox .gallery-close:hover,#gallery-lightbox .gallery-nav:hover{background:#fff;color:#0e4934}
#gallery-lightbox .gallery-nav[hidden]{display:none!important}
@media(max-width:1100px){#gallery-media.gallery-masonry{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#gallery-media.gallery-masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#gallery-filter{gap:8px}#gallery-filter button{padding:10px 12px;font-size:12px}#gallery-lightbox.gallery-lightbox{height:94dvh;width:98vw;border-radius:12px}#gallery-lightbox .gallery-lightbox-stage{padding:60px 14px 20px}#gallery-lightbox .gallery-nav{top:auto;bottom:96px;transform:none;width:43px;height:43px;font-size:31px}#gallery-lightbox .gallery-close{right:11px;top:12px}#gallery-lightbox .gallery-lightbox-caption{padding:14px 15px 20px}}
@media(max-width:440px){#gallery-media.gallery-masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#gallery-media .gallery-card-body{padding:10px;min-height:75px}#gallery-media .gallery-card-title{font-size:12px}#gallery-media .gallery-card-meta{font-size:11px}#gallery-media .gallery-media-visual{aspect-ratio:1.08 / 1}}
