/* 通用样式 */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  background-color: #ffffff;
}

.section {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Section7 顶部背景图 */
.section7-top {
  width: 100%;
  background-image: url('/images/尾页背景.png');
  background-size: cover;
  background-position: center;
  min-height: 6.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.top-content h2 {
  font-size: 0.75rem;
  margin: 0;
}

/* 按钮组 */
.button-group {
  margin-top: 0.875rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.button-group button {
  padding: 0.2rem 0.625rem;
  font-size: 0.25rem;
  background-color: transparent;
  color: white;
  border: 0.025rem solid white;
  border-radius: 0.125rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-group button:hover {
  background-color: white;
  color: #7bb8fe;
}

/* section7 底部整体 */
.section7-bottom {
  width: 100%;
  background-color: #2b3144;
  color: #cccccc;
  display: flex;
  justify-content: center;
}

.bottom-content7 {
  width: 100%;
  max-width: 24rem;
  padding: 0.2rem 1rem;
  box-sizing: border-box;
  margin-left: 0.8rem;
}

/* 顶部 logo 和 slogan */
.bottom-top7 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.bottom-top7 .logo {
  width: 2rem;
  height: auto;
  margin-right: 1rem;
}

.bottom-top7 p {
  font-size: 0.35rem;
  color: #cccccc;
  margin: 0;
  flex: 1;
  text-align: left;
  margin-left: 13.3rem;
}

/* 横线 */
.logo-underline {
  width: 94%;
  height: 0.025rem;
  background-color: #555555;
}

/* 三列布局容器 */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 0.25rem;
}

/* 每一列 */
.footer-column {
  flex: 1 1 25%;
  min-width: 2.75rem;
  box-sizing: border-box;
}

/* 公司信息 */
.company-info {
  font-size: 0.175rem;
  line-height: 1.8;
}

.company-info strong {
  font-size: 0.225rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  flex-direction: row; /* 横向排列 */
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
}

/* 每个链接组固定宽度或占比，防止堆叠 */
.link-group {
  flex: 1 1 20%; /* 每组占 20%，自动伸缩 */
  min-width: 1.875rem;
}

.nav-links .link-group strong {
  font-size: 0.2rem;
  font-weight: bold;
}

.nav-links .link-group p {
  font-size: 0.175rem;
  line-height: 1.6;
  margin: 0.3rem 0 0;
}

/* 二维码区域 */
.qr-section {
  text-align: center;
  font-size: 0.25rem;
  margin-left: 1rem;
}

.qr-section p {
  margin: 0.3rem 0;
}

.qr-code {
  width: 1.5rem;
  height: auto;
  margin: 0.125rem auto;
}

/* 备案信息 */
.record {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.175rem;
  opacity: 0.8;
  flex-wrap: wrap;
  text-align: center;
}

.record a {
  color: inherit;
  text-decoration: underline;
  margin-left: 0.25rem;
}

/* 不变色链接 */
.no-color-change {
  color: inherit;
  text-decoration: none;
}

.no-color-change:hover,
.no-color-change:active,
.no-color-change:visited {
  color: inherit;
}

/* 响应式（可选） */
@media (max-width: 9.6rem) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 1rem;
  }

  .bottom-top7 {
    flex-direction: column;
    align-items: center;
  }

  .bottom-top7 p {
    margin-top: 0.5rem;
    text-align: center;
  }
}
