
.job-listing-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-listing-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    content: "";
    background: linear-gradient(180deg, #0d6efd, #0b5ed7);
}

.job-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.job-card-content {
    padding: 26px 28px 24px 32px;
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.job-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}

.job-title a {
    color: #172033;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-title a:hover {
    color: #0d6efd;
}

.job-type-badge {
    flex-shrink: 0;
    padding: 7px 12px;
    color: #0b5ed7;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: #eaf2ff;
    border: 1px solid #cfe2ff;
    border-radius: 50px;
}

.job-description {
    margin-bottom: 18px;
    color: #5f6b7a;
    font-size: 0.98rem;
    line-height: 1.75;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.job-skill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    color: #344054;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    background: #f7f9fc;
    border: 1px solid #e1e7ef;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.job-skill:hover {
    color: #ffffff;
    background: #0d6efd;
    border-color: #0d6efd;
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
}

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 43px;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 9px;
    transition: all 0.2s ease;
}

.job-btn-details {
    color: #0d6efd;
    background: #ffffff;
    border: 1px solid #0d6efd;
}

.job-btn-details:hover {
    color: #ffffff;
    background: #0d6efd;
}

.job-btn-apply {
    color: #ffffff;
    background: linear-gradient(135deg, #198754, #157347);
    border: 1px solid #198754;
    box-shadow: 0 5px 14px rgba(25, 135, 84, 0.2);
}

.job-btn-apply:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #157347, #146c43);
    transform: translateY(-1px);
}

.job-number {
    color: #98a2b3;
    font-size: 0.82rem;
    font-weight: 600;
}

.job-ad-space {
    margin: 35px 0;
    padding: 15px 0;
    text-align: center;
}

@media (max-width: 767px) {
    .job-card-content {
        padding: 22px 20px 20px 25px;
    }

    .job-card-header {
        flex-direction: column;
        gap: 10px;
    }

    .job-title {
        font-size: 1.12rem;
    }

    .job-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .job-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .job-btn {
        width: 100%;
    }

    .job-number {
        text-align: right;
    }
}
