footer * {
  font-size: 14px;
}

.footer {
  padding: 0;
  background: #1A1A1A;
}

.footer footer {
  background: #1A1A1A;
  padding: 0 5rem;
  padding-bottom: 0;
  margin: auto;
  font-weight: 400;
  font-size: 1.125rem;
  width: 100%;
  line-height: 130%;
  letter-spacing: -3%;
  color: #666666;
  max-width: 1360px;
  font-family: "DM Sans", sans-serif;
}

.unstyled-link {
  all: unset;
  cursor: pointer;
}

/* =========================
   FOOTER TOP
========================= */

.footer footer .footerTop {
  padding-top: 5rem;
  /* padding-bottom: 1.5rem; */
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer footer .footerTop .footerTopLeft {
  width: calc(100% - 31.25rem);
  /* width: 100%; */
}

.footer footer .footerTop .footerTopLeft .quickLinks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.footer footer .footerTop .footerTopLeft .quickLinks .linksContainer:last-child {
  gap: 1rem;
}

/* =========================
   PARTNERS
========================= */

.footer footer .footerTop .footerTopLeft .partnersDiv {
  padding-top: 1.7rem;
  text-align: start;
}

.footer footer .footerTop .footerTopLeft .partnersDiv p {
  font-weight: 500;
  font-size: 1rem;
  color: #ffffff;
}

.footer footer .footerTop .footerTopLeft .partnersDiv .partners {
  gap: 0.7rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 1rem;
}

.footer footer .footerTop .footerTopLeft .partnersDiv .partners img {
  width: 7rem;
  height: 4rem;
}

.footer footer .footerTop .footerTopLeft .partnersDiv p:last-child {
  margin-top: 0.7rem;
  font-weight: 400;
  font-size: 1rem;
  font-style: italic;
}

/* =========================
   LINKS CONTAINER
========================= */

.footer footer .footerTop .linksContainer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer footer .footerTop .linksContainer .subscribeContainer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer footer .footerTop .linksContainer .subscribeContainer .subscribeText {
  display: none;
}

.footer footer .footerTop .linksContainer .subscribeContainer .subscribeText div:nth-last-child(1) {
  display: none;
}

.quick-links {
  gap: 0.6rem !important;
}

.footer footer .footerTop .linksContainer .heading {
  font-weight: 500;
  font-size: 1.1rem;
  margin: 1rem 0;
  color: #ffffff;
}

.footer footer .footerTop .linksContainer .new {
  margin-left: 0.5rem;
  color: #ffffff;
  padding: 0.25rem;
  border-radius: 0.375rem;
  border: 1px solid #333333;
}

.footer footer .footerTop .linksContainer:last-child {
  max-width: 31.25rem;
  gap: 1rem;
}

/* =========================
   SUBSCRIBE
========================= */

.footer footer .footerTop .linksContainer .subscribe {
  display: flex;
  width: 100%;
  gap: 1rem;
  border: 1px solid #333333;
  border-radius: 3.125rem;
  height: 3.1875rem;
  padding: 0.25rem;
  justify-content: space-between;
  background: #000;
}

.footer footer .footerTop .linksContainer .subscribe input {
  background: none;
  border: none;
  font-size: 0.875rem;
  padding: 0 1rem;
  width: 100%;
  color: white;
}

.footer footer .footerTop .linksContainer .subscribe input:focus {
  outline: none;
}

.footer footer .footerTop .linksContainer .subscribe button {
  background: none;
  border: 1px solid #333333;
  border-radius: 3.125rem;
  color: #ffffff;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer footer .footerBottom {
  font-family: Inter, sans-serif;
  padding: 0.8rem 0;
  border-top: 1px solid #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}

.footer footer .footerBottom .links {
  display: flex;
  gap: 1rem;
}

.copyright {
  margin-top: -14px;
}

.footer footer .footerBottom .logos {
  display: flex;
  gap: 0.5rem;
}

.footer footer .footerBottom .logos img {
  height: 1.5rem !important;
  width: 1.5rem !important;
  object-fit: cover;
  cursor: pointer;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media screen and (max-width: 860px) {
  .footer footer {
    padding: 0 2rem;
  }

  .footer footer .footerTop {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .footer footer .footerTop .footerTopLeft {
    width: 100%;
    text-align: center;
  }

  .footer footer .footerTop .footerTopLeft .quickLinks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
  }

  .footer footer .footerTop .footerTopLeft .quickLinks .linksContainer {
    text-align: start;
  }

  .footer footer .footerTop .footerTopLeft .partnersDiv {
    padding: 1.7rem 0;
  }

  .footer footer .footerTop .footerTopLeft .partnersDiv .partners {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0;
  }

  .footer footer .footerTop .footerTopLeft .partnersDiv p:last-child {
    opacity: 0.7;
  }

  .footer footer .footerTop .linksContainer {
    width: 100%;
  }

  .footer footer .footerTop .linksContainer .heading {
    margin: 1rem 0;
  }

  .footer footer .footerTop .linksContainer:last-child {
    text-align: center;
    gap: 1rem;
    max-width: 100%;
  }

  .footer footer .footerTop .linksContainer .subscribeContainer .subscribeText {
    display: block;
  }

  .footer footer .footerTop .linksContainer .subscribeContainer .subscribeText .subscribe button {
    font-size: 1rem;
  }

  .footer footer .footerTop .linksContainer .subscribeContainer .subscribeText div:nth-last-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    gap: 1rem;
  }

  .footer footer .footerTop .linksContainer .subscribeContainer .lgBtns {
    display: none;
  }

  .footer footer .footerBottom {
    gap: 10px;
  }

  .footer footer .footerBottom .links {
    flex-wrap: wrap;
  }
}