.site-footer {
  background: var(--flc-blue);
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) minmax(180px, 0.8fr);
  gap: 48px;
  padding-block: 64px 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.footer-logo img {
  width: 56px;
  height: 56px;
}

.footer-logo strong,
.footer-logo small {
  display: block;
}

.footer-logo strong {
  font-size: 1rem;
  line-height: 1.2;
}

.footer-logo small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
}

.footer-brand p {
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact h2,
.footer-nav h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-contact address {
  font-style: normal;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-nav ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.site-footer a:focus-visible {
  outline: 2px solid var(--flc-gold);
  outline-offset: 4px;
}


.footer-social { margin-top: 20px; }
.footer-social ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.site-footer .footer-social a:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .65); }
.site-footer .footer-social a:focus:not(:focus-visible) { outline: none; }
.footer-social svg { display: block; }
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-social a { transition: none; }
}

/* A compact footer with independently editable navigation groups. */
.footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(190px, 1fr) minmax(140px, .8fr) minmax(170px, 1fr); gap: 32px; padding-block: 52px 40px; }
.footer-brand p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.6; }
.footer-contact address { display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.footer-contact address a { overflow-wrap: anywhere; }
.footer-nav ul { gap: 9px; font-size: 14px; line-height: 1.45; }
.site-footer .footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px; background: rgba(255, 255, 255, .08); }
.site-footer .footer-social a:hover { border-color: #fff; background: #fff; color: var(--flc-blue); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding-block: 40px 32px; } .footer-brand, .footer-contact { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; } }
