/* 页面标题背景区域样式 */
.page-banner {
    width: 100%;
    height: 555px;
    background-image: url('../images/bg_6.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-content {
    width: var(--width-section);
    margin: 0 auto;
}

.banner-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
}

.page-title {
    font-size: 30px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-divider {
    width: 80px;
    height: 2px;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 2px;
}

.breadcrumb {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 5px;
}

.breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .banner-content {
        width: 100%;
        padding: 0 40px;
    }

    .page-title {
        font-size: 40px;
    }
}

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

    .banner-content {
        padding: 0 20px;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .title-divider {
        width: 80px;
        margin-bottom: 30px;
    }

    .breadcrumb {
        font-size: 14px;
        flex-wrap: wrap;
    }
}

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

    .page-title {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 12px;
    }
}

.category-section {
    width: 100%;
    background-color: white;
    margin-top: -5px;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-container {
    width: var(--width-section);
    margin: 0 auto;
}

.category-nav {
    width: 100%;
}

.category-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.category-item {
    position: relative;
}

.category-link {
    display: block;
    padding: 18px 30px;
    text-decoration: none;
    color: var(--mainColor);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 1px solid #e9ecef;
    position: relative;
}

.category-item:last-child .category-link {
    border-right: none;
}

.category-link:hover {
    background-color: #f8f9fa;
    color: var(--mainColor);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.category-link.active {
    background-color: var(--mainColor);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.category-link.active:hover {
    background-color: var(--mainColor);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .category-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .category-section {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .category-list {
        flex-direction: column;
        gap: 1px;
        background-color: transparent;
        box-shadow: none;
    }

    .category-item {
        flex: none;
    }

    .category-link {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        background-color: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin-bottom: 1px;
        border-radius: 4px;
    }

    .category-item:last-child .category-link {
        border-bottom: none;
        margin-bottom: 0;
    }

    .category-link:hover {
        transform: none;
    }

    .category-link.active:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .category-container {
        padding: 0 15px;
    }

    .category-link {
        padding: 15px 20px;
        font-size: 14px;
    }
}