/* Shared footer — keeps every page on the same layout and type scale. */
.site-footer {
  margin: 0 !important;
  padding: 64px 24px 24px !important;
  color: #a8b9cf !important;
  background: #1d222c !important;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.site-footer .footer-inner {
  /* One centered content block: all three columns stay inside this frame. */
  width: min(1000px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.site-footer .footer-columns {
  display: grid !important;
  grid-template-columns: minmax(150px, 0.72fr) minmax(150px, 0.72fr) minmax(380px, 1.56fr) !important;
  gap: 48px !important;
  text-align: left !important;
}

.site-footer .footer-column h2 {
  margin: 0 0 20px !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.site-footer .footer-column ul {
  display: grid !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  justify-items: start;
}

.site-footer .footer-column a,
.site-footer .footer-column p {
  display: inline-block !important;
  margin: 0 !important;
  color: #9cb3cb !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  text-decoration: none !important;
}

.site-footer .footer-column a:hover,
.site-footer .footer-column a:focus-visible {
  color: #fff;
}

.site-footer .footer-column a:focus-visible {
  outline: 2px solid #76a7ff;
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer .footer-contact {
  display: block !important;
}

/* Override page-specific legacy spacing so every contact row shares the menu baseline. */
.site-footer .footer-contact p {
  margin: 0 !important;
}

/* Use the same row rhythm as the two menu lists. */
.site-footer .footer-contact p + p,
.site-footer .footer-contact p + a {
  margin-top: 12px !important;
}

.site-footer .footer-contact p { white-space: nowrap; }

.site-footer .footer-bottom {
  display: flex !important;
  visibility: visible !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 10px !important;
  margin-top: 48px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(158, 180, 208, 0.2) !important;
  color: #8fa6bf !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  opacity: 1 !important;
  transform: none !important;
}

.site-footer .footer-record {
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #ffca65;
  background: radial-gradient(circle at 50% 38%, #ff8e5a 0 18%, transparent 20%), linear-gradient(135deg, #456de0, #2d415f);
  font-size: 9px;
  font-weight: 700;
}

.site-footer .footer-bottom a {
  color: inherit;
  font-weight: 400 !important;
  text-decoration: none;
}

.site-footer .footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 52px 20px 24px !important;
  }

  .site-footer .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left !important;
  }

  .site-footer .footer-column h2 {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .site-footer .footer-column ul {
    gap: 8px;
  }

  .site-footer .footer-column a,
  .site-footer .footer-column p {
    font-size: 14px;
  }

  .site-footer .footer-contact p {
    white-space: normal;
  }

  .site-footer .footer-bottom {
    align-items: center !important;
    justify-content: center !important;
    margin-top: 36px;
    font-size: 11px;
    text-align: center !important;
  }
}
