/* 分页样式 */

#pagi {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
}

#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 {
    color: #007bff;
}

#pagi a:hover {
    background-color: #f5f5f5;
}

.zit {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.category-container {
    /* background: #fff; */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.hash {
    color: #666;
    margin-right: 8px;
    font-style: normal;
}

.category-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin: 8px 0;
    transition: transform 0.2s ease;
}

.category-link {
    text-decoration: none;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.category-link:hover {
    color: #333;
    background: #f5f5f5;
    transform: translateX(5px);
}

.category-name {
    font-weight: 500;
}

.category-count {
    color: #999;
    font-size: 0.9em;
}

.carousel-container {
    position: relative;
    border-radius: 8px;
    width: 100%;
    /* max-width: 1200px; */
    margin: 50px auto;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.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;
    }
}

/* 搜索提示样式 */
.search-tips {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    border-radius: 8px;
    padding: 20px;
    /* margin: 25px 0; */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.search-tips::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #4facfe 0%, #00f2fe 100%);
}

.search-tips p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.search-tips-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 24px;
}

.search-tips ul {
    margin: 0;
    padding-left: 35px;
    list-style-type: none;
}

.search-tips li {
    margin-bottom: 12px;
    color: #34495e;
    position: relative;
    line-height: 1.5;
}

.search-tips li:last-child {
    margin-bottom: 0;
}

.search-tips li::before {
    /* content: "▸"; */
    position: absolute;
    left: -20px;
    top: 5px;
    color: #4facfe;
}