/* ========================================
   VOF Theme — pattern-insights-tax.css
   Insights 分类归档页样式
   基于 pattern-product-tax.css 改编
   ======================================== */

.vof-insights-tax { background: var(--bg); }

/* Hero */
.vof-insights-tax__hero {
    background: var(--surface);
    padding: 48px 0 64px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.vof-insights-tax__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 87, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 87, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.vof-insights-tax__breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.vof-insights-tax__hero-inner {
    position: relative;
    z-index: 1;
}

.vof-insights-tax__hero-inner h1 {
    margin-bottom: 12px;
}

.vof-insights-tax__hero-inner p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 16px;
}

.vof-insights-tax__count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}

/* Grid Wrap */
.vof-insights-tax__grid-wrap {
    padding: 64px 0 120px;
}

/* Category Filters */
.vof-insights-tax__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.vof-insights-tax__filter {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1.5px solid var(--border);
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.vof-insights-tax__filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.vof-insights-tax__filter.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Grid */
.vof-insights-tax__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vof-insights-tax__card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.vof-insights-tax__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.vof-insights-tax__card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.vof-insights-tax__card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform 0.4s ease;
}

.vof-insights-tax__card:hover .vof-insights-tax__card-img img {
    transform: scale(1.04);
}

.vof-insights-tax__card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--ink) 0%, var(--ink-light) 100%);
}

.vof-insights-tax__card-body {
    padding: 20px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vof-insights-tax__card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vof-insights-tax__cat {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
}

.vof-insights-tax__date {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.3px;
}

.vof-insights-tax__card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
    line-height: 1.3;
}

.vof-insights-tax__card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.vof-insights-tax__card-body h3 a:hover { color: var(--accent); }

.vof-insights-tax__card-body p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 12px;
    flex: 1;
}

.vof-insights-tax__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: gap 0.2s;
}

.vof-insights-tax__link:hover { gap: 8px; }

/* Empty */
.vof-insights-tax__empty {
    text-align: center;
    color: var(--muted);
    font-size: 0.9375rem;
    padding: 80px 0;
}

/* Pagination */
.vof-insights-tax__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.vof-insights-tax__pagination .page-numbers {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border: 1.5px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.vof-insights-tax__pagination .page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.vof-insights-tax__pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .vof-insights-tax__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .vof-insights-tax__hero { padding: 36px 0 48px; }
    .vof-insights-tax__grid-wrap { padding: 48px 0 80px; }
    .vof-insights-tax__grid { grid-template-columns: 1fr; }
}
