
.ad-gallery-page{padding-bottom:70px}
.ad-gallery-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:70px;align-items:end;padding:70px 0 55px}
.ad-gallery-intro .eyebrow{color:#b9004e}
.ad-gallery-intro h1{font-size:clamp(40px,5vw,68px);line-height:1.08;margin:22px 0 0;letter-spacing:-.035em}
.ad-gallery-intro-copy{max-width:420px;padding-bottom:5px}
.ad-gallery-intro-copy p{font-size:16px;color:var(--muted);text-align:justify;hyphens:none;margin-bottom:22px}
.ad-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:25px 0}
.ad-gallery-filters{display:flex;flex-wrap:wrap;gap:8px}
.ad-gallery-filters[hidden]{display:none}
.ad-gallery-filters button{border:1px solid #e7dce1;background:#fff;color:#493840;padding:11px 17px;border-radius:999px;font-size:14px;line-height:1.4;transition:background .2s,color .2s}
.ad-gallery-filters button[aria-pressed="true"]{background:#b9004e;color:#fff;border-color:#b9004e}
.ad-gallery-filters button:hover{background:#fff0f6;color:#960040}
.ad-gallery-filters button[aria-pressed="true"]:hover{background:#960040;color:#fff}
.ad-gallery-count{font-size:13px;color:var(--muted);white-space:nowrap;margin:0}
.ad-gallery-mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:230px;grid-auto-flow:dense;gap:18px}
.ad-gallery-mosaic .ad-gallery-item{border-radius:18px;isolation:isolate}
.ad-gallery-mosaic .ad-gallery-item[hidden]{display:none}
.ad-gallery-mosaic .ad-gallery-item:nth-child(6n+1){grid-column:span 2;grid-row:span 2}
.ad-gallery-mosaic .ad-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ad-gallery-mosaic .ad-gallery-item::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none;z-index:0}
.ad-gallery-label{position:absolute;bottom:22px;left:22px;color:#fff;font-size:16px;line-height:1.4;font-weight:500;z-index:1}
.ad-gallery-open{position:absolute;right:18px;bottom:18px;display:grid;place-items:center;width:38px;height:38px;background:#fff;color:#b9004e;border-radius:50%;font-size:21px;z-index:1;transition:background .2s,color .2s}
.ad-gallery-item:hover .ad-gallery-open{background:#b9004e;color:#fff}
.ad-gallery-item:focus-visible{outline-offset:4px}
.ad-gallery-cta{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-top:65px;padding:38px;border:1px solid #eadce2;border-radius:20px;background:#fff7fa}
.ad-gallery-cta .eyebrow{color:#960040}
.ad-gallery-cta h2{font-size:clamp(28px,3vw,40px);margin:16px 0 0;max-width:650px}
.ad-gallery-cta .button{flex-shrink:0;background:#b9004e;color:#fff}
.ad-gallery-cta .button:hover{background:#960040;color:#fff}
.ad-gallery-page .ad-photo-dialog figure img{touch-action:pan-y}
html:has(.ad-gallery-page dialog[open]){overflow:hidden}
@media(max-width:1000px){.ad-gallery-toolbar{align-items:flex-start;flex-direction:column;gap:14px}.ad-gallery-intro{gap:35px}.ad-gallery-mosaic{grid-auto-rows:190px}}
@media(max-width:700px){.ad-gallery-intro{grid-template-columns:1fr;gap:25px;padding:40px 0 35px}.ad-gallery-intro-copy{max-width:none}.ad-gallery-intro h1{font-size:42px}.ad-gallery-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:200px;gap:12px}.ad-gallery-mosaic .ad-gallery-item:nth-child(6n+1){grid-column:span 2;grid-row:span 1}.ad-gallery-filters button{padding:10px 14px}.ad-gallery-label{left:15px;bottom:17px;font-size:14px;max-width:calc(100% - 65px)}.ad-gallery-open{width:30px;height:30px;right:12px;bottom:12px}.ad-gallery-cta{align-items:flex-start;flex-direction:column;padding:28px;margin-top:40px}}
@media(max-width:420px){.ad-gallery-mosaic{grid-auto-rows:170px}.ad-gallery-intro h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.ad-gallery-mosaic .ad-gallery-item img,.ad-gallery-open,.ad-gallery-filters button{transition:none}.ad-gallery-mosaic .ad-gallery-item:hover img{transform:none}}
