footer.public-footer {
  display: block;
  background: #25372d;
  color: #f6f2e9;
  padding: clamp(28px, 5vw, 62px) 0 clamp(12px, 2vw, 28px);
  scroll-margin-top: 68px;
}
.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-bottom: 8px;
}
.public-footer a, .public-footer button {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.public-footer .footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 0 0;
  gap: 8px 20px;
  font-size: 12px;
}
.public-footer .footer-brand {
  display: block;
  margin: clamp(10px, 2vw, 25px) -2.5% 0;
}
.public-footer .footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.public-footer .footer-costs {
  border-bottom: 1px solid #748478;
  padding-bottom: clamp(12px, 2vw, 24px);
}
.public-footer .footer-costs summary {
  width: fit-content;
  min-height: 44px;
  align-content: center;
  cursor: pointer;
}
.public-footer .footer-costs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}



footer.public-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 0;
  font-size: 14px;
  line-height: 1.5;
}
.public-footer .public-footer-inner { width: min(91%, 1530px); margin-inline: auto; }
.public-footer nav { justify-content: flex-start; }
.public-footer .footer-costs { padding-bottom: 0; border: 0; }
.public-footer .footer-more { border-bottom: 1px solid #748478; padding-bottom: clamp(12px, 2vw, 24px); }
.public-footer button { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.public-footer .public-footer-company { font-size: 12px; margin: 12px 0 0; }
.public-footer .footer-brand img { max-width: none; }
@media (max-width: 819px) {
  .public-footer .public-footer-inner { width: calc(100% - 32px); }
  .public-footer nav { gap: 10px 18px; }
  .public-footer .footer-legal { justify-content: flex-start; }
}

/* Give the last portfolio link its own space before the footer. */
.library .lib-film-archive {
  padding-block: 14px clamp(40px, 5vw, 64px);
}

.library .lib-film-archive a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: .2em;
}

#main-content > .library.library--melton {
  padding-bottom: clamp(38px, 5vw, 64px);
}

@media (max-width: 819px) {
  #main-content #project-enquiry-offer.kb-next,
  #main-content #project-enquiry-offer.owner-contact,
  #main-content .collection-use,
  .guide-article #main-content .ed-consult:has(.guide-close-links) {
    padding-bottom: 40px !important;
  }

  .public-footer .footer-brand {
    margin-inline: 0;
  }
}
