/* Footer styles for the redesign. Layout matches the current site (rules
   extracted from css/custom.css); backgrounds use the redesign navy. */
.biz-pad-top-bot { padding-top: 3rem; padding-bottom: 3rem; }
.footer-area {
  background: var(--a-navy);
  color: #fff;
  overflow-wrap: break-word;
}

.footer-area a:link,
.footer-area a:active,
.footer-area a:visited {
  color: #fff;
  text-decoration: none;
}
.footer-area a:hover {
  color: #ffc629;
}

.connect-text {
  font-size: larger;
}

.large-icon {
  font-size: 32px;
}

.x-large-icon {
  font-size: 64px;
  background-color: #007ffb;
  color: #ffffff;
  text-align: center;

  border-radius: 50%;
  width: 100px;
  height: 100px;
}

.footer-bar {
  background-color: var(--a-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 0.65rem 0;
}
.footer-bar a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-bar a:hover {
  color: #ffc629;
}

.recaptcha-attribution {
  margin-top: 0.5rem;
  opacity: 0.75;
}

.recaptcha-attribution a {
  color: inherit;
  text-decoration: underline;
}
/* ============================================================
   Footer — tidy 4-column layout
   ============================================================ */
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
  opacity: 0.95;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #ffc629;
  text-decoration: none;
}
.footer-all-posts {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-all-posts-scroll {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0.75rem;
  column-count: 4;
  column-gap: 2rem;
}
.footer-all-posts-scroll::-webkit-scrollbar {
  width: 6px;
}
.footer-all-posts-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.footer-all-posts-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}
.footer-all-posts-list li {
  break-inside: avoid;
}
.footer-all-posts-list a {
  font-size: 0.82rem;
}
@media (max-width: 991px) {
  .footer-all-posts-scroll {
    column-count: 2;
  }
}
@media (max-width: 575px) {
  .footer-all-posts-scroll {
    column-count: 1;
    max-height: 200px;
  }
}
.footer-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-top: 0.5rem;
}
.footer-flag img {
  height: 18px;
  width: auto;
  border-radius: 2px;
  display: block;
}
.footer-contact-line {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-contact-line i {
  color: #ffc629;
  margin-top: 0.15rem;
}
.footer-contact-line a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.footer-contact-line a:hover {
  color: #ffc629;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  margin-right: 0.6rem;
  transition: color 0.2s ease;
}
.footer-social a:hover,
.footer-social a:focus {
  color: #ffc629;
}
.footer-utility {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-utility a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 0.3rem;
}
.footer-utility a:hover {
  color: #ffc629;
}

/* Keep the footer's original type metrics under the new theme (css/aspire.css). */
.footer-area, .footer-bar { line-height: 1.5; font-family: "Inter"; }
.footer-area h5 { line-height: 1.2; }
.footer-bar { --bs-gutter-x: 0; }
.footer-bar .small-text { font-size: small; }
.footer-bar .recaptcha-attribution { opacity: 0.85; } /* keeps AA contrast on the lighter navy */

/* The long "All blog posts" list is left out on phones (the Knowledge Hub link covers it). */
@media (max-width: 767.98px) {
  .footer-all-posts { display: none; }
}

/* "Cookie preferences" opens a dialog, so it is a button styled as a footer link. */
.footer-link-button { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; }
.footer-link-button:hover, .footer-link-button:focus-visible { color: #ffc629; }
