/* 文章列表页面样式 */

/* 主体内容样式 */
.article-container {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
}

.article-main {
    width: 850px;
    background-color: #fff;
  
}

.article-category a{
    margin-right: 20px;
}

.article-category a.active{
    margin-right: 20px;
    font-weight: 600;
}

.article-sidebar {
    width: 300px;
}

/* 文章列表样式 */
.article-list {
    margin-bottom: 40px;
    border-radius: 8px;
    padding: 0 40px 0 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-item {
    padding: 30px 0;
    border-bottom: 1px solid #F0F0F0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.article-item h3 a {
    color: #333;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.article-item h3:hover a {
    color: #FF7A00;
}

.article-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-info .date {
    color: #999;
    font-size: 14px;
}

.view-count {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.view-icon {
    display: inline-block;
    width: 16px;
    height: 14px;
    background-image: url('../imgs/article/view-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}


/* 分页样式 */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
}

.page-item,
.page-prev,
.page-next {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #e6e6e6;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.page-item:hover,
.page-prev:hover,
.page-next:hover {
    border-color: #ff6800;
    color: #ff6800;
}

.page-item.active {
    background-color: #ff6800;
    border-color: #ff6800;
    color: #fff;
}

.page-ellipsis {
    margin: 0 5px;
    color: #999;
}

.page-jump {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.page-input {
    width: 50px;
    height: 36px;
    margin: 0 5px;
    padding: 0 10px;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.page-go {
    padding: 8px 15px;
    margin-left: 10px;
    background-color: #ff6800;
    color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.page-go:hover {
    background-color: #e55c00;
}

/* 侧边栏样式 */
.sidebar-section {
    margin-bottom: 30px;
    background-color: #FAFAFA;
    padding: 20px;
    border-radius: 5px;
}

.sidebar-section h4 {
    font-size: 16px;
    color: #151520;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF7F00;
}

/* 热门文章样式 */
.hot-articles {
    list-style: none;
}

.hot-articles li {
    margin-bottom: 15px;
    position: relative;
}

.hot-articles a {
    display: block;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    padding-left: 30px;
}

.hot-articles a:hover {
    color: #FF7F00;
}

.hot-rank {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #FF7F00;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hot-title {
    display: inline-block;
    line-height: 1.4;
}

/* 服务卡片样式 */
.service-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.service-card {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    background-color: #FAFAFA;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card .iconfont {
    font-size: 40px;
    margin-bottom: 10px;
}

.service-card p {
    color: #333;
    font-size: 14px;
}

/* 安心服务样式 */
.service-info ul {
    list-style: none;
}

.service-info li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #333;
}

.service-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../imgs/article/service-icon.png') no-repeat center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 联系电话样式 */
.contact-phone {
    background-color: #FF7F00;
    color: #fff;
    padding: 30px 20px;
    border-radius: 5px;
    text-align: center;
}

.phone-icon {
    width: 60px;
    height: 60px;
    background: url('../imgs/article/phone-icon.png') no-repeat center;
}

.phone-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 24px;
    font-weight: 600;
}

@media screen and (max-width: 992px) {
    .article-container{padding: 10px;}
    .article-main{width: 100%;}
    .article-sidebar{width: 100%;}
}

