/* Ported from MOCKUP lines 431-440 plus the global link rules (lines 17-18). */

.xcw-footer {
  background: #EDF2F4;
  border-top: 1px solid #E0E8EB;
}

.xcw-footer__inner {
  max-width: var(--xcw-max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 60px) var(--xcw-pad-x);
  text-align: center;
}

/* Height comes from --xcw-footer-logo-h, set inline on .xcw-footer by the
   widget, so the style control can override it without !important. */
img.xcw-footer__logo {
  height: var(--xcw-footer-logo-h, 34px);
  width: auto;
  display: block;
  margin: 0 auto 16px;
}

/* When the logo is linked, the anchor takes over the centring so the image
   keeps its own margin behaviour and the Logo Margin control still applies. */
.xcw-footer__logo-link {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.xcw-footer__company {
  font-size: 15px;
  color: var(--xcw-body);
  font-weight: 600;
  margin: 0 0 4px;
}

.xcw-footer__tagline {
  font-size: 14px;
  color: #6A7B81;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 18px;
}

.xcw-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.xcw-footer__links a {
  font-size: 14px;
  color: var(--xcw-deep);
  text-decoration: none;
}

.xcw-footer__links a:hover {
  color: var(--xcw-accent);
  text-decoration: underline;
}

.xcw-footer__legal {
  font-size: 13px;
  line-height: 1.6;
  color: var(--xcw-grey);
  margin: 0;
}
