
/* RESTORE2ND Build 039 - footer newsletter + lawyer section */
.footer-identity{align-content:start}
.footer-newsletter{
  margin-top:18px;
  width:min(100%,360px);
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.055);
  border-radius:10px;
  padding:14px;
}
.footer-newsletter-title{
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  font-weight:800;
  margin-bottom:5px;
}
.footer-newsletter-copy{
  color:#bdd0e2;
  font-size:12px;
  line-height:1.45;
  margin-bottom:10px;
}
.footer-newsletter-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
}
.footer-newsletter-row input{
  min-width:0;
  border:1px solid rgba(255,255,255,.22);
  background:#fff;
  color:#071b31;
  border-radius:6px;
  padding:10px 11px;
  font:inherit;
}
.footer-newsletter-row button{
  border:0;
  border-radius:6px;
  background:#c7222d;
  color:#fff;
  font-weight:900;
  padding:10px 15px;
  cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}
.footer-newsletter-row button:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 15px rgba(0,0,0,.22);
}
.footer-newsletter-row button:active{
  transform:translateY(1px) scale(.98);
}
@media(max-width:760px){
  .footer-newsletter{width:100%}
}


/* Build 039B - corrected newsletter placement */
.footer-identity{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
}
.footer-brand-row{
  display:flex;
  align-items:flex-start;
  gap:18px;
}
.footer-brand-row > img{
  flex:0 0 auto;
}
.footer-newsletter{
  display:block !important;
  width:360px !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  justify-self:start !important;
  align-self:flex-start !important;
}

/* On desktop, lower the newsletter so it occupies the left-side "second row"
   alongside Federal FFRR and Legal. */
@media(min-width:901px){
  .footer-newsletter{
    margin-top:128px !important;
  }
}
@media(max-width:900px){
  .footer-newsletter{
    margin-top:22px !important;
  }
}
