footer .second-col-links ul{display:flex;flex-wrap:wrap;margin:0;}
footer .second-col-links ul li{padding: 0;margin:0;letter-spacing: 0.4px; display: inline-block; margin-right: 2.4rem;}
footer .second-col-links ul li:nth-last-child(1),footer .second-col-links ul li:nth-last-child(2){padding:0;}
footer .second-col-links ul li a{font-weight:var(--fw-400);line-height:22px;color:var(--stone);font-size:1.6rem;text-transform: capitalize;letter-spacing:0.1px;position:relative;}
footer .second-col-links ul li a::after{content: "";width: 0;height: 2px;background-color: var(--white);position: absolute;bottom: -3px;left: 0;transition: all 0.5s ease-in-out;}
footer .second-col-links ul li a:hover::after {width:100%;}
footer .footer-first-col img{width:179px;height:50px;}
footer ul li a:focus-visible {outline:2px dashed var(--heritage-red);outline-offset:2px;}

@media all and (min-width:991.98px){
  footer .footer-top-wrapper .image{margin-top:5px;}
}

@media all and (max-width:991.98px){
  footer .footer-first-col img{width:150px;}
}

@media all and (max-width:767.98px){
  /* Cookiebot injects #CookiebotWidget at runtime (uc.js, head section.cshtml). */
  #CookiebotWidget:not(.CookiebotWidget-inactive){height:50px; width:50px;z-index: 99;}
  #CookiebotWidget:not(.CookiebotWidget-open) button.CookiebotWidget-logo svg{height:50px !important; width:50px !important;}

  #auto-top-link{
    bottom: 20px !important;
    right: 20px !important;
  }
  footer .second-col-links{padding-bottom:48px;}
  footer .footer-first-col{margin-bottom:48px;}
  footer .second-col-links ul li{flex:1 0 50%; display: inline-block; margin-right: 2.4rem;}
  footer .second-col-links ul li a{font-size:1.4rem;line-height:20px;}
}

/* Back-to-top button (footer.cshtml), toggled by header.js */
#auto-top-link{
  transition: all 0.5s ease-in-out;
  width: 50px;
  height: 50px;
  border-radius:50%;
  bottom: 20px;
  right: 20px;
}
#auto-top-link svg{
  fill: #D92B2B;
  transition: all 0.5s ease-in-out;
}
#auto-top-link:hover svg{
  fill: #830011;
}

/* Screen-reader-only hover text (archived reports/documents CTAs, app.js "more" tab) */
.nvda-hover{opacity:0; position:absolute;}
