/* GoPatooh Gallery. This file loads directly on /gallery through $extraStyles. */
.gallery-page{background:#fbfaf8;color:#0B513A}
.gallery-page .public-shell{width:80%;max-width:none;margin-inline:auto}
.gallery-page [hidden]{display:none!important}
.gallery-intro-section{background:#fff;padding:clamp(2.3rem,5vw,4rem) 0;border-bottom:1px solid #e3e8e2}
.gallery-intro-inner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(275px,.75fr);gap:clamp(1.4rem,4vw,4rem);align-items:center}
.gallery-eyebrow{display:inline-flex;align-items:center;gap:.5rem;color:#EE6A04;font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;font-weight:700;margin-bottom:1rem}
.gallery-intro-section h1{font-family:inherit;font-size:clamp(2rem,3vw,3rem);line-height:1.14;letter-spacing:-.025em;color:#0B513A;font-weight:700;margin:0 0 1.05rem;max-width:20ch}
.gallery-intro-copy{font-size:clamp(.94rem,1vw,1.05rem);line-height:1.75;color:#43554c;max-width:65ch}
.gallery-intro-copy :first-child{margin-top:0}.gallery-intro-copy :last-child{margin-bottom:0}
.gallery-intro-aside{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:1.15rem;background:#f7f9f6;border:1px solid #dfe8e0;border-radius:1rem}
.gallery-stat{display:flex;align-items:center;gap:.65rem;flex:1 1 85px}.gallery-stat-icon{width:2.6rem;height:2.6rem;display:grid;place-items:center;background:#fff;border:1px solid #dee6df;color:#EE6A04;border-radius:.8rem;font-size:1.15rem}.gallery-stat strong{display:block;font-size:1.35rem;line-height:1.1;color:#0B513A}.gallery-stat small{display:block;color:#53645b;font-size:.75rem;margin-top:.18rem}
.gallery-plan-link{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;width:100%;padding:.85rem 1rem;background:#0B513A;color:#fff!important;border-radius:.7rem;font-size:.85rem;font-weight:650;text-decoration:none!important;transition:background .2s ease}.gallery-plan-link:hover{background:#EE6A04;color:#fff!important}
.gallery-mosaic-section{padding:clamp(2.4rem,5vw,4rem) 0 clamp(4rem,7vw,6rem)}
.gallery-toolbar{display:flex;gap:1.3rem;align-items:end;justify-content:space-between;margin-bottom:1.35rem;flex-wrap:wrap}
.gallery-toolbar-kicker{font-size:.7rem;letter-spacing:.1em;font-weight:750;color:#EE6A04}.gallery-toolbar h2{font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.18;color:#0B513A;margin:.35rem 0 0;font-weight:700;letter-spacing:-.015em}
.gallery-tabs{display:flex;flex-wrap:wrap;gap:.45rem;max-width:100%;background:#fff;border:1px solid #dfe5de;border-radius:.85rem;padding:.35rem}
.gallery-tab{border:0;border-radius:.55rem;padding:.62rem .82rem;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;background:transparent;color:#0B513A;font:inherit;font-size:.79rem;font-weight:650;white-space:nowrap;cursor:pointer}
.gallery-tab span{display:inline-grid;min-width:1.35rem;height:1.35rem;padding:0 .25rem;border-radius:20px;place-items:center;background:#f0f3ee;color:#4b5c51;font-size:.68rem}
.gallery-tab:hover:not(.is-active){background:#f4f6f2;color:#0B513A}.gallery-tab.is-active{background:#0B513A;color:#fff}.gallery-tab.is-active span{background:#EE6A04;color:#fff}
.gallery-tab:focus-visible,.gallery-tile-button:focus-visible,.gallery-plan-link:focus-visible,.gallery-lightbox button:focus-visible{outline:3px solid #EE6A04;outline-offset:3px}
.gallery-mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.7rem,1.3vw,1.15rem);align-items:stretch}
.gallery-tile{min-width:0;overflow:hidden;background:#fff;border:1px solid #e1e7e0;border-radius:1rem;box-shadow:0 8px 25px rgba(19,45,30,.055);transition:box-shadow .2s ease,transform .2s ease}
.gallery-tile:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(19,45,30,.105)}
.gallery-tile-button{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in;font:inherit}
.gallery-media-wrap{display:block;position:relative;overflow:hidden;aspect-ratio:5/4;background:#e8ede6}
.gallery-tile.is-landscape .gallery-media-wrap{aspect-ratio:3/2}.gallery-tile.is-portrait .gallery-media-wrap{aspect-ratio:4/5}
.gallery-media-wrap img,.gallery-media-wrap video{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.gallery-tile-button:hover .gallery-media-wrap img,.gallery-tile-button:hover .gallery-media-wrap video{transform:scale(1.035)}
.gallery-kind{position:absolute;top:.8rem;left:.8rem;display:inline-flex;gap:.4rem;align-items:center;border-radius:3rem;background:#fff;color:#0B513A;font-size:.7rem;font-weight:650;padding:.42rem .72rem;box-shadow:0 2px 12px rgba(0,0,0,.1)}
.gallery-video-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;width:3.7rem;height:3.7rem;place-items:center;border-radius:50%;background:#EE6A04;color:#fff;font-size:1.7rem;pointer-events:none}
.gallery-tile-footer{display:flex;align-items:center;gap:.75rem;justify-content:space-between;flex:1;padding:1rem 1.05rem 1.05rem}
.gallery-tile-copy{display:grid;min-width:0;gap:.3rem}.gallery-tile-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.95rem;font-weight:700;color:#0B513A;line-height:1.4}.gallery-tile-copy>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.78rem;line-height:1.5;color:#526057}
.gallery-tile-action{display:grid;place-items:center;flex:0 0 2.2rem;width:2.2rem;height:2.2rem;color:#EE6A04;border:1px solid #f1d8c7;border-radius:50%;transition:background .2s,color .2s}.gallery-tile-button:hover .gallery-tile-action{background:#EE6A04;color:#fff}
.gallery-public-empty{display:grid;justify-items:center;gap:.65rem;min-height:260px;align-content:center;text-align:center;padding:3rem 1.5rem;background:#fff;border:1px solid #e1e7e0;border-radius:1rem}.gallery-public-empty i{font-size:2rem;color:#EE6A04}.gallery-public-empty h2,.gallery-public-empty h3{margin:0;font-size:clamp(1.3rem,2vw,1.65rem);color:#0B513A}.gallery-public-empty p{max-width:45ch;color:#58645c;font-size:.9rem;line-height:1.6;margin:0}
.gallery-lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:1rem}.gallery-lightbox-backdrop{position:absolute;inset:0;background:rgba(8,24,16,.94)}
.gallery-lightbox-dialog{position:relative;z-index:1;display:grid;grid-template-columns:3rem minmax(0,1fr) 3rem;grid-template-rows:minmax(0,1fr) auto;width:min(1180px,96vw);height:min(88dvh,850px);overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:1rem;background:#10271d;box-shadow:0 20px 65px rgba(0,0,0,.35)}
.gallery-lightbox-stage{grid-column:2;display:grid;min-width:0;min-height:0;place-items:center;padding:.8rem}.gallery-lightbox-stage img,.gallery-lightbox-stage video{display:block;max-width:100%;max-height:calc(88dvh - 115px);object-fit:contain}.gallery-lightbox-stage video{width:min(1050px,100%)}
.gallery-lightbox-copy{grid-column:1/-1;color:#fff;text-align:center;padding:.8rem 3.5rem 1rem;border-top:1px solid rgba(255,255,255,.2)}.gallery-lightbox-copy strong{font-size:.97rem}.gallery-lightbox-copy p{font-size:.78rem;color:#d6e1d9;margin:.4rem 0 0}
.gallery-lightbox-nav,.gallery-lightbox-close{display:grid;place-items:center;border:0;color:#fff;cursor:pointer;background:transparent;font-size:1.3rem}.gallery-lightbox-nav:hover,.gallery-lightbox-close:hover{background:rgba(255,255,255,.15)}.gallery-lightbox-nav{width:100%;align-self:stretch}.gallery-lightbox-close{position:absolute;top:.65rem;right:.65rem;z-index:5;width:2.6rem;height:2.6rem;border-radius:50%;background:#0B513A}
body.gallery-modal-open{overflow:hidden}
@media(max-width:1199px){.gallery-page .public-shell{width:92%}.gallery-intro-inner{grid-template-columns:minmax(0,1.5fr) minmax(230px,.8fr)}.gallery-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.gallery-page .public-shell{width:calc(100% - 28px)}.gallery-intro-section{padding:2rem 0}.gallery-intro-inner{grid-template-columns:1fr}.gallery-intro-aside{gap:.75rem}.gallery-plan-link{width:auto;min-width:100%}.gallery-toolbar{align-items:stretch;gap:1rem}.gallery-toolbar h2{font-size:1.45rem}.gallery-tabs{width:100%;justify-content:space-between}.gallery-tab{flex:1;padding:.65rem .45rem}.gallery-mosaic{grid-template-columns:1fr;gap:1rem}.gallery-tile-footer{padding:.92rem}.gallery-lightbox{padding:.35rem}.gallery-lightbox-dialog{width:100%;height:min(85dvh,800px);grid-template-columns:2.25rem minmax(0,1fr) 2.25rem}.gallery-lightbox-copy{padding:.65rem 2.8rem .85rem}.gallery-lightbox-stage{padding:.2rem}.gallery-lightbox-stage img,.gallery-lightbox-stage video{max-height:calc(85dvh - 110px)}}
@media(prefers-reduced-motion:reduce){.gallery-tile,.gallery-media-wrap img,.gallery-media-wrap video,.gallery-tile-action{transition:none}}
