/* CPHOS 页脚样式 */
.cphos-footer {
  background: #1e3a8a;
  color: #fff;
  padding: 0;
  margin: 0;
  width: 100%;
  font-size: 1rem;
}
.cphos-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  padding: 36px 32px 28px 32px;
  gap: 32px;
}
.cphos-footer-section {
  height: auto; /* 取消固定高度 */
  flex: 1 1 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 新增：垂直居中 */
  gap: 18px;
}

/* 居中footer中间部分内容 */
.cphos-footer-center {
  align-items: center;
  text-align: center;
}
.cphos-footer-center .cphos-footer-title {
  text-align: center;
}
.cphos-footer-center .cphos-footer-nav {
  align-items: center;
}
.cphos-footer-center .cphos-footer-btn {
  text-align: center;
}

.cphos-footer-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

/* footer左侧区块 */
.cphos-footer-left {
  text-align: center; /* 仅保留水平居中 */
}
.cphos-footer-left a {
  color: #fff;
  text-decoration: underline;
  word-break: break-all;
}

.cphos-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cphos-footer-btn {
  color: #fff;
  background: transparent;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  text-align: left;
  width: fit-content;
  cursor: pointer;
}
.cphos-footer-btn:hover, .cphos-footer-btn:focus {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}
.cphos-footer-right {
  display: flex;           /* 启用Flexbox */
  justify-content: center; /* 水平居中 */
  align-items: center;
}
@media (max-width: 900px) {
  .cphos-footer-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 28px 12px 18px 12px;
  }
  .cphos-footer-section {
    min-width: 0;
    align-items: flex-start;
  }
  .cphos-footer-right {
    align-items: flex-start;
  }
}

/* 页脚版权信息和分隔线 */
.cphos-footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  text-align: center;
  font-size: 1rem;
  padding: 16px 0 12px 0;
  background: #1e3a8a;
  letter-spacing: 0.5px;
}