/**
 * About Card Component
 * Card for describing work experience: role, company, dates, and description
 */

.about-me-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-me-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.about-me-card__role {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-body-1-desktop);
    font-weight: 300;
    line-height: var(--line-height-body-1-desktop);
    color: var(--color-content);
    letter-spacing: -0.02em; /* -2% */
}

.about-me-card__dates {
    font-family: var(--font-body);
    font-size: var(--font-size-body-3-desktop);
    font-weight: 400;
    line-height: var(--line-height-body-3-desktop);
    color: var(--color-content-a40);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.about-me-card__company {
    margin: 0;
    margin-top: 4px;
    font-family: var(--font-body);
    font-size: var(--font-size-body-1-desktop);
    font-weight: 300;
    line-height: var(--line-height-body-1-desktop);
    color: var(--color-content-a40);
    letter-spacing: -0.02em; /* -2% */
    transition: color 0.2s ease;
}

.about-me-card__description {
    margin: 0;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: var(--font-size-body-3-desktop);
    font-weight: 400;
    line-height: var(--line-height-body-3-desktop);
    color: var(--color-content-a40);
    transition: color 0.2s ease;
}

.about-me-card:hover .about-me-card__dates,
.about-me-card:hover .about-me-card__company,
.about-me-card:hover .about-me-card__description {
    color: var(--color-content);
}

/* Mobile */
@media (max-width: 768px) {
    .about-me-card {
        gap: 4px;
    }

    .about-me-card__header {
        flex-direction: row;
        gap: 20px;
    }

    .about-me-card__company {
        margin-top: 4px;
    }

    .about-me-card__description {
        margin-top: 16px;
    }

    .about-me-card__role {
        font-size: var(--font-size-body-1-mobile);
        line-height: var(--line-height-body-1-mobile);
        letter-spacing: -0.02em; /* -2% */
    }

    .about-me-card__dates {
        font-size: var(--font-size-body-3-mobile);
        line-height: var(--line-height-body-3-mobile);
    }

    .about-me-card__company {
        font-size: var(--font-size-body-1-mobile);
        line-height: var(--line-height-body-1-mobile);
        letter-spacing: -0.02em; /* -2% */
    }

    .about-me-card__description {
        font-size: var(--font-size-body-3-mobile);
        line-height: var(--line-height-body-3-mobile);
    }
}
