.career-page {
    display: block;

    width: 100vw;
    max-width: none;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 0;

    background: #fbf7f1;
    color: #28323a;

    box-sizing: border-box;
}

.career-hero {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0;
    padding: 50px 20px;

    box-sizing: border-box;

    background: #6486a1;
    color: white;

    text-align: center;

    float: none !important;
    clear: both;
}

.career-hero h1 {
    margin: 0 0 18px;

    color: white;

    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.career-hero > p {
    max-width: 620px;

    margin: 0 auto 20px;

    color: white;

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

.career-details {
    color: white;

    font-size: 13px;
    line-height: 1.6;
}

.career-details a {
    color: white;

    text-decoration: none;
    font-weight: 600;
}

.career-details p {
    margin: 3px 0;

    color: white;
}


/* =========================
   Career Application Section
   ========================= */

.career-section {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0;
    padding: 45px 20px 60px;

    box-sizing: border-box;

    background: #fbf7f1;

    float: none !important;
    clear: both;
}

.career-header {
    width: 100%;

    margin: 0 0 30px;

    text-align: center;
}

.career-header h2 {
    margin: 0 0 8px;

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

.career-header p {
    margin: 0;

    color: #6b6b6b;

    font-size: 13px;
}


/* =========================
   Form Wrapper
   ========================= */

.career-form-wrapper {
    display: block;

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

    margin: 0 auto;
}

.form-group {
    display: block;

    width: 100%;

    margin-bottom: 18px;
}

.form-group label,
.field-heading {
    display: block;

    margin-bottom: 7px;

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

.required {
    color: #b43b32;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #cfd6dc;
    border-radius: 0;

    background: white;
    color: #333;

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

.form-group input,
.form-group select {
    height: 42px;
}

.form-group textarea {
    min-height: 100px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;

    border-color: #6486a1;
}

.form-group input[type="file"] {
    padding: 9px 12px;

    line-height: 1.3;
}

.turnstile-wrapper {
    display: block;

    width: 100%;

    margin: 20px 0;
}

.submit-button {
    display: flex;

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

    width: 100%;
    height: 42px;

    margin: 20px 0 0;
    padding: 0;

    border: none;
    border-radius: 0;

    background: #6486a1;
    color: white;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-align: center;

    cursor: pointer;
}

.submit-button:hover {
    background: #54758f;
}

.career-form-wrapper .field-error {
    display: block !important;
    margin-top: 6px;
    color: #b43b32;
    font-size: 12px;
}

/* Flash Message (for 'Careers' Form) */

.career-page .message {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    min-height: 48px;
    margin: 0 auto 22px;
    padding: 12px 48px 12px 14px;
    color: #b42318;
    font-size: 14px;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 8px;
}

.career-page .message.success {
    color: #027a48;
    background: #ecfdf3;
    border-color: #abefc6;
}

.career-page .message-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
    line-height: 1;
}

.career-page .message-icon svg {
    display: block;
}

.career-page .message-text {
    font-size: 14px;
    line-height: 1.4;
}

.career-page .message-close,
.career-page .message-close:hover,
.career-page .message-close:focus {
    position: absolute;
    top: 50%;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-50%);
}

.career-page .message.hidden {
    display: none;
}

@media (max-width: 768px) {

    .career-hero {
        padding: 35px 20px;
    }

    .career-hero h1 {
        font-size: 22px;
    }

    .career-hero > p {
        font-size: 13px;
    }

    .career-section {
        padding: 35px 20px 45px;
    }

    .career-header h2 {
        font-size: 22px;
    }

    .career-form-wrapper,
    .career-page .message {
        max-width: 100%;
    }

}

.career-info-section {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0;
    padding: 45px 20px;

    box-sizing: border-box;

    background: #fbf7f1;

    float: none !important;
    clear: both;
}

.career-info-block {
    width: 100%;
    max-width: 700px;

    margin: 0 auto 40px;
}

.career-info-block:last-child {
    margin-bottom: 0;
}

.career-info-block h2 {
    margin: 0 0 12px;

    font-size: 22px;
    font-weight: 600;

    text-align: center;
}

.career-info-block p {
    margin: 0;

    color: #4a4a4a;

    font-size: 15px;
    line-height: 1.7;

    text-align: center;
}

.career-info-list {
    max-width: 700px;

    margin: 16px auto 0;
    padding: 0;

    list-style: none;

    text-align: left;
}

.career-info-list li {
    position: relative;

    margin-bottom: 10px;
    padding-left: 22px;

    color: #4a4a4a;

    font-size: 15px;
    line-height: 1.6;
}

.career-info-list li:last-child {
    margin-bottom: 0;
}

.career-info-list li::before {
    content: '';

    position: absolute;
    top: 8px;
    left: 4px;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #6486a1;
}

.career-info-note {
    max-width: 700px;

    margin: 12px auto 20px;

    color: #8a8a8a;

    font-size: 13px;
    font-style: italic;

    text-align: left;
}
