/* 分页样式 */

#pagi {
    text-align: center;
    margin: 20px 0;
    padding-bottom: 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:hover {
    background-color: #f5f5f5;
}

.zit {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 标签云样式 */
.tag-container {
    /* background: rgba(255, 255, 255, 0.95); */
    border-radius: 20px;
    padding: 30px;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(10px);
    /* border: #cfcfcf 1px solid; */
}

.tag-container h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.tag:hover::before {
    transform: translateX(0);
}

/* 不同类别的颜色 */
.tag.technology {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tag.design {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tag.business {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tag.lifestyle {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.tag.education {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* 添加一个发光效果 */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
}

.tag:hover {
    animation: glow 2s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .tag-container {
        padding: 20px;
    }

    .tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}


.carousel-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    border-radius: 10px;
    /* margin: 50px auto; */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 320px;
}

.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;
    }
}

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.hot-posts-list {
    list-style: none;
    padding: 0;
}

.hot-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.hot-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-number {
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    margin-right: 12px;
    flex-shrink: 0;
}

.hot-post-item:nth-child(1) .post-number {
    background: #ff6b6b;
    color: white;
}

.hot-post-item:nth-child(2) .post-number {
    background: #4ecdc4;
    color: white;
}

.hot-post-item:nth-child(3) .post-number {
    background: #45b7d1;
    color: white;
}

.post-content {
    flex: 1;
}

.post-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #007bff;
}

.post-meta {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.post-meta span {
    margin-right: 10px;
}

.wpcom_title {
    font-size: 24px;
}

/* 搜索结果为空样式 */
.no-results {
    text-align: center;
    padding: 40px 20px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,242,247,0.9));
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.no-results p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 10px 0;
}

.no-results p:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

/* 添加搜索图标 */
.no-results::before {
    content: "\f002"; /* 使用Font Awesome搜索图标 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: block;
    font-size: 48px;
    color: rgba(102, 126, 234, 0.7);
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .no-results {
        padding: 30px 15px;
        margin: 20px 0;
    }
    
    .no-results p {
        font-size: 15px;
    }
    
    .no-results p:first-child {
        font-size: 16px;
    }
    
    .no-results::before {
        font-size: 40px;
    }
}