/* =========================================================
   MODERN JOB PAGE
   Responsive / Bootstrap / Astra Friendly
   ========================================================= */

.job-page {
    --job-heading: #111827;
    --job-text: #374151;
    --job-muted: #6b7280;
    --job-light: #f8fafc;
    --job-border: #e5e7eb;
    --job-accent: #2563eb;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 70px 24px 100px;

    color: var(--job-text);

    font-family: inherit;

    overflow: hidden;
}

.job-page *,
.job-page *::before,
.job-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.job-header {
    width: 100%;

    padding: 55px;

    margin-bottom: 50px;

    background: #fafbfc;

    border: 1px solid var(--job-border);
    border-radius: 16px;
}


.job-eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--job-accent);

    font-size: 12px;
    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.job-title {
    margin: 0 0 14px;

    color: var(--job-heading);

    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -0.04em;

    word-break: normal;
}


.job-subtitle {
    max-width: 750px;

    margin: 0;

    color: var(--job-muted);

    font-size: clamp(16px, 2vw, 19px);

    line-height: 1.6;
}


/* =========================================================
   META
   ========================================================= */

.job-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 30px;

    margin-top: 30px;
}


.job-meta-item {
    display: inline-flex;

    align-items: center;

    min-width: 0;

    gap: 8px;

    color: var(--job-muted);

    font-size: 14px;

    line-height: 1.5;
}


.job-meta-icon {
    flex: 0 0 auto;

    color: var(--job-accent);

    font-size: 7px;
}


.job-meta-label {
    color: var(--job-heading);

    font-weight: 650;
}


