/**
 * Nikoala Jobs Listing/Widget Style
 */
.nikoala-jobs-list {
    margin: 20px 0;
}

.nikoala-job-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.nikoala-job-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nikoala-job-thumbnail {
    margin-right: 20px;
    flex-shrink: 0;
    width: 100px;
}

.nikoala-job-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.nikoala-job-info {
    flex: 1;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.nikoala-job-title {
    text-align: left;
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.nikoala-job-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.nikoala-job-title a:hover {
    color: #0073aa;
}

.nikoala-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.nikoala-job-meta::before {
    content: unset;
}

.nikoala-job-location {
    display: flex;
    align-items: center;
}

.nikoala-job-location i {
    margin-right: 5px;
}

.nikoala-job-type {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.nikoala-job-type-full-time {
    background-color: #e5f5ff;
    color: #0073aa;
}

.nikoala-job-type-part-time {
    background-color: #fff5e5;
    color: #ff9800;
}

.nikoala-job-type-contract {
    background-color: #e5fff5;
    color: #00aa73;
}

.nikoala-job-type-freelance {
    background-color: #f5e5ff;
    color: #aa0073;
}

.nikoala-job-type-internship {
    background-color: #f5f5e5;
    color: #aaaa00;
}

.nikoala-job-excerpt {
    text-align: left;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

.nikoala-job-excerpt-text {
    display: block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    max-width: 100%;
    box-sizing: border-box;
}

.nikoala-job-excerpt a {
    display: block;
    padding-top: 4px;
}

@media (max-width: 768px) {
    .nikoala-job-item {
        flex-direction: column;
    }
    
    .nikoala-job-thumbnail {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    .nikoala-job-thumbnail img {
        max-width: 120px;
    }
}