/* Q ART reference layout — native Elementor content, scoped presentation. */
html:has(body.qart-reference){scroll-snap-type:none}
body.qart-reference .xpro-theme-builder-header{z-index:100}
body.admin-bar.qart-reference .xpro-theme-builder-header{top:32px!important}
.qart-reference .qref-panels{padding:0!important}
.qart-reference .qref-panels>.qref-panel{height:100vh!important;height:100svh!important;min-height:0!important;margin:0!important;overflow:hidden;isolation:isolate;scroll-snap-align:none}
.qart-reference .qref-panel>.qref-media{inset:-15% 0!important;height:130%!important;transform:translate3d(0,var(--qref-media-y,0px),0);will-change:transform}
.qart-reference .qref-panel img{transform:none!important;transition:none!important}
.qart-reference .qref-panel>.qref-caption{opacity:1!important;transform:translate3d(0,var(--qref-title-y,0px),0)!important;transition:none!important;will-change:transform}
.qart-reference .qref-panel .elementor-heading-title a{color:inherit}
.qart-reference .qref-statement{position:relative;z-index:1}
.qart-reference .qref-hero{position:relative;isolation:isolate;overflow:hidden;height:calc(100svh - 74px);min-height:0!important;display:flex;justify-content:center}
.qref-hero:after{content:"";position:absolute;inset:0;background:rgba(20,20,20,.25);z-index:1;pointer-events:none}
.qart-reference .qref-hero>.qref-cover{position:absolute;inset:-15% 0;width:100%;height:130%;margin:0;max-width:none;transform:translate3d(0,var(--qref-media-y,0px),0);will-change:transform}
.qref-cover .elementor-widget-container,.qref-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.qart-reference .qref-hero-title{z-index:2;max-width:1200px;width:100%;transform:translate3d(0,var(--qref-title-y,0px),0)}
.qref-hero-title .elementor-heading-title{color:#f3f3f3!important;text-wrap:balance}
.qart-reference .qref-info{padding:48px 24px 64px!important;align-items:flex-start}
.qart-reference .qart-project-meta p{display:grid;grid-template-columns:86px 1fr;gap:12px;margin:0 0 12px;font-size:15px;line-height:1.4;color:#141414}
.qart-reference .qart-project-meta span{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#4f5457;padding-top:3px;min-width:0}
.qart-reference .qart-project-text p{font-size:clamp(1rem,1.3vw,1.3rem);line-height:1.5;margin:0 0 1em}
.qart-reference .qart-project-text p:last-child{margin-bottom:0}
.qart-reference .qref-gallery-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;padding:0 24px 12px!important}
.qart-reference .qref-gallery-cell{width:100%!important;min-width:0}
.qref-gallery-row:has(>.qref-gallery-cell:nth-child(2):last-child)>.qref-gallery-cell:last-child{grid-column:span 2}
.qart-reference .qref-gallery-row img{height:64vh!important;width:100%!important;object-fit:cover}
.qart-reference .qref-grid,.qart-reference .qref-related{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 14px!important}
.qart-reference .qref-card{width:100%!important;min-width:0}
.qref-card .elementor-widget-image{overflow:hidden}
.qart-reference .qref-card img{height:52vh!important;width:100%!important;object-fit:cover;transition:transform .65s cubic-bezier(.2,.65,.3,1)}
.qref-card:hover img{transform:scale(1.035)}
.qart-reference .qref-related{padding-top:72px!important;padding-bottom:72px!important}
.qref-card a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:1024px){.qart-reference .qref-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qart-reference .qref-info>.e-con{width:100%!important}.qart-reference .qref-info{gap:32px}}
@media(max-width:767px){
body.admin-bar.qart-reference .xpro-theme-builder-header{top:46px!important}
.qart-reference .qref-panel>.qref-caption{padding:0 20px!important}
.qart-reference .qref-panel .elementor-heading-title{overflow-wrap:normal}
.qart-reference .qref-hero{height:76svh}
.qart-reference .qref-hero-title .elementor-heading-title{font-size:clamp(2.5rem,10vw,4rem)!important}
.qart-reference .qref-info{padding:32px 16px 40px!important}
.qart-reference .qart-project-text{margin-top:0!important}
.qart-reference .qref-gallery-row{grid-template-columns:1fr;padding:0 16px 12px!important}
.qart-reference .qref-gallery-row>.qref-gallery-cell{grid-column:auto!important}
.qart-reference .qref-gallery-row img{height:auto!important;min-height:0}
.qart-reference .qref-grid,.qart-reference .qref-related{grid-template-columns:1fr;gap:28px!important}
.qart-reference .qref-card img{height:58svh!important}
.qart-reference .qref-related{padding:40px 16px!important}
}
@media(prefers-reduced-motion:reduce){.qart-reference .qref-panel>.qref-media,.qart-reference .qref-panel>.qref-caption,.qart-reference .qref-hero>.qref-cover,.qart-reference .qref-hero-title{transform:none!important;will-change:auto}.qref-card img{transition:none!important}.qref-card:hover img{transform:none}}

html:has(body.qart-reference),body.qart-reference{overflow-x:clip}
.qart-reference .entry-header{display:none}
.qref-card .elementor-heading-title a{text-decoration:none!important}
@media(max-width:767px){.qart-reference .xpro-theme-builder-header .elementor-widget-xpro-button{display:none!important}.qart-reference .xpro-theme-builder-header{min-height:64px}.qart-reference .qref-grid{padding-top:16px!important}}

.qref-panel .elementor-heading-title a{text-decoration:none!important}

.qart-reference .qref-panels{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}

/* 2026-09-16: reserve the desktop navigation area for the intro film. */
@media(min-width:1025px){
 body.qart-reference .qart-hv{
  top:calc(74px + var(--wp-admin--admin-bar--height,0px));
  height:calc(100svh - 74px - var(--wp-admin--admin-bar--height,0px));
  margin-bottom:calc(-100svh + 74px + var(--wp-admin--admin-bar--height,0px));
 }
}
/* Scroll position must be the only driver, with no delayed transform catch-up. */
.qart-reference .qref-panel>.qref-media,
.qart-reference .qref-panel>.qref-caption,
.qart-reference .qref-hero>.qref-cover,
.qart-reference .qref-hero-title{
 transition:none!important;
 animation:none!important;
}

/* Mayer case study: show complete brand applications without cutting off artwork. */
.qart-reference .qref-mayer-hero{justify-content:flex-start!important;padding-top:clamp(64px,10vh,100px)!important}
.qref-mayer-hero:after{background:linear-gradient(180deg,rgba(20,20,20,.44),rgba(20,20,20,.04) 58%)}
.qref-mayer-gallery img{width:100%!important;height:auto!important;display:block}
.qref-mayer-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.qref-mayer-pair>.e-con{width:100%!important;min-width:0}
@media(max-width:767px){
 .qref-mayer-pair{grid-template-columns:1fr;gap:32px!important}
 .qart-reference .qref-mayer-hero{padding-top:64px!important}
 .qref-mayer-hero .qref-cover img{object-position:61% center!important}
 .qart-reference .qref-mayer-hero .qref-hero-title .elementor-heading-title{font-size:36px!important}
}

.qart-reference .qref-panel.qref-mayer-panel>.qref-caption{justify-content:flex-start!important;padding-top:clamp(110px,16vh,170px)!important}
.qart-reference .qref-panel.qref-mayer-panel .elementor-heading-title{font-size:clamp(44px,6vw,96px)!important}
@media(max-width:767px){.qart-reference .qref-panel.qref-mayer-panel .elementor-heading-title{font-size:36px!important}.qref-mayer-panel img{object-position:61% center!important}}

/* CBS original artwork and responsive presentation mockups */
.qart-reference .qref-cbs-hero{background:#fff!important;justify-content:flex-end!important;padding-bottom:7vh!important}
.qref-cbs-hero:after,.qref-cbs-panel:after{display:none!important}
.qart-reference .qref-cbs-hero .qref-cover img,.qart-reference .qref-cbs-panel img{object-fit:contain!important;width:65%!important;height:65%!important;margin:10vh auto 0!important}
.qref-cbs-hero .qref-hero-title .elementor-heading-title,.qref-cbs-panel .elementor-heading-title,.qref-cbs-panel .elementor-heading-title a{color:#141414!important;font-size:clamp(32px,4vw,64px)!important}
.cbs-showcase{width:100%;color:#141414}
.cbs-stationery{position:relative;min-height:650px;background:#e5e5e3;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:90px 12%}
.cbs-sheet{width:42%;aspect-ratio:.72;background:#fff;box-shadow:20px 25px 35px #0002;transform:rotate(-8deg);padding:7%;display:flex;flex-direction:column;justify-content:space-between}
.cbs-sheet img,.cbs-business-card img{width:100%}.cbs-sheet>span{font:800 clamp(14px,2vw,30px)/1.05 Archivo,sans-serif;margin-top:80px}
.cbs-business-card{position:absolute;width:29%;aspect-ratio:1.75;background:#fff;right:12%;top:31%;padding:4%;transform:rotate(9deg);box-shadow:10px 20px 30px #0003;display:flex;align-items:center}
.cbs-black-card{position:absolute;width:29%;aspect-ratio:1.75;background:#1d1d1b;right:14%;top:56%;transform:rotate(9deg);box-shadow:10px 20px 30px #0003;display:flex;align-items:center;justify-content:center;gap:4%}
.cbs-black-card i{width:3%;height:45%;background:#be1622}.cbs-black-card i:nth-child(2){background:#f39200}.cbs-black-card i:nth-child(3){background:#fcea10}.cbs-black-card i:nth-child(4){background:#95c11f}.cbs-black-card i:nth-child(5){background:#3e4e9d}
.cbs-caption{font:11px "JetBrains Mono",monospace!important;letter-spacing:1px;text-transform:uppercase;margin:12px 0 48px!important}
.cbs-desktop-stage{background:#d8d8d5;padding:8%;display:grid;place-items:center}
.cbs-browser{width:100%;max-width:1000px;border:8px solid #1d1d1b;border-radius:12px;overflow:hidden;box-shadow:0 30px 45px #0003;background:#1d1d1b}
.cbs-browser-bar{color:#e0e0e0;padding:10px 12px;font:9px "JetBrains Mono",monospace}
.cbs-browser img,.cbs-devices img{display:block;width:100%}
.cbs-devices{background:#1d1d1b;padding:8%;display:flex;gap:7%;align-items:center;justify-content:center;overflow:hidden}
.cbs-tablet{width:63%;border:12px solid #080808;border-radius:24px;overflow:hidden;box-shadow:20px 30px 45px #0008}
.cbs-phone{width:27%;border:9px solid #080808;border-radius:25px;overflow:hidden;box-shadow:15px 25px 40px #0008}
.cbs-poster-stage{background:#d8d8d5;display:flex;align-items:center;gap:10%;padding:7% 10%}
.cbs-poster-stage>img{width:43%;box-shadow:15px 20px 30px #0003}
.cbs-poster-stage>div{width:47%}.cbs-poster-stage p{font:700 clamp(20px,3vw,48px)/1.05 Archivo,sans-serif;letter-spacing:-.04em}
.cbs-poster-stage span{font:12px/1.6 "JetBrains Mono",monospace}
.qart-reference .qref-cbs-panel{background:white!important}
.qart-reference .qref-panel.qref-cbs-panel>.qref-caption{justify-content:flex-end!important;padding-bottom:8vh!important}
.qart-reference .qref-cbs-card img{object-fit:contain!important;padding:10%;background:#fff}
@media(max-width:767px){
.qart-reference .qref-cbs-gallery{padding:0 16px!important}
.cbs-stationery{min-height:370px;padding:60px 8%}.cbs-sheet{width:56%;padding:8%}.cbs-sheet>span{margin-top:40px;font-size:15px}
.cbs-business-card,.cbs-black-card{width:35%;right:7%}.cbs-caption{font-size:9px!important;margin-bottom:32px!important}
.cbs-devices{padding:8% 5%;gap:5%}.cbs-tablet{border-width:6px;border-radius:12px}.cbs-phone{border-width:4px;border-radius:12px}
.cbs-browser{border-width:5px}.cbs-browser-bar{font-size:6px;padding:6px}
.cbs-poster-stage{padding:9%;gap:8%}.cbs-poster-stage>img{width:55%}.cbs-poster-stage>div{width:37%}.cbs-poster-stage p{font-size:17px}.cbs-poster-stage span{font-size:8px}
.qart-reference .qref-cbs-hero .qref-cover img,.qart-reference .qref-cbs-panel img{width:85%!important}
}

/* CBS: full-width live homepage in place of static website mockups. */
.cbs-live-site{width:100%;height:900px;height:90svh;min-height:560px;max-height:1100px;background:#141414;overflow:hidden}
.cbs-live-site iframe{display:block;width:100%;height:100%;border:0;border-radius:0;margin:0}
.cbs-live-caption{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin:12px 0 48px}
.cbs-live-caption .cbs-caption{margin:0!important}
.cbs-live-caption>a{font:11px "JetBrains Mono",monospace;color:inherit;text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){.cbs-live-site{height:82svh;min-height:500px}.cbs-live-caption{margin-bottom:32px}}

/* CBS: fixed first-screen video-header preview, with no embedded-page interaction. */
.cbs-header-preview{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#141414;isolation:isolate}
.cbs-header-preview iframe{position:absolute;inset:0;width:100%;height:100%;display:block;border:0;border-radius:0;margin:0;pointer-events:none}
.cbs-header-preview:after{content:"";position:absolute;inset:0;z-index:1}
@media(max-width:767px){.cbs-header-preview{aspect-ratio:4/5}}

/* CBS supplied applications: flyer, event screens and silent production video. */
.cbs-media-block{width:100%;overflow:hidden;background:#141414}
.cbs-media-block>img{display:block;width:100%;height:auto}
.cbs-flyer-stage{background:#222}
.cbs-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:48px;margin:0 0 48px;align-items:start}
.cbs-asset-grid figure{display:flex;flex-direction:column;gap:12px;margin:0;min-width:0}
.cbs-asset-grid img{display:block;width:100%;height:auto;flex:none;object-fit:contain;background:#141414}
.cbs-asset-grid figcaption{font:11px/1.5 "JetBrains Mono",monospace;letter-spacing:1px;text-transform:uppercase;margin:0}
.cbs-video-stage{display:grid;place-items:center;min-height:78svh;padding:6vh 24px;background:#141414;overflow:hidden}
.cbs-video-stage video{display:block;width:auto;max-width:100%;height:min(78svh,900px);max-height:900px;object-fit:contain;background:#000}
@media(max-width:767px){
 .cbs-asset-grid{grid-template-columns:1fr;row-gap:32px;margin-bottom:32px}
 .cbs-asset-grid figcaption{font-size:9px;margin:0}
 .cbs-video-stage{min-height:72svh;padding:24px 0}
 .cbs-video-stage video{width:100%;height:auto;max-height:82svh}
}

/* K2 Protein case study */
.qart-reference .qref-k2-hero{justify-content:flex-start!important;padding-top:clamp(70px,12vh,125px)!important;background:#141414}
.qref-k2-hero:after{background:linear-gradient(180deg,rgba(20,20,20,.35),transparent 50%)}
.qart-reference .qref-k2-hero .qref-cover img{object-position:center center!important}
.qref-k2-gallery .elementor-widget-html,.qref-k2-gallery .elementor-widget-container{width:100%}
.k2-case-gallery{width:100%;color:#141414}
.k2-chapter{margin:0 0 64px}
.k2-section-label,.k2-case-gallery figcaption,.k2-artwork-details summary{font-family:'JetBrains Mono',monospace;font-size:11px;line-height:1.6;letter-spacing:1px;text-transform:uppercase}
.k2-section-label{margin-bottom:16px;color:#4f5457}
.k2-case-gallery h2{font-family:Archivo,sans-serif;font-weight:600;font-size:clamp(28px,4vw,56px);letter-spacing:-.04em;line-height:1.05;margin:0 0 32px}
.k2-case-gallery figure{display:flex;flex-direction:column;gap:12px;margin:0;min-width:0}
.k2-case-gallery figure img,.k2-case-gallery figure video{display:block;width:100%;height:auto;object-fit:contain;flex:none}
.k2-case-gallery figcaption{margin:0;color:#4f5457}
.k2-pair,.k2-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 14px;align-items:start;margin:0 0 48px}
.k2-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.k2-product-grid figure img{height:440px;max-height:40vw;object-fit:contain;background:#fff}
.k2-product-grid .k2-shaker img{background:#e5e6e6}
.k2-contrast{align-items:center}
.k2-artwork-details{margin-top:24px;border-top:1px solid #d3d5d5;padding-top:20px}
.k2-artwork-details summary{cursor:pointer;margin-bottom:24px}
.k2-shop{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;border-top:1px solid #d3d5d5;padding-top:48px}
.k2-shop-logo{background:#fff;padding:8%}
.k2-shop-logo img{width:100%;height:auto;display:block}
.k2-shop p{font-family:Archivo,sans-serif;font-size:18px;line-height:1.5;max-width:520px;margin-bottom:24px}
.k2-shop-link{display:inline-block;color:#141414!important;border-bottom:1px solid #141414;padding:8px 0;text-decoration:none!important}
.k2-shop-link:focus-visible,.k2-artwork-details summary:focus-visible{outline:2px solid #09394a;outline-offset:5px}
body.page-id-569 .qart-project-meta b{font-weight:400}
.qart-reference .qref-panel.qref-k2-panel>.qref-caption{justify-content:flex-start!important;padding-top:clamp(100px,14vh,160px)!important}
.qart-reference .qref-k2-panel .elementor-heading-title{font-size:clamp(44px,6vw,96px)!important;color:#f3f3f3!important}
@media(max-width:767px){
.qart-reference .qref-k2-hero{padding-top:76px!important}
.qref-k2-hero .qref-cover img{object-fit:cover!important}
.k2-chapter{margin-bottom:48px}
.k2-pair,.k2-product-grid,.k2-shop{grid-template-columns:1fr;gap:32px;margin-bottom:32px}
.k2-product-grid figure img{height:auto;max-height:none;max-width:100%}
.k2-product-grid .k2-shaker img{max-height:649px;object-fit:contain}
.k2-case-gallery h2{margin-bottom:24px}
.k2-shop{padding-top:32px}
.k2-shop-logo{padding:12%}
.qart-reference .qref-k2-panel .elementor-heading-title{font-size:44px!important}
}

/* Homepage: one shared type scale for every project name. */
body.home.qart-reference .qref-panels>.qref-panel>.qref-caption{
 position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;
 max-width:none!important;padding:0 4vw!important;margin:0!important;text-align:center!important;
}
body.home.qart-reference .qref-panels>.qref-panel>.qref-caption>.elementor-widget-heading{
 width:100%!important;max-width:none!important;margin:0!important;align-self:center!important;
}
body.home.qart-reference .qref-panels>.qref-panel>.qref-caption .elementor-heading-title{
 font-family:Archivo,sans-serif!important;font-weight:900!important;font-size:clamp(36px,6vw,96px)!important;line-height:1.05!important;
 letter-spacing:-.04em!important;text-transform:uppercase!important;text-align:center!important;
 text-wrap:balance;overflow-wrap:normal;word-break:normal;margin:0!important;color:#f3f3f3!important;
}
body.home.qart-reference .qref-panels>.qref-panel>.qref-caption .elementor-heading-title a{
 font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;color:inherit!important;
}
@media(max-width:767px){
 body.home.qart-reference .qref-panels>.qref-panel>.qref-caption .elementor-heading-title{font-size:clamp(26px,8vw,42px)!important}
}

/* Heidelburger portfolio: original print artwork and isolated website header. */
.qref-hb-gallery .elementor-widget-html,.qref-hb-gallery .elementor-widget-container{width:100%}
.hb-case{width:100%;color:#141414}
.hb-section{margin:0 0 64px}
.hb-case h2{font:600 clamp(28px,4vw,56px)/1.05 Archivo,sans-serif;letter-spacing:-.04em;margin:0 0 32px}
.hb-case h3{font:600 clamp(26px,3vw,42px)/1.1 Archivo,sans-serif;letter-spacing:-.035em;margin:0 0 20px}
.hb-case p{font:18px/1.5 Archivo,sans-serif;max-width:440px}
.hb-case figure{display:flex;flex-direction:column;gap:12px;margin:0;min-width:0}
.hb-case figure img,.hb-case video{display:block;width:100%;height:auto}
.hb-case figcaption,.hb-social-film span,.hb-website-caption{font:11px/1.6 'JetBrains Mono',monospace;letter-spacing:1px;text-transform:uppercase;color:#4f5457}
.hb-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hb-logos img{aspect-ratio:1;object-fit:contain;padding:16%;background:#fff}
.hb-logos .hb-logo-white img{background:#141414}
.hb-tray-stage{padding:5%;background:#141414}
.hb-tray-stage img{box-shadow:0 16px 35px #0004}
.hb-tray-stage figcaption{color:#f3f3f3}
.hb-flyers{display:grid;gap:48px}
.hb-posters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:5%;background:#e7e7e5}
.hb-posters img{border:10px solid #141414;box-shadow:8px 14px 24px #0002}
.hb-film-wide{margin-bottom:48px!important}
.hb-case video{background:#141414;object-fit:contain}
.hb-social-film{display:flex;align-items:center;justify-content:center;gap:9%;padding:48px;background:#e7e7e5}
.hb-social-film video{width:min(35%,360px);height:auto;aspect-ratio:9/16}
.hb-social-film>div{max-width:440px}
.hb-website-preview{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#141414;isolation:isolate}
.hb-website-preview iframe{position:absolute;left:0;top:0;width:1440px!important;height:810px!important;max-width:none!important;border:0;transform-origin:top left;pointer-events:none}
.hb-website-caption{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px}
.hb-website-caption a{color:#141414;text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){
.hb-section{margin-bottom:48px}
.hb-case h2{margin-bottom:24px}
.hb-logos{grid-template-columns:1fr;gap:32px}
.hb-logos img{max-height:440px}
.hb-flyers{gap:32px}
.hb-posters{grid-template-columns:1fr;gap:32px;padding:6%}
.hb-social-film{flex-direction:column;gap:32px;padding:24px}
.hb-social-film video{width:100%;max-width:360px}
.hb-film-wide{margin-bottom:32px!important}
.hb-website-caption{font-size:9px}
}

/* Heidelburger mockups and one responsive campaign film. */
.hb-case .hb-mockup img{width:100%;height:auto;object-fit:contain}
.hb-case .hb-responsive-film video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
@media(max-width:767px){.hb-case .hb-responsive-film video{aspect-ratio:9/16}}

/* Portfolio consistency: full image surfaces and equal media in each row. */
.qart-reference .qref-cbs-hero,.qart-reference .qref-cbs-panel{background:#141414!important}
.qart-reference .qref-cbs-hero .qref-cover img,.qart-reference .qref-cbs-panel img{
 width:100%!important;height:100%!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:50% 63%!important;
}
.qart-reference .qref-cbs-card img{padding:0!important;object-fit:cover!important;object-position:50% 63%!important}
.qart-reference .qref-grid .qref-card img,.qart-reference .qref-related .qref-card img{height:auto!important;aspect-ratio:3/2;object-fit:cover!important}
.qart-reference .qref-gallery-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.qart-reference .qref-gallery-row:has(>.qref-gallery-cell:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.qart-reference .qref-gallery-row:has(>.qref-gallery-cell:only-child){grid-template-columns:1fr}
.qart-reference .qref-gallery-row>.qref-gallery-cell{grid-column:auto!important}
.qart-reference .qref-gallery-row img{height:auto!important;aspect-ratio:3/2;object-fit:cover!important}
.qart-reference .qref-gallery-row:has(>.qref-gallery-cell:only-child) img{aspect-ratio:auto}
.qref-mayer-pair img{height:auto!important;aspect-ratio:3/2;object-fit:cover!important}
.k2-case-gallery .k2-product-grid figure img{width:100%;height:auto;max-height:none;aspect-ratio:4/5;object-fit:cover;background:transparent}
.k2-case-gallery .k2-pair figure>img,.k2-case-gallery .k2-pair figure>video{height:auto;aspect-ratio:1;object-fit:cover}
.k2-case-gallery .k2-portrait-pair figure>img{aspect-ratio:1/1;object-fit:cover;object-position:center center}
.k2-case-gallery .k2-contrast{align-items:start}
.k2-case-gallery .k2-contrast figure>img,.k2-case-gallery .k2-artwork-details .k2-pair figure>img{aspect-ratio:4/5}
.cbs-asset-grid figure>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:transparent}
.cbs-poster-stage{display:block;padding:0;background:transparent}
.cbs-poster-stage>img{width:100%;height:auto;box-shadow:none}
.cbs-poster-stage>div{width:100%;padding:24px 0 0}
.hb-tray-stage{padding:0;background:transparent}
.hb-tray-stage img{box-shadow:none}
.hb-tray-stage figcaption{color:#4f5457}
@media(max-width:767px){
 .qart-reference .qref-gallery-row,.qart-reference .qref-gallery-row:has(>.qref-gallery-cell:nth-child(2):last-child){grid-template-columns:1fr}
 .qart-reference .qref-gallery-row img,.qref-mayer-pair img,.cbs-asset-grid figure>img{aspect-ratio:auto}
 .cbs-poster-stage>img,.cbs-poster-stage>div{width:100%}
}

/* Linked previews must fill their grid cell, including SVG artwork. */
.qart-reference .qref-card .elementor-widget-image,.qart-reference .qref-card .elementor-widget-image .elementor-widget-container,.qart-reference .qref-card .elementor-widget-image a{display:block;width:100%!important;max-width:none!important}
