/*--------------------------------------------------------------
# Jobs Page Card
--------------------------------------------------------------*/

.job-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-card-img {
    width: 100%;
    height: auto;
    /* Let the image's aspect ratio define height */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.job-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* This makes the card bodies equal height */
}

.job-card-body h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.job-card-body p {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
    /* This pushes the button to the bottom */
}

.job-card-body .btn-primary {
    align-self: flex-start;
    /* Aligns button to the left */
}