/* 70.143.22 — optional gallery slot counts. The THREE-image layout uses
   the existing approved TENJAKU CSS, not an alternative stylesheet.
   Applies only to explicitly curated new-brand galleries. */
@media (min-width:681px) {
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media.is-count-1>div {
    display:block!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media.is-count-1 figure.is-featured {
    width:min(100%,850px)!important;max-width:100%!important;height:auto!important;
    min-height:0!important;aspect-ratio:4/3;grid-column:auto!important;grid-row:auto!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media.is-count-2>div {
    display:grid!important;grid-template-columns:1.55fr .8fr!important;grid-auto-rows:minmax(320px,460px)!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media.is-count-2 figure.is-featured {
    grid-column:1!important;grid-row:1!important;min-height:0!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media.is-count-2 figure:nth-child(2) {
    grid-column:2!important;grid-row:1!important;min-height:0!important;
  }
}
/* The class is asset-specific and does not touch TENJAKU's approved photos. */
body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media figure.is-packshot {
  background:#f5f5f2!important;
}
body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media figure.is-packshot img {
  object-fit:contain!important;
}
@media (max-width:680px) {
  /* Preserve TENJAKU's swipeable mobile gallery but contain the scroll in
     this new optional block; it must not widen the entire landing. */
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media {
    overflow:hidden!important;
    max-width:100%!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-gallery.is-brand-composed-media>div {
    width:100%!important;
    max-width:100%!important;
    margin-right:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
}


/* V143.48.7 — approved CROIX editorial layout reusable for NEW Brand Masters. Historic pages, TENJAKU and media rights unchanged. */
@media (min-width:901px){
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-hero{
    min-height:clamp(670px,54vw,820px)!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-hero-image img{
    object-position:50% 48%!important;
  }
}
/* One symmetric text axis for label and paragraph: preceding CSS centred only h2. */
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning{
  display:block!important;width:min(1120px,calc(100% - 48px))!important;
  max-width:1120px!important;margin:76px auto 0!important;padding:42px 0 46px!important;
  text-align:center!important;text-align-last:center!important;
}
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning>div{
  display:block!important;width:100%!important;max-width:910px!important;padding:0!important;
  margin:0 auto!important;text-align:center!important;
}
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning>div>span{
  display:block!important;max-width:100%!important;margin:0 auto 17px!important;
  text-align:center!important;text-align-last:center!important;
}
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning.is-editorial-prose p.emwh-brand-positioning-copy{
  display:block!important;width:100%!important;max-width:910px!important;margin:0 auto!important;
  font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(24px,2.5vw,31px)!important;
  font-weight:400!important;line-height:1.46!important;letter-spacing:-.015em;
  color:#21445a!important;text-align:center!important;text-align-last:center!important;
  text-wrap:balance;hyphens:none!important;word-break:normal!important;
}
/* Real gallery frame: reduce the featured VSOP's footprint and preserve complete bottle/box photos. */
@media (min-width:901px){
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media{
    width:min(1320px,calc(100% - 48px))!important;max-width:1320px!important;
    margin-left:auto!important;margin-right:auto!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media.is-count-3>div{
    display:grid!important;grid-template-columns:minmax(0,1.27fr) minmax(0,1fr)!important;
    grid-template-rows:repeat(2,340px)!important;grid-auto-rows:auto!important;gap:14px!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media.is-count-3 figure{
    min-height:0!important;height:340px!important;max-height:none!important;background:#f5f5f3!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media.is-count-3 figure.is-featured{
    grid-column:1!important;grid-row:1 / span 2!important;height:694px!important;
  }
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media.is-count-3 figure:nth-child(2){grid-column:2!important;grid-row:1!important}
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media.is-count-3 figure:nth-child(3){grid-column:2!important;grid-row:2!important}
}
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media img{
  display:block!important;width:100%!important;height:100%!important;
  padding:clamp(12px,2vw,24px)!important;box-sizing:border-box!important;
  object-fit:contain!important;object-position:center center!important;
}
/* FAQ header and accordion share the same left edge; no empty left gutter. */
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-faq{
  display:block!important;width:min(1240px,calc(100% - 48px))!important;
  margin:85px auto 0!important;padding-top:50px!important;
}
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-faq>header{
  width:100%!important;max-width:none!important;margin:0 0 26px!important;
}
body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-faq>div{
  display:block!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
}
@media(max-width:900px){
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning{width:calc(100% - 36px)!important;margin-top:46px!important;padding:30px 0!important}
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning.is-editorial-prose p.emwh-brand-positioning-copy{font-size:clamp(21px,3.4vw,28px)!important;line-height:1.43!important}
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-gallery.is-brand-composed-media img{padding:12px!important}
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-faq{width:calc(100% - 36px)!important;margin-top:55px!important;padding-top:34px!important}
}
@media(max-width:680px){
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning{width:calc(100% - 28px)!important;margin-top:36px!important;padding:24px 0!important}
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-positioning.is-editorial-prose p.emwh-brand-positioning-copy{font-size:21px!important;line-height:1.44!important}
  body.emwh-brand-development-body .emwh-brand-visual-page:is(.is-croix-maron,.is-brand-editorial-standard) .emwh-brand-visual-faq{width:calc(100% - 28px)!important;margin-top:42px!important;padding-top:28px!important}
}
