/* -----------------------------------------------
   Footer — copyright always; social chips appear
   only below 1000px, replacing the set
   ----------------------------------------------- */

.valencia-footer {
  border-top: 1px solid var(--wp--custom--hairline);
  margin-top: var(--wp--preset--spacing--xxl);
  padding: var(--wp--preset--spacing--md) 0 var(--wp--preset--spacing--xl);
}

/* A full-bleed colour band closing the page meets the footer directly:
   the footer's xxl top margin is transparent, so the page ground showed
   through as a cream strip between the band and the dark footer. The
   margin is right after ordinary content, wrong after a band that is
   already a hard edge.

   Both halves are needed -- the margin sits on .valencia-footer, but its
   wp-block-template-part wrapper carries the root blockGap, and either
   one alone leaves part of the strip behind. */
.wp-site-blocks:has(> .valencia-content > .alignfull.has-background:last-child) .valencia-footer,
.wp-site-blocks:has(> .valencia-content > .alignfull.has-background:last-child) > .wp-block-template-part:last-child {
  margin-top: 0;
}

.valencia-footer-credit {
  color: var(--wp--preset--color--muted);
  font-size: var(--wp--preset--font-size--small);
  margin: 0;
}

