/**
 * Footer overrides — supplement wp_theme/css/main.css rules so the four
 * columns (Product / Resources / Company / Support) render the way the
 * WordPress footer does via nav_menu_walker. We mirror `.footer-list > li`
 * acting as a category heading with a `.sub-menu` of links below it.
 */
.footer .container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 24px;
}

.footer-list {
  align-items: flex-start !important;
  gap: 40px;
}

.footer-list > li {
  flex: 1 1 0;
  min-width: 0;
  list-style: none;
}

.footer-list > li > a,
.footer-list > li > span {
  display: block;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

.footer-list .sub-menu {
  padding: 20px 0 0;
  margin: 0;
  list-style: none;
}

.footer-list .sub-menu > li {
  list-style: none;
}

.footer-list .sub-menu > li > a {
  display: inline-block;
  color: #bdbdbd;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  padding: 7px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list .sub-menu > li > a:hover {
  color: #fff;
}

@media (max-width: 1117.98px) {
  .footer-top {
    padding: 48px 0 !important;
  }

  .footer-list {
    flex-wrap: wrap;
    gap: 32px 40px;
  }

  .footer-list > li {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 759.98px) {
  .footer-list > li {
    flex: 0 0 100%;
  }
}

.footer-img img {
  width: 100px;
  height: auto;
  display: block;
}

/* Bottom row — copyright / social / legal. */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #bdbdbd;
  padding: 24px 0;
}

.footer-bottom .row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
}

.footer-bottom .col-12 {
  padding: 0;
  margin: 0;
}

/* Copyright: first column, left-aligned. */
.footer-bottom .col-lg-5.order-1 {
  grid-column: 1;
  justify-self: start;
  text-align: left;
}

/* Socials: middle column, centered. */
.footer-bottom .col-lg-2 {
  grid-column: 2;
  justify-self: center;
}

/* Legal links: last column, right-aligned. */
.footer-bottom .col-lg-5.order-lg-3 {
  grid-column: 3;
  justify-self: end;
  text-align: right;
}

.footer-bottom .head {
  color: #e0e0e0;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.3;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social > li {
  list-style: none;
}

.footer-social > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #2a2a2d;
  color: #e0e0e0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social > li > a svg {
  width: 14px;
  height: 14px;
  display: block;
}

.footer-social > li > a:hover {
  color: #fff;
  background-color: #3f3f43;
}

.footer-lst {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-lst > li {
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.footer-lst > li + li::before {
  content: "|";
  color: #6a6a6e;
  padding: 0 12px;
  font-size: 12px;
}

.footer-lst > li > a {
  color: #e0e0e0;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-lst > li > a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .footer-bottom .row {
    grid-template-columns: 1fr;
    row-gap: 16px;
    text-align: center;
  }

  .footer-bottom .col-lg-5.order-1,
  .footer-bottom .col-lg-5.order-lg-3,
  .footer-bottom .col-lg-2 {
    grid-column: 1;
    justify-self: center;
    text-align: center !important;
  }

  .footer-lst {
    justify-content: center;
  }
}
