/* Site footer. Shared by every page; same columns as the footer on /resources. */

.qt-footer {
  padding-top: 40px;
  color: #b7c4c1;
  font-family: var(--primary-font);
}

.qt-footer ul,
.qt-footer p,
.qt-footer h2 {
  margin: 0;
  padding: 0;
  list-style: none;
  letter-spacing: 0;
}

/* The Webflow base styles set p color and size, and stack lists in a column. */
.qt-footer p {
  color: inherit;
  font-size: 15px;
  line-height: 1.6;
}

.qt-footer ul {
  display: block;
}

.qt-footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.qt-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) 3fr;
  gap: 64px;
  padding-bottom: 56px;
}

.qt-footer__logo img {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 22px;
}

.qt-footer__about {
  font-size: 16px;
  line-height: 1.65;
  max-width: 340px;
  margin-bottom: 22px !important;
}

.qt-footer__contact li {
  font-size: 15px;
  line-height: 1.9;
  color: #859794;
}

.qt-footer__contact a {
  color: var(--neutral-01);
}

.qt-footer__contact a:hover {
  color: #ebeb41;
}

.qt-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.qt-footer__col h2 {
  font-family: var(--secondary-font);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--neutral-01);
  margin-bottom: 18px;
}

/* Tight lines inside a link, a clear gap between links, so a wrapped link still reads as one. */
.qt-footer__col li {
  line-height: 1.3;
}

.qt-footer__col li + li {
  margin-top: 14px;
}

.qt-footer__col a {
  font-size: 15px;
  line-height: 1.3;
  color: #b7c4c1;
}

.qt-footer__col a:hover,
.qt-footer__col a.w--current {
  color: var(--neutral-01);
}

/* Newsletter band */
.qt-footer__news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qt-footer__news h2 {
  font-family: var(--secondary-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--neutral-01);
  margin-bottom: 4px;
}

.qt-footer__news p {
  font-size: 15px;
  color: #859794;
}

.qt-footer__news .w-form {
  flex: 0 1 420px;
  margin: 0;
}

.qt-footer__news .footer-text-field {
  padding-right: 72px;
}

.qt-footer__news .footer-submit-button {
  border: 0;
  cursor: pointer;
  top: 0;
}

.qt-footer__news .w-form-done,
.qt-footer__news .w-form-fail {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
}

/* Bottom bar */
.qt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #859794;
}

.qt-footer__bottom p {
  font-size: 14px;
}

.qt-footer__bottom ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.qt-footer__bottom a {
  font-size: 14px;
  color: #859794;
}

.qt-footer__bottom a:hover {
  color: var(--neutral-01);
}

@media screen and (max-width: 991px) {
  .qt-footer__top {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media screen and (max-width: 560px) {
  .qt-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .qt-footer__col:last-child {
    grid-column: 1 / -1;
  }

  .qt-footer__news .w-form {
    flex-basis: 100%;
  }
}
