/* WICHF V3-R4-R5 Production Golden V2.1 implementation authority.
 * This layer changes only the four governed Hero asset renderings introduced
 * by the approved V2.1 Golden. V2 geometry, copy and responsive behavior stay
 * owned by the shared ExhibitionProductionHeroV21 component.
 */

html[data-v3-r4-r5] .exhibition-hero img[data-governed-derivative-sha256]:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  object-position: 50% 50%;
}

html[data-v3-r4-r5] .exhibition-hero__object--frame img[data-governed-derivative-sha256]:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  object-position: 50% 55.9%;
}

/* The framed textile derivatives are already cropped, resized and colour-fit
 * to their approved frame interiors. No browser filter or alternate crop is
 * permitted here. */
html[data-v3-r4-r5] .exhibition-hero__object--main img[data-governed-derivative-sha256]:where(:not([data-wichf-shell], [data-wichf-shell] *)),
html[data-v3-r4-r5] .exhibition-hero__object--narrow img[data-governed-derivative-sha256]:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  object-fit: fill;
  filter: none;
  transform: none;
}

html[data-v3-r4-r5] .exhibition-hero__object--main:where(:not([data-wichf-shell], [data-wichf-shell] *))::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 2.5%;
  width: 95%;
  height: 95%;
  box-sizing: border-box;
  background: #d6c8ad;
  border: .45cqw solid #243027;
  outline: 1px solid rgba(223, 194, 139, .56);
  outline-offset: -.7cqw;
  box-shadow: 0 2.2cqw 3.6cqw rgba(0, 0, 0, .62), inset 0 0 1.4cqw rgba(73, 49, 23, .35);
  content: "";
}

html[data-v3-r4-r5] .exhibition-hero__object--main .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  top: 2.681992%;
  left: 6.603774%;
  width: 87.264151%;
  height: 93.103448%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
}

html[data-v3-r4-r5] .exhibition-hero__object--narrow:where(:not([data-wichf-shell], [data-wichf-shell] *))::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 12%;
  width: 76%;
  height: 74%;
  box-sizing: border-box;
  background: #d6c7aa;
  border: .35cqw solid #243127;
  outline: 1px solid rgba(221, 188, 125, .42);
  outline-offset: -.55cqw;
  content: "";
}

html[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  top: 4.794521%;
  left: 16.949153%;
  width: 69.491525%;
  height: 78.082192%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  outline: 0;
}

/* Freestanding objects keep their approved transparent derivative identity.
 * Scale and vertical bias are the exact V2.1 manifest operations; filters are
 * limited to the recorded linear light gain approximation and no colour cast. */
html[data-v3-r4-r5] .exhibition-hero__object--mask .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  top: 2%;
  left: 9%;
  width: 83%;
  height: 74%;
  overflow: hidden;
  background: transparent;
  clip-path: none;
}

html[data-v3-r4-r5] .exhibition-hero__object--mask img[data-governed-derivative-sha256]:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  object-fit: contain;
  filter: brightness(.69);
  transform: translateY(3%) scale(1.16);
}

html[data-v3-r4-r5] .exhibition-hero__object--ritual .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  top: .7%;
  left: 6.7%;
  width: 84.6%;
  height: 62%;
  overflow: hidden;
  background: transparent;
  clip-path: none;
}

html[data-v3-r4-r5] .exhibition-hero__object--ritual img[data-governed-derivative-sha256]:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  object-fit: contain;
  filter: brightness(.62);
  transform: translateY(2%) scale(1.02);
}

/* The approved translations are longer than the Chinese Golden copy. Keep
 * every string intact while giving those locale variants their approved
 * two-line density; the canonical Chinese geometry remains untouched. */
html:not([lang="zh-CN"])[data-v3-r4-r5] .exhibition-hero__intro:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  height: 8.482143%;
  max-height: 8.482143%;
  overflow: visible;
}

html:not([lang="zh-CN"])[data-v3-r4-r5] .exhibition-hero__cta:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  top: 39.732143%;
}

@media (min-width: 1100px) {
  html[lang="en"][data-v3-r4-r5] .exhibition-hero__cta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 11.2%; }
  html[lang="fr"][data-v3-r4-r5] .exhibition-hero__cta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 12.5%; }
  html[lang="it"][data-v3-r4-r5] .exhibition-hero__cta:where(:not([data-wichf-shell], [data-wichf-shell] *)) { width: 10.5%; }
}

html:not([lang="zh-CN"])[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-label:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  right: -30%;
  left: -30%;
  overflow: visible;
}

html:not([lang="zh-CN"])[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-label strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
  overflow: visible;
  font-size: .40107cqw;
  line-height: 1.08;
  text-overflow: clip;
  white-space: normal;
}

@media (max-width: 1099px) {
  html[data-v3-r4-r5] .exhibition-hero__object--main .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r4-r5] .exhibition-hero__object--mask .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r4-r5] .exhibition-hero__object--ritual .exhibition-hero__object-frame:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  html[data-v3-r4-r5] .exhibition-hero__object--main:where(:not([data-wichf-shell], [data-wichf-shell] *))::before,
  html[data-v3-r4-r5] .exhibition-hero__object--narrow:where(:not([data-wichf-shell], [data-wichf-shell] *))::after {
    display: none;
  }

  html[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-label:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    right: -25%;
    left: -25%;
    overflow: visible;
  }

  html[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-label strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    overflow: visible;
    line-height: 1.08;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 719px) {
  html[data-v3-r4-r5] .exhibition-hero__object--mask .exhibition-hero__object-label:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r4-r5] .exhibition-hero__object--narrow .exhibition-hero__object-label:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r4-r5] .exhibition-hero__object--ritual .exhibition-hero__object-label:where(:not([data-wichf-shell], [data-wichf-shell] *)),
  html[data-v3-r4-r5] .exhibition-hero__object--frame .exhibition-hero__object-label:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    right: -25%;
    left: -25%;
    overflow: visible;
  }

  html[data-v3-r4-r5] .exhibition-hero__object-label strong:where(:not([data-wichf-shell], [data-wichf-shell] *)) {
    overflow: visible;
    line-height: 1.08;
    text-overflow: clip;
    white-space: normal;
  }
}
