.YC-widgets-employee {
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
}
.employee-card {
    display: flex;
    gap: 17px;
    align-items: flex-start;
    min-width: 620px;
    max-width: 100%;
    flex: 1;
    border: var(--border);
    padding: 16px;
    border-radius: 24px;
}

.employee-left {
    flex: 0 0 230px;
    max-width: 230px;
    order: 1;
}

.employee-img {
    width: 100%;
    height: 348px;
    background: var(--background2);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.employee-right {
    flex: 1;
    order: 2;
    min-width: 0;
    padding-top: 22px;
}

.employee-name {
    margin: 0 0 22px;
    color: var(--primary-text);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.employee-features {
    width: 100%;
}

.feature-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    border-bottom: 1px solid #edf0f3;
    column-gap: 10px;
    padding: 11px 0;
}

.feature-key {
    color: var(--secondarytext);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.feature-val {
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.employee-description {
    display: none;
}

.employee--button {
    margin-top: 28px;
    text-align: center;
}
 
@media (max-width: 575px) {
    .employee-card {
        flex-direction: column;
        min-height: auto;
        padding: 14px;
        border-radius: 18px;
    }

    .employee-left {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .employee-img {
        height: 320px;
    }

    .employee-right {
        padding-top: 0;
    }

    .employee-name {
        font-size: 22px;
        margin-bottom: 14px;
    }
 
}
