/*--------------------------------------------------------------
# Category Archive Pages - Verge Style
--------------------------------------------------------------*/

.category-archive {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Category Header */
.category-header {
    background: linear-gradient(180deg, #1a1d2e 0%, #1a1d2e 70%, transparent 100%);
    padding: 80px 24px 100px;
    margin-bottom: 20px;
    position: relative;
}

.category-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.category-title {
    font-size: 72px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
}

.category-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #667eea;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.category-follow-btn:hover {
    background: #5568d3;
    transform: scale(1.05);
}

.follow-icon {
    font-size: 20px;
    font-weight: 700;
}

.category-description {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
}

.category-description p {
    margin: 0;
}

/* Category Posts Container */
.category-posts-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Featured Post (First Post - Large) */
.category-post.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.featured-post .post-thumbnail-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

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

.featured-post .post-thumbnail-link:hover .post-thumbnail {
    transform: scale(1.05);
}

.featured-post .post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post .post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 16px 0;
}

.featured-post .post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-post .post-title a:hover {
    color: #667eea;
}

.featured-post .post-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 20px 0;
}

/* Regular Posts (Grid) */
.category-post.regular-post {
    display: flex;
    flex-direction: column;
}

.regular-post .post-thumbnail-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.regular-post .post-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.regular-post .post-thumbnail-link:hover .post-thumbnail {
    transform: scale(1.05);
}

.regular-post .post-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.regular-post .post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.regular-post .post-title a:hover {
    color: #667eea;
}

.regular-post .post-excerpt {
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
    margin: 0 0 12px 0;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #00c853;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.featured-post .post-meta {
    font-size: 14px;
}

.post-author {
    color: #1a1d2e;
}

.meta-separator {
    color: #d0d0d0;
}

.post-date {
    color: #999999;
}

/* Pagination */
.pagination {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e6e6e6;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pagination a,
.pagination .current {
    padding: 12px 20px;
    background: #f5f5f5;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #1a1d2e;
    color: #ffffff;
}

.pagination .current {
    background: #1a1d2e;
    color: #ffffff;
}

/* No Posts Found */
.no-posts-found {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
    padding: 60px 24px;
}

.no-posts-found h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.no-posts-found p {
    font-size: 18px;
    color: #666666;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-title {
        font-size: 56px;
    }
    
    .featured-post .post-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .category-header {
        padding: 60px 20px 40px;
        margin-bottom: 40px;
    }
    
    .category-title {
        font-size: 42px;
    }
    
    .category-posts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .category-post.featured-post {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-post .post-title {
        font-size: 28px;
    }
    
    .featured-post .post-excerpt {
        font-size: 16px;
    }
    
    .regular-post .post-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .category-description {
        font-size: 16px;
    }
    
    .featured-post .post-title {
        font-size: 24px;
    }
}

