.ul-class ul {
    display: flex;
    list-style-type: none;
}

.ul-class ul li {
    font-weight: bold;
    font-size: 14px;
    line-height: 70px;
    margin: 0 10px;
}

.carousel-container {
    position: relative;
    /* width: 70%; */
    border-radius: 30px;
    max-width: 1500px;
    margin: 50px auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 575px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航按钮样式 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .carousel-slide {
        height: 250px;
    }

    .carousel-nav {
        padding: 12px;
        font-size: 14px;
    }
}

/* 分页样式 */

#pagi {
    text-align: center;
    margin: 20px 0;
}

#pagi a,
#pagi b {
    border-radius: 10px;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
}

#pagi a:hover {
    background-color: #f5f5f5;
}

.zit {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 文章分类导航样式 */

.category-nav-wrapper {
    min-width: 1160px;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 10px;
}

.category-nav-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.category-nav-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
}

.category-nav-inner {
    overflow-x: auto;
    padding-bottom: 10px;
}

.category-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    gap: 15px;
}

.category-nav-item {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 32px;
    height: 32px;
    background-color: #f0f7ff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.category-icon i {
    font-size: 18px;
    color: #007bff;
}

.category-nav-item:hover .category-icon {
    background-color: #007bff;
}

.category-nav-item:hover .category-icon i {
    color: #fff;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
    margin-right: 8px;
    transition: color 0.3s ease;
}

.category-nav-item:hover .category-name {
    color: #007bff;
}

.category-count {
    font-size: 14px;
    color: #666;
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 10px;
}

/* 滚动条样式 */
.category-nav-inner::-webkit-scrollbar {
    height: 6px;
}

.category-nav-inner::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.category-nav-inner::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.category-nav-inner::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-nav-wrapper {
        padding: 0 10px;
    }

    .category-nav-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .category-link {
        padding: 10px 15px;
    }

    .category-name {
        font-size: 15px;
    }

    .category-icon {
        width: 28px;
        height: 28px;
    }

    .category-icon i {
        font-size: 16px;
    }
}