.ad-gallery{--gallery-ink:#231c42;--gallery-muted:#544a70;--gallery-purple:#5932c6;--gallery-line:#c9bee2;color:var(--gallery-ink);background:linear-gradient(150deg,#fbf9ff 0%,#e4d8ff 35%,#dddfff 69%,#f6e6fc 100%);padding:clamp(2.25rem,5vw,5rem) clamp(1.25rem,4.6vw,5rem) clamp(3rem,6vw,6rem);position:relative;isolation:isolate;overflow:hidden}
.ad-gallery:before{content:"";position:absolute;width:42rem;height:42rem;right:-22rem;top:11rem;border:1px solid #ae93de;border-radius:50%;box-shadow:0 0 0 3rem #ffffff30,0 0 0 6rem #ffffff30;z-index:-1;pointer-events:none}
.ad-gallery-heading{max-width:1440px;margin:0 auto clamp(2rem,5vw,4rem);display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:end}
.ad-gallery-kicker{font-size:.7rem!important;letter-spacing:.2em;text-transform:uppercase;color:var(--gallery-purple);font-weight:700;margin:0 0 1.65rem!important}
.ad-gallery h1{font-size:clamp(3.1rem,6.3vw,6.9rem);line-height:.98;letter-spacing:-.057em;font-weight:500;margin:0;max-width:13ch}
.ad-gallery h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:var(--gallery-purple);letter-spacing:-.053em}
.ad-gallery-lead{max-width:39rem;padding-bottom:.25rem}
.ad-gallery-lead>p:first-child{color:var(--gallery-muted);font-size:clamp(1.1rem,1.5vw,1.45rem);line-height:1.55;letter-spacing:-.015em;margin:0 0 1.1rem}
.ad-gallery-disclosure{font-size:.78rem!important;line-height:1.65;color:var(--gallery-muted);max-width:48ch;margin:0!important}
.ad-gallery-tools,.ad-gallery-grid,.ad-gallery-empty,.ad-gallery-noscript{max-width:1440px;margin-left:auto;margin-right:auto}
.ad-gallery-tools[hidden],.ad-gallery-empty[hidden],.ad-gallery-reset[hidden],.ad-gallery-video-links a[hidden]{display:none!important}
.ad-gallery-source{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.6rem}
.ad-gallery button,.ad-gallery select,.ad-gallery input{font:inherit}
.ad-gallery button{cursor:pointer}
.ad-gallery-source button{border:1px solid var(--gallery-line);border-radius:100px;background:#ffffff66;color:var(--gallery-ink);padding:.8rem 1.2rem;font-size:.8rem;font-weight:600;line-height:1.25}
.ad-gallery-source button[aria-pressed=true]{border-color:var(--gallery-ink);background:var(--gallery-ink);color:#fff}
.ad-gallery-source button:hover{background:#d2c3f0}
.ad-gallery-source button[aria-pressed=true]:hover{background:#3d285e}
.ad-gallery-inputs{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(10rem,15rem) minmax(10rem,13rem) auto;gap:.9rem;align-items:end}
.ad-gallery-inputs label{display:flex;flex-direction:column;gap:.5rem;font-size:.7rem;font-weight:600;letter-spacing:.035em;color:var(--gallery-muted)}
.ad-gallery-inputs input,.ad-gallery-inputs select{height:3rem;border:1px solid #8a779e;border-radius:.5rem;background:#ffffff85;color:var(--gallery-ink);font-size:.83rem;padding:.7rem .85rem;min-width:0;width:100%}
.ad-gallery-inputs select{padding-right:1.7rem;cursor:pointer}
.ad-gallery-search>span{position:relative}
.ad-gallery-search svg{position:absolute;left:.9rem;top:.8rem;width:1.25rem;height:1.25rem;fill:none;stroke:var(--gallery-muted);stroke-width:1.7;pointer-events:none}
.ad-gallery-search input{padding-left:2.65rem}
.ad-gallery-search input::placeholder{color:#69617b;opacity:1}
.ad-gallery-density{display:flex;height:3rem;border:1px solid #8a779e;border-radius:.5rem;padding:.2rem;gap:.2rem;background:#ffffff66}
.ad-gallery-density button{width:2.7rem;background:transparent;color:var(--gallery-ink);border:0;border-radius:.3rem;font-size:.85rem}
.ad-gallery-density button[aria-pressed=true]{background:var(--gallery-ink);color:#fff}
.ad-gallery-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.3rem}
.ad-gallery-summary p{font-size:.75rem;line-height:1.45;color:var(--gallery-muted);margin:0}
.ad-gallery-reset{font-size:.75rem;background:transparent;color:var(--gallery-purple);border:0;text-decoration:underline;text-underline-offset:.25rem;padding:.55rem 0}
.ad-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.8rem,1.6vw,1.5rem);align-items:start}
.ad-gallery-grid[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.ad-gallery-card{display:block;color:var(--gallery-ink);text-decoration:none;min-width:0;transition:transform .25s ease}
.ad-gallery-card[hidden]{display:none!important}
.ad-gallery-card:hover{transform:translateY(-5px)}
.ad-gallery-card-cover{position:relative;display:block;aspect-ratio:9/16;overflow:hidden;border-radius:1.1rem;background:#b4a3d2;box-shadow:0 7px 22px #56317714}
.ad-gallery-card-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#100a271f 0%,transparent 40%,#100a274d 100%);pointer-events:none}
.ad-gallery-card-cover img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}
.ad-gallery-card[data-gallery-source="studio"] .ad-gallery-card-cover img{object-fit:contain;background:#161024}
.ad-gallery-card:hover img{transform:scale(1.025)}
.ad-gallery-card[data-gallery-source="studio"]:hover img{transform:none}
.ad-gallery-card-play{position:absolute;inset:0;z-index:2;display:grid;place-items:center;pointer-events:none}
.ad-gallery-card-play:before{content:"";height:3.2rem;width:3.2rem;border:1px solid #ffffffa6;background:#20153c78;border-radius:100%;box-shadow:0 5px 22px #0b061940;backdrop-filter:blur(6px)}
.ad-gallery-card-play:after{content:"";position:absolute;width:0;height:0;border-top:.42rem solid transparent;border-bottom:.42rem solid transparent;border-left:.65rem solid white;transform:translateX(.12rem)}
.ad-gallery-card-badge{position:absolute;left:.7rem;top:.7rem;z-index:2;color:#fff;background:#22173cec;border:1px solid #ffffff44;border-radius:100px;font-size:.59rem;font-weight:600;line-height:1.2;letter-spacing:.015em;padding:.42rem .6rem;max-width:calc(100% - 1.4rem)}
.ad-gallery-card[data-gallery-source="studio"] .ad-gallery-card-badge{background:#6930c4eb}
.ad-gallery-card-duration{position:absolute;bottom:.7rem;right:.7rem;z-index:2;font-size:.65rem;line-height:1.2;color:#fff;background:#181025da;padding:.35rem .5rem;border-radius:.3rem;font-variant-numeric:tabular-nums}
.ad-gallery-card-title{display:block;font-size:clamp(.9rem,1.1vw,1.05rem);font-weight:600;letter-spacing:-.012em;line-height:1.4;margin:1rem 0 .3rem}
.ad-gallery-card-meta{display:block;font-size:.68rem;line-height:1.5;color:var(--gallery-muted)}
.ad-gallery-empty{text-align:center;padding:4rem 1rem 2rem}
.ad-gallery-empty-title{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:2.1rem;margin:0 0 .8rem}
.ad-gallery-empty p:not(.ad-gallery-empty-title){font-size:.85rem;color:var(--gallery-muted);line-height:1.6}
.ad-gallery-empty button{background:var(--gallery-ink);color:white;font-size:.8rem;border:0;border-radius:100px;padding:.8rem 1.25rem;margin-top:1rem}
.ad-gallery-noscript{font-size:.8rem;line-height:1.6;margin-bottom:1.5rem}
.ad-gallery :focus-visible{outline:3px solid #5932c6;outline-offset:4px}
.ad-gallery-dialog{position:fixed;max-width:1000px;width:calc(100% - 2.5rem);max-height:calc(100% - 2.5rem);padding:0;border:1px solid #a998c5;border-radius:1.1rem;background:#f6efff;color:var(--gallery-ink);overflow:auto;box-shadow:0 25px 100px #07011070}
.ad-gallery-dialog::backdrop{background:#120d25c9;backdrop-filter:blur(8px)}
.ad-gallery-dialog-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ad-gallery-viewer{display:flex;align-items:center;justify-content:center;background:#09080e;position:relative;min-height:18rem}
.ad-gallery-video{display:block;width:100%;max-height:calc(100dvh - 3rem);object-fit:contain;aspect-ratio:9/16;background:#09080e}
.ad-gallery-close{position:absolute;right:.8rem;top:.8rem;z-index:2;border:1px solid #ffffff90;border-radius:50%;height:2.5rem;width:2.5rem;background:#1d162ded;color:#fff;font-size:1.6rem;line-height:1;display:grid;place-items:center;box-shadow:0 1px 12px #0006}
.ad-gallery-close:hover{background:#6930c4}
.ad-gallery-video-details{padding:clamp(1.3rem,3vw,3rem);align-self:center}
.ad-gallery-video-source{font-size:.66rem;text-transform:uppercase;letter-spacing:.12em;color:var(--gallery-purple);line-height:1.5;margin:0 0 1rem}
.ad-gallery-video-details h2{font-size:clamp(1.65rem,2.4vw,2.7rem);font-weight:500;letter-spacing:-.04em;line-height:1.14;margin:0 0 1.2rem}
.ad-gallery-video-details>p:not(.ad-gallery-video-source){font-size:.88rem;line-height:1.65;color:var(--gallery-muted);margin:0 0 1rem}
.ad-gallery-video-credit{font-size:.73rem!important;padding-top:1rem;border-top:1px solid var(--gallery-line)}
.ad-gallery-video-links{display:flex;flex-wrap:wrap;gap:.75rem 1rem;margin:1.25rem 0 2rem}
.ad-gallery-video-links a{font-size:.72rem;color:var(--gallery-purple);text-decoration:underline;text-underline-offset:.3rem;line-height:1.5}
.ad-gallery-project-link{display:inline-flex;align-items:center;justify-content:space-between;gap:1.5rem;background:var(--gallery-ink);color:#fff!important;border-radius:100px;font-size:.8rem;padding:.95rem 1.35rem;text-decoration:none}
@media(min-width:1600px){.ad-gallery{padding-left:max(4.6vw,calc((100vw - 1440px)/2));padding-right:max(4.6vw,calc((100vw - 1440px)/2))}}
@media(max-width:1000px){.ad-gallery-heading{gap:2rem}.ad-gallery-inputs{grid-template-columns:minmax(10rem,1fr) minmax(9rem,13rem) minmax(9rem,12rem)}.ad-gallery-density{display:none}.ad-gallery-grid,.ad-gallery-grid[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.ad-gallery-heading{grid-template-columns:1fr;gap:1.7rem}.ad-gallery-kicker{margin-bottom:1.25rem!important}.ad-gallery h1{font-size:clamp(3.3rem,10.2vw,5rem)}.ad-gallery-lead{max-width:35rem}.ad-gallery-lead>p:first-child{color:var(--gallery-muted);font-size:1.03rem}.ad-gallery-inputs{grid-template-columns:1fr 1fr;gap:.8rem}.ad-gallery-search{grid-column:1/-1}.ad-gallery-grid,.ad-gallery-grid[data-columns="3"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem .8rem}.ad-gallery-card-cover{border-radius:.8rem}.ad-gallery-card-title{font-size:.88rem;margin:.75rem 0 .25rem}.ad-gallery-card-meta{font-size:.65rem}.ad-gallery-source{gap:.35rem;margin-bottom:1.2rem}.ad-gallery-source button{font-size:.73rem;padding:.7rem .9rem}.ad-gallery-dialog{width:calc(100% - 1.25rem);max-height:calc(100% - 1.25rem);border-radius:.8rem}.ad-gallery-dialog-inner{grid-template-columns:1fr}.ad-gallery-video{max-height:65dvh}.ad-gallery-viewer{min-height:0}.ad-gallery-video-details{padding:1.5rem}.ad-gallery-video-details h2{font-size:1.9rem}.ad-gallery-video-links{margin-bottom:1.4rem}.ad-gallery-card-play:before{height:2.7rem;width:2.7rem}}
@media(max-width:359px){.ad-gallery-grid,.ad-gallery-grid[data-columns="3"]{grid-template-columns:1fr}.ad-gallery-card-cover{max-height:33rem}.ad-gallery-source button{font-size:.69rem;padding:.65rem .75rem}}
@media(prefers-reduced-motion:reduce){.ad-gallery-card,.ad-gallery-card-cover img{transition:none}.ad-gallery-card:hover{transform:none}.ad-gallery-card:hover img{transform:none}}

.ad-gallery-viewer :focus-visible{outline-color:#e9dcff}
.ad-gallery-loadmore-wrap{max-width:1440px;margin:2.5rem auto 0;display:flex;justify-content:center}
.ad-gallery-loadmore-wrap[hidden],.ad-gallery-play-video[hidden]{display:none!important}
.ad-gallery-loadmore{border:1px solid var(--gallery-ink);border-radius:100px;background:var(--gallery-ink);color:#fff;padding:1rem 1.5rem;font-size:.8rem;line-height:1.3}
.ad-gallery-loadmore:hover{background:#5932c6}
.ad-gallery-play-video{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:.65rem;min-width:9rem;border:1px solid #ffffffaa;border-radius:1rem;background:#24143ee8;color:#fff;padding:1.1rem 1.4rem;font-size:.78rem;box-shadow:0 6px 30px #0005}
.ad-gallery-play-video:hover{background:#5932c6}
.ad-gallery-play-symbol{font-size:1.65rem;line-height:1}
.ad-gallery-playback-status{color:#5932c6!important;font-size:.76rem!important}
.ad-gallery-playback-status:empty{display:none}
