/* =========================================================
   CAREERS
   ========================================================= */

.careers {
    padding: 130px 0;
    background: #f7f7f5;
}

.jobs {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
    margin-top: 55px;
}

.job {
    background: #ffffff;
    border: 1px solid #e2e6e8;
    overflow: hidden;
    transition: .4s ease;
}

.job:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(4, 28, 46, .1);
}


/* CAREER IMAGE */

.job-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.job-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* DARK IMAGE OVERLAY */

.job-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(5, 24, 38, .65),
        transparent
    );
    pointer-events: none;
}


/* JOB CONTENT */

.job-body {
    padding: 28px;
}

.job-body h3 {
    margin: 0 0 25px;
    color: var(--navy);
    font-size: 22px;
}


/* TABLET */

@media (max-width: 900px) {

    .jobs {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .jobs {
        grid-template-columns: 1fr !important;
    }

    .job-image {
        height: 250px;
    }

}