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

/* Banner区域样式 - 与list_honor保持一致 */
.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;
    width: 1440px;
    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-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);
    }
}

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

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

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

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

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

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

    .home-banner .box-slide-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;
    }
}

/* 项目区域样式 */
#project-area {
    padding: 60px 0;
}

.project-area .home-news h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1366EE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-area .home-news h3 span {
    position: relative;
}

.project-area .home-news h3 em a {
    font-size: 14px;
    color: #1366EE;
    font-style: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-area .home-news h3 em a:hover {
    color: #0d4bb5;
}

.project-area .home-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-area .home-news ul li {
    margin-bottom: 20px;
}

/* 第一张图片样式 */
.project-area .home-news .imggroup {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-area .home-news .imggroup:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-area .home-news .imggroup-img {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 6px;
}

.project-area .home-news .imggroup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-area .home-news .imggroup:hover .imggroup-img img {
    transform: scale(1.05);
}

.project-area .home-news .imggroup-text {
    flex: 1;
}

.project-area .home-news .imggroup-text .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.project-area .home-news .imggroup-text .title a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-area .home-news .imggroup-text .title a:hover {
    color: #1366EE;
}

.project-area .home-news .imggroup-text .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 列表项样式 */
.project-area .home-news ul li.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.project-area .home-news ul li.item:hover {
    background: #f5f7fa;
}

.project-area .home-news ul li.item a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.project-area .home-news ul li.item a:hover {
    color: #1366EE;
}

.project-area .home-news ul li.item .badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #6c757d;
    border-radius: 12px;
    margin-right: 12px;
}

.project-area .home-news ul li.item .badge-warning {
    background: #ffc107;
    color: #000;
}

.project-area .home-news ul li.item .badge em {
    font-style: normal;
}

.project-area .home-news ul li.item .date {
    color: #999;
    font-size: 13px;
    margin-left: 15px;
}

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