/* Single-line public footer (home + /leads) */
.ub-footer--line {
    padding: 0.85rem 0 1.1rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #030303;
}

body.marketplace-v2-shell .ub-footer--line {
    background: #030303;
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.veritas-portal-leads-bg .ub-footer--line {
    background: rgba(3, 3, 3, 0.92);
}

.ub-footer--line .wrap {
    display: block;
    max-width: min(1200px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.75rem);
}

.ub-footer__line {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.55;
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
}

.ub-footer__line a {
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    transition: color 0.16s ease;
}

.ub-footer__line a:hover {
    color: #dbb84a;
}

.ub-footer__line .ub-footer__sep {
    opacity: 0.35;
    user-select: none;
    font-weight: 400;
}

@media (max-width: 640px) {
    .ub-footer__line {
        font-size: 0.625rem;
        letter-spacing: 0.08em;
        gap: 0.3rem 0.45rem;
    }
}

body.veritas-portal-leads-bg .site-footer a,
body.veritas-portal-leads-bg .ub-footer a {
    color: #85876f;
}

body.veritas-portal-leads-bg .site-footer a:hover,
body.veritas-portal-leads-bg .ub-footer a:hover {
    color: #f7f5f3;
}


/* ub-footer one-line items */
.ub-footer__line .ub-footer__item {
  flex: 0 0 auto;
  white-space: nowrap;
}

.ub-footer__line .ub-footer__item + .ub-footer__item::before {
  content: "·";
  margin: 0 0.5rem;
  opacity: 0.38;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.ub-footer__line .ub-footer__sep {
  display: none;
}

body.marketplace-v2-shell .ub-footer--line {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 0;
}

body.marketplace-v2-shell .ub-footer--line .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.marketplace-v2-shell .ub-footer__line {
  flex-wrap: nowrap;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  font-size: clamp(0.6875rem, 1.25vw, 0.8125rem);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}

body.marketplace-v2-shell .ub-footer__line::-webkit-scrollbar {
  display: none;
}
