.aci-footer {
  background-color: #333333;
  color: #ffffff;
  text-align: center;
  padding: 30px 15px;
}

.aci-footer-content {
  position: relative;
  margin: 0 auto;
  width: 1140px;
  max-width: 100%;
  padding: 0 15px;
}

.aci-footer-content::after {
  content: "";
  display: table;
  clear: both;
}

.aci-footer-logo-link {
  display: block;
  width: 200px;
  height: 43px;
  margin: 30px auto 0;
}

.aci-footer-logo-image {
  width: 100%;
  height: 100%;
  display: block;
}

.aci-footer-links {
  width: 616px;
  max-width: 100%;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.aci-footer-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65px;
}

.aci-footer-link {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0px;
  transition: color 0.3s;
}

.aci-footer-link:hover,
.aci-footer-link:focus {
  color: #5580af !important;
}

.aci-footer-link:hover .aci-footer-icon,
.aci-footer-link:focus .aci-footer-icon {
  color: #5580af !important;
}

.aci-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #de4640;
  width: 1em;
  height: 1em;
  transition: color 0.3s;
}

.aci-footer-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.aci-footer-copyright {
  margin: 30px auto;
  color: #ffffff;
  font-size: 1rem;
}

@media (min-width: 1200px) {
  .aci-footer-content {
    width: 1140px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .aci-footer-content {
    width: 940px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .aci-footer-content {
    width: 720px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .aci-footer-content {
    width: 540px;
  }

  .aci-footer-links {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .aci-footer-content {
    width: 100%;
  }

  .aci-footer-links {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .aci-footer-logo-link {
    width: 160px;
    height: 34px;
  }
}
