/* Public footer uses its own names so page styles cannot select its contents. */
body.mancia-has-navigation #footer.mancia-public-footer,
body.mancia-has-navigation #footer.mancia-public-footer * { box-sizing: border-box; }
body.mancia-has-navigation #footer.mancia-public-footer {
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 44px 0 22px;
  border: 0;
  border-radius: 0;
  background: #2e3c2b;
  color: #f5f3e4;
  font: 400 16px/1.55 var(--mancia-nav-font);
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  box-shadow: none;
  overflow: visible;
}
body.mancia-has-navigation #footer.mancia-public-footer a { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; text-decoration: none; box-shadow: none; }
body.mancia-has-navigation #footer.mancia-public-footer a:focus-visible { outline: 2px solid #dc5835; outline-offset: 5px; }
body.mancia-has-navigation #footer.mancia-public-footer a:hover { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-inner { width: calc(100% - clamp(24px, 5.75vw, 84px) * 2); max-width: 1280px; margin: 0 auto; padding: 0; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-top { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.8fr) auto; align-items: center; gap: 36px; min-height: 125px; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-brand { display: block; padding: 22px 38px 22px 0; border-right: 1px solid #f5f3e430; text-decoration: none; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-logo { display: block; width: 190px; max-width: 100%; height: auto; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; object-fit: contain; filter: none; mix-blend-mode: normal; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 28px; margin: 0; padding: 0; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-nav a { display: block; padding: 8px 0; font: 400 15px/1.55 var(--mancia-nav-font); white-space: nowrap; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; max-width: 228px; margin: 0; padding: 0; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials a { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #00000015; color: #f5f3e4 !important; font: 700 28px/1 var(--mancia-nav-font); text-decoration: none; transform: none; transition: background .2s ease; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials a:is(:not([href]), [href='']) { display: none; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials a:hover { background: #00000030; text-decoration: none; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials :is(svg, img) { display: block; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; object-fit: contain; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials img { filter: brightness(0) invert(1); }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials span { display: block; color: inherit; font: inherit; letter-spacing: 0; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid #f5f3e430; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-copyright { margin: 0; padding: 0; color: inherit; font: 500 10px/1.5 var(--mancia-nav-font); letter-spacing: .16em; text-transform: uppercase; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 0; padding: 0; font: 400 11px/1.5 var(--mancia-nav-font); }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-credit { display: inline-flex; align-items: center; gap: 18px; margin: 0; padding: 0; color: inherit; font: 500 10px/1.5 var(--mancia-nav-font); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-credit span { font: inherit; color: inherit; letter-spacing: inherit; }
body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-credit img { display: block; width: 80px; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain; filter: grayscale(1) invert(1); mix-blend-mode: screen; }

/* Retain the self-service form's existing width while giving its footer full width. */
body.mancia-manage.mancia-has-navigation { padding-right: 0; padding-bottom: 0; padding-left: 0; }
body.mancia-manage.mancia-has-navigation > main { width: min(760px, calc(100% - 56px)); }
@media (max-width: 1000px) {
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-top { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-brand { border: 0; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials { grid-column: 2; grid-row: 1; }
}
@media (max-width: 760px) {
  body.mancia-has-navigation #footer.mancia-public-footer { padding: 28px 0 24px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-inner { width: calc(100% - 48px); }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-top { min-height: 0; gap: 16px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-brand { padding: 14px 0; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials { max-width: 96px; gap: 8px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-socials a { flex-basis: 44px; width: 44px; height: 44px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-nav { gap: 6px 20px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-nav a { min-height: 44px; font-size: 14px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 22px; }
  body.mancia-has-navigation #footer.mancia-public-footer .mancia-footer-credit { font-size: 9px; gap: 12px; }
}
@media (max-width: 736px) {
  body.mancia-manage.mancia-has-navigation > main { width: min(760px, calc(100% - 32px)); }
}

