
:root{--habo-red:#e30613;--habo-red-dark:#b9040f;--habo-ink:#171717;--habo-muted:#666;--habo-line:#e9e9e9;--habo-soft:#f5f5f3;--habo-shadow:0 20px 60px rgba(0,0,0,.11)}
html{scroll-behavior:smooth}body{margin:0;-webkit-font-smoothing:antialiased}.wp-site-blocks{overflow:hidden}.habo-wrap{width:min(calc(100% - 48px),1320px)!important;margin-inline:auto!important}.habo-eyebrow{display:flex!important;align-items:center;gap:10px;color:var(--habo-red);font-size:.76rem!important;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.habo-eyebrow:before{content:"";width:28px;height:3px;background:var(--habo-red);flex:0 0 auto}.habo-topbar{background:#181818;color:#d8d8d8;font-size:.78rem}.habo-topbar a{color:#fff}.habo-header-main{min-height:104px;border-bottom:1px solid rgba(0,0,0,.07);background:#fff}.habo-header-main .wp-block-site-logo img{width:214px;height:auto}.habo-header-nav a{font-size:.91rem;font-weight:750}.habo-header-nav .wp-block-navigation-item__content{padding:12px 14px!important}.habo-contact-button .wp-block-button__link{background:var(--habo-red)!important;color:#fff!important}.habo-contact-button .wp-block-button__link:hover{background:var(--habo-red-dark)!important}.habo-home-hero{min-height:650px;height:calc(100vh - 138px);max-height:830px;color:#fff;position:relative}.habo-home-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.47) 42%,rgba(0,0,0,.12) 72%,rgba(0,0,0,.22) 100%)!important;opacity:1!important}.habo-home-hero .habo-eyebrow,.habo-page-hero .habo-eyebrow{color:#fff}.habo-home-hero .habo-eyebrow:before,.habo-page-hero .habo-eyebrow:before{background:#fff}.habo-home-hero h1{font-size:clamp(2.8rem,6vw,5.6rem)!important;line-height:.95!important;letter-spacing:-.055em!important}.habo-home-hero p{max-width:690px;color:rgba(255,255,255,.88);font-size:clamp(1.05rem,1.45vw,1.28rem)}.habo-ghost .wp-block-button__link{background:transparent!important;border:1px solid rgba(255,255,255,.7)!important}.habo-quick{margin-top:-58px;position:relative;z-index:4}.habo-quick>.wp-block-column{background:#fff;border-right:1px solid var(--habo-line);box-shadow:0 15px 38px rgba(0,0,0,.07)}.habo-quick-card{padding:32px!important;min-height:220px}.habo-number{color:var(--habo-red);font-weight:850;font-size:.82rem;letter-spacing:.08em}.habo-section{padding-top:104px!important;padding-bottom:104px!important}.habo-intro-image img{width:100%;height:100%;min-height:520px;object-fit:cover}.habo-stats{border-top:1px solid var(--habo-line);border-left:1px solid var(--habo-line)}.habo-stat{padding:25px!important;border-right:1px solid var(--habo-line);border-bottom:1px solid var(--habo-line)}.habo-stat strong{display:block;color:var(--habo-red);font-size:1.8rem;line-height:1.1}.habo-stat span{font-size:.82rem;color:#777}.habo-services{background:var(--habo-soft)}.habo-service-card{background:#fff;padding:34px!important;min-height:260px;border-top:4px solid transparent;transition:.2s}.habo-service-card:hover{border-top-color:var(--habo-red);transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.07)}.habo-band{background:#171717;color:#fff;padding:45px 0!important}.habo-newsletter{background:#f5f5f3}.habo-newsletter form{display:flex;gap:10px;flex-wrap:wrap}.habo-newsletter input[type=email]{min-height:52px;flex:1;min-width:240px;border:1px solid #ccc;padding:0 16px;font:inherit}.habo-page-hero{min-height:430px;display:flex;align-items:flex-end;color:#fff}.habo-page-hero .wp-block-cover__image-background{object-position:center!important}.habo-page-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(8,8,8,.92) 0%,rgba(8,8,8,.82) 24%,rgba(8,8,8,.55) 47%,rgba(8,8,8,.20) 70%,rgba(8,8,8,.08) 100%)!important;opacity:1!important}.habo-page-hero>.wp-block-cover__inner-container{padding-top:104px;padding-bottom:72px}.habo-page-hero h1{font-size:clamp(2.8rem,6vw,5.1rem)!important;line-height:.95!important}.habo-page-hero .habo-lead{color:rgba(255,255,255,.92);font-size:1.2rem;max-width:760px}.habo-detail{padding-top:88px!important;padding-bottom:100px!important}.habo-detail p,.habo-detail li{color:#505050}.habo-sidebar{border-left:1px solid var(--habo-line);padding-left:32px!important}.habo-sidebar a{display:block;padding:10px 0;border-bottom:1px solid #ddd;font-weight:700;font-size:.88rem}.habo-history-gallery img{aspect-ratio:4/3;object-fit:cover;width:100%}.habo-news-row{padding:28px 0!important;border-bottom:1px solid var(--habo-line)}.habo-news-row:first-child{border-top:1px solid var(--habo-line)}.habo-news-date{color:#777;font-size:.78rem}.habo-contact-section{background:#f7f7f5}.habo-form-panel{background:#fff;padding:42px!important;box-shadow:0 18px 50px rgba(0,0,0,.06)}.habo-contact-form{display:grid;gap:18px}.habo-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.habo-contact-form label{display:grid;gap:7px;font-size:.78rem;font-weight:800;color:#444;text-transform:uppercase;letter-spacing:.055em}.habo-contact-form input,.habo-contact-form textarea{background:#fbfbfb;border:1px solid #d9d9d9;padding:13px 14px;font:inherit}.habo-contact-form textarea{min-height:180px}.habo-contact-form button{border:0;background:var(--habo-red);color:#fff;padding:15px 20px;font-weight:750;cursor:pointer}.habo-contact-card{background:#171717;color:#fff;padding:30px!important}.habo-contact-card a{color:#fff}.habo-footer{background:#171717;color:#aaa;padding-top:64px!important;padding-bottom:30px!important}.habo-footer h3,.habo-footer h4,.habo-footer strong{color:#fff}.habo-footer .wp-block-site-logo img{width:190px;filter:brightness(0) invert(1)}.habo-footer a{color:#aaa}.habo-footer a:hover{color:#fff}.habo-copyright{border-top:1px solid #292929;padding-top:22px!important;margin-top:40px!important;font-size:.68rem;color:#777}.habo-admin-note{border-left:4px solid var(--habo-red);padding:14px 18px;background:#fff7f7;color:#555}
@media(max-width:980px){.habo-wrap{width:min(calc(100% - 34px),1320px)!important}.habo-header-main{min-height:88px}.habo-header-main .wp-block-navigation{font-size:.82rem}.habo-home-hero{height:670px;min-height:0}.habo-quick{margin-top:0}.habo-section{padding-top:72px!important;padding-bottom:72px!important}.habo-intro-image img{min-height:420px}.habo-page-hero{min-height:390px}.habo-page-hero>.wp-block-cover__inner-container{padding-top:90px;padding-bottom:60px}.habo-sidebar{border-left:0;border-top:1px solid var(--habo-line);padding-left:0!important;padding-top:30px!important}.habo-form-row{grid-template-columns:1fr}}
@media(max-width:700px){.habo-wrap{width:min(calc(100% - 28px),1320px)!important}.habo-topbar{display:none}.habo-header-main{min-height:78px}.habo-header-main .wp-block-site-logo img{width:160px}.habo-home-hero{height:630px}.habo-home-hero h1{font-size:2.9rem!important}.habo-page-hero{min-height:330px}.habo-page-hero>.wp-block-cover__inner-container{padding-top:70px;padding-bottom:48px}.habo-section{padding-top:60px!important;padding-bottom:60px!important}.habo-form-panel{padding:24px!important}.habo-newsletter form{display:grid}.habo-newsletter input[type=email]{width:100%;min-width:0}}

/* Site Editor / block editor parity */
.editor-styles-wrapper{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#171717}.editor-styles-wrapper .habo-page-hero,.editor-styles-wrapper .habo-home-hero{max-width:none!important}.editor-styles-wrapper .habo-wrap{max-width:1320px!important}.editor-styles-wrapper .habo-section{max-width:none!important}.editor-styles-wrapper .habo-eyebrow{font-size:.76rem!important}

/* HABO v1.1 layout refinements */
.habo-wrap{width:min(calc(100% - 64px),1320px)!important;}
.habo-header-main>.habo-wrap,.habo-footer>.habo-wrap,.habo-footer>.wp-block-columns.habo-wrap{max-width:1320px!important;}
.habo-activity-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.habo-activity-grid>.wp-block-group{margin:0!important;}
.habo-newsletter-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) auto;gap:10px;align-items:end;}
.habo-newsletter-fields label{display:grid;gap:7px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em;}
.habo-newsletter-fields input{min-height:52px;border:1px solid #ccc;padding:0 16px;font:inherit;background:#fff;}
.habo-newsletter-fields button{min-height:52px;border:0;background:var(--habo-red);color:#fff;padding:0 22px;font-weight:750;cursor:pointer;}
.habo-form-success{padding:14px 16px;border-left:4px solid var(--habo-red);background:#fff;margin-bottom:18px;}
.habo-gravity-form .gform_wrapper{margin:0;}
@media(max-width:980px){.habo-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.habo-newsletter-fields{grid-template-columns:1fr 1fr}.habo-newsletter-fields button{grid-column:1/-1}}
@media(max-width:700px){.habo-wrap{width:min(calc(100% - 28px),1320px)!important}.habo-activity-grid{grid-template-columns:1fr}.habo-newsletter-fields{grid-template-columns:1fr}.habo-newsletter-fields button{grid-column:auto}}

/* HABO v1.2: vervolgpagina-banners volgen dezelfde tekstpositie als de homepage */
.habo-page-hero{align-items:center!important;}
.habo-page-hero>.wp-block-cover__inner-container{width:100%!important;padding-top:0!important;padding-bottom:0!important;}
.habo-page-hero>.wp-block-cover__inner-container>.habo-wrap{width:min(calc(100% - 64px),1320px)!important;margin-inline:auto!important;}
.editor-styles-wrapper .habo-page-hero{align-items:center!important;}
.editor-styles-wrapper .habo-page-hero>.wp-block-cover__inner-container{width:100%!important;padding-top:0!important;padding-bottom:0!important;}
@media(max-width:980px){.habo-page-hero>.wp-block-cover__inner-container>.habo-wrap{width:min(calc(100% - 34px),1320px)!important;}}
@media(max-width:700px){.habo-page-hero>.wp-block-cover__inner-container>.habo-wrap{width:min(calc(100% - 28px),1320px)!important;}}

/* HABO v1.3: exacte hero-uitlijning gelijk aan de homepage */
.habo-page-hero>.wp-block-cover__inner-container>.habo-wrap,
.habo-page-hero .habo-wrap{
  width:min(calc(100% - 64px),1320px)!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.editor-styles-wrapper .habo-page-hero .habo-wrap{
  width:min(calc(100% - 64px),1320px)!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:980px){
  .habo-page-hero>.wp-block-cover__inner-container>.habo-wrap,
  .habo-page-hero .habo-wrap,
  .editor-styles-wrapper .habo-page-hero .habo-wrap{
    width:min(calc(100% - 34px),1320px)!important;
  }
}
@media(max-width:700px){
  .habo-page-hero>.wp-block-cover__inner-container>.habo-wrap,
  .habo-page-hero .habo-wrap,
  .editor-styles-wrapper .habo-page-hero .habo-wrap{
    width:min(calc(100% - 28px),1320px)!important;
  }
}


/* HABO v1.4: activiteitenpagina gelijk aan activiteitenblok homepage */
.habo-activities-page{background:var(--habo-soft);}
.habo-activities-page .habo-section{padding-top:104px!important;padding-bottom:104px!important;}
.habo-activity-intro{max-width:760px;margin-bottom:38px!important;color:#5c5c5c;}
.habo-activities-page .habo-activity-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.habo-activities-page .habo-service-card{background:#fff;padding:34px!important;min-height:260px;border-top:4px solid transparent;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;}
.habo-activities-page .habo-service-card>p:last-child{margin-top:auto!important;padding-top:18px;}
.habo-activities-page .habo-service-card:hover{border-top-color:var(--habo-red);transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.07);}
.habo-activities-page .habo-service-card h3{margin-top:10px!important;}
.editor-styles-wrapper .habo-activities-page{background:var(--habo-soft)!important;}
.editor-styles-wrapper .habo-activities-page .habo-activity-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.editor-styles-wrapper .habo-activities-page .habo-service-card{background:#fff;padding:34px!important;min-height:260px;border-top:4px solid transparent;}
@media(max-width:980px){.habo-activities-page .habo-activity-grid,.editor-styles-wrapper .habo-activities-page .habo-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.habo-activities-page .habo-section{padding-top:72px!important;padding-bottom:72px!important;}}
@media(max-width:700px){.habo-activities-page .habo-activity-grid,.editor-styles-wrapper .habo-activities-page .habo-activity-grid{grid-template-columns:1fr;}.habo-activities-page .habo-section{padding-top:60px!important;padding-bottom:60px!important;}}

/* HABO v1.5: visuele verfijningen op basis van het goedgekeurde HTML-prototype */

/* 1. Drie speerpunten homepage: één strak paneel met grote zachte nummers. */
.habo-wrap > .habo-quick.wp-block-columns,
.habo-quick.wp-block-columns{
  gap:0!important;
  background:#fff;
  box-shadow:0 18px 44px rgba(0,0,0,.09);
}
.habo-quick>.wp-block-column{
  position:relative;
  background:#fff;
  border-right:1px solid var(--habo-line);
  box-shadow:none!important;
  overflow:hidden;
}
.habo-quick>.wp-block-column:last-child{border-right:0;}
.habo-quick-card{
  position:relative;
  min-height:255px;
  padding:40px 44px!important;
  isolation:isolate;
}
.habo-quick-card .habo-eyebrow{margin:0 0 24px!important;}
.habo-quick-card h3{font-size:1.55rem!important;margin:0 0 16px!important;position:relative;z-index:2;}
.habo-quick-card>p:not(.habo-number):not(.habo-eyebrow){max-width:88%;margin-bottom:0!important;color:#747474;position:relative;z-index:2;}
.habo-quick-card .habo-number{
  position:absolute;
  z-index:1;
  top:20px;
  right:24px;
  margin:0!important;
  color:#f1f1f1!important;
  font-size:6.7rem!important;
  line-height:1!important;
  letter-spacing:-.075em!important;
  font-weight:850!important;
  pointer-events:none;
}

/* 2. Vier kengetallen homepage: vaste 2 x 2 matrix. */
.habo-stats.wp-block-columns{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0!important;
  margin-top:42px!important;
  border-top:1px solid var(--habo-line);
  border-left:1px solid var(--habo-line);
}
.habo-stats>.wp-block-column{
  min-width:0!important;
  padding:30px 32px!important;
  border-right:1px solid var(--habo-line);
  border-bottom:1px solid var(--habo-line);
}
.habo-stats>.wp-block-column>p{margin:0!important;}
.habo-stats strong{
  display:block;
  margin-bottom:12px;
  color:var(--habo-red);
  font-size:2rem;
  line-height:1.05;
  font-weight:850;
  letter-spacing:-.035em;
}
.habo-stats span{display:block;color:#777;font-size:.9rem;line-height:1.45;}

/* 3. Activiteitenkaarten: nummer in kader, ruim wit vlak, CTA vast onderin. */
.habo-services .habo-service-card,
.habo-activities-page .habo-service-card{
  min-height:340px;
  padding:38px 38px 34px!important;
  border-top:0!important;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  transition:transform .2s ease,box-shadow .2s ease;
}
.habo-services .habo-service-card:hover,
.habo-activities-page .habo-service-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 44px rgba(0,0,0,.08);
}
.habo-service-card .habo-number{
  width:66px;
  height:66px;
  margin:0 0 40px!important;
  border:1px solid #d8d8d8;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--habo-red)!important;
  font-size:1rem!important;
  line-height:1!important;
  font-weight:850;
  letter-spacing:0!important;
}
.habo-service-card h3{font-size:1.45rem!important;margin:0 0 14px!important;}
.habo-service-card h3 + p{color:#777;margin-top:0!important;}
.habo-service-card>p:last-child{margin-top:auto!important;padding-top:34px!important;margin-bottom:0!important;}
.habo-service-card>p:last-child a{color:var(--habo-red)!important;text-decoration:none;font-size:.94rem;font-weight:800;}
.habo-services .habo-wrap>.wp-block-columns{gap:24px!important;}
.habo-activities-page .habo-activity-grid{gap:24px!important;}

/* 4. Vervolgpagina hero: losse lijn boven de eyebrow, daarna titel en lead. */
.habo-page-hero .habo-eyebrow{
  display:block!important;
  position:relative;
  margin:0 0 26px!important;
  padding-top:42px;
  color:#fff!important;
  font-size:.82rem!important;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.18em;
}
.habo-page-hero .habo-eyebrow:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:70px;
  height:4px;
  background:#fff!important;
}
.habo-page-hero h1{
  max-width:1000px;
  margin:0 0 34px!important;
  font-size:clamp(3.25rem,6.2vw,5.8rem)!important;
  line-height:.92!important;
  letter-spacing:-.06em!important;
}
.habo-page-hero .habo-lead{
  max-width:1000px;
  margin:0!important;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1.1rem,1.55vw,1.35rem)!important;
  line-height:1.5;
}

/* Zelfde weergave in Gutenberg/Site Editor. */
.editor-styles-wrapper .habo-quick.wp-block-columns{gap:0!important;background:#fff;box-shadow:0 18px 44px rgba(0,0,0,.09);}
.editor-styles-wrapper .habo-quick>.wp-block-column{position:relative;border-right:1px solid var(--habo-line);overflow:hidden;}
.editor-styles-wrapper .habo-quick-card{position:relative;min-height:255px;padding:40px 44px!important;}
.editor-styles-wrapper .habo-quick-card .habo-number{position:absolute;top:20px;right:24px;font-size:6.7rem!important;color:#f1f1f1!important;line-height:1!important;}
.editor-styles-wrapper .habo-stats.wp-block-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;}
.editor-styles-wrapper .habo-stats>.wp-block-column{padding:30px 32px!important;border-right:1px solid var(--habo-line);border-bottom:1px solid var(--habo-line);}
.editor-styles-wrapper .habo-service-card .habo-number{width:66px;height:66px;border:1px solid #d8d8d8;display:flex;align-items:center;justify-content:center;margin:0 0 40px!important;}
.editor-styles-wrapper .habo-page-hero .habo-eyebrow{display:block!important;position:relative;padding-top:42px;margin-bottom:26px!important;}
.editor-styles-wrapper .habo-page-hero .habo-eyebrow:before{position:absolute;top:0;left:0;width:70px;height:4px;}

@media(max-width:980px){
  .habo-quick-card{padding:32px!important;min-height:235px;}
  .habo-quick-card .habo-number{font-size:5.5rem!important;right:18px;}
  .habo-service-card{min-height:320px;}
}
@media(max-width:781px){
  .habo-quick.wp-block-columns{display:block!important;}
  .habo-quick>.wp-block-column{border-right:0;border-bottom:1px solid var(--habo-line);}
  .habo-quick>.wp-block-column:last-child{border-bottom:0;}
  .habo-quick-card{min-height:210px;}
}
@media(max-width:620px){
  .habo-stats.wp-block-columns{grid-template-columns:1fr;}
  .habo-page-hero .habo-eyebrow{padding-top:32px;margin-bottom:20px!important;}
  .habo-page-hero .habo-eyebrow:before{width:52px;height:3px;}
  .habo-page-hero h1{margin-bottom:24px!important;font-size:3rem!important;}
  .habo-service-card .habo-number{margin-bottom:30px!important;}
}

/* v1.6 - Activiteitenpagina conform HTML-prototype */
.habo-activities-page{
  background:#f4f4f2!important;
}
.habo-activities-page .habo-activity-grid{
  background:transparent!important;
}
.habo-activities-page .habo-service-card{
  background:#fff!important;
  cursor:pointer;
  position:relative;
}
.habo-activities-page .habo-service-card:focus-visible{
  outline:3px solid var(--habo-red);
  outline-offset:3px;
}
.editor-styles-wrapper .habo-activities-page{
  background:#f4f4f2!important;
}
.editor-styles-wrapper .habo-activities-page .habo-service-card{
  background:#fff!important;
}


/* HABO v1.7: verwijder witte tussenstroken tussen full-width secties */
.wp-site-blocks{background:var(--habo-soft);}
.wp-site-blocks > *{margin-block-start:0!important;margin-block-end:0!important;}
.wp-site-blocks > .wp-block-group,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > header,
.wp-site-blocks > footer{margin-top:0!important;margin-bottom:0!important;}
.habo-band{margin-top:0!important;margin-bottom:0!important;}
.habo-newsletter{margin-top:0!important;margin-bottom:0!important;background:var(--habo-soft)!important;}
.editor-styles-wrapper .habo-band,
.editor-styles-wrapper .habo-newsletter{margin-top:0!important;margin-bottom:0!important;}

/* HABO v1.8: laatste maatwerkcorrecties */

/* 1. Homepage activiteitenkop: maatvoering gelijk aan HTML-prototype. */
.habo-services .habo-wrap > h2,
.habo-services .habo-section > h2{
  max-width:760px;
  font-size:clamp(3.25rem,4.6vw,4.75rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  margin-top:12px!important;
  margin-bottom:42px!important;
}
.habo-services .habo-wrap > .habo-activity-intro,
.habo-services .habo-section > .habo-activity-intro{
  font-size:clamp(1.05rem,1.45vw,1.35rem)!important;
  line-height:1.5!important;
}

/* 2. Nieuwsbriefknop: normale UI-tekstgrootte. */
.habo-newsletter-fields button,
.habo-newsletter button,
.habo-newsletter input[type="submit"]{
  font-size:.9rem!important;
  line-height:1.2!important;
  font-weight:750!important;
}

/* 3. Volledige activiteitenkaart is interactief. */
.habo-activities-page .habo-service-card{
  cursor:pointer!important;
  user-select:none;
}
.habo-activities-page .habo-service-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 44px rgba(0,0,0,.08);
}
.habo-activities-page .habo-service-card:focus-visible{
  outline:3px solid var(--habo-red)!important;
  outline-offset:3px!important;
}

/* 4. CTA-band gebruikt exact dezelfde 1320px contentlijn als header en overige secties. */
body .habo-band > .habo-wrap,
body .habo-band > .wp-block-group.habo-wrap,
body .habo-band .habo-wrap{
  width:min(calc(100% - 64px),1320px)!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.editor-styles-wrapper .habo-band > .habo-wrap,
.editor-styles-wrapper .habo-band .habo-wrap{
  width:min(calc(100% - 64px),1320px)!important;
  max-width:1320px!important;
  margin-inline:auto!important;
}

@media(max-width:980px){
  body .habo-band > .habo-wrap,
  body .habo-band .habo-wrap,
  .editor-styles-wrapper .habo-band > .habo-wrap,
  .editor-styles-wrapper .habo-band .habo-wrap{
    width:min(calc(100% - 34px),1320px)!important;
  }
}
@media(max-width:700px){
  .habo-services .habo-wrap > h2,
  .habo-services .habo-section > h2{font-size:2.75rem!important;margin-bottom:30px!important;}
  body .habo-band > .habo-wrap,
  body .habo-band .habo-wrap,
  .editor-styles-wrapper .habo-band > .habo-wrap,
  .editor-styles-wrapper .habo-band .habo-wrap{
    width:min(calc(100% - 28px),1320px)!important;
  }
}

/* HABO v1.10: breedte- en headerverfijningen */

/* Nieuwsbrief gebruikt de brede pagina-as en beide velden zijn exact even breed. */
.habo-newsletter > .habo-wrap,
.habo-newsletter .habo-wrap{
  width:calc(100% - 96px)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.habo-newsletter-fields{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;
}
.habo-newsletter-fields label,
.habo-newsletter-fields input{
  width:100%!important;
  box-sizing:border-box!important;
}
.editor-styles-wrapper .habo-newsletter .habo-wrap{
  width:calc(100% - 96px)!important;
  max-width:none!important;
  margin-inline:auto!important;
}

/* Bovenbalk en hoofdheader gebruiken dezelfde brede lijn als het logo/menu. */
.habo-topbar{
  font-size:.70rem!important;
}
.habo-topbar > .habo-wrap,
.habo-header-main > .habo-wrap{
  width:calc(100% - 96px)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.habo-topbar .habo-wrap{
  padding-top:6px!important;
  padding-bottom:6px!important;
}
.habo-topbar p{
  margin-top:0!important;
  margin-bottom:0!important;
  line-height:1.35!important;
}
.habo-header-main{
  min-height:118px!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
  box-sizing:border-box;
}

@media(max-width:980px){
  .habo-newsletter > .habo-wrap,
  .habo-newsletter .habo-wrap,
  .habo-topbar > .habo-wrap,
  .habo-header-main > .habo-wrap,
  .editor-styles-wrapper .habo-newsletter .habo-wrap{
    width:calc(100% - 48px)!important;
  }
  .habo-header-main{min-height:100px!important;padding-top:10px!important;padding-bottom:10px!important;}
}
@media(max-width:700px){
  .habo-newsletter > .habo-wrap,
  .habo-newsletter .habo-wrap,
  .habo-header-main > .habo-wrap,
  .editor-styles-wrapper .habo-newsletter .habo-wrap{
    width:calc(100% - 28px)!important;
  }
  .habo-newsletter-fields{grid-template-columns:1fr!important;}
}

/* HABO v1.11: topbar-typografie en nieuwsbriefvelden */
.habo-topbar{
  font-size:.52rem!important;
}
.habo-topbar strong{
  font-size:inherit!important;
  font-weight:400!important;
}
.habo-topbar a{
  font-size:inherit!important;
  font-weight:400!important;
}

/* Naam en e-mailadres op desktop altijd naast elkaar en exact even breed. */
.habo-newsletter-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:end!important;
}
.habo-newsletter-fields > label{
  min-width:0!important;
  width:100%!important;
}
.habo-newsletter-fields input[type="text"],
.habo-newsletter-fields input[type="email"],
.habo-newsletter-fields input{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.habo-newsletter-fields button,
.habo-newsletter-fields input[type="submit"]{
  grid-column:1 / -1!important;
  justify-self:start!important;
}

@media(max-width:700px){
  .habo-newsletter-fields{
    grid-template-columns:1fr!important;
  }
  .habo-newsletter-fields button,
  .habo-newsletter-fields input[type="submit"]{
    grid-column:auto!important;
  }
}

/* HABO v1.12: topbar exact 12px */
.habo-topbar,
.habo-topbar p,
.habo-topbar a,
.habo-topbar strong{
  font-size:12px!important;
}

/* HABO v1.13: header verticaal rustiger gecentreerd */
.habo-header-main{
  min-height:148px!important;
  padding-top:26px!important;
  padding-bottom:26px!important;
}
.habo-header-main > .habo-wrap{
  min-height:96px!important;
  align-items:center!important;
}
.habo-header-main > .habo-wrap > *{
  align-self:center!important;
}
@media(max-width:980px){
  .habo-header-main{min-height:118px!important;padding-top:18px!important;padding-bottom:18px!important;}
  .habo-header-main > .habo-wrap{min-height:82px!important;}
}
@media(max-width:700px){
  .habo-header-main{min-height:92px!important;padding-top:12px!important;padding-bottom:12px!important;}
  .habo-header-main > .habo-wrap{min-height:68px!important;}
}

/* HABO v1.14: homepage intro gelijk aan activiteitenkop */
.habo-wrap.habo-section:has(.habo-intro-image) h2{
  max-width:760px;
  font-size:clamp(3.25rem,4.6vw,4.75rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
}
/* 50px minder ruimte tussen het introblok en de activiteiten-sectie. */
.habo-wrap.habo-section:has(.habo-intro-image){
  padding-bottom:54px!important;
}
@media(max-width:980px){
  .habo-wrap.habo-section:has(.habo-intro-image){padding-bottom:22px!important;}
}
@media(max-width:700px){
  .habo-wrap.habo-section:has(.habo-intro-image) h2{font-size:2.75rem!important;}
  .habo-wrap.habo-section:has(.habo-intro-image){padding-bottom:10px!important;}
}
