/* Works Archive Styles */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.work-thumbnail-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.work-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.work-item:hover .work-thumbnail {
    transform: scale(1.05);
}

.work-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.work-item:hover .work-hover-overlay {
    opacity: 1;
}

.work-hover-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    margin: 0;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.work-item:hover .work-hover-title {
    transform: translateY(0);
}

.work-content {
    padding: 20px;
}

.work-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.work-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.work-meta {
    font-size: 0.9rem;
    color: #999;
}

/* Single Work Styles */
.single-work-header {
    margin-bottom: 40px;
}

.work-acf-titel {
    font-size: 1.25rem;
    font-weight: 400;
    color: #666;
    margin-top: 10px;
    margin-bottom: 20px;
}

.single-work-featured-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 30px;
}

.work-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.work-description p {
    margin-bottom: 1em;
}

.work-description p:last-child {
    margin-bottom: 0;
}

.work-categories,
.work-tags {
    margin-top: 20px;
}

.work-categories a,
.work-tags a {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius: 3px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease, color 0.3s ease;
}

.work-categories a:hover,
.work-tags a:hover {
    background: #e0e0e0;
}

.work-categories a.active {
    background: #333;
    color: #fff;
}

/* Category Filter */
.work-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.work-category-filter .filter-item {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
}

.work-category-filter .filter-item:hover {
    background: #e0e0e0;
    color: #000;
}

.work-category-filter .filter-item.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

