/* ============================================================================
   PROFESSIONAL EXPERIENCE (timeline)
   ============================================================================ */

.work-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0;
    margin-left: 8px;
}

.work-item {
    position: relative;
    padding: 0 0 24px 0;
}

.work-item:last-child {
    padding-bottom: 0;
}

/* Timeline dot */
.work-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.work-item:first-child::before {
    background-color: #0ea5e9;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2px;
}

.work-role {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.work-years {
    font-size: 0.82rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

.work-company {
    margin: 2px 0 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}

.work-description {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}


/* ============================================================================
   SELECTED PROJECTS (cards with tag badges)
   ============================================================================ */

.project-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 14px;
    margin-bottom: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.legend-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    margin-right: 2px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-card {
    padding: 14px 16px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease;
}

.project-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.project-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
}

.project-year {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.project-description {
    margin: 0 0 10px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
