.exhibition-grid[hidden],.exhibition-hero[hidden]{display:none!important}
.exhibition-viewer{margin:16px 0 28px;min-width:0}
.ev-stage{height:min(66vh,680px);min-height:260px;background:#201f1c;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ev-stage img,.ev-stage video{width:100%;height:100%;object-fit:contain;display:block}
.ev-controls{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:.8rem}
.ev-controls button{border:1px solid #cfc6b8;background:#f1ebdf;color:#211f1b;border-radius:6px;padding:5px 10px;cursor:pointer;font:inherit;min-height:30px}
.ev-original{margin-left:auto;font-size:.78rem}
.ev-thumbs{display:flex;gap:8px;overflow-x:auto;position:relative;padding:4px 2px 8px;scrollbar-width:thin}
.ev-thumbs button{flex:0 0 84px;width:84px;height:70px;padding:2px;border:2px solid transparent;border-radius:6px;background:#e7dfd1;cursor:pointer;color:#211f1b}
.ev-thumbs img{width:100%;height:100%;object-fit:contain;display:block}
.ev-thumbs button[aria-current=true]{border-color:#a33b26;background:#f7f0e4}
.exhibition-viewer button:focus-visible,.ev-slider input:focus-visible{outline:3px solid #a33b26;outline-offset:3px}
.ev-slider{display:flex;align-items:center;gap:12px;font-size:.75rem;margin-top:6px}
.ev-slider input{flex:1;min-width:0;accent-color:#a33b26;cursor:pointer}
@media(max-width:640px){.ev-stage{height:52vh;min-height:240px}.ev-thumbs button{flex-basis:66px;width:66px;height:58px}.ev-controls{gap:6px}.ev-original{font-size:.7rem}}

/* Keep the title and gallery close together. */
.exhibition-page{padding-top:18px;padding-bottom:36px}
.exhibition-page .product-breadcrumb{margin-bottom:12px;font-size:.8rem}
.exhibition-page>.eyebrow{margin:0 0 4px;font-size:.7rem}
.exhibition-page h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.08;margin:0 0 12px}
.exhibition-page>.section-heading{margin:0 0 8px}
.exhibition-page>.section-heading h2{display:none}
.exhibition-page>.section-heading p{font-size:.85rem;margin:0;line-height:1.4}
.exhibition-page .exhibition-viewer{margin-top:8px}
.exhibition-page .paul-introduction{margin:12px auto 18px}
.ev-stage:has(img){cursor:grab;user-select:none}
.ev-stage:has(img):active{cursor:grabbing}
.ev-stage img{-webkit-user-drag:none}
.painting-gallery-page #gallery{padding-top:22px;padding-bottom:36px}
.painting-gallery-page .section-heading{margin-bottom:12px}
.painting-gallery-page .section-heading .eyebrow{margin:0 0 4px}
.painting-gallery-page .section-heading h2{font-size:clamp(2rem,4vw,3.2rem);margin:0;line-height:1.08}

/* Exhibition strips show three complete images at once. */
.ev-three-up .ev-stage{display:flex;justify-content:flex-start;align-items:stretch;gap:12px;height:clamp(170px,30vw,420px);min-height:0;overflow-x:auto;overflow-y:hidden;position:relative;background:transparent;border-radius:0;scrollbar-width:thin}
.ev-three-up .ev-cell{flex:0 0 calc((100% - 24px)/3);min-width:0;background:#201f1c;border-radius:8px;overflow:hidden}
.ev-three-up .ev-cell img,.ev-three-up .ev-cell video{width:100%;height:100%;object-fit:contain}
.ev-three-up .ev-cell:has(.ev-caption){position:relative}
.ev-caption{position:absolute;left:8px;bottom:8px;padding:5px 9px;border-radius:4px;background:rgba(25,23,20,.88);color:#fff;font-size:.875rem;line-height:1.3}
.paul-gallery .ex-photo{position:relative}
.paul-gallery .ex-photo::after{content:attr(data-caption);position:absolute;left:8px;bottom:8px;padding:5px 9px;border-radius:4px;background:rgba(25,23,20,.88);color:#fff;font-size:.875rem}
@media(max-width:640px){.ev-three-up .ev-stage{gap:6px;height:180px}.ev-three-up .ev-cell{flex-basis:calc((100% - 12px)/3)}}

.ev-three-up .ev-cell[href]{display:block;cursor:pointer}.ev-three-up .ev-cell[href]:focus-visible{outline:3px solid #a33b26;outline-offset:-3px}

.gallery-filter{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0;font-size:.9rem}.gallery-filter label{display:flex;align-items:center;gap:8px;cursor:pointer}.gallery-filter input{width:18px;height:18px;accent-color:#9e4936}.gallery-filter span{color:#65574d;font-size:.8rem}.gallery-filter[hidden],.painting-gallery-page .product-card[hidden],.exhibition-viewer[hidden]{display:none!important}

/* Studio 601 video previews load each recording only after it is selected. */
.ev-three-up .ev-video-preview{position:relative;width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;overflow:hidden;border:0;background:linear-gradient(145deg,#24201d,#514033 54%,#a33b26);color:#fff;cursor:pointer;font:inherit}
.ev-video-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.ev-video-play-icon,.ev-video-preview-label{position:relative;z-index:1;text-shadow:0 1px 4px #111}
.ev-video-play-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(20,18,16,.7);font-size:1.1rem}
.ev-video-preview-label{padding:0 10px;font-size:.78rem;text-align:center}
.ev-three-up .ev-video-preview:focus-visible{outline:3px solid #eac79b;outline-offset:-4px}
.ev-video-thumb{position:relative;overflow:hidden}
.ev-thumbs .ev-video-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.ev-video-thumb-label{position:relative;z-index:1;display:block;padding:3px;color:#211f1b;font-size:.58rem;line-height:1.15}
.ev-thumbs .ev-video-thumb:has(img) .ev-video-thumb-label{color:#fff;text-shadow:0 1px 4px #111}

/* Oriented artwork keeps its complete image in carousel cells and thumbnails. */
.ev-stage .oriented-painting-image,.ev-thumbs .oriented-painting-image{width:100%;height:100%}

/* Gallery cell commerce cues: caption adds "Prints from $X"; "Buy" is a visual cue inside the cell link (whole cell stays clickable). */
.ev-three-up .ev-cell{position:relative}
.ev-caption{max-width:calc(100% - 16px)}
.ev-caption-prints{display:block;margin-top:2px;font-size:.85em;opacity:.92}
.ev-caption-row{display:flex;align-items:center;gap:8px}
.ev-caption-row>:first-child{flex:1 1 auto;min-width:0;margin-top:0}
.ev-caption-title+.ev-caption-row{margin-top:2px}
.ev-buy{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:24px;margin-left:auto;padding:0 10px;border-radius:999px;background:var(--cta,#d34220);color:#fff;font:600 .66rem/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;opacity:1;pointer-events:none}
.ev-cell[href]:hover .ev-buy{background:var(--cta-hover,#b83518)}
@media(max-width:640px){.ev-caption{left:4px;bottom:4px;max-width:calc(100% - 8px);padding:3px 6px;font-size:.68rem}.ev-caption-has-buy{right:4px}.ev-caption-row{gap:5px}.ev-buy{min-height:24px;padding:0 7px;font-size:.58rem;letter-spacing:.05em}}
/* Cells with Buy: the caption spans the cell so the pill sits bottom-right, level across the row. */
.ev-caption-has-buy{right:8px}
.ev-caption-row .ev-buy{align-self:flex-end}
@media(max-width:640px){.ev-caption-has-buy{right:4px}}
