/* 标签列表页面样式 */
.tag-section {
    padding: 10px 0 60px 0;
    background-color: #f9f9f9;
}

.tag-header {
    text-align: center;
    margin-bottom: 40px;
}

.tag-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.tag-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.tag-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tag-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tag-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.tag-thumbnail {
    height: 180px;
    overflow: hidden;
}

.tag-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tag-content {
    padding: 20px;
}

.tag-content h3 {
    color: #0066cc;
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-align: center;
}

.tag-content p {
    color: #666;
    line-height: 1.6;
}

/* 悬停效果 */
.tag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tag-card:hover .tag-thumbnail img {
    transform: scale(1.05);
}

.tag-card:hover .tag-content h3 {
    color: #004d99;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-item:hover, 
.pagination-item.active {
    background-color: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .tag-section {
        padding: 50px 0;
    }
    
    .tag-title {
        font-size: 2.2rem;
    }
    
    .tag-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tag-section {
        padding: 40px 0;
    }
    
    .tag-title {
        font-size: 2rem;
    }
    
    .tag-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .tag-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .tag-section {
        padding: 30px 0;
    }
    
    .tag-title {
        font-size: 1.8rem;
    }
    
    .tag-description {
        font-size: 0.95rem;
    }
    
    .tag-list {
        grid-template-columns: 1fr;
    }
    
    .pagination-item {
        width: 35px;
        height: 35px;
    }
}