/* Works Cards Styles */
.works-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.work-card {
    background: var(--color-white);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 280px;
    /* Flexible height to accommodate content */
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-black);
}

.work-card__image {
    width: 280px;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.work-card__content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.work-card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--color-black);
    line-height: 1.3;
}

.work-card__category {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    align-self: flex-start;
}

.work-card__description {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.work-card__player {
    width: 100%;
    height: 166px;
    margin-top: auto;
}

.work-card__player iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .work-card {
        flex-direction: column;
        height: auto;
    }

    .work-card__image {
        width: 100%;
        height: 200px;
    }

    .work-card__content {
        padding: 20px;
    }
}

/* Responsive */
@media (max-width: 767px) {
    .works-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}