/* Works Archive Page Styles */

.works-archive {
    background-color: #fff;
}

/* Page Hero */
.page-hero {
    padding: 120px 0 60px;
    background-color: #f9f9f9;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.page-description {
    font-size: 18px;
    color: #666;
}

/* Works Grid Section */
.works-grid-section {
    padding: 80px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Work Card */
.work-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.work-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover .work-card-image img {
    transform: scale(1.05);
}

.work-card-content {
    padding: 30px 25px;
}

.work-card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.4;
}

.work-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

.work-card-category {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background-color: #fb6767;
    padding: 5px 12px;
    border-radius: 20px;
}

/* No Works Message */
.no-works {
    text-align: center;
    padding: 100px 20px;
}

.no-works p {
    font-size: 18px;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #f9f9f9;
    border-color: #333;
}

.pagination .page-numbers.current {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.pagination .dots {
    padding: 10px;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-description {
        font-size: 16px;
    }

    .works-grid-section {
        padding: 60px 0;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .work-card-image {
        height: 200px;
    }

    .work-card-content {
        padding: 25px 20px;
    }

    .work-card-title {
        font-size: 20px;
    }
}
