.work-grid {
    width: 80%;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    gap: 20px;
}

.experience .card {
    width: 100%;
    box-sizing: border-box;
}

.work-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.work-text {
    flex: 1;
}

.job-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.job-at {
    color: #8b949e;
    font-weight: 300;
    margin: 0 4px;
}

.company-highlight {
    text-decoration: none;
    color: #f97316;
    font-weight: 600;
}

.job-type {
    font-size: 0.9rem;
    color: #f97316;
    font-weight: 500;
    display: block;
    margin-bottom: 1px;
}

.job-duration {
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 4px;
}

.company-name {
    font-size: 0.95rem;
    color: #c9d1d9;
    margin-bottom: 12px;
}

.job-description-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.job-description-list li {
    position: relative;
    padding-left: 20px;
    color: #ccc; /* Adjust text color to match your theme */
    font-size: 0.95rem;
    line-height: 1.4;
}

.job-description-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: bold;
    font-size: 1rem;
}


.work-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    overflow: hidden;
    border: 1px solid #30363d;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.work-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card:hover .work-icon-wrapper {
    border: 1px solid #f97316;
}

@media (max-width: 1100px) {
    .work-grid {
        width: 100%;
    }

    .work-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .work-icon-wrapper {
        width: 160px;
        height: 160px;
    }

    .work-text {
        width: 100%;
        text-align: left;
    }

    .job-title {
        font-size: 1.4rem;
    }

    .job-description-list li {
        font-size: 0.6rem;
    }
}
