/* P31 Engineering rail direction + reliable back-to-top arrow */
body.p28-engineering .p30-contact-rail{
  right:24px!important;
  left:auto!important;
}
html[dir="rtl"] body.p28-engineering .p30-contact-rail{
  left:24px!important;
  right:auto!important;
}

/* Keep the shared white back-to-top button, but provide a guaranteed black arrow. */
body.p28-engineering .s16-back-to-top{
  display:grid!important;
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.12)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.16)!important;
}
body.p28-engineering .s16-back-to-top i{display:none!important}
body.p28-engineering .s16-back-to-top::before{
  content:"";
  width:16px;
  height:16px;
  border-top:3px solid #111827;
  border-left:3px solid #111827;
  transform:rotate(45deg) translate(2px,2px);
  border-radius:1px;
}
html[dir="rtl"] body.p28-engineering .s16-back-to-top{
  inset-inline-start:auto!important;
  left:auto!important;
  right:24px!important;
}

@media(max-width:1100px){
  body.p28-engineering .p30-contact-rail{right:14px!important;left:auto!important}
  html[dir="rtl"] body.p28-engineering .p30-contact-rail{left:14px!important;right:auto!important}
}
@media(max-width:760px){
  body.p28-engineering .p30-contact-rail{right:16px!important;left:auto!important}
  html[dir="rtl"] body.p28-engineering .p30-contact-rail{left:16px!important;right:auto!important}
  html[dir="rtl"] body.p28-engineering .s16-back-to-top{right:16px!important}
}
