/* Wellpac footer office/factory cards */
.footer-address-pair{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.footer-address-card{
  min-width:0;
  padding:16px 16px 15px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  box-shadow:0 10px 26px rgba(0,0,0,.08);
  transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease;
}

.footer-address-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,189,130,.28);
  background:rgba(255,255,255,.075);
  box-shadow:0 14px 30px rgba(0,0,0,.12);
}

.footer-address-card__heading{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:11px;
}

.footer-address-card__heading .contact-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  margin:0;
  border:1px solid rgba(255,255,255,.12);
  background:#17365d;
  color:#ffbd82;
}

.footer-address-card__heading .contact-icon svg{
  width:17px;
  height:17px;
}

.footer-address-card__heading h3{
  margin:0;
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.01em;
}

.footer-address-card__text{
  margin:0;
  color:#b9c8da!important;
  font-size:.84rem!important;
  line-height:1.65;
  overflow-wrap:anywhere;
}

.footer-address-card__phone{
  display:flex!important;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:12px 0 0!important;
  color:#e3ebf4!important;
  font-size:.82rem!important;
  line-height:1.45!important;
}

.footer-address-card__phone .contact-icon{
  width:27px;
  height:27px;
  flex:0 0 27px;
  margin:0;
  background:rgba(23,54,93,.95);
  color:#bcd0ea;
}

.footer-address-card__phone .contact-icon svg{
  width:14px;
  height:14px;
}

.footer-address-card__phone:hover{
  color:#ffbd82!important;
}

@media(max-width:980px) and (min-width:761px){
  .footer-address-pair{gap:12px}
  .footer-address-card{padding:15px 14px}
}

@media(max-width:760px){
  .footer-address-pair{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:16px;
  }
  .footer-address-card{
    padding:15px;
  }
  .footer-address-card:hover{
    transform:none;
  }
}

@media(prefers-reduced-motion:reduce){
  .footer-address-card{transition:none}
}

/* Google Maps links retain the original footer address typography and layout. */
.footer-address-map-link{color:inherit!important;font:inherit!important;text-decoration:none!important;cursor:pointer;}
.footer-address-map-link:hover,.footer-address-map-link:focus-visible{text-decoration:underline!important;text-underline-offset:3px;}
