/* EVICK careers and jobs pages */

.jobs-page,
.job-detail-page {
    overflow: hidden;
    background: #090909;
}

.jobs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #dc0000;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.jobs-eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
}

.jobs-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    border-bottom: 5px solid #dc0000;
}

.jobs-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.65) 58%, rgba(0,0,0,.25)),
        url("../img/homehead.jpg") center / cover no-repeat;
}

.jobs-hero__content {
    width: 100%;
    padding-top: 160px;
    padding-bottom: 85px;
}

.jobs-hero h1 {
    max-width: 900px;
    margin: 1rem 0 1.2rem;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: .96;
}

.jobs-hero h1 span {
    color: #dc0000;
}

.jobs-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
}

.jobs-listing {
    background:
        radial-gradient(circle at 90% 0%, rgba(220,0,0,.08), transparent 28%),
        #0d0d0d;
}

.jobs-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.jobs-heading h2 {
    margin: .7rem 0 1rem;
}

.jobs-heading p {
    margin: 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.job-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid rgba(255,255,255,.08);
    background: #131313;
    transition: transform .25s ease, border-color .25s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220,0,0,.65);
}

.job-card__featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #dc0000;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.1rem;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,.58);
    font-size: .78rem;
}

.job-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.job-card__meta i {
    color: #dc0000;
}

.job-card h2 {
    margin: 0 0 .55rem;
    padding-right: 5rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.job-card__department {
    margin: 0 0 1rem;
    color: #dc0000;
    font-size: .8rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.job-card > p:not(.job-card__department) {
    font-size: .95rem;
}

.job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.job-card__footer strong {
    color: #fff;
    font-size: .88rem;
}

.job-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.job-card__footer i {
    color: #dc0000;
}

.jobs-empty {
    max-width: 720px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,.08);
    background: #121212;
    text-align: center;
}

.jobs-empty i {
    margin-bottom: 1.3rem;
    color: #dc0000;
    font-size: 2.5rem;
}

.jobs-empty h2 {
    margin-bottom: .8rem;
}

.jobs-empty a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #dc0000;
}

.jobs-speculative {
    padding: 4rem 0;
    background: linear-gradient(120deg, #b50000, #dc0000);
}

.jobs-speculative__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.jobs-speculative .jobs-eyebrow {
    color: #fff;
}

.jobs-speculative h2 {
    margin: .7rem 0;
}

.jobs-speculative p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.82);
}

.job-detail-hero {
    position: relative;
    isolation: isolate;
    padding: 165px 0 75px;
    border-bottom: 5px solid #dc0000;
    background:
        radial-gradient(circle at 85% 20%, rgba(220,0,0,.2), transparent 28%),
        #101010;
}

.job-detail-hero::after {
    content: "EVICK";
    position: absolute;
    right: clamp(1rem, 7vw, 7rem);
    bottom: clamp(1.5rem, 5vw, 4rem);
    z-index: -1;
    color: rgba(255,255,255,.035);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 900;
    letter-spacing: -.08em;
    pointer-events: none;
}

.job-back-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.62);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 1rem;
}

.job-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .75rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(255,255,255,.76);
    font-size: .72rem;
}

.job-detail-meta i {
    color: #dc0000;
}

.job-detail-hero h1 {
    max-width: 950px;
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5.3rem);
}

.job-detail-hero > .container > p {
    max-width: 780px;
    color: rgba(255,255,255,.74);
    font-size: 1.1rem;
}

.job-detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2rem;
}

.job-detail-salary {
    color: #fff;
    font-size: 1rem;
}

.job-detail-content {
    background:
        radial-gradient(circle at 90% 8%, rgba(220,0,0,.08), transparent 26%),
        #0d0d0d;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: start;
}

.job-detail-copy {
    padding: clamp(1.6rem, 4vw, 3rem);
    border: 1px solid rgba(255,255,255,.08);
    background: #151515;
    box-shadow: 0 24px 65px rgba(0,0,0,.25);
}

.job-detail-copy section + section {
    margin-top: 2.8rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.job-detail-copy h1,
.job-detail-copy h2,
.job-detail-copy h3,
.job-detail-copy h4,
.job-detail-copy h5,
.job-detail-copy h6 {
    color: #fff;
}

.job-detail-copy h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.job-detail-copy p,
.job-detail-copy li,
.job-detail-copy div,
.job-detail-copy span {
    color: rgba(255,255,255,.82);
    line-height: 1.8;
}

.job-detail-copy strong,
.job-detail-copy b {
    color: #fff;
}

.job-detail-copy a {
    color: #dc0000;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.job-detail-copy a:hover {
    color: #fff;
}

.job-detail-copy ul,
.job-detail-copy ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.job-detail-copy li + li {
    margin-top: .55rem;
}

.job-detail-sidebar {
    position: sticky;
    top: 110px;
}

.job-apply-card {
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.08);
    background: #151515;
    color: #fff;
    box-shadow: 0 24px 65px rgba(0,0,0,.25);
}

.job-apply-card h1,
.job-apply-card h2,
.job-apply-card h3 {
    color: #fff;
}

.job-apply-card h2 {
    margin: .65rem 0 1rem;
    font-size: 1.65rem;
}

.job-apply-card p,
.job-apply-card li,
.job-apply-card span {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    line-height: 1.65;
}

.job-apply-card strong {
    color: #fff;
}

.job-apply-card .btn {
    width: 100%;
}

.job-apply-email {
    display: block;
    margin-top: 1rem;
    color: rgba(255,255,255,.72);
    font-size: .82rem;
    text-align: center;
}

.job-apply-email:hover {
    color: #fff;
}

.job-not-found {
    padding-top: 180px;
    min-height: 70vh;
    text-align: center;
}

/* Optional supporting blocks */
.job-share,
.job-why-evick,
.related-jobs {
    border: 1px solid rgba(255,255,255,.08);
    background: #151515;
    color: #fff;
}

.job-share h2,
.job-why-evick h2,
.related-jobs h2 {
    color: #fff;
}

.job-share p,
.job-why-evick p,
.related-jobs p {
    color: rgba(255,255,255,.72);
}

/* Mobile sticky apply button */
.job-mobile-apply {
    display: none;
}

@media (max-width: 850px) {
    .jobs-grid,
    .job-detail-layout {
        grid-template-columns: 1fr;
    }

    .job-detail-sidebar {
        position: static;
    }

    .jobs-speculative__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .job-mobile-apply {
        position: fixed;
        right: 14px;
        bottom: 14px;
        left: 14px;
        z-index: 1200;
        display: flex;
        min-height: 54px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #dc0000;
        color: #fff;
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
        box-shadow: 0 18px 45px rgba(0,0,0,.42);
    }
}

@media (max-width: 580px) {
    .jobs-hero {
        min-height: 610px;
    }

    .jobs-hero__content {
        padding-top: 135px;
        padding-bottom: 55px;
    }

    .job-card h2 {
        padding-right: 0;
    }

    .job-card__featured {
        position: static;
        display: inline-flex;
        margin-bottom: 1rem;
    }

    .job-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .job-detail-hero {
        padding-top: 135px;
        padding-bottom: 60px;
    }

    .job-detail-hero::after {
        right: 1rem;
        bottom: 1.5rem;
        font-size: 5.5rem;
    }

    .job-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .job-detail-actions .btn {
        width: 100%;
    }

    .job-detail-copy,
    .job-apply-card {
        padding: 1.4rem;
    }
}