.cs-careers {
    --cs-careers-blue: #074e91;
    --cs-careers-orange: #ff5000;
    --cs-careers-button-orange: #ff4b0a;
    --cs-careers-button-hover: #0078b5;
    --cs-careers-text: #3a3a3a;
}

.cs-careers .career-bucket .et_pb_blurb { background-image: none !important; }
.cs-careers #apply .cs-careers-application {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 56px;
    width: 90%;
    max-width: 1200px;
    padding: 16px 0;
}
.cs-careers #apply .cs-careers-application::after { display: none; }
.cs-careers #apply .cs-careers-application > .et_pb_column {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}
.cs-careers #apply .cs-careers-details {
    padding-top: 24px;
    color: var(--cs-careers-text);
    font-size: 17px;
    line-height: 1.75;
}
.cs-careers #apply .cs-careers-details h2,
.cs-careers #apply .cs-careers-application-card h2 {
    color: var(--cs-careers-blue);
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    padding-bottom: 20px;
}
.cs-careers #apply .cs-careers-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-careers #apply .cs-careers-requirements li {
    position: relative;
    padding-inline-start: 36px;
    margin-bottom: 16px;
}
.cs-careers #apply .cs-careers-requirements li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border: 2px solid var(--cs-careers-button-orange);
    border-radius: 50%;
    box-sizing: border-box;
}
.cs-careers #apply .cs-careers-requirements li::after {
    content: '';
    position: absolute;
    inset-inline-start: 7px;
    top: 10px;
    width: 6px;
    height: 10px;
    border: solid var(--cs-careers-button-orange);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cs-careers #apply .cs-careers-benefits {
    border-top: 1px solid var(--cs-careers-button-orange);
    margin-top: 32px;
    padding-top: 28px;
}
.cs-careers #apply .cs-careers-benefits p { padding-bottom: 0; }
.cs-careers #apply .cs-careers-locations {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--cs-careers-button-orange);
    color: var(--cs-careers-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}
