/* EPICORE WEBSITE PRODUCTION VISUAL RECOVERY R47.22 */

/* Keep the desktop brand block from shrinking under the navigation. */
@media (min-width:1181px){
  .next-header-row{
    gap:16px!important;
  }
  .next-header .epicore-r2-brand{
    flex:0 0 232px!important;
    min-width:232px!important;
    max-width:232px!important;
    overflow:visible!important;
  }
  .next-header .epicore-r2-brand-copy{
    flex:0 0 auto!important;
    min-width:166px!important;
    overflow:visible!important;
  }
  .next-header .epicore-r2-brand-name{
    font-size:23px!important;
    line-height:1!important;
  }
  .next-header .epicore-r2-brand-slogan{
    font-size:7.5px!important;
    line-height:1!important;
    letter-spacing:.075em!important;
    white-space:nowrap!important;
  }
  .next-nav{
    gap:16px!important;
    flex:1 1 auto!important;
    justify-content:flex-end!important;
    min-width:0!important;
  }
  .next-nav a{
    white-space:nowrap!important;
    font-size:12px!important;
  }
  .next-header-actions{
    gap:10px!important;
    flex:0 0 auto!important;
  }
  .next-header-actions .next-signin{
    white-space:nowrap!important;
    font-size:12px!important;
  }
  .next-header-actions .next-btn-small{
    white-space:nowrap!important;
    min-width:112px!important;
    padding:0 13px!important;
    font-size:11.5px!important;
  }
}
@media (min-width:1181px) and (max-width:1500px){
  .next-header .epicore-r2-brand{
    flex-basis:216px!important;
    min-width:216px!important;
    max-width:216px!important;
  }
  .next-header-row{gap:12px!important}
  .next-nav{gap:12px!important}
  .next-nav a{font-size:11px!important}
  .next-header-actions .next-signin{font-size:11px!important}
  .next-header-actions .next-btn-small{
    min-width:104px!important;
    padding:0 9px!important;
    font-size:10.5px!important;
  }
}

/* Security & Trust: the global Connected Business visual already occupies
   the right hero area. Hide the extra R47.17 overlay that caused the
   duplicate centre E and four floating security boxes. */
.s17-shield{
  display:none!important;
}
.s17-hero .next-actions{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.s17-hero .next-actions .next-btn{
  width:auto!important;
  min-width:0!important;
  min-height:44px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  font-size:13px!important;
  line-height:1!important;
}
@media (max-width:760px){
  .s17-hero .next-actions{
    align-items:stretch!important;
  }
  .s17-hero .next-actions .next-btn{
    width:100%!important;
    justify-content:center!important;
  }
}
