/* Gallery frames 523:417, 525:485, 526:447 and 526:653. */
.tribus-gallery{background:#fff}
.tg-masthead{position:relative;isolation:isolate;display:grid;place-items:center;min-height:217px;overflow:hidden;background:var(--tribus-purple,#622364);padding:35px 24px 48px}
.tg-masthead__pattern{position:absolute;z-index:-1;width:128.7058%;max-width:none!important;left:-14.375%;top:calc(var(--tribus-unit)*-33.752);height:auto;opacity:.14;pointer-events:none}
.tribus-gallery .tg-masthead h1{font-family:var(--tribus-display,'Biscuit Chicken',Impact,sans-serif);font-size:clamp(64px,5vw,96px);font-weight:400;line-height:1.3;text-align:center;color:#ffdd00;margin:0}
.tg-surface{position:relative;margin-top:-24px;border-radius:24px 24px 0 0;background:#f7f7f7;padding:32px clamp(20px,1.667vw,32px) clamp(48px,4vw,78px);min-height:430px}
.tg-tabs{display:flex;justify-content:center;gap:20px;max-width:100%;overflow-x:auto;margin:0 0 24px;scrollbar-width:thin;scroll-padding-inline:8px}
.tg-tabs a{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px 12px;border-bottom:2px solid transparent;font-size:16px;font-weight:500;line-height:24px;color:#686f73;white-space:nowrap}
.tg-tabs a:hover{color:var(--tribus-purple,#622364)}
.tg-tabs a[aria-selected=true]{border-bottom-color:var(--tribus-purple,#622364);color:#202226}
.tg-tabs a:focus-visible{outline:3px solid var(--tribus-purple,#622364);outline-offset:-3px;border-radius:4px}
.tg-photo:focus-visible,.tg-album:focus-visible{outline:3px solid var(--tribus-purple,#622364);outline-offset:5px}
.tg-album{scroll-margin-top:24px}
.tribus-gallery .tg-album__heading{font-size:24px;line-height:1.4;color:var(--tribus-purple,#622364);margin:32px 0 24px}
.tg-enhanced .tg-album__heading{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tg-enhanced [data-gallery-panel][hidden]{display:none!important}
.tg-photos{display:grid;grid-template-columns:repeat(var(--tg-columns,3),minmax(0,426px));justify-content:center;gap:20px;align-items:start}
.tg-photo{display:block;position:relative;aspect-ratio:var(--tg-ratio,1);min-width:0;overflow:hidden;border-radius:24px;background:#dedede}
.tribus-gallery .tg-photo>img{position:absolute;left:var(--tg-img-x,0%);top:var(--tg-img-y,0%);width:var(--tg-img-w,100%);height:var(--tg-img-h,100%);max-width:none;object-fit:fill}
.tg-photo__expand{position:absolute;right:15px;bottom:15px;display:grid;place-items:center;width:40px;height:40px;background:#fff;color:var(--tribus-purple,#622364);border-radius:50%;font:24px/1 Arial,sans-serif;box-shadow:0 4px 15px #0002;opacity:0;transform:translateY(5px);transition:opacity .18s,transform .18s}
.tg-photo:hover .tg-photo__expand,.tg-photo:focus-visible .tg-photo__expand{opacity:1;transform:none}
.tg-lightbox{width:min(1180px,calc(100% - 40px));max-height:calc(100dvh - 40px);margin:auto;border:0;border-radius:22px;padding:20px 24px;background:#1f1121;color:#fff;box-shadow:0 30px 100px #0007;overflow:auto}
.tg-lightbox::backdrop{background:#130915dd;backdrop-filter:blur(5px)}
.tg-lightbox__toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}
.tribus-gallery .tg-lightbox h2{font-size:clamp(17px,1.4vw,22px);font-weight:500;line-height:1.4}
.tg-lightbox__close{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--tribus-purple,#622364);font:32px/1 Arial,sans-serif}
.tg-lightbox figure{margin:0}
.tribus-gallery .tg-lightbox figure>img{display:block;width:100%;height:min(68dvh,780px);object-fit:contain;margin:auto}
.tg-lightbox figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:14px 0 4px;font-size:14px;line-height:1.5;color:#eee}
.tg-lightbox [data-gallery-counter]{flex:none;white-space:nowrap}
.tg-lightbox__controls{display:flex;justify-content:space-between;gap:15px;margin-top:12px}
.tg-lightbox__controls button{min-height:44px;border:1px solid #ffffff5c;border-radius:24px;background:transparent;color:#fff;padding:9px 18px;font-size:14px}
.tg-lightbox__controls button:hover{background:#ffffff18}
.tg-lightbox__controls button:disabled{opacity:.4}
@media(max-width:1100px){.tg-masthead{min-height:185px}.tg-tabs{gap:6px}.tg-tabs a{font-size:14px;padding-inline:12px}.tg-photo{border-radius:18px}.tg-photos{gap:16px}}
@media(max-width:800px){.tg-masthead{min-height:172px;padding:22px 20px 38px}.tg-masthead__pattern{top:-170px;width:140%;left:-20%}.tg-surface{padding:22px 20px 45px}.tg-tabs{justify-content:flex-start;gap:4px;margin-bottom:22px;padding-bottom:2px}.tg-tabs a{font-size:14px;min-height:44px}.tg-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tg-photo__expand{opacity:1;transform:none;right:10px;bottom:10px;width:34px;height:34px;font-size:22px}.tg-lightbox{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:15px;border-radius:16px}.tg-lightbox__toolbar{gap:12px}.tribus-gallery .tg-lightbox figure>img{height:62dvh}.tg-lightbox figcaption{font-size:12px;gap:12px}.tg-lightbox__controls button{padding:10px 15px}}
@media(max-width:480px){.tg-photos{grid-template-columns:1fr;gap:20px}.tg-photo{border-radius:20px}.tg-lightbox figcaption{align-items:flex-start}.tg-lightbox [data-gallery-description]{max-width:75%}.tribus-gallery .tg-masthead h1{font-size:64px}}
@media(prefers-reduced-motion:reduce){.tg-photo__expand{transition:none}}