.cs-careers #apply .cs-careers-locations h2 {
    padding-bottom: 8px;
    color: var(--cs-careers-blue);
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
}
.cs-careers #apply .cs-careers-locations > p { padding-bottom: 20px; }
.cs-careers #apply .cs-careers-locations__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cs-careers #apply .cs-careers-locations__list li { margin: 0; padding: 0; min-width: 0; }
.cs-careers #apply .cs-careers-locations__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cs-careers-blue);
    border-radius: 6px;
    background: #fff;
    color: var(--cs-careers-blue);
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: background-color .18s ease, color .18s ease;
}
.cs-careers #apply .cs-careers-locations__arrow {
    flex: 0 0 auto;
    color: var(--cs-careers-button-orange);
    font-size: 22px;
    line-height: 1;
}
.cs-careers #apply .cs-careers-locations__list a:hover,
.cs-careers #apply .cs-careers-locations__list a:focus-visible,
.cs-careers #apply .cs-careers-locations__list a[aria-current="page"] {
    background: var(--cs-careers-blue);
    color: #fff;
}
.cs-careers #apply .cs-careers-locations__list a:hover .cs-careers-locations__arrow,
.cs-careers #apply .cs-careers-locations__list a:focus-visible .cs-careers-locations__arrow,
.cs-careers #apply .cs-careers-locations__list a[aria-current="page"] .cs-careers-locations__arrow { color: #fff; }
.cs-careers #apply .cs-careers-locations a:focus-visible {
    outline: 2px solid var(--cs-careers-blue);
    outline-offset: 3px;
}
.cs-careers #apply .cs-careers-locations__all {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 14px;
    color: var(--cs-careers-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cs-careers #apply .cs-careers-locations__all:hover { text-decoration-thickness: 2px; }
@media (max-width: 767px) {
    .cs-careers #apply .cs-careers-locations h2 { font-size: 23px; }
}
@media (max-width: 480px) {
    .cs-careers #apply .cs-careers-locations__list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .cs-careers #apply .cs-careers-locations__list a { transition: none; }
}
.cs-careers #apply .cs-careers-application-card {
    padding: 28px 32px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 24px rgb(0 0 0 / 10%);
    font-family: inherit;
}
.cs-careers #apply .cs-careers-application-card h2 { padding-bottom: 4px; }
@media (max-width: 980px) {
    .cs-careers #apply .cs-careers-application {
        grid-template-columns: minmax(0, 1fr);
        max-width: 680px;
        gap: 32px;
    }
    .cs-careers #apply .cs-careers-details { padding-top: 0; }
}
@media (max-width: 767px) {
    .cs-careers #apply .cs-careers-application-card { padding: 24px 18px; }
    .cs-careers #apply .cs-careers-details { font-size: 16px; }
    .cs-careers #apply .cs-careers-details h2,
    .cs-careers #apply .cs-careers-application-card h2 { font-size: 23px; }
}
/* Divi's rounded form module must not clip the dropdown's options. */
.cs-careers #apply .et_pb_text:has(.career-form) {
    overflow: visible !important;
}
.cs-careers .career-form .form-group { min-width: 0; }
.cs-careers .career-form select {
    appearance: none;
    padding-inline-end: 48px !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23074e91' stroke-width='1.5' d='m3 6 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.cs-careers .cs-careers-select { position: relative; width: 100%; }
.cs-careers .cs-careers-select.is-open { z-index: 20; }
.cs-careers .cs-careers-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(50%);
}
.cs-careers .career-form .cs-careers-select__trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 48px 12px 16px;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    background: #fff;
    color: var(--cs-careers-text);
    font: inherit;
    line-height: 1.5;
    text-align: start;
    cursor: pointer;
    position: relative;
}
.cs-careers .cs-careers-select__trigger::after {
    content: '';
    position: absolute;
    right: 20px;
    top: calc(50% - 5px);
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--cs-careers-blue);
    border-bottom: 1.5px solid var(--cs-careers-blue);
    transform: rotate(45deg);
    pointer-events: none;
}
.cs-careers .cs-careers-select__trigger:focus-visible {
    outline: 2px solid var(--cs-careers-blue);
    outline-offset: 2px;
}
.cs-careers .cs-careers-select__trigger[aria-invalid="true"] { border-color: var(--cs-careers-orange); }
.cs-careers .career-form .cs-careers-select__list {
    position: absolute;
    inset: calc(100% + 6px) 0 auto;
    box-sizing: border-box;
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    border: 1px solid #b8b8b8;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 18px rgb(0 0 0 / 14%);
    color: var(--cs-careers-text);
    z-index: 30;
}
.cs-careers .cs-careers-select__list[hidden] { display: none; }
.cs-careers .cs-careers-select__option {
    padding: 10px 12px;
    line-height: 1.4;
    cursor: pointer;
    overflow-wrap: anywhere;
    border-radius: 2px;
}
.cs-careers .cs-careers-select__option[aria-selected="true"] { font-weight: 600; }
.cs-careers .cs-careers-select__option.is-active,
.cs-careers .cs-careers-select__option:hover { background: var(--cs-careers-blue); color: #fff; }
.cs-careers .cs-careers-select__option[aria-disabled="true"] { opacity: .5; cursor: default; }
.cs-careers .wpcf7 form .wpcf7-response-output {
    margin: 14px 0 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-inline-start: 3px solid var(--cs-careers-orange) !important;
    border-radius: 4px;
    background: #fff3ec;
    color: var(--cs-careers-text);
    font-size: 14px;
    line-height: 1.5;
}
.cs-careers .wpcf7 form.sent .wpcf7-response-output {
    background: #edf4fa;
    border-inline-start-color: var(--cs-careers-blue) !important;
}
.cs-careers .wpcf7 .wpcf7-not-valid-tip {
    position: static !important;
    display: block;
    margin: 5px 0 0;
    padding: 0;
    background: none;
    color: #a33300;
    font-size: 13px;
    line-height: 1.4;
}
.cs-careers .career-form .form-row p { padding-bottom: 0; margin-bottom: 0; }
.cs-careers .career-form .form-submit {
    margin-top: 24px;
    background-color: var(--cs-careers-button-orange) !important;
    border-color: var(--cs-careers-button-orange) !important;
    color: #fff !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.cs-careers .career-form .form-submit:hover,
.cs-careers .career-form .form-submit:focus-visible {
    background-color: var(--cs-careers-button-hover) !important;
    border-color: var(--cs-careers-button-hover) !important;
}
.cs-careers .career-form .form-submit:focus-visible {
    outline: 2px solid var(--cs-careers-blue);
    outline-offset: 3px;
}
.cs-careers .wpcf7-spinner { display: none; }
.cs-careers .wpcf7 form.submitting .wpcf7-spinner { display: block; margin: 10px auto 0; }
@media (max-width: 767px) {
    .cs-careers .career-form .cs-careers-select__trigger { font-size: 16px; }
    .cs-careers .wpcf7 form .wpcf7-response-output { margin-top: 12px !important; }
}
