/* The adopted Clear gallery composition, scoped for advertiser reuse. */
.ad-gallery{--gallery-ink:#243748;--gallery-accent:#85601d;--gallery-line:#eadbb9;color:var(--gallery-ink);border:1px solid var(--gallery-line);border-radius:20px;padding:24px;background:#fffdf8;min-width:0;max-width:100%;margin:0 0 28px}
.ad-gallery-track{display:flex;width:100%;height:auto;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:auto;overscroll-behavior-x:contain;border-radius:14px;scrollbar-width:thin;scrollbar-color:#b49a65 #f4efdf}
.ad-gallery-slide{box-sizing:border-box;flex:0 0 100%;width:100%;min-width:0;margin:0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:32px;align-items:center;padding:22px;border:1px solid var(--gallery-line);border-radius:14px;background:#fff;scroll-snap-align:start;scroll-snap-stop:always}
.ad-gallery-figure{min-width:0}.ad-gallery-image-frame{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:355px;padding:12px;border:0;border-radius:12px;background:#fbf5e7;text-decoration:none;overflow:hidden}.ad-gallery-image-frame img{display:block;width:auto;height:auto;max-width:100%;max-height:331px;object-fit:contain;margin:auto}.ad-gallery-zoom-hint{position:absolute;right:10px;bottom:10px;font-size:11px;line-height:1.6;padding:3px 8px;border:1px solid var(--gallery-line);border-radius:3px;background:#ffffffed;color:var(--gallery-accent)}
.ad-gallery-copy{min-width:0}.ad-gallery-number{font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--gallery-accent);margin:0 0 12px}.oasis-page .ad-gallery-copy h3{font-size:29px;line-height:1.5;font-weight:700;letter-spacing:normal;margin:0 0 16px}.ad-gallery-copy>p:last-child{font-size:17px;line-height:1.9;margin:0;max-width:25em}.ad-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.ad-gallery-controls button{min-width:88px;min-height:44px;padding:8px 16px;border:1px solid var(--gallery-line);border-radius:10px;background:#fff;color:var(--gallery-accent);font:inherit;font-size:14px;font-weight:750}.ad-gallery-single .ad-gallery-controls{justify-content:center}.ad-gallery-status{color:var(--gallery-ink);font-size:14px;font-weight:750;text-align:center}.ad-gallery-status p,.oasis-page .ad-gallery-status p+p{margin:0}.ad-gallery [hidden],.ad-gallery-lightbox [hidden]{display:none!important}.ad-gallery :focus-visible{outline:3px solid var(--gallery-accent);outline-offset:3px}
html.ad-gallery-zoom-open{overflow:hidden}
.ad-gallery-lightbox{box-sizing:border-box;width:min(980px,96vw);height:min(900px,94dvh);max-width:96vw;max-height:94dvh;margin:auto;border:0;border-radius:8px;padding:16px 20px;background:#fcfbf8;color:#38372f;overflow:hidden;transform:translate3d(0,var(--ad-gallery-drag-y,0px),0);opacity:var(--ad-gallery-drag-opacity,1);transition:transform 180ms ease-out,opacity 180ms ease-out}
.ad-gallery-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px}.ad-gallery-lightbox::backdrop{background:rgba(15,24,30,var(--ad-gallery-backdrop-alpha,.85));transition:background 180ms ease-out}.ad-gallery-lightbox.ad-gallery-lightbox-dragging,.ad-gallery-lightbox.ad-gallery-lightbox-dragging::backdrop{transition:none}
.ad-gallery-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;min-width:0}.ad-gallery-lightbox button{position:static;display:grid;place-items:center;min-width:44px;min-height:44px;padding:6px 12px;background:#fff;color:#5b513d;border:1px solid #bcb4a4;border-radius:4px;font:inherit;cursor:pointer}.ad-gallery-lightbox button:focus-visible{outline:2px solid #5b513d;outline-offset:2px}.ad-gallery-lightbox button:hover{background:#eeebe2}
.ad-gallery-lightbox-stage{position:relative;display:block;min-height:0;min-width:0;overflow:hidden;background:#fff;border:1px solid #e4e0d7;touch-action:pinch-zoom;user-select:none}.ad-gallery-lightbox-track{display:flex;width:100%;height:100%;transform:translate3d(calc(-100% + var(--ad-gallery-swipe-x,0px)),0,0)}.ad-gallery-lightbox-single .ad-gallery-lightbox-track{transform:none}.ad-gallery-lightbox-slide{display:flex;align-items:center;justify-content:center;flex:0 0 100%;width:100%;height:100%;min-width:0;overflow:hidden}.ad-gallery-lightbox-stage img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;user-select:none}.ad-gallery-lightbox-track.ad-gallery-lightbox-settling{transition:transform 220ms cubic-bezier(.2,.7,.2,1)}
.ad-gallery-lightbox-controls{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:12px;align-items:center}.ad-gallery-lightbox-single .ad-gallery-lightbox-controls{grid-template-columns:1fr}.ad-gallery-lightbox-controls button{font-size:28px;line-height:1}.ad-gallery-lightbox-status{text-align:center;min-width:0;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.5}.ad-gallery-lightbox-status span{display:block;overflow-wrap:anywhere}.ad-gallery-lightbox-status [data-ad-gallery-zoom-caption]{font-size:11px;color:#706b5f}.ad-gallery-lightbox-note{font-size:11px;line-height:1.7;text-align:center;color:#706b5f;margin:0;min-height:38px;overflow-wrap:anywhere}
@media(max-width:800px){.ad-gallery{padding:14px;border-radius:16px}.ad-gallery-slide{grid-template-columns:1fr;gap:18px;padding:16px}.ad-gallery-image-frame{height:296px;padding:10px}.ad-gallery-image-frame img{max-height:276px}.oasis-page .ad-gallery-copy h3{font-size:24px;margin-bottom:10px}.ad-gallery-number{margin-bottom:7px;font-size:11px}.ad-gallery-copy>p:last-child{font-size:16px;line-height:1.8}.ad-gallery-controls{margin-top:13px}}
@media(max-width:700px){.ad-gallery-lightbox{padding:12px;gap:8px}.ad-gallery-lightbox-toolbar{font-size:11px}.ad-gallery-lightbox-controls{gap:8px}}
@media(max-height:450px){.ad-gallery-lightbox{height:96dvh;max-height:96dvh;padding:8px 12px}.ad-gallery-lightbox[open]{gap:4px}.ad-gallery-lightbox-note{min-height:0;font-size:10px}.ad-gallery-lightbox-toolbar button,.ad-gallery-lightbox-controls button{min-height:36px}}
@media(prefers-reduced-motion:reduce){.ad-gallery-lightbox,.ad-gallery-lightbox::backdrop,.ad-gallery-lightbox-track.ad-gallery-lightbox-settling{transition:none}}
