.work-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid rgba(32, 32, 32, 0.1);
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.work-item:hover {
    background-color: rgba(32, 32, 32, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(32, 32, 32, 0.1);
    flex-shrink: 0;
}

.work-info {
    flex-grow: 1;
    width: calc(100% - 68px);
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.company {
    font-size: 16px;
    line-height: 24px;
    color: #646464;
}

.position {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #202020;
}

.date {
    font-size: 16px;
    line-height: 24px;
    color: #646464;
}

.dark .work-item {
    border-color: rgba(238, 238, 238, 0.1);
    background: rgba(15, 15, 15, 0.3);
}

.dark .work-item:hover {
    background-color: rgba(238, 238, 238, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark .company-logo {
    border-color: rgba(238, 238, 238, 0.1);
}

.dark .position {
    color: #EEEEEE;
}

.dark .company,
.dark .date {
    color: #b4b4b4;
}

.work-timeline:hover .work-item:not(:hover) {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .work-item {
        flex-wrap: nowrap;
        gap: 12px;
        padding: 16px;
        border-bottom: 1px solid rgba(32, 32, 32, 0.1);
    }

    .position {
        width: 160px;
        height: 24px;
    }

    .company {
        width: 160px;
        height: 24px;
    }

    .date {
        width: 91px;
        text-align: right;
    }

    .company-logo {
        width: 40px;
        height: 40px;
    }
}

@keyframes card-entrance {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.work-item {
    animation: card-entrance 0.6s ease forwards;
}