/* 确保页脚始终贴在底部 */
html {
  height: 100%;
  margin: 0;
  padding: 0;
  /* 设置基准字体大小，使用rem单位可以确保在不同分辨率下一致性 */
  font-size: 13px;
  /* 防止用户调整字体大小影响布局 */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: #696969;
  font-family: "微软雅黑 Light", "微软雅黑";
  /* 使用相对单位rem，相对于html的font-size */
  font-size: 1.2rem;
}

/* 链接样式 */
a:link {
  color: #696969;
  text-decoration: none;
}
a:visited {
  text-decoration: none;
  color: #696969;
}
a:hover {
  text-decoration: none;
  color: #df2126;
}
a:active {
  text-decoration: none;
}

/* 页脚样式 */
#footer-container {
  width: 100%;
  margin-top: auto;
}

.footer-wrapper {
  width: 100%;
  background-color: #f8f8f8;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 30px 5%;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  text-align: center;
  padding-right: 20px;
}

.footer-right {
  flex: 1;
  text-align: center;
  padding-left: 20px;
}

.footer-right-content {
  text-align: center;
  margin-left: 5%;
}

.footer-left h4,
.footer-right h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}

.footer-left p,
.footer-right p {
  margin: 10px 0;
  /* 使用相对单位 */
  font-size: 1.2rem;
  line-height: 1.6;
}

.footer-copyright {
  background-color: #f1f1f1;
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.footer-copyright p {
  margin: 0;
  /* 使用相对单位 */
  font-size: 0.875rem;
  color: #696969;
}

/* 响应式设计 - 页脚 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .footer-left,
  .footer-right {
    padding: 0;
    margin-bottom: 20px;
    width: 100%;
  }
}

/* 其他必要样式 */
.card {
  background-color: #069bfe18;
  border-spacing: 0px;
}

.card ul {
  padding-left: 5%;
}

.splitline {
  width: 60%;
  margin-left: 70px;
  margin-top: 60px;
  background-color: #f1f1f1;
  height: 3px;
}

.infos2 {
  background-color: #f1f1f1;
  margin-top: 30px;
  color: #696969;
}

/* 导航栏容器样式 */
.navbar-container {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #fff;
}

/* Logo区域样式 */
.navbar-logo {
  width: 14%;
  height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
}

.navbar-logo img {
  width: 107px;
  height: 72px;
}

/* 导航菜单样式 */
.navbar-menu {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 1;
  height: 74px;
  padding-bottom: 5px;
}

/* 导航项样式 */
.nav-item {
  position: relative;
  margin: 0 20px;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.nav-item a {
  display: inline-block;
  padding: 15px 10px;
  color: #696969;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-bottom: -15px;
}

.nav-item a:hover {
  color: #df2126;
}

/* 下拉菜单样式 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #ec1a25;
  margin-top: 6px;
  z-index: 10;
  min-width: 150px;
}

/* 下拉菜单内容样式 */
.dropdown-content {
  /* min-width: 180px; */
  padding: 10px;
  text-align: center;
}

.dropdown-content a {
  display: block;
  padding: 10px !important;
  margin-bottom: 0 !important;
  color: #696969;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: normal;
}

.dropdown-content a:hover {
  color: #c00;
}

/* 宽下拉菜单样式 */
/* .wide-dropdown {
  right: -100%;
  left: auto;
  transform: none;
} */

/* 导航栏分隔线 */
.navbar-divider {
  height: 3px;
  background-color: #df2126;
}

/* 显示/隐藏类 */
.show {
  display: block;
}

.hide {
  display: none;
}

/* 移动端菜单样式 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.menu-icon {
  display: block;
  width: 12px;
  height: 2px;
  background-color: #333;
  position: relative;
  transition: background-color 0.3s ease;
}

.menu-icon:before,
.menu-icon:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: #333;
  transition: transform 0.3s ease;
}

.menu-icon:before {
  top: -8px;
}

.menu-icon:after {
  bottom: -8px;
}

/* 高DPI屏幕适配 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  html {
    /* 对于高分辨率屏幕，可以稍微增加基准字体大小 */
    font-size: 17px;
  }
}

/* 根据屏幕宽度调整字体大小，确保在不同设备上保持一致的视觉效果 */
@media (min-width: 1600px) {
  html {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}
