/* SEO footer */
.main_footer {
  background: #172033 !important;
  border-top: 0 !important;
  color: #d7deea !important;
  margin-top: 0;
  padding: 46px 0 24px !important;
}

.footer_grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  align-items: start;
}

.footer_logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.footer_logo img {
  width: 154px;
  height: auto;
}

.footer_brand p {
  max-width: 390px;
  margin: 0;
  color: #c5cfdd;
  font-size: 14px;
  line-height: 1.75;
}

.footer_nav h2 {
  display: block;
  margin: 0 0 14px;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit !important;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
  border: 0;
  padding: 0;
}

.footer_nav a,
.footer_nav span {
  display: block;
  margin-top: 9px;
  color: #c5cfdd;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.footer_nav a {
  text-decoration: none;
}

.footer_nav a:hover,
.footer_nav a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.footer_bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(215, 222, 234, 0.14);
  color: #98a6ba;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .footer_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer_brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .footer_grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer_bottom {
    display: block;
  }

  .footer_bottom span {
    display: block;
    margin-top: 8px;
  }
}
