/* ========== 公共样式（分页、标签、动画等）========== */

/* 分页样式 */
.pagination {
    margin-top: 40px;
    text-align: center;
}
.pagination a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}
.pagination a.active {
    background: #B82525;
    color: #fff;
    border-color: #B82525;
}
.pagination a:hover:not(.active) {
    background: #f0f0f0;
    border-color: #ccc;
}
.pagination .prev,
.pagination .next {
    background: transparent;
    border: none;
}
.pagination .prev:hover,
.pagination .next:hover {
    background: transparent;
    color: #B82525;
}

/* 页面标题区域（列表页通用） */
.page-header-section {
    padding: 60px 0 20px;
}
.page-header-container {
    padding-left: 10%;
    padding-right: 10%;
    text-align: left;
}
.page-header-container h1 {
    font-size: 36px;
    color: #212121;
    font-weight: 500;
    margin-bottom: 15px;
}
.page-header-container h1 span {
    font-size: 20px;
    font-weight: 300;
    color: #212121;
}
.page-header-divider {
    width: 60px;
    height: 2px;
    background-color: #B82525;
}

/* 标签样式（无背景色，文字带颜色） */
.insight-meta .tags,
.detail-meta .tags {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 400;
    margin-right: 0px;
    margin-left: 0;
    white-space: nowrap;
    background: none !important;
}

/* 调整标签容器，增加间距 */
.insight-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* 见解列表项动画 */
.insight-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 1.2s ease-out forwards;
}
.insight-item:nth-child(1) { animation-delay: 0.3s; }
.insight-item:nth-child(2) { animation-delay: 0.6s; }
.insight-item:nth-child(3) { animation-delay: 0.9s; }
.insight-item:nth-child(4) { animation-delay: 1.2s; }
.insight-item:nth-child(5) { animation-delay: 1.5s; }
.insight-item:nth-child(6) { animation-delay: 1.8s; }
.insight-item:nth-child(7) { animation-delay: 2.1s; }
.insight-item:nth-child(8) { animation-delay: 2.4s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式 - 公共部分 */
@media (max-width: 768px) {
    .page-header-section {
        padding: 40px 0 15px;
    }
    .page-header-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-header-container h1 {
        font-size: 28px;
    }
    .page-header-container h1 span {
        font-size: 16px;
    }
    .insight-meta .tags,
    .detail-meta .tags {
        font-size: 11px;
        margin-right: 0px;
    }
    .pagination a {
        padding: 6px 10px;
        font-size: 12px;
    }
}