.page-template-page-jobs {
    background: #0f0f0f;
    color: #FFFFFF;
}

.page-template-page-jobs h2 {
    font-size: 33px;
}

.page-template-page-jobs p {
    font-size: 2rem;
    max-width: 80%;
    margin: 0 auto;
}

.page-template-page-jobs .careers-copy p {
    max-width: unset;
    margin: 20px 0;
}

.page-template-page-jobs .careers-copy p {
    font-size: 1.7rem;
}

.jobs-hero {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jobs-hero .gradient-overlay {
    position: absolute;
    bottom: 0;
    z-index: 1;    
    width: 100%;
    height: 60vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.jobs-hero .hero-text {
    z-index: 2;
}

.careers-content,
.page-template-page-jobs .intro,
.page-template-page-jobs .the-lab-copy {
    width: 90%;
    margin: 0 auto;
    padding-top: 40px;
}

.page-template-page-jobs .intro .jobs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.page-template-page-jobs .intro .jobs-nav a {
    padding: 30px 60px;
    background: #000;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    line-height: 5px;
    font-size: 20px;
    margin: 0 20px;
}

.page-template-page-jobs .the-lab img {
    display: block;
    max-width: 90%;
    margin: 0 auto;
}


.careers-copy h2 {
    text-transform: uppercase;
}

.resumator-advanced-widget {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.page-template-page-jobs .two-col .row {
    display: flex;
    position: relative;
    min-height: 600px;
}

.page-template-page-jobs .two-col .row.left {
    flex-direction: row-reverse;
}

.page-template-page-jobs .two-col .row.right .col.copy {
    padding-right: 60px;
}

.page-template-page-jobs .two-col .row.left .col.copy {
    padding-left: 60px;
}

.page-template-page-jobs .two-col .container {
    max-width: 90%;
    width: auto;
}

.page-template-page-jobs .two-col .row .col {
    align-content: center;
    width: 50%;
}

.page-template-page-jobs .two-col .row.left .col.copy p,
.page-template-page-jobs .two-col .row.left .col.copy h2 {
    text-align: right;
}

.page-template-page-jobs .two-col p,
.page-template-page-jobs .the-lab p,
.page-template-page-jobs .intro p {
    font-size: 1.7rem;
}


.content-row .image {
    height: 500px;
    overflow: hidden;
}

.content-row .copy {
    padding: 0 0 80px 0;
    font-size: 1.7rem;
}

.copy_video .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.copy_video .row .col {
    width: calc(50% - 50px);
}

.copy_video .col.copy {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.copy_video .col.video video {
    width: 100%;
}

.page-template-page-jobs .container {
    max-width: 90%;
    margin: 0 auto;
    width: auto;
}

.page-template-page-jobs .container .heading {
    margin-top: 40px;
}

section.the-lab {
    padding-top: 80px;
}

/* .page-template-page-jobs .gallery {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.page-template-page-jobs .gallery .gallery-image {
    width: calc(33% - 8px);
    height: 550px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} */

.page-template-page-jobs .gallery {
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(3, 1fr); */
    gap: 30px;
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}
.gallery-item img, .gallery-item video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.page-template-page-jobs .two-col .row.left .col.copy p, .page-template-page-jobs .two-col .row.left .col.copy h2 {
    text-align: left;
}

.page-template-page-jobs .two-col .row.right .col.copy p, .page-template-page-jobs .two-col .row.right .col.copy h2 {
    text-align: right;
}



@media only screen and (max-width: 2800px) {
    .page-template-page-jobs .gallery .gallery-image {
        height: 640px;
    }
}

@media only screen and (max-width: 1800px) {
    .page-template-page-jobs .gallery .gallery-image {
        width: calc(33% - 12px);
        height: 480px;
    }
}

@media only screen and (max-width: 1400px) {
    .page-template-page-jobs .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 1200px) {
    .page-template-page-jobs .two-col .row.left,
    .page-template-page-jobs .two-col .row.right {
        flex-direction: column;
    }

    .page-template-page-jobs .two-col .row.left .col.copy,
    .page-template-page-jobs .two-col .row.right .col.copy {
        padding: 0;
    }

    .page-template-page-jobs .two-col .row .col,
    .page-template-page-jobs .two-col .row .col.copy,
    .page-template-page-jobs .two-col .row .col.image {
        position: relative;
        width: 100%;
    }
    .page-template-page-jobs .two-col .row.left .col.copy p, .page-template-page-jobs .two-col .row.left .col.copy h2 {
        text-align: left;
    }

    .page-template-page-jobs .two-col .row.left .col.image img {
        width: 100%;
        height: auto;
    }

    .page-template-page-jobs .two-col .row .col {
        min-height: unset;
    }

}

@media only screen and (min-width: 1920px) {
    .content-row .image {
        height: 600px;
    }
}

@media only screen and (max-width: 1280px) {
    .content-row .image {
        height: 300px;
        overflow: hidden;
        background-position: center !important;
        background-size: cover !important;
    }

    .copy_video .row {
        flex-direction: column;
    }

    .copy_video .row .col {
        width: 100%;
    }
}

@media only screen and (max-width: 980px) {

    .jobs-hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }
    
    .careers-content {
        width: 90% !important
    }

    .page-template-page-jobs .intro .jobs-nav {
        flex-direction: column;
    }

    .page-template-page-jobs .intro .jobs-nav a {
        margin: 0 20px 20px 20px;
    }

    .page-template-page-jobs p {
        font-size: 1.7rem;
    }

    .content-row .image {
        height: 200px;
        overflow: hidden;
        background-position: center !important;
        background-size: cover !important;
    }

}

@media only screen and (max-width: 800px) {
    .page-template-page-jobs .gallery {
        grid-template-columns: 1fr;
    }


}