
#ks-footer *, #ks-footer *::before, #ks-footer *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#ks-footer {
  background: #0d1f40;
  color: #b8cfe8;
  font-family: "Microsoft YaHei", 微软雅黑, sans-serif;
  
}

/* ─── 主体链接区 ─── */
.ks-footer-main {
  margin: 0 220px !important;
  padding: 2rem 1rem !important;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10rem;

}
.ks-footer-brand {
  margin-left: 6rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.ks-footer-brand-logo { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.ks-footer-brand-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #8aaed4;
  margin-bottom: 24px;
}
.ks-footer-social {
  display: none;
  gap: 12px;
}
.ks-footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s;
  color: #fff;
}
.ks-footer-social a:hover { background: #1a6fff; }

/* ─── 链接列 ─── */
.ks-footer-links {
  max-width: 1064px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  /* justify-content: center;
  text-align: center; */
}
.ks-footer-col-title {
  display: grid;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: .05em;
}

.ks-footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ks-footer-col a {
  display: block;
  font-size: 13px;
  color: #8aaed4;
  text-decoration: none;
  padding: 2px 0;
  line-height: 1.6;
  word-break: break-word;
  transition: color .2s;
  /* line-height: 1.4; */
}
.ks-footer-col a:hover { color: #fff; }
.ks-footer-col .new-tag {
  display: inline-block;
  font-size: 9px;
  background: rgba(74,222,128,.15);
  color: #4ade80;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px !important;
}


.ks-footer-col .lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
 
  width: 18px;
  height: 18px;
  border-radius: 8px;
 
  font-size: 18px;
 
  /* 默认灰色 */
  filter: grayscale(100%);
  opacity: 0.6;
 
  text-decoration: none !important;
  cursor: pointer;
 
  transition: all 0.2s ease;
}
 
/* hover 状态 */
.ks-footer-col .lang-link:hover {
  filter: grayscale(0%);
  opacity: 1;
 
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px) scale(1.08);
 
  text-decoration: none !important;
}
 
/* 点击反馈 */
.ks-footer-col .lang-link:active {
  transform: scale(0.95);
  background: rgba(0, 0, 0, 0.1);
}
 
/* focus 可访问性 */
.ks-footer-col .lang-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* ─── 底栏 ─── */
.ks-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6rem;
  height: 4rem;
}
.ks-footer-bottom-left {
  font-size: 12px;
  color: #5a7a9f;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.ks-footer-bottom-left a {
  color: #5a7a9f !important;
  text-decoration: none;
  transition: color .2s;
}
.ks-footer-bottom-left a:visited,
.ks-footer-bottom-left a:active {
  color: #5a7a9f !important;
}
.ks-footer-bottom-left a:hover { color: #8aaed4; }
.ks-footer-bottom-right {
  font-size: 12px;
  color: #5a7a9f;
}

/* ─── 响应式 ─── */
@media (max-width: 1280px) {
  .ks-footer-main {
    margin: 0 64px !important;
    gap: 4rem;
    grid-template-columns: 180px 1fr;
  }
  .ks-footer-brand {
    margin-left: 0 !important;
  }
}
@media (max-width: 1024px) {
  .ks-footer-main {
    margin: 0 !important;
    padding: 40px 32px 28px !important;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ks-footer-brand {
    margin-left: 0 !important;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }
  .ks-footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
  }
}
@media (max-width: 768px) {
  .ks-footer-main {
    padding: 32px 20px 24px !important;
    gap: 28px;
  }
  .ks-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .ks-footer-col-title {
    margin-bottom: 12px;
  }
  .ks-footer-bottom {
    height: auto;
    gap: 12px;
    padding: 16px 20px;
    flex-direction: column;
    text-align: center;
  }
  .ks-footer-bottom-left {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .ks-footer-main {
    padding: 28px 16px 24px !important;
  }
  .ks-footer-links {
    gap: 20px 12px;
  }
  .ks-footer-col a {
    font-size: 12px;
  }
  .ks-footer-bottom {
    padding: 14px 16px 18px;
  }
}
