
.av-gallery .av-profile-portrait,.av-gallery .collection-image,.av-gallery .av-expo-image,.av-gallery .av-expo-image>div{background:#fff!important;aspect-ratio:auto;height:auto;min-height:0;padding:0;overflow:visible}
.av-gallery .av-profile-portrait img{display:block;width:auto;height:auto;max-width:100%;max-height:500px;object-fit:contain;filter:none;transform:none}
.av-gallery .av-works .collection-image img{display:block;width:auto;height:auto;max-width:100%;max-height:390px;object-fit:contain;filter:none;transform:none}
.av-gallery .av-expo-card:hover img,.av-gallery .collection-card:hover img{transform:none;filter:none}
.xv-bio-references{margin-top:28px;font-size:15px;line-height:1.8}
.xv-bio-references a{font-size:11px;text-decoration:underline;text-underline-offset:3px}
.xv-bio-press{margin-top:26px;font-size:13px;line-height:1.6}
.xv-bio-press h3{font-size:16px;margin:6px 0;text-decoration:underline;text-underline-offset:4px}
.xv-bio-press .av-press-meta{display:flex;gap:12px}.xv-bio-press .av-press-artists,.xv-bio-press .av-press-arrow,.xv-bio-press .av-press-language{display:none}
#parcours,#presse,#contact-galerie{scroll-margin-top:100px}
@media(max-width:700px){.av-gallery .av-profile-portrait img{max-height:360px}.av-gallery .av-works .collection-image img{max-height:310px}}

/* Approved exhibition covers: the same 8:5 frame as the home programme and index. */
.av-gallery .av-exhibitions{align-items:start}
.av-gallery .av-expo-image{display:block;width:100%;height:auto;min-height:0;aspect-ratio:8/5;overflow:hidden}
.av-gallery .av-expo-image>div{width:100%;height:100%;min-width:0;display:block}
.av-gallery .av-expo-image img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:50% 40%;filter:none;transform:none}
.av-gallery .av-expo-card[href*="/xavier-de-vilmorin-2026/"] img{object-position:50% 20%}
.av-gallery .av-expo-card[href*="/gravity/"] img{object-position:50% 20%}
.av-gallery .av-expo-card[href*="/revelations/"] img,
.av-gallery .av-expo-card[href*="/window-views/"] img,
.av-gallery .av-expo-card[href*="/urban-art-fair-2023/"] img,
.av-gallery .av-expo-card[href*="/urban-art-fair-2024/"] img,
.av-gallery .av-expo-card[href*="/ode-to-lines/"] img,
.av-gallery .av-expo-card[href*="/souviens-toi-du-futur/"] img{object-position:50% 0%}
/* Keep the upcoming label and dates on one line so the titles share a baseline. */
.av-gallery .av-expo-upcoming{display:inline;margin:0 8px 0 0}
.av-gallery .av-expo-caption>div>p:first-of-type{display:inline}

/* Keep the intrinsic image height in the card flow, including narrow screens. */
.av-page .av-works .collection-image{height:auto!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;background:#fff!important;overflow:visible}
.av-page .av-works .collection-image img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:390px;object-fit:contain!important;filter:none;transform:none!important}
@media(max-width:700px){.av-page .av-works .collection-image img{max-height:310px}}

/* Whole artwork cards remain links; no arrows over artworks. */
.av-page .av-works .collection-arrow{display:none!important}

/* Approved work selections: shared image space, original artwork ratios, aligned details. */
.av-page .av-works{
  --work-image-height:clamp(270px,25vw,350px);
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(22px,2.5vw,36px);row-gap:42px;align-items:stretch;
}
.av-page .av-works .collection-card{min-width:0;height:100%;margin:0}
.av-page .av-works .collection-card>a{
  display:grid;grid-template-rows:var(--work-image-height) minmax(2.7em,1fr) minmax(1.6em,auto) auto;
  height:100%;min-width:0;align-content:start;
}
.av-page .av-works .collection-image{
  height:var(--work-image-height)!important;min-height:0!important;aspect-ratio:auto!important;
  padding:0!important;background:#fff!important;display:flex;align-items:center;justify-content:center;
}
.av-page .av-works .collection-image img{
  width:100%!important;height:100%!important;max-width:100%;max-height:100%!important;
  object-fit:contain!important;object-position:center;filter:none;transform:none!important;
}
.av-page .av-works .collection-caption{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;
  margin-top:18px;min-width:0;min-height:2.7em;
}
.av-page .av-works .collection-caption h3{font-size:19px;line-height:1.35;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.av-page .av-works .collection-price{font-size:13px;line-height:1.5;white-space:nowrap;margin:2px 0 0}
.av-page .av-works .collection-spec{font-size:12px;line-height:1.6;min-height:1.6em;margin:9px 0 0}
.av-page .av-works .card-availability{font-size:11px;line-height:1.5;margin:9px 0 0;align-self:end}
.av-page .av-works .collection-artist,.av-page .av-works .collection-arrow{display:none!important}
.av-page .av-works[data-work-count="1"]{grid-template-columns:minmax(0,1fr);max-width:440px}
.av-page .av-works[data-work-count="2"],.av-page .av-works[data-work-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.av-page .av-works[data-work-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}
.av-page .av-works[data-work-count="5"]>.collection-card{grid-column:span 2}
.av-page .av-works[data-work-count="5"]>.collection-card:nth-child(4){grid-column:2 / span 2}
.av-page .av-works[data-work-count="5"]>.collection-card:nth-child(5){grid-column:4 / span 2}
@media(max-width:1000px){
  .av-page .av-works,.av-page .av-works[data-work-count="5"]{grid-template-columns:repeat(2,minmax(0,1fr));--work-image-height:300px;gap:34px 24px}
  .av-page .av-works[data-work-count="5"]>.collection-card:nth-child(n){grid-column:auto}
}
@media(max-width:600px){
  .av-page .av-works[data-work-count]{grid-template-columns:minmax(0,1fr);max-width:none;--work-image-height:clamp(260px,80vw,360px);row-gap:32px}
  .av-page .av-works .collection-caption{margin-top:16px;min-height:0}
  .av-page .av-works .collection-card>a{grid-template-rows:var(--work-image-height) auto auto auto}
  .av-page .av-works .collection-caption h3{font-size:19px}
  .av-page .av-works .collection-price{font-size:14px}
  .av-page .av-works .collection-spec{font-size:13px;margin-top:8px}
  .av-page .av-works .card-availability{font-size:12px;margin-top:8px}
}

/* Window Views: preserve both faces in the approved landscape cover. */
.av-gallery .av-expo-card[href*="/window-views/"] img{object-position:50% 32%}
