/* A shared light closing panel for the editable local website. */
.footer {
  margin: var(--ridge-frame-gutter);
  border-radius: var(--ridge-frame-radius);
  padding-block: clamp(26px, 3vw, 42px);
  background: linear-gradient(115deg, #fff 35%, #edf4fb);
  color: #31475c;
}
.footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid #d3e0ed;
}
.footer .brand { width: 156px; height: 100px; }
.footer .brand img { width: 184px; height: 184px; left: -14px; top: -42px; }
.footer .footer-identity p {
  margin: 6px 0 0;
  color: #52677a;
  font-size: 13px;
  line-height: 1.6;
}
.footer nav { justify-content: flex-end; gap: 6px 28px; }
.footer nav a {
  min-height: 44px;
  color: #143650;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.footer nav a:hover,
.footer nav a[aria-current='page'] { color: #005bc9; text-decoration: underline; text-underline-offset: 5px; }
.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  color: #52677a;
  font-size: 12px;
  line-height: 1.6;
}
.footer .footer-bottom a { min-height: 44px; color: #195d94; font-size: 14px; }
.footer .footer-bottom a:hover { color: #103e64; }
.footer .footer-bottom p { margin: 0; }
.footer a:focus-visible { outline: 3px solid #005bc9; outline-offset: 4px; border-radius: 3px; }
@media (max-width: 760px) {
  .footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; }
  .footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
  .footer .footer-bottom { margin-top: 14px; gap: 6px; }
  .footer .footer-bottom p { flex-basis: 100%; }
}
