
/* STEP 26 — definitive EXTERNAL CSS. Both rails use the SAME pseudo-element
   line geometry. Previous hidden .rail-line spans cannot override these. */
@media (min-width:901px) {
  html body .new-social-rail,
  html body a.new-enquire-rail {
    position:fixed!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    height:370px!important;
    min-height:370px!important;
    max-height:370px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    overflow:visible!important;
    isolation:isolate!important;
    mix-blend-mode:normal!important;
    z-index:2147483000!important;
    box-sizing:border-box!important;
  }
  html body .new-social-rail {left:28px!important;right:auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:20px!important;}
  html body a.new-enquire-rail {right:28px!important;left:auto!important;display:block!important;writing-mode:horizontal-tb!important;}
  html body .new-social-rail > span.rail-line,
  html body a.new-enquire-rail > span.rail-line {display:none!important;}

  /* Same line elements, length, thickness and positions on BOTH rails */
  html body .new-social-rail::before,
  html body .new-social-rail::after,
  html body a.new-enquire-rail::before,
  html body a.new-enquire-rail::after {
    content:""!important;
    display:block!important;
    visibility:visible!important;
    position:absolute!important;
    left:21px!important;
    right:auto!important;
    width:1px!important;
    min-width:1px!important;
    max-width:1px!important;
    height:82px!important;
    min-height:82px!important;
    max-height:82px!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    margin:0!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
    box-shadow:none!important;
    background:linear-gradient(to bottom,transparent 0%,#102b30 45%,#102b30 55%,transparent 100%)!important;
    pointer-events:none!important;
    z-index:3!important;
  }
  html body .new-social-rail::before,
  html body a.new-enquire-rail::before {top:0!important;bottom:auto!important;}
  html body .new-social-rail::after,
  html body a.new-enquire-rail::after {bottom:0!important;top:auto!important;}

  html body .new-social-rail.on-dark::before,
  html body .new-social-rail.on-dark::after,
  html body a.new-enquire-rail.on-dark::before,
  html body a.new-enquire-rail.on-dark::after,
  html body .new-social-rail:not(.on-light):not(.on-dark)::before,
  html body .new-social-rail:not(.on-light):not(.on-dark)::after,
  html body a.new-enquire-rail:not(.on-light):not(.on-dark)::before,
  html body a.new-enquire-rail:not(.on-light):not(.on-dark)::after {
    background:linear-gradient(to bottom,transparent 0%,#fff 45%,#fff 55%,transparent 100%)!important;
  }
  html body .new-social-rail.on-light,
  html body a.new-enquire-rail.on-light {color:#102b30!important;}
  html body .new-social-rail.on-dark,
  html body a.new-enquire-rail.on-dark {color:#fff!important;}
  html body .new-social-rail a {color:inherit!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;}
  html body .new-social-rail a:hover {color:#087b70!important;}

  html body a.new-enquire-rail > strong {
    display:block!important;
    position:absolute!important;
    top:calc(50% - 10px)!important;
    left:50%!important;
    right:auto!important;
    transform:translate(-50%,-50%)!important;
    writing-mode:vertical-rl!important;
    text-orientation:mixed!important;
    color:inherit!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
    letter-spacing:3px!important;
    white-space:nowrap!important;
    padding:0!important;
    margin:0!important;
  }
  html body a.new-enquire-rail > .rail-arrow {
    display:block!important;
    position:absolute!important;
    top:calc(50% + 87px)!important;
    left:50%!important;
    right:auto!important;
    transform:translate(-50%,-50%)!important;
    writing-mode:horizontal-tb!important;
    color:inherit!important;
    font-size:22px!important;
    line-height:1!important;
    padding:0!important;
    margin:0!important;
  }
  html body a.new-enquire-rail:hover > strong,
  html body a.new-enquire-rail:hover > .rail-arrow {color:#087b70!important;}
}
@media(max-width:900px) {
  html body .new-social-rail,
  html body a.new-enquire-rail {display:none!important;}
}
/* Final rail alignment: use the approved homepage edge offsets on inner pages.
   Visibility, colour, icons and mobile/tablet behaviour remain unchanged. */
@media(min-width:901px){
 html body:not(:has(.at-hero)) .new-social-rail {
  left:19px!important;right:auto!important;padding:0!important;margin:0!important;
 }
 html body:not(:has(.at-hero)) a.new-enquire-rail {
  right:18px!important;left:auto!important;padding:0!important;margin:0!important;
 }
}