.job-meta-value {
    color: var(--job-muted);

    overflow-wrap: anywhere;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.job-highlights-wrapper {
    width: 100%;

    margin-bottom: 75px;
}


.job-highlights-title {
    margin-bottom: 16px;

    color: var(--job-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.job-highlights {
    display: grid;

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

    gap: 16px;

    width: 100%;
}


.job-highlight {
    min-width: 0;

    padding: 22px;

    background: #fff;

    border: 1px solid var(--job-border);

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(15, 23, 42, .035);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.job-highlight:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(15, 23, 42, .07);
}


.job-highlight-icon {
    display: flex;

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

    width: 38px;
    height: 38px;

    margin-bottom: 14px;

    border-radius: 8px;

    background: #eff6ff;

    color: var(--job-accent);

    font-size: 17px;

    font-weight: 700;
}


.job-highlight-title {
    margin-bottom: 4px;

    color: var(--job-muted);

    font-size: 10px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .07em;

    text-transform: uppercase;
}


.job-highlight-value {
    margin: 0;

    color: var(--job-heading);

    font-size: 15px;

    line-height: 1.5;

    font-weight: 650;

    overflow-wrap: anywhere;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.job-content {
    width: 100%;

    max-width: 860px;

    margin: 0 auto;
}


/* =========================================================
   SECTION
   ========================================================= */

.job-section {
    width: 100%;

    margin-bottom: 70px;
}


.job-section-number {
    display: block;

    margin-bottom: 8px;

    color: var(--job-accent);

    font-size: 11px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .1em;
}


.job-section-title {
    margin: 0 0 20px;

    color: var(--job-heading);

    font-size: clamp(25px, 3vw, 31px);

    line-height: 1.25;

    font-weight: 700;

    letter-spacing: -0.025em;

    overflow-wrap: break-word;
}


.job-section-content {
    color: var(--job-text);

    font-size: 17px;

    line-height: 1.8;
}


.job-section-content p {
    margin: 0 0 20px;
}


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


/* =========================================================
   LIST
   ========================================================= */

.job-section-content ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.job-section-content li {
    position: relative;

    margin: 0;

    padding: 0 0 14px 27px;

    color: var(--job-text);

    line-height: 1.7;
}


.job-section-content li:last-child {
    padding-bottom: 0;
}


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

    position: absolute;

    top: .72em;
    left: 2px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--job-accent);
}


/* =========================================================
   REQUIREMENTS
   ========================================================= */

.job-requirements {
    display: grid;

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

    gap: 16px;

    width: 100%;

    margin-top: 30px;
}


.job-requirement {
    min-width: 0;

    padding: 22px;

    background: #fafbfc;

    border: 1px solid var(--job-border);

    border-radius: 9px;

    border-top: 3px solid var(--job-heading);
}


.job-requirement-title {
    margin-bottom: 8px;

    color: var(--job-muted);

    font-size: 10px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.job-requirement-value {
    margin: 0;

    color: var(--job-heading);

    font-size: 14px;

    line-height: 1.65;

    overflow-wrap: anywhere;
}


/* =========================================================
   APPLY CTA
   ========================================================= */

.job-apply {
    display: flex;

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

    gap: 30px;

    width: 100%;

    margin-top: 80px;

    padding: 30px 34px;

    background: var(--job-heading);

    border-radius: 10px;
}


.job-apply-title {
    margin: 0 0 5px;

    color: #fff;

    font-size: 21px;

    line-height: 1.35;

    font-weight: 700;
}


.job-apply-text {
    margin: 0;

    color: #9ca3af;

    font-size: 13px;

    line-height: 1.5;
}


.job-apply-button {
    display: inline-flex;

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

    flex: 0 0 auto;

    min-height: 44px;

    padding: 11px 20px;

    border-radius: 6px;

    background: #fff;

    color: var(--job-heading) !important;

    font-size: 13px;

    line-height: 1;

    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.job-apply-button:hover {
    color: var(--job-heading) !important;

    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}


/* =========================================================
   MANAGEMENT
   ========================================================= */

.job-management {
    width: 100%;

    margin-top: 50px;

    padding-top: 25px;

    border-top: 1px solid var(--job-border);

    text-align: center;
}


.job-management-title {
    margin-bottom: 5px;

    color: var(--job-muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.job-management-value {
    margin: 0;

    color: var(--job-heading);

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 991px) {

    .job-page {
        padding: 55px 22px 80px;
    }

    .job-header {
        padding: 42px;
    }

    .job-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .job-content {
        max-width: 800px;
    }

    .job-requirements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .job-page {
        padding: 30px 16px 60px;
    }


    /* HERO */

    .job-header {
        padding: 30px 22px;

        margin-bottom: 40px;

        border-radius: 12px;
    }


    .job-eyebrow {
        margin-bottom: 12px;

        font-size: 10px;
    }


    .job-title {
        font-size: 34px;

        line-height: 1.12;

        letter-spacing: -0.035em;
    }


    .job-subtitle {
        font-size: 16px;

        line-height: 1.6;
    }


    /* META */

    .job-meta {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        margin-top: 25px;
    }


    .job-meta-item {
        display: grid;

        grid-template-columns: 8px auto 1fr;

        align-items: baseline;

        width: 100%;

        gap: 7px;

        font-size: 13px;
    }


    .job-meta-value {
        min-width: 0;
    }


    /* HIGHLIGHTS */

    .job-highlights-wrapper {
        margin-bottom: 55px;
    }


    .job-highlights {
        display: flex;

        flex-direction: column;

        gap: 10px;
    }


    /*
     * Instead of making tall cards,
     * mobile highlights become horizontal rows.
     */

    .job-highlight {
        display: grid;

        grid-template-columns: 42px minmax(90px, .6fr) minmax(0, 1fr);

        align-items: center;

        gap: 14px;

        width: 100%;

        min-height: 70px;

        padding: 14px 16px;

        border-radius: 9px;
    }


    .job-highlight-icon {
        width: 38px;
        height: 38px;

        margin: 0;
    }


    .job-highlight-title {
        margin: 0;

        font-size: 9px;
    }


    .job-highlight-value {
        text-align: right;

        font-size: 14px;

        line-height: 1.4;
    }


    /* CONTENT */

    .job-content {
        width: 100%;

        max-width: none;
    }


    .job-section {
        margin-bottom: 55px;
    }


    .job-section-number {
        margin-bottom: 7px;

        font-size: 10px;
    }


    .job-section-title {
        margin-bottom: 17px;

        font-size: 26px;

        line-height: 1.28;
    }


    .job-section-content {
        font-size: 16px;

        line-height: 1.75;
    }


    .job-section-content li {
        padding-left: 23px;

        padding-bottom: 12px;
    }


    /* REQUIREMENTS */

    .job-requirements {
        display: flex;

        flex-direction: column;

        gap: 10px;

        width: 100%;

        margin-top: 25px;
    }


    .job-requirement {
        width: 100%;

        padding: 18px;

        border-radius: 8px;
    }


    .job-requirement-title {
        margin-bottom: 6px;
    }


    .job-requirement-value {
        font-size: 14px;

        line-height: 1.6;
    }


    /* CTA */

    .job-apply {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        margin-top: 60px;

        padding: 25px 20px;

        border-radius: 9px;
    }


    .job-apply-title {
        font-size: 20px;
    }


    .job-apply-text {
        font-size: 13px;
    }


    .job-apply-button {
        width: 100%;

        min-height: 46px;
    }


    /* MANAGEMENT */

    .job-management {
        margin-top: 40px;

        padding-top: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .job-page {
        padding-left: 12px;
        padding-right: 12px;
    }


    .job-header {
        padding: 25px 18px;
    }


    .job-title {
        font-size: 30px;
    }


    /*
     * On very small screens,
     * highlight becomes two rows instead of
     * squeezing three columns.
     */

    .job-highlight {
        grid-template-columns: 40px minmax(0, 1fr);

        gap: 12px;
    }


    .job-highlight-icon {
        grid-row: span 2;
    }


    .job-highlight-title {
        align-self: end;

        text-align: left;
    }


    .job-highlight-value {
        align-self: start;

        text-align: left;
    }


    .job-section-title {
        font-size: 24px;
    }


    .job-section-content {
        font-size: 15.5px;
    }


    .job-requirement {
        padding: 16px;
    }

}

/* =========================================================
   JOB APPLICATION
   Modern / Clean / Fully Responsive
   ========================================================= */

.job-application {
    width: 100%;
    max-width: 860px;

    margin: 100px auto 0;

    color: var(--job-text);
}


/* =========================================================
   HEADER
   ========================================================= */

.job-application-header {
    width: 100%;

    margin-bottom: 38px;
}

.job-application-header h2 {
    margin: 0 0 12px;

    color: var(--job-heading);

    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.03em;
}

.job-application-header p {
    max-width: 680px;

    margin: 0;

    color: var(--job-muted);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   FORM CONTAINER
   ========================================================= */

.job-application-form {
    width: 100%;

    padding: 36px;

    background: #fff;

    border: 1px solid var(--job-border);
    border-radius: 12px;

    box-shadow: 0 5px 25px rgba(15, 23, 42, .045);
}


/* =========================================================
   FORM SECTION
   ========================================================= */

.job-form-section {
    width: 100%;

    padding-bottom: 32px;
    margin-bottom: 32px;

    border-bottom: 1px solid var(--job-border);
}

.job-form-section:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;

    border-bottom: 0;
}

.job-form-section h3 {
    margin: 0 0 24px;

    color: var(--job-heading);

    font-size: 18px;
    line-height: 1.4;

    font-weight: 700;

    letter-spacing: -0.01em;
}


/* =========================================================
   GRID
   ========================================================= */

.job-form-grid {
    display: grid;

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

    gap: 20px;

    width: 100%;
}


/* =========================================================
   FIELD
   ========================================================= */

.job-form-field {
    width: 100%;

    min-width: 0;

    margin: 0 0 22px;
}

.job-form-grid .job-form-field {
    margin-bottom: 0;
}

.job-form-field > label:not(.job-file-upload) {
    display: block;

    width: 100%;

    margin: 0 0 8px;

    color: var(--job-heading);

    font-size: 13px;
    line-height: 1.4;

    font-weight: 650;
}

.job-form-field label span {
    color: #dc2626;
}


/* =========================================================
   INPUTS
   ========================================================= */

.job-form-field input[type="text"],
.job-form-field input[type="email"],
.job-form-field input[type="tel"],
.job-form-field textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    min-height: 46px;

    padding: 11px 13px;

    margin: 0;

    border: 1px solid #d9dee7;
    border-radius: 7px;

    background: #fff;

    color: var(--job-heading);

    font-family: inherit;
    font-size: 15px;

    line-height: 1.5;

    outline: none;

    appearance: none;

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

.job-form-field textarea {
    min-height: 150px;

    resize: vertical;
}

.job-form-field input:focus,
.job-form-field textarea:focus {
    border-color: var(--job-accent);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.job-form-field input::placeholder,
.job-form-field textarea::placeholder {
    color: #9ca3af;
}


/* =========================================================
   RESUME UPLOAD
   ========================================================= */

.job-file-upload {
    position: relative;

    display: flex !important;

    align-items: center;

    width: 100%;

    min-width: 0;

    min-height: 82px;

    padding: 17px;

    margin: 0 !important;

    gap: 14px;

    border: 1px dashed #cbd5e1;
    border-radius: 9px;

    background: #fafbfc;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.job-file-upload:hover {
    border-color: var(--job-accent);

    background: #f8fbff;
}

.job-file-upload:focus-within {
    border-color: var(--job-accent);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}


/* Hide native file input */

.job-file-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* PDF icon */

.job-file-icon {
    display: flex;

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

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 8px;

    background: #fee2e2;

    color: #dc2626;

    font-size: 17px;
}


/* Upload text */

.job-file-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    flex: 1;

    min-width: 0;

    gap: 3px;
}

.job-file-content strong {
    display: block;

    color: var(--job-heading);

    font-size: 14px;
    line-height: 1.4;

    font-weight: 650;

    overflow-wrap: anywhere;
}

.job-file-content small {
    display: block;

    color: var(--job-muted);

    font-size: 12px;
    line-height: 1.4;
}


/* Choose file button */

.job-file-button {
    display: inline-flex;

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

    flex: 0 0 auto;

    min-height: 36px;

    padding: 8px 13px;

    border: 1px solid #d9dee7;
    border-radius: 6px;

    background: #fff;

    color: var(--job-heading);

    font-size: 12px;

    line-height: 1;

    font-weight: 650;

    white-space: nowrap;
}


/* Selected filename */

.job-file-name {
    display: block;

    width: 100%;

    margin-top: 8px;

    color: var(--job-accent);

    font-size: 12px;
    line-height: 1.5;

    font-weight: 600;

    overflow-wrap: anywhere;
}


/* =========================================================
   FORM FOOTER
   ========================================================= */

.job-form-footer {
    display: flex;

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

    width: 100%;

    gap: 25px;

    padding-top: 5px;
}

.job-form-submit {
    display: inline-flex;

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

    flex: 0 0 auto;

    min-height: 46px;

    gap: 10px;

    padding: 12px 22px;

    border: 0;
    border-radius: 7px;

    background: var(--job-heading);

    color: #fff;

    font-family: inherit;
    font-size: 14px;

    line-height: 1;

    font-weight: 700;

    cursor: pointer;

    appearance: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.job-form-submit span {
    font-size: 17px;
    line-height: 1;
}

.job-form-submit:hover {
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(15, 23, 42, .15);
}

.job-form-submit:focus {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .15),
        0 8px 20px rgba(15, 23, 42, .12);
}

.job-form-footer p {
    flex: 1;

    max-width: 420px;

    margin: 0;

    color: #9ca3af;

    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.job-hp {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {

    .job-application {
        width: 100%;

        margin-top: 70px;
    }

    .job-application-header {
        margin-bottom: 30px;
    }

    .job-application-header h2 {
        font-size: 28px;
    }

    .job-application-header p {
        font-size: 15px;
        line-height: 1.65;
    }


    /* Form */

    .job-application-form {
        padding: 26px 20px;

        border-radius: 10px;
    }


    /* Fields */

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

        gap: 0;
    }

    .job-form-field {
        margin-bottom: 20px;
    }


    /* Section */

    .job-form-section {
        padding-bottom: 26px;

        margin-bottom: 26px;
    }

    .job-form-section h3 {
        margin-bottom: 20px;

        font-size: 17px;
    }


    /* Inputs */

    .job-form-field input[type="text"],
    .job-form-field input[type="email"],
    .job-form-field input[type="tel"],
    .job-form-field textarea {
        font-size: 16px;
    }


    /* Resume */

    .job-file-upload {
        min-height: 76px;

        padding: 14px;

        gap: 12px;
    }

    .job-file-icon {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }


    /*
     * Remove Choose File button on tablet/mobile.
     * Entire box is clickable.
     */

    .job-file-button {
        display: none;
    }


    /* Footer */

    .job-form-footer {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;
    }

    .job-form-submit {
        width: 100%;

        min-height: 48px;
    }

    .job-form-footer p {
        width: 100%;

        max-width: none;

        text-align: center;

        font-size: 11px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .job-application {
        margin-top: 55px;
    }

    .job-application-form {
        padding: 22px 16px;
    }


    /* Header */

    .job-application-header h2 {
        font-size: 26px;
    }

    .job-application-header p {
        font-size: 14px;
    }


    /* Form section */

    .job-form-section {
        padding-bottom: 22px;

        margin-bottom: 22px;
    }

    .job-form-section h3 {
        font-size: 16px;
    }


    /* File upload */

    .job-file-upload {
        align-items: flex-start;

        padding: 14px;

        gap: 11px;
    }

    .job-file-icon {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 15px;
    }

    .job-file-content {
        padding-top: 1px;
    }

    .job-file-content strong {
        font-size: 13px;
    }

    .job-file-content small {
        font-size: 11px;
    }


    /* Submit */

    .job-form-submit {
        width: 100%;

        min-height: 50px;

        font-size: 14px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .job-application-form {
        padding: 20px 13px;
    }

    .job-file-upload {
        padding: 12px;
    }

    .job-file-icon {
        display: none;
    }

    .job-file-content strong {
        font-size: 12px;
    }

    .job-file-content small {
        font-size: 10px;
    }

}

.job-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 30px;
    padding-top: 20px;
    margin-bottom:30px;
    padding-bottom: 20px;

    border-top: 1px solid var(--job-border);
    border-bottom: 1px solid var(--job-border);
}

.job-share-label {
    color: var(--job-muted);

    font-size: 13px;
    font-weight: 600;
}

.job-share-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-share-facebook,
.job-share-copy {
    display: inline-flex;

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

    gap: 8px;

    min-height: 38px;

    padding: 8px 13px;

    border: 1px solid var(--job-border);
    border-radius: 7px;

    background: #fff;

    color: var(--job-heading);

    font-family: inherit;
    font-size: 12px;
    font-weight: 650;

    text-decoration: none;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.job-share-facebook:hover,
.job-share-copy:hover {
    color: var(--job-heading);

    border-color: #cbd5e1;

    background: #f8fafc;

    transform: translateY(-1px);
    text-decoration: none;
}

.job-share-facebook span {
    font-size: 16px;
    font-weight: 800;
}

.job-share-copy span:first-child {
    font-size: 15px;
}


/* Copied state */

.job-share-copy.is-copied {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}


/* Mobile */

@media (max-width: 767px) {

    .job-share {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

        margin-top: 25px;
    }

    .job-share-actions {
        width: 100%;
    }

    .job-share-facebook,
    .job-share-copy {
        flex: 1;

        width: 50%;
    }

}