:root {
    --archive-primary: #4f46e5;
    --archive-text: #1f2937;
    --archive-text-light: #6b7280;
    --archive-bg: #ffffff;
    --archive-bg-light: #f9fafb;
    --archive-border: #e5e7eb;
    --archive-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --archive-radius: 8px;
}

.softsell-archive-page {
    min-height: 100vh;
    background: var(--archive-bg-light);
}

.archive-header {
    background: var(--archive-bg);
    border-bottom: 1px solid var(--archive-border);
    padding: 2rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--archive-text-light);
}

.breadcrumb a {
    color: var(--archive-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: var(--archive-text-light);
}

.archive-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--archive-text);
    margin-bottom: 0.5rem;
}

.archive-description {
    color: var(--archive-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.archive-content {
    padding: 3rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--archive-bg);
    border-radius: var(--archive-radius);
    box-shadow: var(--archive-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--archive-primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.category-tag:hover {
    background: #3730a3;
    transform: translateY(-1px);
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--archive-text);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--archive-primary);
}

.post-excerpt {
    color: var(--archive-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--archive-text-light);
    font-size: 0.85rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--archive-bg);
    color: var(--archive-text);
    text-decoration: none;
    border-radius: var(--archive-radius);
    border: 1px solid var(--archive-border);
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--archive-primary);
    color: white;
    border-color: var(--archive-primary);
}

.pagination .current {
    background: var(--archive-primary);
    color: white;
    border-color: var(--archive-primary);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--archive-bg);
    border-radius: var(--archive-radius);
    box-shadow: var(--archive-shadow);
}

.no-posts h2 {
    color: var(--archive-text);
    margin-bottom: 1rem;
}

.no-posts p {
    color: var(--archive-text-light);
    margin-bottom: 2rem;
}

.btn-home {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--archive-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--archive-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: #3730a3;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .archive-header {
        padding: 1.5rem 0;
    }

    .archive-content {
        padding: 2rem 0;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem 2rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .archive-title {
        font-size: 1.5rem;
    }

    .posts-grid {
        margin: 0 0.5rem 1.5rem;
    }

    .post-title a {
        font-size: 1.1rem;
    }

    .pagination a,
    .pagination span {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}