.news-search-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    z-index: 2;
}
.news-daohang-box{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    background: #fff;
    margin-top: 20px;
}
.news-daohang-item{
    position: relative;
}
.news-daohang-item a {
    text-decoration: none;
    padding: 10px 5px;
    font-size: 22px;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}
.news-daohang-item a:hover {
    color: #000;
}
.news-daohang-item a.active {
    color: #333;
    font-weight: 500;
}
.news-daohang-item a::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}
.news-daohang-item a.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}
.news-daohang-item a:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.news-daohang-item a:hover::after {
    transform: scaleX(1);
}

/* 文章列表样式 */
.news-list-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.news-item {
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: transform 0.2s ease;
    overflow-x: hidden;
}

.news-item:hover {
    transform: translateY(-2px);
}

.news-thumb {
    width: 200px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-thumb:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    cursor: pointer;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-thumb:hover img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-title {
    font-size: 20px;
    font-weight: 550;
    color: #333;
    line-height: 1.4;
}
.news-title:hover{
    color: #007bff;
    cursor: pointer;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    font-size: 13px;
    color: #999;
}
.news-metas{
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    margin-top:auto;
}
.news-metas .layui-inline span{
    padding-left: 6px;
}
.news-category span{
    /* margin-right: 3px; */
    background: #f0f7ff;
    padding: 3px 8px;
    color: #007bff;
    border-radius: 4px;
    font-size: 12px;
}
.news-page-box{
    display: flex;
    justify-content: end;
    padding: 20px 0;
}

/* 分页控件样式 */
.layui-laypage a,
.layui-laypage span {
    font-size: 16px;          /* 调整文字大小 */
    padding: 0 18px;          /* 调整内边距 */
    height: 38px;             /* 调整高度 */
    line-height: 38px;        /* 调整行高，与高度保持一致 */
    margin: 0 5px;            /* 调整按钮之间的间距 */
    border-radius: 2px;       /* 可选：添加圆角 */
}

/* 总页数样式 */
.layui-laypage-count {
    padding: 0 12px;
    height: 38px;
    line-height: 38px;
}

/* 跳转页面输入框样式 */
.layui-laypage-skip input {
    height: 38px;
    width: 50px;
    padding: 0 8px;
}
.layui-laypage a:hover{
    color: #007bff;
}
.search-info{
    line-height: 50px;
    padding-left: 20px;
    font-size: 16px;
    color: #333;
    background-color: #fafafa;
}
@media screen and (max-width: 768px) {
    .help-banner-content{
        margin: 0 auto;
    }
}
.news-classes{
    padding: 20px 0;
}
.news-classes ul{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.news-classes ul li{
    padding: 10px 20px;
    background: #f0f7ff;
    color: #007bff;
    border-radius: 4px;
}
.news-classes ul li a{
    color: #007bff;
}
.news-classes ul li a:hover{
    color: #ff7300;
}
.news-classes ul li a.active{
    color: #ff7300;
}