/* 手机端样式：当屏幕宽度小于 768px 时 */
@media (max-width: 767px) {
  #pc-content { display: none !important; }
  #mobile-content { display: block !important;background: #fff;}
  .move-cover{
      display:none !important;
  }
  
  html, body {
    /* 强制重置，防止被外部 CSS 的 min-width 撑开 */
    min-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
  }
}

/* PC端样式：当屏幕宽度大于等于 768px 时 */
@media (min-width: 768px) {
  #pc-content { display: block !important; }
  #mobile-content { display: none !important; }
}
#mobile-content {
  overflow: hidden;
}
html,
body {
  user-select: none;
}
* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #333;
}
ul {
  list-style: none;
}
.hidden {
  display: none;
}
.pd-top {
  box-sizing: border-box;
  width: 100%;
  height: 90px;
  position: fixed;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
}
.pd-top span {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
}
.pd-top img {
  /*max-width: 200px;*/
  height: auto;
}

.pd-top-btn {
  width: 38px;
  height: 36px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  padding: 5px;
  z-index: 9999;
}

.pd-top-btn img {
  width: 30px;
  height: 30px;
}
/* 导航菜单样式 */
.pd-nav {
  position: fixed;
  top: 0;
  right: -280px;
  /* 初始位置在右侧外部 */
  width: 260px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}

/* 导航菜单激活状态 */
.pd-nav.active {
  right: 0;
  /* 激活时滑入视图 */
}
.pd-nav h2 {
  font-size: 20px;
  font-weight: bold;
  color: #3075bb;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;

  height: 90px;
  box-sizing: border-box;
  line-height: 50px;
}
/* 导航菜单列表样式 */
.pd-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-nav li {
  padding: 0; /* 移除原来的 padding，由 a 标签撑开 */
  border-bottom: 1px solid #f0f0f0;
  display: block; /* 改为块级，防止 flex 布局干扰子菜单 */
}

.pd-nav li a {
  color: #333;
  font-size: 15px;
}

/* 一级菜单链接样式 */
.pd-nav > ul > li > a {
  padding: 15px 20px;
  display: flex;
  justify-content: flex-start; /* 默认依然居中 */
  align-items: center;
  position: relative;
  transition: all 0.2s;
}

/* --- 关键：当 li 包含 ul (二级菜单) 时的样式修正 --- */

/* 1. 如果有二级菜单，将文字左对齐，并留出箭头空间 */
.pd-nav li:has(ul) > a {
  justify-content: flex-start; /* 有子菜单时建议左对齐，视觉更自然 */
  /*padding-left: 25px;*/
}

/* 2. 增加伪元素箭头（仅在有二级菜单时显示） */
.pd-nav li:has(ul) > a::after {
  content: "";
  position: absolute;
  right: 20px;
  width: 6px;
  height: 6px;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

/* 3. 当菜单展开时，箭头旋转 */
.pd-nav li.open > a::after {
  transform: rotate(-135deg);
  border-color: #3075bb;
}

/* --- 二级菜单容器样式 --- */
.pd-nav li ul {
  display: none; /* 默认隐藏 */
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
}

.pd-nav li.open ul {
  display: block; /* 展开状态 */
}

/* 二级菜单项样式 */
.pd-nav li ul li {
  border-bottom: 1px solid #eee;
}

.pd-nav li ul li a {
  padding: 12px 20px 12px 40px; /* 增加左缩进 */
  font-size: 14px;
  color: #666;
  justify-content: flex-start; /* 二级菜单固定左对齐 */
}

.pd-nav li ul li:last-child {
  border-bottom: none;
}

.content-main {
  padding: 20px;
  box-sizing: border-box;
}
.column {
  font-size: 14px;
  margin-bottom: 20px;
}
.column ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  list-style: none;
}

.column li {
  border: 1px solid #f0f0f0;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  background-color: rgba(49, 76, 159, 1);
  border-radius: 5px;
}
.column a {
  white-space: nowrap;
  color: #fff;
}
.article {
  font-size: 14px;
}
.article a{
    color: #333 !important;
}
.article-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.article-title ul {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
}
.article-title ul li {
  margin-right: 10px;
  margin-left: 10px;
}
.article-title ul li:first-child {
  margin-left: 0;
}

.article-content {
  font-size: 14px;
}

.active1 {
  display: block !important;
}
.article-content ul {
  display: none;
}
.article-content li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.article-content li a {
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  padding: 10px 0;
  width: 290px;
}
.article-content li span {
  color: #999;
}
.school h2 {
  font-size: 20px;
  font-weight: bold;
  color: #3075bb;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}
/* 1. 父容器：开启弹性布局，禁止换行，允许横向滚动 */
.school-list {
  display: flex;
  overflow-x: auto; /* 开启横向滚动 */
  -webkit-overflow-scrolling: touch; /* 优化移动端滑动手感 */
  gap: 15px; /* 卡片之间的间距 */
  padding-bottom: 10px; /* 留出空间，防止阴影或滚动条遮挡 */
}

/* 隐藏滚动条（可选，让界面更整洁） */
.school-list::-webkit-scrollbar {
  display: none;
}
.school-item {
  flex: 0 0 280px; /* 关键：不放大、不缩小、固定基准宽度为 280px */
  border: 1px solid #f0f0f0; /* 可选：增加边框增强边界感 */
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 0 10px;
}
.school-item img {
  width: 100%;
  height: 200px;
}
.school-item h3 {
  text-align: center;
  line-height: 30px;
  margin-bottom: 10px;
  font-weight: normal;
  margin-top: 10px;
}
.school-item p {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.school-item p a {
  background-color: red;
  line-height: 40px;
  background-color: #2a35e9;
  color: #fff;
  border-radius: 10px;
  text-align: center;
}
.school-item p a:nth-child(2) {
  background-color: #6d4dee;
}
.school-item p a:nth-child(3) {
  background-color: #26b5f2;
}
.school-item ul li {
  line-height: 30px;
  margin-bottom: 10px;
  font-weight: normal;
}
.school-item ul li a {
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.school-item ul li:first-child {
  margin-top: 10px;
}
.pd-bottom {
  width: 100%;
  height: 177px;
  margin-top: 30px;

  background-color: #1c497c;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pd-bottom p {
  text-align: center;
  color: #ffffff;
  line-height: 28px;
  font-size: 14px;
}
