/* Standardised lower-footer layout across the site. */
.h5-footer-copyright .copyright-content-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px 28px;
  width: 100%;
  padding: 26px 0;
}

.h5-footer-copyright .copyright-text {
  min-width: 0;
}

.h5-footer-copyright .copyright-text p {
  line-height: 1.5;
}

.h5-footer-copyright .social-links {
  justify-self: center;
}

.h5-footer-copyright .social-links ul,
.h5-footer-copyright .copyright-menu ul {
  margin: 0;
  padding: 0;
}

.h5-footer-copyright .copyright-menu {
  min-width: 0;
  justify-self: end;
}

.h5-footer-copyright .copyright-menu ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .h5-footer-copyright .copyright-content-area {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 24px;
    padding: 24px 0;
  }

  .h5-footer-copyright .social-links {
    justify-self: end;
  }

  .h5-footer-copyright .copyright-menu {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
  }

  .h5-footer-copyright .copyright-menu ul {
    justify-content: center;
    gap: 10px 22px;
  }

  .h5-footer-copyright .copyright-menu ul li {
    margin: 0;
    padding: 0;
  }

  .h5-footer-copyright .copyright-menu ul li::before {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .h5-footer-copyright .copyright-content-area {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 24px 0 28px;
  }

  .h5-footer-copyright .copyright-text,
  .h5-footer-copyright .social-links,
  .h5-footer-copyright .copyright-menu {
    width: 100%;
    justify-self: center;
    text-align: center;
  }

  .h5-footer-copyright .copyright-text p {
    max-width: 430px;
    margin: 0 auto;
  }

  .h5-footer-copyright .social-links ul {
    justify-content: center;
  }

  .h5-footer-copyright .copyright-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }

  .h5-footer-copyright .copyright-menu ul li {
    margin: 0;
    padding: 0;
  }

  .h5-footer-copyright .copyright-menu ul li::before {
    display: none;
  }

  .h5-footer-copyright .copyright-menu ul li a,
  .h5-footer-copyright .copyright-menu ul li button {
    display: inline-flex;
    justify-content: center;
    min-height: 28px;
    line-height: 1.4;
  }
}

@media only screen and (max-width: 575px) {
  .h5-footer-copyright .copyright-content-area {
    gap: 16px;
    padding-bottom: 24px;
  }

  .h5-footer-copyright .copyright-text p,
  .h5-footer-copyright .copyright-menu ul li a,
  .h5-footer-copyright .copyright-menu ul li button {
    font-size: 14px;
  }
}
