/* 典型案例 */
/* 头部 */
header.main nav.main .main-container {
  height: 132px;
}

header.main.jjfa nav.main {
  border-bottom: none;
}

header.main nav.main {
  background-color: #F7F7F7;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header.main .nav-list {
  text-align: center;
}

header.main.jjfa .content p {
  margin-top: 18px;
  font-weight: 400;
  font-size: 19px;
  color: #272727;
}

header.main .nav-list li {
  height: 75px;
  font-weight: 400;
  font-size: 16px;
  color: #272727;
  margin: 0 20px;
  width: 85px;
}

nav.main ul li:hover {
  border-bottom: 2px solid #DC0014;
}

header.main .main-container.content {
  background-image: url('../../images/educationNew/schd-bj.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 519px;
  padding-top: 152px;
}

header.main .main-container p {
  margin: 18px auto 46px auto;
}

header.main .content h1 {
  font-size: 48px;
  color: #DC0014;
  margin-bottom: 0px;
  width: 1070px;
  margin: 0 auto;
  text-align: left;
}

header.main.content-center .main-container p {
  width: 1070px;
  font-size: 24px;
  color: #272727;
  margin-top: 28px;
  margin-bottom: 54px;
  text-align: left;
  height: 59px;
  line-height: 35px;
}

header.main.content-center {
  height: auto;
}

/* 正文 */
.mail-title {
  font-size: 40px;
  color: #272727;
  text-align: center;
  max-width: 1199px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 热门活动区域 - 核心修改：右侧对齐 */
.hot-activity-section {
  margin-top: 76px;
  display: flex;
  max-width: 1199px;
  width: 100%;
  margin: 76px auto 0 auto;
  box-sizing: border-box;
}

.hot-activity-pic {
  width: 50%; /* 图片区占50%宽度，与描述区对称 */
  flex-shrink: 0; /* 防止图片区缩小 */
}

.hot-activity-describe {
  background: #EFEFEF;
  padding: 37px 30px 0 30px; /* 调整左右padding，使内容对齐 */
  width: 50%; /* 描述区占50%宽度，与图片区对称 */
  box-sizing: border-box;
}

.hot-activity-describe-title {
  font-size: 28px;
  color: #272727;
}

.hot-activity-describe-content {
  width: 100%; /* 文字区占满描述区宽度 */
  font-size: 17px;
  color: #606060;
  box-sizing: border-box;
}

/* 热门活动查看详情按钮样式 */
.hot-activity-describe .more-button {
  width: 161px;
  height: 58px;
  background: #EFEFEF;
  color: #606060;
  font-size: 21px;
  border: 1px solid #D3D3D3;
  margin-top: 54px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

/* 已访问链接颜色 */
a.more-button:visited {
  color: #606060;
}

/* 鼠标悬停时字体变红 */
.hot-activity-describe .more-button:hover {
  color: #DC0014 !important;
  background: #EFEFEF;
  border-color: #D3D3D3;
}

.mail-title:nth-of-type(2) {
  margin-top: 102px;
}

/* 往期活动 */
#app {
  background-color: #F7F7F7;
  padding-top: 76px;
}

.wqhd-list {
  max-width: 1199px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 74px;
  box-sizing: border-box;
}

.wqhd-item {
  width: 100%;
  height: 371px;
  margin-bottom: 35px;
}

.wqhd-pic {
  width: 100%;
  height: 201px;
}

.wqhd-describe-container {
  height: 169px;
  background-color: white;
  border: 1px solid #D6D7D9;
  padding: 31px 31px 0 31px;
}

.wqhd-describe-title {
  color: #2A2A2C;
  font-size: 17px;
  height: 40px;
}

.wqhd-detail-list {
  font-size: 14px;
  color: #848484;
  margin-top: 25px;
}

.wqhd-detail-item {
  line-height: 10px;
  display: flex;
  margin-bottom: 10px;
}

.wqhd-detail-icon {
  width: 11px;
  height: 11px;
  margin-right: 7px;
}

.page-container {
  height: auto;
  margin-top: 70px;
  max-width: 1421px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 100px; /* 与热门活动区域对齐 */
  box-sizing: border-box;
}

.white-div {
  height: 125px;
}

/* 响应式调整 - 确保在小屏幕上也能正确显示 */
@media (max-width: 1460px) {
  .mail-title,
  .hot-activity-section,
  .wqhd-list,
  .page-container {
    max-width: 1200px;
  }
  
  .wqhd-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .mail-title,
  .hot-activity-section,
  .wqhd-list,
  .page-container {
    max-width: 992px;
  }
  
  .hot-activity-section {
    flex-direction: column; /* 小屏幕下改为垂直布局 */
  }
  
  .hot-activity-pic {
    width: 100%; /* 图片区占满宽度 */
  }
  
  .hot-activity-describe {
    width: 100%; /* 描述区占满宽度 */
    padding: 30px; /* 调整内边距 */
  }
  
  .hot-activity-describe-content {
    width: 100%; /* 文字区占满宽度 */
  }
  
  .wqhd-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mail-title,
  .hot-activity-section,
  .wqhd-list,
  .page-container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .wqhd-list {
    grid-template-columns: 1fr;
  }
  
  .mail-title {
    font-size: 32px;
  }
}

/* 创建新的粘性上下文（防止内容被固定导航栏遮挡） */
header.main {
  position: relative;
}

body {
  padding-top: 132px; /* 避免内容被固定导航栏遮挡 */
}