/* DDKK 页脚样式 - 基于 Ant Design 5.x 设计规范 */
/* 所有选择器均使用完整前缀，避免样式冲突 */

.ddkk-footer {
  position: relative;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  /* iOS 滚动优化 */
  -webkit-overflow-scrolling: touch;
}

/* ========== 完整页脚区块 ========== */
.ddkk-footer-full {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 48px 0 24px;
  margin-top: 0;
}

.ddkk-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ddkk-footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* ========== 页脚列 ========== */
.ddkk-footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ddkk-footer-link-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  line-height: 1.5;
  margin-bottom: 4px;
}

.ddkk-footer-link-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ddkk-footer-link {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}

.ddkk-footer-link:hover {
  color: #1677ff;
}

/* ========== 联系信息和备案信息样式 ========== */
.ddkk-footer-contact-item {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.5;
}

.ddkk-footer-label {
  color: rgba(0, 0, 0, 0.45);
}

.ddkk-footer-email {
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.ddkk-footer-email:hover {
  color: #1677ff;
}

.ddkk-footer-icp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ddkk-footer-icp-item {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.5;
}

.ddkk-footer-icp-item a {
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.ddkk-footer-icp-item a:hover {
  color: #1677ff;
}

/* ========== 响应式设计 - 移动端适配 ========== */
@media screen and (max-width: 768px) {
  .ddkk-footer-full {
    padding: 32px 0 16px;
  }

  .ddkk-footer-container {
    padding: 0 16px;
  }

  /* 移动端采用单列布局 */
  .ddkk-footer-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .ddkk-footer-column {
    width: 100%;
  }

  /* 移动端链接项横向排列，支持换行 */
  .ddkk-footer-link-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  /* 移动端联系信息和备案信息左对齐 */
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    text-align: left;
  }
}

/* ========== 响应式断点：容器宽度和布局调整（PC端） ========== */
/* ≥1366px：最大宽度 1300px */
@media screen and (min-width: 1366px) {
  .ddkk-footer-container {
    max-width: 1300px;
  }

  .ddkk-footer-content {
    gap: 40px;
  }

  .ddkk-footer-link-title {
    font-size: 15px;
  }

  .ddkk-footer-link,
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    font-size: 14px;
  }
}

/* 1500px–1599px：最大宽度 1500px */
@media screen and (min-width: 1500px) and (max-width: 1599.98px) {
  .ddkk-footer-container {
    max-width: 1500px;
  }

  .ddkk-footer-content {
    gap: 44px;
  }

  .ddkk-footer-link-title {
    font-size: 15px;
  }

  .ddkk-footer-link,
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    font-size: 14px;
  }
}

/* 1600px–1699px：最大宽度 1600px */
@media screen and (min-width: 1600px) and (max-width: 1699.98px) {
  .ddkk-footer-container {
    max-width: 1600px;
  }

  .ddkk-footer-content {
    gap: 44px;
  }

  .ddkk-footer-link-title {
    font-size: 15px;
  }

  .ddkk-footer-link,
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    font-size: 14px;
  }
}

/* 1700px–1919px：最大宽度 1700px */
@media screen and (min-width: 1700px) and (max-width: 1919.98px) {
  .ddkk-footer-container {
    max-width: 1700px;
  }

  .ddkk-footer-content {
    gap: 46px;
  }

  .ddkk-footer-link-title {
    font-size: 15px;
  }

  .ddkk-footer-link,
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    font-size: 14px;
  }
}

/* ≥1920px：最大宽度 1700px */
@media screen and (min-width: 1920px) {
  .ddkk-footer-container {
    max-width: 1700px;
  }

  .ddkk-footer-content {
    gap: 48px;
  }

  .ddkk-footer-link-title {
    font-size: 16px;
  }

  .ddkk-footer-link,
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    font-size: 15px;
  }
}

/* ≥2560px：最大宽度 1900px */
@media screen and (min-width: 2560px) {
  .ddkk-footer-container {
    max-width: 1900px;
  }

  .ddkk-footer-content {
    gap: 56px;
  }

  .ddkk-footer-link-title {
    font-size: 17px;
  }

  .ddkk-footer-link,
  .ddkk-footer-contact-item,
  .ddkk-footer-icp-item {
    font-size: 16px;
  }
}

