.hero-aw{position:relative;isolation:isolate;overflow:hidden;width:100vw;max-width:none;margin-left:calc(50% - 50vw);box-sizing:border-box;min-height:var(--ha-min-h);background:var(--ha-bg);color:#fff;display:flex;align-items:stretch}
.hero-aw__image{position:absolute;z-index:-3;top:0;bottom:0;left:auto;right:max(24px,calc((100vw - var(--ha-max-w))/2));width:calc(var(--ha-image-w) + var(--ha-image-shift-x));background-image:var(--ha-image,none);background-repeat:no-repeat;background-position:var(--ha-img-x) var(--ha-img-y);background-size:auto var(--ha-zoom);mask-image:linear-gradient(to right,transparent 0%,#000 var(--ha-fade),#000 calc(100% - var(--ha-fade-right)),transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 var(--ha-fade),#000 calc(100% - var(--ha-fade-right)),transparent 100%)}
.hero-aw__overlay{position:absolute;z-index:-2;inset:0;background:var(--ha-overlay);opacity:var(--ha-overlay-opacity);pointer-events:none}
.hero-aw__inner{width:min(calc(100% - 48px),var(--ha-max-w));box-sizing:border-box;max-width:none;margin:0 auto;padding:var(--ha-pt) var(--ha-pr) var(--ha-pb) var(--ha-pl);display:flex;align-items:var(--ha-v-align)}
.hero-aw__content{width:var(--ha-content-w);display:flex;flex-direction:column;gap:var(--ha-gap);text-align:var(--ha-text-align);position:relative;z-index:2}
.hero-aw__type,.hero-aw__buttons,.hero-aw__button{font-family:var(--ha-font-family)!important;font-size:var(--ha-font-size)!important;font-weight:var(--ha-font-weight)!important;font-style:var(--ha-font-style)!important;letter-spacing:var(--ha-letter-spacing)!important;word-spacing:var(--ha-word-spacing)!important;line-height:var(--ha-line-height)!important;color:var(--ha-color)!important;text-transform:var(--ha-text-transform)!important;text-decoration:var(--ha-text-decoration)!important;text-shadow:var(--ha-text-shadow)!important;margin:0!important}
.hero-aw__buttons{display:flex;flex-wrap:wrap;gap:var(--ha-button-gap);justify-content:flex-start}
.hero-aw[style*="--ha-text-align:center"] .hero-aw__buttons{justify-content:center}
.hero-aw[style*="--ha-text-align:right"] .hero-aw__buttons{justify-content:flex-end}
.hero-aw__button{display:inline-flex;align-items:center;justify-content:center;padding:var(--ha-button-py) var(--ha-button-px);border:1px solid;border-radius:var(--ha-button-radius);transition:transform .18s ease,filter .18s ease;text-decoration:none!important}
.hero-aw__button:hover{transform:translateY(-1px);filter:brightness(1.06)}
.hero-aw__button--1{background:var(--ha-b1-bg)!important;color:var(--ha-b1-color)!important;border-color:var(--ha-b1-border)!important}
.hero-aw__button--2{background:var(--ha-b2-bg)!important;color:var(--ha-b2-color)!important;border-color:var(--ha-b2-border)!important}
@media(max-width:782px){
 .hero-aw{min-height:var(--ha-min-h-mobile)}
 .hero-aw__image{right:0;width:calc(var(--ha-image-w-mobile) + var(--ha-image-shift-x-mobile));mask-image:linear-gradient(to right,transparent 0%,#000 var(--ha-fade-mobile),#000 calc(100% - var(--ha-fade-right-mobile)),transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 var(--ha-fade-mobile),#000 calc(100% - var(--ha-fade-right-mobile)),transparent 100%);opacity:.72}
 .hero-aw__inner{width:min(calc(100% - 36px),var(--ha-max-w));padding:var(--ha-ptm) var(--ha-prm) var(--ha-pbm) var(--ha-plm)}
 .hero-aw__content{width:100%}
 .hero-aw__type,.hero-aw__buttons,.hero-aw__button{
  font-family:var(--ha-font-family-mobile)!important;
  font-size:var(--ha-font-size-mobile)!important;
  font-weight:var(--ha-font-weight-mobile)!important;
  font-style:var(--ha-font-style-mobile)!important;
  letter-spacing:var(--ha-letter-spacing-mobile)!important;
  word-spacing:var(--ha-word-spacing-mobile)!important;
  line-height:var(--ha-line-height-mobile)!important;
  color:var(--ha-color-mobile)!important;
  text-transform:var(--ha-text-transform-mobile)!important;
  text-decoration:var(--ha-text-decoration-mobile)!important;
  text-shadow:var(--ha-text-shadow-mobile)!important;
 }
}

/* =========================================================
 * Hero AW is bewust typografisch volledig zelfstandig.
 * Het HAL-theme kan H1-H6/P centraal met !important vastzetten;
 * deze selectors zijn daarom doelbewust specifieker binnen Hero AW.
 * ========================================================= */
body#hal-site .hero-aw{
 background-color:var(--ha-bg)!important;
}
body#hal-site .hero-aw .hero-aw__type,
body#hal-site .hero-aw .hero-aw__buttons,
body#hal-site .hero-aw .hero-aw__button{
 font-family:var(--ha-font-family)!important;
 font-size:var(--ha-font-size)!important;
 font-weight:var(--ha-font-weight)!important;
 font-style:var(--ha-font-style)!important;
 letter-spacing:var(--ha-letter-spacing)!important;
 word-spacing:var(--ha-word-spacing)!important;
 line-height:var(--ha-line-height)!important;
 color:var(--ha-color)!important;
 -webkit-text-fill-color:var(--ha-color)!important;
 text-transform:var(--ha-text-transform)!important;
 text-decoration:var(--ha-text-decoration)!important;
 text-shadow:var(--ha-text-shadow)!important;
 text-align:var(--ha-text-align)!important;
 font-synthesis:weight style!important;
}
body#hal-site .hero-aw .hero-aw__button--1{
 color:var(--ha-b1-color)!important;
 -webkit-text-fill-color:var(--ha-b1-color)!important;
}
body#hal-site .hero-aw .hero-aw__button--2{
 color:var(--ha-b2-color)!important;
 -webkit-text-fill-color:var(--ha-b2-color)!important;
}
@media(max-width:782px){
 body#hal-site .hero-aw .hero-aw__type,
 body#hal-site .hero-aw .hero-aw__buttons,
 body#hal-site .hero-aw .hero-aw__button{
  font-family:var(--ha-font-family-mobile)!important;
  font-size:var(--ha-font-size-mobile)!important;
  font-weight:var(--ha-font-weight-mobile)!important;
  font-style:var(--ha-font-style-mobile)!important;
  letter-spacing:var(--ha-letter-spacing-mobile)!important;
  word-spacing:var(--ha-word-spacing-mobile)!important;
  line-height:var(--ha-line-height-mobile)!important;
  color:var(--ha-color-mobile)!important;
  -webkit-text-fill-color:var(--ha-color-mobile)!important;
  text-transform:var(--ha-text-transform-mobile)!important;
  text-decoration:var(--ha-text-decoration-mobile)!important;
  text-shadow:var(--ha-text-shadow-mobile)!important;
 }
 body#hal-site .hero-aw .hero-aw__button--1{color:var(--ha-b1-color)!important;-webkit-text-fill-color:var(--ha-b1-color)!important}
 body#hal-site .hero-aw .hero-aw__button--2{color:var(--ha-b2-color)!important;-webkit-text-fill-color:var(--ha-b2-color)!important}
}

/* v0.1.3 – preview gebruikt zijn eigen 1400px canvas voor exact dezelfde containeruitlijning. */
.hero-aw--preview .hero-aw__image{right:max(24px,calc((1400px - var(--ha-max-w))/2))}
