@charset "utf-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Microsoft Yahei', PingFangSC, sans-serif;
  background: #f2f4f7;
  color: #2c333a;
  line-height: 1.75;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 16px;
}


/* ==========主体布局========== */
.page-wrap {
  display: grid;
  grid-template-columns: 1040px 340px;
  gap: 28px;
  margin-bottom: 40px;
}

.edu-module {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.mod-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #164eac;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.mod-head h2 {
  font-size: 20px;
  color: #164eac;
  display: flex;
  align-items: center;
}
.mod-head h2::before {
  content: '';
  width: 5px;
  height: 20px;
  background: #164eac;
  margin-right: 10px;
}
/* 列表【已改造左图右文布局】 */
.list-item {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 30px;
}
.list-item:last-child {
  /* border-bottom: none; */
}

/* 左侧缩略图 */
.list-pic {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
}
.list-pic a {
  display: block;
  width: 100%;
  height: 100%;
}
.list-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
/* 右侧文字容器 */
.list-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.list-item h3 a:hover {
  color: #164eac;
}
.list-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.list-desc {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ajax新增列表动画 */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.ajax-new-item{
    animation: fadeSlideIn 0.45s ease-out forwards;
}

/* 分页 */
.pagelist {
  text-align: center;
  padding: 20px 0;
}
.pagelist a,
.pagelist span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.pagelist .thisclass {
  background: #164eac;
  color: #fff;
  border-color: #164eac;
}
.side-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.side-card h3 {
  font-size: 18px;
  color: #164eac;
  border-left: 4px solid #164eac;
  padding-left: 10px;
  margin-bottom: 16px;
}
.side-news li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.side-news li:last-child {
  border-bottom: none;
}
.side-news a {
  font-size: 15px;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-news a:hover {
  color: #164eac;
}

#loadmores {
  cursor: pointer !important;
  border: 1px solid #fff;
  background: #0f52b8;
  margin:24px auto 0 auto;
  border-radius: 24px;
  color: #fff;
  padding:10px 20px;
  text-align:center;
  width:200px;
  height:50px;
  line-height:28px;
  overflow:hidden;
  display:tables;
  align-items:center;
}

/* ==========统一合并媒体查询【1480 / 992 /768】 ========== */
@media (max-width: 1480px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 992px) {
  .page-wrap {
    grid-template-columns: 1fr;
  }
  .edu-top-banner {
    padding: 24px 0;
  }
  .edu-top-banner h1 {
    font-size: 24px;
  }
  .footer-wrap {
    padding: 26px 0;
  }
  .footer-link a {
    margin: 0 6px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .container { padding:0px 10px; }
	
  /*汉堡导航通栏下拉 修复：去掉错误calc偏移 left:0;right:0*/
  .edu-hamburger {
    display: block;
  }
  .edu-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 100%;
    z-index: 999;
    background: #0f52b8;
  }
  .edu-nav.show {
    display: flex;
  }
  .edu-nav li a {
    padding: 14px 16px;
    font-size: 17px;
    border-bottom: 1px solid #1c61c7;
  }
  /*列表移动端适配缩略图*/
  .list-item {
    padding: 14px 0;
    gap: 20px;
  }
  .list-pic {
    width: 140px!important;
    height: 100px;
  }
  .list-item h3 {
    font-size: 16px;
  }
  .side-card {
	  margin-bottom:-10px;
	  margin-top:-50px;
  }
}