/* ============================================================
   Biritex Technologies
   Careers / Job Opportunities
   ============================================================ */


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

.careers-page {
    padding-top: clamp(65px, 8vw, 105px);
    padding-bottom: clamp(70px, 9vw, 120px);
}


/* ============================================================
   Introduction
   ============================================================ */

.careers-intro {
    width: min(900px, 100%);

    margin-bottom: clamp(55px, 8vw, 85px);
}

.careers-intro h1 {
    max-width: 820px;

    margin: 8px 0 0;

    font-size: clamp(2.6rem, 6vw, 5.2rem);

    line-height: .96;

    letter-spacing: -.06em;
}

.careers-description {
    max-width: 700px;

    margin: 25px 0 0;

    color: #667085;

    font-size: 1.05rem;

    line-height: 1.8;
}


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

.careers-content {
    width: min(1180px, 100%);

    margin: 0 auto;
}


/* ============================================================
   Section Heading
   ============================================================ */

.careers-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 25px;

    padding-bottom: 18px;

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

.careers-section-heading h2 {
    margin: 6px 0 0;

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

    letter-spacing: -.035em;
}

.jobs-count {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 0 12px;

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

    border-radius: 999px;

    color: #667085;

    font-size: .78rem;

    font-weight: 700;
}


/* ============================================================
   Job Grid
   ============================================================ */

.jobs-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* ============================================================
   Job Card
   ============================================================ */

.job-card {
    display: flex;

    flex-direction: column;

    min-height: 390px;

    padding: clamp(24px, 4vw, 32px);

    background: #fff;

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

    border-radius: 18px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.job-card:hover {
    transform: translateY(-4px);

    border-color: rgba(214, 83, 77, .25);

    box-shadow:
        0 18px 50px rgba(47, 53, 59, .08);
}


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

.job-card-top {
    display: flex;

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

    gap: 12px;

    margin-bottom: 22px;
}

.job-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-department {
    color: #98A2B3;

    font-size: .75rem;

    font-weight: 600;
}


/* ============================================================
   Job Title
   ============================================================ */

.job-card h3 {
    max-width: 550px;

    margin: 0;

    font-size: clamp(1.4rem, 3vw, 2rem);

    line-height: 1.12;

    letter-spacing: -.035em;
}


/* ============================================================
   Description
   ============================================================ */

.job-description {
    margin: 15px 0 0;

    color: #667085;

    font-size: .9rem;

    line-height: 1.7;
}


/* ============================================================
   Job Meta
   ============================================================ */

.job-meta {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: auto;

    padding-top: 28px;
}

.job-meta span {
    display: grid;

    gap: 3px;

    color: #667085;

    font-size: .78rem;

    line-height: 1.4;
}

.job-meta strong {
    color: #2F353B;

    font-size: .7rem;

    text-transform: uppercase;

    letter-spacing: .06em;
}


/* ============================================================
   Job Link
   ============================================================ */

.job-link {
    display: inline-flex;

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

    gap: 10px;

    margin-top: 25px;

    padding-top: 18px;

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

    color: #2F353B;

    text-decoration: none;

    font-size: .86rem;

    font-weight: 800;

    transition:
        color .2s ease,
        gap .2s ease;
}

.job-link span {
    font-size: 1.1rem;

    transition: transform .2s ease;
}

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

.job-link:hover span {
    transform: translateX(4px);
}


/* ============================================================
   No Jobs
   ============================================================ */

.no-jobs {
    padding: clamp(35px, 6vw, 65px);

    border: 1px dashed rgba(47, 53, 59, .18);

    border-radius: 18px;

    text-align: center;
}

.no-jobs-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #D6534D;

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.no-jobs h3 {
    margin: 0;

    font-size: clamp(1.4rem, 3vw, 2rem);

    letter-spacing: -.03em;
}

.no-jobs p {
    max-width: 600px;

    margin: 13px auto 0;

    color: #667085;

    font-size: .88rem;

    line-height: 1.7;
}


/* ============================================================
   General Application
   ============================================================ */

.general-application {
    display: flex;

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

    gap: 35px;

    margin-top: clamp(55px, 8vw, 85px);

    padding: clamp(30px, 5vw, 48px);

    border-radius: 20px;

    background: #2F353B;

    color: #fff;
}

.general-application .eyebrow {
    color: #D6534D;
}

.general-application h2 {
    max-width: 650px;

    margin: 7px 0 0;

    color: #fff;

    font-size: clamp(1.7rem, 4vw, 2.7rem);

    line-height: 1.05;

    letter-spacing: -.04em;
}

.general-application p:not(.eyebrow) {
    max-width: 650px;

    margin: 14px 0 0;

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

    font-size: .9rem;

    line-height: 1.7;
}

.general-application .primary-btn {
    flex-shrink: 0;

    text-decoration: none;
}


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

@media (max-width: 850px) {

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

}


@media (max-width: 650px) {

    .careers-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .careers-section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .job-card {
        min-height: 0;
    }

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

    .general-application {
        align-items: flex-start;

        flex-direction: column;
    }

    .general-application .primary-btn {
        width: 100%;

        justify-content: center;
    }

}


@media (max-width: 450px) {

    .job-card-top {
        align-items: flex-start;

        flex-direction: column;
    }

}