/* RC29: consistent centred service banners and remove orphan heading rules. */
.rc26.rc26-service .rc26-hero.rc27-centered-hero,
.rc26.rc26-contact .rc26-hero.rc27-centered-hero,
.rc26.rc26-pricing .rc26-hero.rc27-centered-hero,
.rc26 .rc26-hero.rc27-centered-hero {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  height:auto!important;
  max-height:none!important;
  min-height:260px!important;
  padding:50px 0 54px!important;
  overflow:visible!important;
  text-align:center!important;
}
.rc26 .rc26-hero.rc27-centered-hero .rc26-hero-inner,
.rc26 .rc26-hero.rc27-centered-hero .rc27-hero-content {
  height:auto!important;min-height:0!important;max-height:none!important;
  position:relative!important;top:auto!important;transform:none!important;
  margin-inline:auto!important;overflow:visible!important;
}
.rc26 .rc26-hero.rc27-centered-hero h1 {
  display:block!important;position:static!important;transform:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:clamp(32px,3.55vw,54px)!important;
  line-height:1.15!important;letter-spacing:-.035em!important;
  margin:0 auto 16px!important;padding:0!important;
  max-width:1100px!important;
}
.rc26 .rc26-hero.rc27-centered-hero h1 em,
.rc26 .rc26-hero.rc27-centered-hero h1 em * {color:#00c875!important;-webkit-text-fill-color:#00c875!important}
.rc26 .rc26-hero.rc27-centered-hero .rc26-hero-actions{margin:17px auto 0!important}
/* Orphan green rules inherited from old BS7858 heading decoration. */
.rc26.rc26-service .bs-matters-cards-section .bs-wrap::before,
.rc26.rc26-service .bs-matters-cards-section .bs-wrap::after,
.rc26.rc26-service .bs-matters-cards-section h2::before,
.rc26.rc26-service .bs-matters-cards-section h2::after {content:none!important;display:none!important}
.rc26.rc26-service .bs-matters-cards-section h2 {text-align:center!important;margin:0 auto 26px!important;padding:0!important;border:0!important;width:auto!important}
/* Contact page: avoid a tall empty gap between the banner and enquiry form. */
.rc26.rc26-contact .rc26-trust {padding:20px 0!important}
.rc26.rc26-contact .cys-enquiry-main.rc26-section {padding-top:52px!important}
@media(max-width:700px){
 .rc26 .rc26-hero.rc27-centered-hero{min-height:0!important;padding:42px 0 46px!important}
 .rc26 .rc26-hero.rc27-centered-hero h1{font-size:clamp(30px,7.4vw,42px)!important}
 .rc26.rc26-contact .rc26-trust-grid{grid-template-columns:1fr!important;gap:10px!important}
}
