@media (min-width: 768px) {
  #footer .custom-footer.elements-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    margin-left: 0;
    margin-right: 0;
  }

  #footer .custom-footer.elements-3 > div {
    float: none;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  #footer .custom-footer.elements-3::before,
  #footer .custom-footer.elements-3::after {
    content: none !important;
    display: none !important;
  }
}

#footer .footer-social {
  margin-top: 20px;
}

#footer .footer-social__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

#footer .footer-social .footer-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
}

#footer .footer-social .footer-icon {
  margin: 0;
  padding: 0;
}

#footer .footer-social img {
  display: block;
  width: 32px;
  height: 32px;
}

#footer .footer-links-icons--empty {
  display: none;
}

@media (max-width: 767px) {
  #footer .custom-footer.elements-3 > div {
    margin-bottom: 28px;
  }

  #footer .footer-social {
    margin-top: 18px;
  }
}
