/* ============ 底部 Footer ============ */
.footer {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  padding: 60px max(calc((100vw - 1440px) / 2), 20px) 0;
}

/* 顶部内容区 */
.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 50px;
}

/* 左侧 logo 区 */
.footer-logo {
  flex: 0 0 280px;
  padding-right: 30px;
}

.footer-logo-content {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.footer-logo-content .lgImg {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.footer-logo-content span {
  margin-left: 12px;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

.footer-logo-describe {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  padding-left: 0;
}

/* 右侧链接区 */
.footer-links {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.footer-links-list {
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 60px;
}

.links-list-item {
  list-style: none;
  min-width: 80px;
}

.links-list-item-title {
  font-family:
    Noto Sans SC,
    Noto Sans SC;
  display: block;
  font-size: 20px;
  color: #0f4799;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.2s ease;
}

.links-list-item-title:hover {
  color: #0a3575;
}

.links-child-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links-child-list li {
  list-style: none;
  margin-bottom: 10px;
}

.links-child-list li:last-child {
  margin-bottom: 0;
}

.links-child-list li a {
  font-family:
    Noto Sans SC,
    Noto Sans SC;
  display: block;
  font-size: 16px;
  color: #555555;
  text-decoration: none;
  line-height: 24px;
  transition: color 0.2s ease;
}

.links-child-list li a:hover {
  color: #0f4799;
}

/* 底部 copyright 区 */
.footer-bottom {
  border-top: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0 24px;
}

.footer-copyright {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.icon-copyright {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-right: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-style: normal;
}

.footer-addition {
  flex: 0 0 auto;
}

.footer-addition-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-addition-list-item {
  list-style: none;
  padding: 0 14px;
  position: relative;
  font-size: 12px;
}

.footer-addition-list-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #d8d8d8;
}

.footer-addition-list-item:first-child {
  padding-left: 0;
}

.footer-addition-list-item:last-child {
  padding-right: 0;
}

.footer-addition-list-item a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-addition-list-item a:hover {
  color: #0f4799;
}

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
  .footer-links-list {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .footer {
    padding-top: 40px;
  }
  .footer-content {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 8px;
  }
  .footer-logo {
    flex: 0 0 auto;
    padding-right: 0;
    width: 100%;
  }
  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }
  .footer-links-list {
    flex-wrap: wrap;
    gap: 30px 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .footer {
    background: #10203a !important;
    width: calc(100% + 16px);
  }
  .footer-logo-content {
    margin-bottom: 0;
  }
  .footer-logo-describe {
    display: none;
  }
  .links-child-list {
    display: none;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-bottom {
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: none;
  }

  .footer-logo-content span {
    color: #fff;
  }
  .links-list-item-title,
  .footer-copyright,
  .footer-addition-list-item a {
    color: #aaa;
    font-size: 14px;
  }
  .footer-links-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .footer-links-list::-webkit-scrollbar {
    display: none;
  }
  .links-list-item {
    min-width: 0;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
  }
  .links-list-item-title {
    margin-bottom: 0;
    line-height: 14px;
  }
  .links-list-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: #aaa;
  }
}
