.gallery-page{padding-bottom:72px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.gallery-card{min-width:0;background:#fff;border:1px solid #dce3ec;border-radius:18px;overflow:hidden}.gallery-media{aspect-ratio:4/3;background:#edf1f8;position:relative;overflow:hidden}.gallery-media>a{display:block;width:100%;height:100%}.gallery-media img,.gallery-media video{display:block;width:100%;height:100%;object-fit:contain}.gallery-media img{object-fit:cover}.gallery-info{padding:24px}.gallery-info h2{font-size:21px;margin:12px 0}.gallery-info p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}.gallery-social-preview{position:relative;background:linear-gradient(145deg,#e9effc,#dae3f5);color:#2459d3;text-decoration:none!important}.gallery-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:50%;width:60px;height:60px;display:grid;place-items:center;font-size:31px;box-shadow:0 8px 35px #18396830}.gallery-open{position:absolute;left:14px;bottom:14px;background:#fff;padding:9px 14px;border-radius:9px;font-size:13px;font-weight:700}.gallery-unavailable{display:grid;place-items:center;height:100%;padding:25px}.gallery-page a:focus-visible{outline:3px solid #2459d3;outline-offset:-3px}.gallery-page .tabs{flex-wrap:wrap}.gallery-page #galleryStatus{color:#526173;margin:22px 0}@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.gallery-grid{grid-template-columns:1fr}.gallery-info{padding:20px}}

/* Portfolio grid: visual work first, without platform categories. */
.gallery-media{aspect-ratio:1}.gallery-grid{gap:16px}.gallery-info{padding:16px}.gallery-info h2{font-size:18px;margin:0 0 8px}.gallery-info p{font-size:14px}.gallery-page #galleryStatus:empty{display:none}
