/* ========== list 页面专用样式 ========== */

/* Banner区域样式 - 与page保持一致 */
.home-banner {
    height: 600px;
}

.home-banner .swiper-slide {
    height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.home-banner .swiper-slide::before {
    display: none;
}

.home-banner .container.banner-container {
    height: auto;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-banner .box-slider-text {
    max-width: 800px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.home-banner .box-slide-title {
    font-family: 'Alibaba PuHuiTi 3.0', sans-serif;
    font-size: 70px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    animation: slideInUp 0.8s ease;
}

.home-banner .box-slide-sub-title {
    font-family: 'Alibaba PuHuiTi 3.0', sans-serif;
    font-size: 70px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #fff;
    animation: slideInUp 1s ease;
}

.home-banner .box-slide-description {
    font-family: 'Alibaba PuHuiTi 3.0', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 1.2s ease;
}

/* Banner按钮组 */
.home-banner .banner-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    animation: slideInUp 0.8s ease 0.4s both;
}

.home-banner .banner-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-banner .banner-buttons .btn svg {
    width: 20px;
    height: 20px;
}

/* 点击咨询按钮 - 蓝色实心 */
.home-banner .banner-buttons .consult-btn {
    background: #1366EE;
    color: #fff;
    border: 2px solid #1366EE;
    box-shadow: 0 4px 15px rgba(19, 102, 238, 0.4);
}

.home-banner .banner-buttons .consult-btn:hover {
    background: #0d4bb5;
    border-color: #0d4bb5;
    box-shadow: 0 6px 20px rgba(19, 102, 238, 0.5);
    transform: translateY(-2px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 主容器样式 ========== */
.main-container {
    padding: 60px 0;
    background: #f5f7fa;
}

/* ========== 侧边栏样式 ========== */
.sidebar {
    margin-bottom: 30px;
}

.sidebar-left {
    padding-right: 20px;
}

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf1;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
}

/* 栏目导航菜单 */
.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-menu li {
    margin-bottom: 8px;
}

.service-menu li a {
    display: block;
    padding: 12px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

.service-menu li a:hover {
    background: #f5f7fa;
    color: #1366EE;
    padding-left: 20px;
}

.service-menu li.active a {
    background: #1366EE;
    color: #fff;
    font-weight: 500;
}

.service-menu li.active a:hover {
    background: #0d4bb5;
}

/* 热门新闻 */
.recent-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.recent-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts li:first-child {
    padding-top: 0;
}

.recent-posts li:hover {
    transform: translateX(5px);
}

.posts-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.posts-thumb:hover img {
    transform: scale(1.1);
}

.post-info {
    flex: 1;
    min-width: 0;
}

.entry-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entry-title a:hover {
    color: #1366EE;
}

/* 标签云 */
.widget-tags ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget-tags li a {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f7fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.widget-tags li a:hover {
    background: #1366EE;
    color: #fff;
    border-color: #1366EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 102, 238, 0.3);
}

/* ========== 内容区域样式 ========== */
.content-inner-page {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf1;
    min-height: 600px;
}

/* 博客列表 */
.blog-item-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-item {
    display: flex;
    gap: 30px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #1366EE;
}

.blog-item.large-blog {
    flex-direction: row;
}

.bi-pic {
    width: 280px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.bi-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-item:hover .bi-pic img {
    transform: scale(1.05);
}

.bi-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bi-text h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.bi-text h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bi-text h4 a:hover {
    color: #1366EE;
}

.bi-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.bi-text ul li {
    font-size: 13px;
    color: #999;
}

.bi-text ul li span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bi-text ul li i {
    color: #1366EE;
    font-size: 14px;
}

.bi-text .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1366EE;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0d4bb5;
    gap: 12px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* 间距工具类 */
.gap-40 {
    height: 40px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e8ecf1;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #1366EE;
    color: #fff;
    border-color: #1366EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 102, 238, 0.3);
}

.pagination .active {
    background: #1366EE;
    color: #fff;
    border-color: #1366EE;
}

/* ========== 响应式调整 ========== */
@media (max-width: 991px) {
    .home-banner {
        height: 400px;
    }

    .home-banner .swiper-slide {
        height: 400px;
    }

    .home-banner .box-slide-title,
    .home-banner .box-slide-sub-title {
        font-size: 48px;
    }

    .home-banner .box-slide-description {
        font-size: 16px;
    }

    .sidebar-left {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .content-inner-page {
        padding: 30px;
    }

    .blog-item {
        flex-direction: column;
    }

    .bi-pic {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .home-banner {
        height: 300px;
    }

    .home-banner .swiper-slide {
        height: 300px;
    }

    .home-banner .box-slide-title,
    .home-banner .box-slide-sub-title {
        font-size: 36px;
    }

    .home-banner .box-slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .home-banner .banner-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .home-banner .banner-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
        justify-content: center;
    }

    .main-container {
        padding: 40px 0;
    }

    .content-inner-page {
        padding: 20px;
    }

    .widget {
        padding: 20px;
    }

    .blog-item {
        padding: 16px;
    }

    .bi-text h4 {
        font-size: 18px;
    }

    .bi-text ul {
        gap: 12px;
    }
}

/* 主容器宽度限制 */
#main-container .container {
    max-width: 1440px;
}