/* The canvas belongs to the whole viewport. Gutters belong to the text inside it.
   Keep an owner-configured navigation rail or page sidebar functional. */
body[data-template-width="wide"] .page-shell[data-snb-position="none"],
body[data-template-width="wide"] .page-shell[data-snb-position="none"] > .page-content,
body[data-template-width="wide"] .page-content > .site-section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-width: 0;
}
body[data-template-width="wide"] .page-shell[data-snb-position="none"] .site-section > .section-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body[data-template-width="wide"] .page-content > .site-section {
  padding-inline: 0;
}
body[data-template-width="wide"] .block-hero[data-full-width="true"]:not([data-hero-layout="overlay"]) > .section-inner {
  padding-inline: 0;
}
body[data-template-width="wide"] .block-text > .section-inner > p {
  max-inline-size: 70ch;
}
body[data-template-width="wide"] .block-text > .section-inner:has(h2):is([style*="text-align:center"],[style*="text-align: center"]) > p {
  margin-inline: auto;
}

/* Free layouts alternate a photographic cover with a flush image above the
   introduction. Restrict these defaults to the original editable hero. */
body[data-template-width="wide"][data-example^="industry-"][data-industry-layout^="web-"] [data-anchor="home-hero"][data-full-width="true"] {
  --free-gutter: clamp(20px, 5vw, 100px);
}
body[data-template-width="wide"][data-example^="industry-"][data-industry-layout^="web-"] [data-anchor="home-hero"][data-full-width="true"] .hero-img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
}
body[data-template-width="wide"][data-example^="industry-"][data-industry-layout^="web-"] [data-anchor="home-hero"][data-full-width="true"] .tt-slide {
  object-fit: cover;
}
body[data-template-width="wide"][data-example^="industry-"][data-industry-layout^="web-"] [data-anchor="home-hero"][data-hero-layout="split"][data-full-width="true"]:not(:has(.hero-video)) > .section-inner {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: auto;
}
body[data-template-width="wide"][data-example^="industry-"][data-industry-layout^="web-"] [data-anchor="home-hero"][data-hero-layout="split"][data-full-width="true"]:not(:has(.hero-video)) :is(.canvas-media,.hero-img) {
  order: -1;
  align-self: stretch;
  height: clamp(260px, 52svh, 690px);
}
body[data-template-width="wide"][data-example^="industry-"][data-industry-layout^="web-"] [data-anchor="home-hero"][data-hero-layout="split"][data-full-width="true"]:not(:has(.hero-video)) .hero-copy {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: clamp(22px, 4vw, 64px) var(--free-gutter);
  margin: 0;
  text-align: start;
}

/* The copy is drawn above background media. Let clicks in its empty space reach
   playback and slider controls while preserving links and edit-mode selection. */
body[data-template-width="wide"]:not(.editing) .block-hero:has(.hero-video, .tt-slider) .hero-copy {
  pointer-events: none;
}
body[data-template-width="wide"]:not(.editing) .block-hero .hero-copy :is(a, button) {
  pointer-events: auto;
}

/* Shop lookbooks keep the product photograph and its caption together. */
body[data-template-width="wide"][data-industry-layout="shop-lookbook"] .store-product .product-card-link {
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:baseline;
}
body[data-industry-layout="shop-lookbook"] .store-product .product-card-link > :is(img,.product-placeholder) {
  grid-column:1/-1;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#f5f3ef;
}
body[data-industry-layout="shop-lookbook"] .product-card-link > :is(small,.product-description,.site-btn) {grid-column:1/-1}
body[data-industry-layout="shop-lookbook"] .product-card-link > h3 {grid-column:1;grid-row:3;margin:0;font-size:clamp(17px,1.5vw,26px)}
body[data-industry-layout="shop-lookbook"] .product-card-link > b {grid-column:2;grid-row:3;white-space:nowrap}
body[data-industry-layout="shop-editorial"] .store-product {border-radius:0;border:0;border-bottom:1px solid color-mix(in srgb,currentColor 24%,transparent)}
body[data-industry-layout="shop-editorial"] .product-card-link h3 {font-family:Georgia,'Nanum Myeongjo',serif;line-height:1.23}
@media(max-width:600px){
  body[data-industry-layout="shop-lookbook"] .store-product .product-card-link {grid-template-columns:minmax(0,1fr)}
  body[data-industry-layout="shop-lookbook"] .product-card-link > :is(h3,b) {grid-column:1;grid-row:auto}
}
