/* ============================================================
   Biritex Technologies
   Individual Job View
   ============================================================ */


/* ============================================================
   Page
   ============================================================ */

.job-view {
    padding-top: clamp(55px, 8vw, 100px);
    padding-bottom: clamp(65px, 9vw, 120px);
}

.job-view-container {
    width: min(1180px, 100%);

    margin: 0 auto;
}


/* ============================================================
   Back Link
   ============================================================ */

.job-back-link {
    display: inline-flex;

    align-items: center;

    margin-bottom: 45px;

    color: #667085;

    text-decoration: none;

    font-size: .85rem;

    font-weight: 700;

    transition: color .2s ease;
}

.job-back-link:hover {
    color: #D6534D;
}


/* ============================================================
   Header
   ============================================================ */

.job-header {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 60px;

    padding-bottom: 50px;

    border-bottom: 1px solid rgba(47, 53, 59, .10);
}

.job-header-labels {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 18px;
}

.job-view-status {
    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding: 0 10px;

    border-radius: 999px;

    background: rgba(214, 83, 77, .09);

    color: #D6534D;

    font-size: .7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .06em;
}

.job-view-department {
    color: #667085;

    font-size: .78rem;

    font-weight: 700;
}

.job-header h1 {
    max-width: 850px;

    margin: 0;

    font-size: clamp(2.7rem, 6vw, 5.5rem);

    line-height: .94;

    letter-spacing: -.06em;
}

.job-header-description {
    max-width: 720px;

    margin: 24px 0 0;

    color: #667085;

    font-size: 1rem;

    line-height: 1.8;
}


/* ============================================================
   Summary
   ============================================================ */

.job-summary {
    align-self: start;

    display: grid;

    grid-template-columns: 1fr;

    border: 1px solid rgba(47, 53, 59, .10);

    border-radius: 16px;

    overflow: hidden;
}

.job-summary-item {
    display: grid;

    gap: 5px;

    padding: 17px 19px;

    border-bottom: 1px solid rgba(47, 53, 59, .08);
}

.job-summary-item:last-child {
    border-bottom: 0;
}

.job-summary-item span {
    color: #98A2B3;

    font-size: .68rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .07em;
}

.job-summary-item strong {
    color: #2F353B;

    font-size: .86rem;

    line-height: 1.4;
}


/* ============================================================
   Main Layout
   ============================================================ */

.job-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: clamp(45px, 7vw, 85px);

    padding-top: 55px;
}


/* ============================================================
   Job Content
   ============================================================ */

.job-content {
    min-width: 0;
}

.job-section {
    padding-bottom: 50px;

    margin-bottom: 50px;

    border-bottom: 1px solid rgba(47, 53, 59, .08);
}

.job-section:last-child {
    margin-bottom: 0;
}

.job-section h2 {
    margin: 7px 0 18px;

    font-size: clamp(1.65rem, 3vw, 2.4rem);

    line-height: 1.1;

    letter-spacing: -.035em;
}

.job-section > p:not(.eyebrow) {
    max-width: 720px;

    margin: 0;

    color: #667085;

    font-size: .95rem;

    line-height: 1.8;
}


/* ============================================================
   Lists
   ============================================================ */

.job-list {
    display: grid;

    gap: 14px;

    margin: 0;

    padding: 0;

    list-style: none;
}

.job-list li {
    position: relative;

    padding-left: 27px;

    color: #667085;

    font-size: .93rem;

    line-height: 1.75;
}

.job-list li::before {
    content: "";

    position: absolute;

    left: 3px;

    top: .72em;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #D6534D;
}


/* ============================================================
   Apply Card
   ============================================================ */

.job-apply-card {
    align-self: start;

    position: sticky;

    top: 30px;

    padding: 28px;

    background: #2F353B;

    border-radius: 18px;

    color: #fff;
}

.job-apply-card .eyebrow {
    color: #D6534D;
}

.job-apply-card h2 {
    margin: 7px 0 0;

    color: #fff;

    font-size: 1.8rem;

    line-height: 1.08;

    letter-spacing: -.035em;
}

.job-apply-card p:not(.eyebrow) {
    margin: 14px 0 0;

    color: rgba(255, 255, 255, .68);

    font-size: .87rem;

    line-height: 1.7;
}

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

    justify-content: center;

    margin-top: 25px;

    text-decoration: none;
}

.job-apply-card small {
    display: block;

    margin-top: 15px;

    color: rgba(255, 255, 255, .48);

    font-size: .7rem;

    line-height: 1.5;
}

.job-closed {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 46px;

    margin-top: 25px;

    border: 1px solid rgba(255, 255, 255, .15);

    border-radius: 8px;

    color: rgba(255, 255, 255, .6);

    font-size: .8rem;

    font-weight: 700;
}


/* ============================================================
   Bottom CTA
   ============================================================ */

.job-bottom-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 80px;

    padding: clamp(28px, 5vw, 45px);

    border: 1px solid rgba(47, 53, 59, .10);

    border-radius: 18px;
}

.job-bottom-cta h2 {
    margin: 7px 0 0;

    font-size: clamp(1.5rem, 3vw, 2.3rem);

    line-height: 1.1;

    letter-spacing: -.035em;
}

.job-bottom-cta a {
    flex-shrink: 0;

    text-decoration: none;
}


/* ============================================================
   Job Not Found
   ============================================================ */

.job-not-found {
    min-height: calc(100vh - 150px);

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding-top: 80px;
    padding-bottom: 80px;
}

.job-not-found-content {
    width: min(700px, 100%);

    margin: 0 auto;
}

.job-not-found h1 {
    margin: 8px 0 0;

    font-size: clamp(2.3rem, 5vw, 4.2rem);

    line-height: 1;

    letter-spacing: -.05em;
}

.job-not-found-content > p:not(.eyebrow) {
    max-width: 570px;

    margin: 20px auto 0;

    color: #667085;

    line-height: 1.7;
}

.job-not-found-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

.job-not-found-actions a {
    text-decoration: none;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 950px) {

    .job-header {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .job-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .job-summary-item {
        border-right: 1px solid rgba(47, 53, 59, .08);
        border-bottom: 0;
    }

    .job-summary-item:last-child {
        border-right: 0;
    }

    .job-layout {
        grid-template-columns: 1fr;
    }

    .job-apply-card {
        position: static;

        order: -1;
    }

}


@media (max-width: 650px) {

    .job-view {
        padding-left: 18px;
        padding-right: 18px;
    }

    .job-summary {
        grid-template-columns: 1fr;
    }

    .job-summary-item {
        border-right: 0;

        border-bottom: 1px solid rgba(47, 53, 59, .08);
    }

    .job-summary-item:last-child {
        border-bottom: 0;
    }

    .job-apply-card {
        padding: 24px;
    }

    .job-bottom-cta {
        align-items: flex-start;

        flex-direction: column;
    }

    .job-bottom-cta a {
        width: 100%;

        justify-content: center;
    }

    .job-not-found {
        padding-left: 18px;
        padding-right: 18px;
    }

    .job-not-found-actions {
        flex-direction: column;
    }

    .job-not-found-actions a {
        width: 100%;

        justify-content: center;
    }

}