/**
 * Footer navigation hierarchy — primary vs legal links.
 * Loaded after pc.css / sp.css. Does not add CTAs or large visuals.
 */
.footer-nav {
  width: 100%;
}

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav__list--primary li {
  margin: 0;
}

.footer-nav__list--primary a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 35px;
  background: #eee;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.footer-nav__list--primary a:hover {
  color: var(--main_theme_light_1, #1c2ea3);
  text-decoration: underline;
}

.footer-nav__list--primary a .fa-solid {
  font-size: 10px;
  opacity: 0.85;
}

.footer-nav__list--legal {
  margin-top: 14px;
  gap: 6px 16px;
}

.footer-nav__list--legal li {
  margin: 0;
}

.footer-nav__list--legal a {
  display: inline-block;
  padding: 2px 0;
  background: transparent;
  border-radius: 0;
  color: rgba(31, 49, 52, 0.52);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav__list--legal a:hover {
  color: rgba(28, 46, 163, 0.78);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-nav,
  .footer-nav__list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-nav__list--primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav__list--legal {
    margin-top: 12px;
    gap: 8px 12px;
  }
}
