/* Footer样式 */

.footer {
  background: #252931;
  color: white;
  padding-top: 0.8rem;
  padding-bottom: 0.4rem;
  font-family: "Source Han Sans SC", sans-serif;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 99;
}

.footer * {
  overflow: visible;
}

.footer-top {
  width: 83.3%;
  margin: 0 auto;
  display: flex;
}

.footer-container {
  margin: 0 auto;
  padding: 0 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 0.4rem;
  align-items: start;
}

.footer-column {
  position: relative;
  /* width: 0.95rem; */
}
.footer-column-logo {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: flex-start;
  /* margin-top: 0.25rem; */
  padding-top: 0.5rem;
  /* position: inherit !important; */
}
.footer-logo {
  width: 0.95rem;
  /* position: relative; */
  /* height: 100%; */
  display: flex;
  align-items: flex-start;
}

.footer-logo img {
  width: 0.95rem;
  height: auto;
  display: block;
  /* object-fit: contain;
  position: absolute;
  top: 50%;
  left: 0; */
  transform: translateY(-50%);
}

.footer-title {
  font-family: "Source Han Sans SC", sans-serif;
  font-weight: bold;
  font-size: 0.2rem;
  color: white;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.14rem;
}

.footer-links li {
  margin-bottom: 0.12rem;
  line-height: 1.4;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.16rem;
  transition: color 0.3s ease;
  font-family: "Source Han Sans SC", sans-serif;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #d0022a;
}

.footer-contact .contact-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.14rem;
  font-family: "Source Han Sans SC", sans-serif;
}

.footer-contact a {
  font-family: "Source Han Sans SC", sans-serif;
  font-weight: bold;
}

.footer-wechat {
  margin-top: 0.16rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

.footer-wechat-qr {
  margin-top: 0.04rem;
}

.footer-wechat-qr img {
  width: 0.8rem;
  height: 0.8rem;
  object-fit: cover;
  border-radius: 0.04rem;
  border: 0.01rem solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
  border-top: 0.01rem solid rgba(255, 255, 255, 0.1);
  margin-top: 0.6rem;
  padding: 0.3rem 0.5rem 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.14rem;
  margin: 0;
  font-family: "Source Han Sans SC", sans-serif;
}

.footer-copyright-links {
  display: flex;
  gap: 0.2rem;
}

.footer-copyright-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.14rem;
  font-family: "Source Han Sans SC", sans-serif;
}

.footer-copyright-links a:hover {
  color: #d0022a;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
  }

  .footer-logo {
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 768px) {
  .footer-wechat-qr img {
    width: 0.7rem;
    height: 0.7rem;
  }
}
