/* V38: consistent heroes and screen-sized technical dimensions. */
body.bw-editorial .bw-hero.bw-hero-v38{
 height:440px!important;min-height:440px!important;max-height:none;
}
body.bw-editorial .bw-hero-v38 .bw-hero-content{
 height:100%;min-height:0!important;padding-top:28px;padding-bottom:28px;
}
body.bw-editorial .bw-hero-v38 .bw-hero-type{width:min(590px,49%)}
body.bw-editorial .bw-hero-v38 h1{font-size:clamp(38px,4.1vw,62px)!important;line-height:1.04!important;margin:18px 0 16px!important}
body.bw-editorial .bw-hero-v38 p{font-size:17px!important;line-height:1.55!important;margin:0 0 22px!important}
/* MDF has a solid cream copy area and an untinted photo, not a green overlay. */
body.cut-page .bw-hero-mdf-v36.bw-hero-v38{background:#f6f4ef!important;color:#17251b!important}
body.cut-page .bw-hero-mdf-v36.bw-hero-v38::before,
body.cut-page .bw-hero-mdf-v36.bw-hero-v38::after{content:none!important;display:none!important;background:none!important}
body.cut-page .bw-hero-v38 .bw-hero-mdf-photo{left:51%;right:0;width:auto;height:100%;opacity:1!important}
body.cut-page .bw-hero-v38 .bw-hero-mdf-photo img{filter:none!important;opacity:1;object-position:65% center}
body.cut-page .bw-hero-v38 .bw-kicker{color:#274932!important}
body.cut-page .bw-hero-v38 h1{color:#18251b!important}
body.cut-page .bw-hero-v38 p{color:#425047!important}
body.cut-page .bw-hero-v38 .bw-button-mdf{background:#264a2e;color:#fff;border-color:#264a2e}
body.cut-page .bw-hero-v38 .bw-button-mdf-outline{background:#fff;color:#233c2a;border-color:#435c47}
body.cut-page .bw-hero-v38 .bw-mdf-hero-trust{color:#304b36;margin-top:18px}
/* The SVG's viewBox now uses CSS pixel coordinates for legible labels. */
.bw-elevation-canvas{padding:0;width:100%;height:390px;min-height:390px;flex:none;overflow:visible}
.bw-elevation-canvas .bw-technical-svg,
.bw-elevation-canvas .bw-realistic-elevation{display:block;width:100%!important;height:100%!important;max-height:none!important;max-width:none;filter:none}
.bw-measure-label text{letter-spacing:0}
.bw-elevation-panel>small{color:#415047;font-size:12px;line-height:1.5}
body.cut-page .dim-line{color:#172d20!important;font-size:15px!important;font-weight:700;line-height:1.3;z-index:5;overflow:visible}
body.cut-page .dim-line span{background:#faf9f5;border:1px solid #d3d8ce;border-radius:4px;padding:4px 8px;color:#172d20!important;white-space:nowrap;min-width:max-content}
body.cut-page .dim-horizontal{height:0;padding:0;border-color:#4a5a4e;overflow:visible}
body.cut-page .dim-horizontal span{transform:translateY(-50%)}
body.cut-page .dim-vertical{border-color:#4a5a4e;width:0;overflow:visible}
body.cut-page .dim-vertical span{transform:rotate(-90deg)}
body.cut-page .dim-line:before,body.cut-page .dim-line:after{background:#4a5a4e!important}
body.cut-page .preview-badge{font-size:12px!important;color:#283e2d!important}
@media(max-width:980px){
 body.bw-editorial .bw-hero-v38 h1{font-size:44px!important}
 body.bw-editorial .bw-hero-v38 p{font-size:16px!important}
 body.bw-editorial .bw-hero-v38 .bw-hero-type{width:52%}
 body.cut-page .bw-hero-v38 .bw-hero-mdf-photo{left:54%}
}
@media(max-width:760px){
 body.bw-editorial .bw-hero.bw-hero-v38{height:540px!important;min-height:540px!important}
 body.bw-editorial .bw-hero-v38 .bw-hero-content{align-items:flex-start;padding-top:28px!important;padding-bottom:28px!important}
 body.bw-editorial .bw-hero-v38 .bw-hero-type{width:100%;max-width:540px}
 body.bw-editorial .bw-hero-v38 h1{font-size:clamp(35px,8vw,43px)!important;margin:14px 0!important}
 body.bw-editorial .bw-hero-v38 p{font-size:15px!important;margin-bottom:18px!important;max-width:500px}
 body.cut-page .bw-hero-v38 .bw-hero-mdf-photo{left:0;top:auto;bottom:0;width:100%;height:185px;opacity:1!important}
 body.cut-page .bw-hero-v38 .bw-hero-mdf-photo img{object-position:center}
 body.cut-page .bw-hero-v38 .bw-mdf-hero-trust{font-size:11px;margin-top:14px;gap:9px}
 .bw-elevation-canvas{height:380px;min-height:380px}
}

/* Compact storefront heroes on mobile, with the photo below the copy. */
@media(max-width:760px){
 body.bw-editorial .bw-hero.bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36){
  display:flex;flex-direction:column;height:auto!important;min-height:0!important;
  background:#f6f4ef!important;
 }
 body.bw-editorial .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36)::before{display:none}
 body.bw-editorial .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36) .bw-hero-content{
  height:auto;min-height:0!important;padding:22px 0 20px!important;
 }
 body.bw-editorial .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36) h1{
  font-size:clamp(29px,6.9vw,43px)!important;margin:10px 0!important;
 }
 body.bw-editorial .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36) p{
  margin-bottom:15px!important;
 }
 .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36) .bw-hero-actions{
  flex-direction:row;align-items:center;gap:8px;
 }
 .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37,.bw-hero-mdf-v36) .bw-button{width:auto}
 .bw-hero-v38:is(.bw-hero-home-v37,.bw-hero-shaker-v37)::after{
  content:"";position:static;display:block;width:100%;height:clamp(120px,26vw,176px);
  background:var(--hero-img) right center/cover no-repeat;
 }
 body.cut-page .bw-hero-mdf-v36.bw-hero-v38 .bw-hero-mdf-photo{
  position:relative;inset:auto;order:1;width:100%;height:clamp(120px,26vw,176px);mask-image:none;
 }
 body.cut-page .bw-hero-mdf-v36.bw-hero-v38 .bw-mdf-hero-trust{margin-top:10px}
}
