
.wsdc-container {
    display: flex;
    margin: 0 auto;
    background-color: #fff;
    font-size: 1.8rem;
    
}
.sidebar {
    width: 27%;
    background-color: #fff;
    font-family: "Arial", sans-serif;
}

/* 标题样式 */
.sidebar-header {
    background-color: #bd1a2d;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    
}

/* 小三角标记 */
.sidebar-header::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #bd1a2d transparent transparent transparent;
}

/* 菜单列表 */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

/* 菜单项样式 */
/* 确保列表项样式 */
.menu-item {
    margin-bottom: 10px;
    border-left: 5px solid #f3c2a3;
}

/* 默认背景颜色 */
.menu-item a {
    display: block;
    text-decoration: none;
    padding: 10px;
    background: #f9e1da;
    color: #333;
    font-size: 16px;
    position: relative; /* 让文字层级高于背景 */
    overflow: hidden; /* 避免动画溢出 */
    transition: color 0.3s ease;
    z-index: 1; /* 让文字处于顶层 */
}

/* 伪元素实现左到右填充 */
.menu-item a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f3c2a3;
    transition: width 0.4s ease-in-out;
    z-index: -1; /* 让背景在下面 */
}

/* 悬停时背景填充 */
.menu-item a:hover::before {
    width: 100%;
}

/* 文字颜色变化 */
.menu-item a:hover {
    color: #bd1a2d;
}

/* 当前激活项 */
.menu-item.active a {
    background: #f3c2a3;
    color: #bd1a2d;
    font-weight: bold;
}
.right-content{
 border: 1px solid #f9e1da;
 padding: 50px 60px;
 width: 80%;
}
/* 列表样式 */
.news-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  .news-list li{
    display: flex;
    padding: 10px 0px;
    border-bottom: 2px dashed #ededed;
  }
  /* 单个列表项样式 */
  .news-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ededed;
  }
  
  /* 图标样式 */
  .news-icon {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #e47e5a;
    margin-right: 10px;
    margin-top: 10px;
  }
  
  /* 内容区域样式 */
  .news-content {
    flex: 1;
  }
  
  /* 标题样式 */
  .news-title {
    font-size: 18px;
    color: #333;
    font-weight: normal;
    margin: 0;
    line-height: 1.4;
  }  
  /* 底部信息样式 */
  .news-footer {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    max-width: 300px;
  }
  
  /* 发布时间和来源的样式 */
  .news-date,
  .news-source {
    color: #c49f8f;
  }
/*学习资源*/
.viegs{
    display: flex;
    flex-wrap: wrap;
    background: #f5f5f5;
    justify-content: center;
    padding: 30px;
    gap: 20px;
}
.viegs a{
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
}
.viegs a span {
    background: #b30c0c;
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 12px;
    padding: 0 10px;
    margin-bottom: -29px;
    z-index: 11111;
    border-radius: 15px;
}
.viegs a  img {
    vertical-align: middle;
    width: 310px;
    height: 155px;
}
/*-------------------------------分布样式------------------------------------*/

.page_num {
    padding: 20px;
    overflow: hidden;
    font-size: 12px;
}

#page_div {
    line-height: 20px;
    color: #000;
}

#pagination_input {
    width: 20px;
    height: 16px;
    line-height: 16px;
    margin: 0 8px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
}

#page_div .pagination_index,
#page_div .pagination_index_num {
    background: #FFFFFF;
    border: 1px solid #81353f;
    padding: 0 8px;
    margin-right: 2px;
    float: left;
    height: 20px;
    text-align: center;
}

#page_div .pagination_index a,
#page_div .pagination_index_num a {
    padding: 0px;
    margin: 0px;
    text-align: center;
    color: #000;
}

#page_div .pagination_index a:hover,
#page_div .pagination_index_num a:hover {
    padding: 0px;
    margin: 0px;
    text-align: center;
    color: #000;
}

#page_div .pagination_index_last {
    width: 320px;
    float: right;
    text-align: right;
}

#page_div .pagination_index_num {
    margin-right: 2px;
    padding: 0px;
    width: 20px;
}

#page_div .currentIndex {
    background: #BB2323;
    border: 1px solid #BB2323;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #FFF;
    text-align: center;
    font-weight: bold;
}