.careers-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(24, 34, 44, .94),
            rgba(31, 43, 54, .82)
        ),
        radial-gradient(
            circle at 84% 20%,
            rgba(242, 83, 30, .30),
            transparent 34%
        ),
        url("../images/careers/careers-banner.webp")
            center center / cover no-repeat;
}

.careers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(20, 29, 37, .32),
            transparent 58%
        );
}

.careers-hero > .container {
    position: relative;
    z-index: 1;
}


.careers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.careers-vacancy-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    border: 1px solid #e4e8ec;
    background: #fff;
}

.careers-vacancy-card h3 {
    margin: 8px 0 10px;
}

.careers-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.careers-meta span {
    padding: 6px 9px;
    background: #f4f6f8;
    color: #44515d;
    font-size: 12px;
    font-weight: 700;
}

.careers-card-footer {
    margin-top: auto;
    padding-top: 18px;
}

.careers-form-shell {
    max-width: 980px;
    margin: 0 auto;
}

.careers-form-section {
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid #e2e7eb;
    background: #fff;
}

.careers-form-section h2 {
    margin-top: 0;
    font-size: 22px;
}

.careers-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.careers-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.careers-form-field-full {
    grid-column: 1 / -1;
}

.careers-form-field label,
.careers-consent label {
    color: #26333d;
    font-size: 13px;
    font-weight: 700;
}

.careers-form-field input,
.careers-form-field select,
.careers-form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #ccd4da;
    border-radius: 0;
    background: #fff;
    color: #25313b;
    font: inherit;
}

.careers-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.careers-help {
    color: #66737e;
    font-size: 12px;
    line-height: 1.5;
}

.careers-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
}

.careers-consent input {
    width: auto;
    margin-top: 4px;
}

.careers-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 4px solid #c62828;
    background: #fff0f0;
    color: #842020;
}

.careers-reference {
    display: inline-block;
    margin: 18px 0;
    padding: 14px 18px;
    background: #fff3ed;
    color: #c83f12;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .04em;
}

.careers-requirements {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.careers-requirement {
    padding: 16px;
    border-left: 4px solid #f2531e;
    background: #f7f8f9;
}

.careers-requirement strong {
    display: block;
    margin-bottom: 5px;
}

.careers-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .careers-grid,
    .careers-form-grid {
        grid-template-columns: 1fr;
    }

    .careers-form-field-full {
        grid-column: auto;
    }

    .careers-form-section {
        padding: 18px;
    }
}

/* EDM_PUBLIC_CAREERS_UPGRADE_START */

.careers-application-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, .7fr);
    gap: 28px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto 20px;
    padding: 30px;
    border: 1px solid #e1e7eb;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 70%,
            #fff5f0 100%
        );
    box-shadow: 0 18px 48px rgba(33, 46, 56, .07);
}

.careers-form-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #f2531e;
    font-size: .73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.careers-form-eyebrow::before {
    width: 28px;
    height: 2px;
    background: #f2531e;
    content: "";
}

.careers-application-intro h2 {
    margin: 0 0 10px;
    color: #25313b;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.14;
}

.careers-application-intro p {
    max-width: 690px;
    margin: 0;
    color: #65727d;
    line-height: 1.75;
}

.careers-application-security {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #dcebe3;
    background: #f2fbf6;
}

.careers-security-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #dff4e8;
    color: #18794e;
    font-weight: 900;
}

.careers-application-security strong,
.careers-application-security span {
    display: block;
}

.careers-application-security strong {
    margin-bottom: 4px;
    color: #25313b;
    font-size: .86rem;
}

.careers-application-security div span {
    color: #687680;
    font-size: .75rem;
    line-height: 1.55;
}

.careers-form-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 980px;
    margin: 0 auto 20px;
    border: 1px solid #e1e7eb;
    background: #ffffff;
}

.careers-form-progress > div {
    display: flex;
    min-width: 0;
    gap: 9px;
    align-items: center;
    padding: 14px;
    border-right: 1px solid #e8ecef;
}

.careers-form-progress > div:last-child {
    border-right: 0;
}

.careers-form-progress span {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #f2531e;
    color: #ffffff;
    font-size: .71rem;
    font-weight: 800;
}

.careers-form-progress strong {
    overflow: hidden;
    color: #35424c;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.careers-form-shell {
    max-width: 980px;
}

.careers-form-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 0;
    border: 1px solid #dfe5e9;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(33, 46, 56, .055);
}

.careers-section-heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 23px 25px;
    border-bottom: 1px solid #e6ebee;
    background: #fbfcfd;
}

.careers-section-number {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    background: #26333d;
    color: #ffffff;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.careers-section-heading h2 {
    margin: 0 0 5px;
    color: #26333d;
    font-size: 1.23rem;
    line-height: 1.3;
}

.careers-section-heading p {
    margin: 0;
    color: #6a7781;
    font-size: .82rem;
    line-height: 1.65;
}

.careers-form-section > .careers-form-grid,
.careers-form-section > .careers-consent-list,
.careers-form-section > .careers-submit-area {
    margin: 0;
}

.careers-form-grid {
    gap: 18px 20px;
    padding: 25px;
}

.careers-form-field {
    gap: 8px;
}

.careers-form-field label {
    color: #303d47;
    font-size: .78rem;
    font-weight: 750;
}

.careers-required {
    color: #f2531e;
}

.careers-form-field input,
.careers-form-field select,
.careers-form-field textarea {
    min-height: 51px;
    padding: 12px 14px;
    border: 1px solid #ced7dd;
    border-radius: 5px;
    background: #ffffff;
    color: #26333d;
    font-family: inherit;
    font-size: .86rem;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.careers-form-field input::placeholder,
.careers-form-field textarea::placeholder {
    color: #9aa5ad;
}

.careers-form-field input:focus,
.careers-form-field select:focus,
.careers-form-field textarea:focus {
    border-color: #f2531e;
    box-shadow: 0 0 0 4px rgba(242, 83, 30, .11);
    outline: 0;
}

.careers-form-field textarea {
    min-height: 155px;
    line-height: 1.65;
}

.careers-help {
    color: #74818b;
    font-size: .71rem;
    line-height: 1.55;
}

.careers-input-prefix {
    display: flex;
    align-items: stretch;
}

.careers-input-prefix > span {
    display: grid;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid #ced7dd;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: #f4f6f7;
    color: #46535d;
    font-size: .82rem;
    font-weight: 800;
}

.careers-input-prefix input {
    border-radius: 0 5px 5px 0;
}

.careers-choice-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #dce3e7;
    border-radius: 5px;
    background: #f8fafb;
    cursor: pointer;
}

.careers-choice-card input,
.careers-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.careers-choice-control {
    position: relative;
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #bac5cc;
    border-radius: 4px;
    background: #ffffff;
    transition: .2s ease;
}

.careers-choice-card input:checked + .careers-choice-control,
.careers-consent input:checked + .careers-choice-control {
    border-color: #f2531e;
    background: #f2531e;
}

.careers-choice-card input:checked + .careers-choice-control::after,
.careers-consent input:checked + .careers-choice-control::after {
    color: #ffffff;
    font-size: .78rem;
    font-weight: 900;
    content: "✓";
}

.careers-choice-card strong,
.careers-choice-card small {
    display: block;
}

.careers-choice-card strong {
    margin-bottom: 4px;
    color: #2e3b45;
    font-size: .82rem;
}

.careers-choice-card small {
    color: #71808a;
    font-size: .71rem;
    font-weight: 500;
    line-height: 1.55;
}

.careers-multiple-select {
    min-height: 235px !important;
    padding: 8px !important;
}

.careers-multiple-select option {
    margin-bottom: 4px;
    padding: 10px 11px;
    border-radius: 3px;
}

.careers-upload-box {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 22px;
    border: 2px dashed #cfd8de;
    border-radius: 7px;
    background: #fbfcfd;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.careers-upload-box:hover {
    border-color: #f2531e;
    background: #fff8f5;
    transform: translateY(-1px);
}

.careers-upload-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: #fff0e9;
    color: #f2531e;
    font-size: 1.35rem;
    font-weight: 800;
}

.careers-upload-copy {
    min-width: 0;
    flex: 1;
}

.careers-upload-copy strong,
.careers-upload-copy small {
    display: block;
}

.careers-upload-copy strong {
    margin-bottom: 5px;
    color: #2d3943;
    font-size: .86rem;
}

.careers-upload-copy small {
    color: #77848e;
    font-size: .72rem;
    font-weight: 500;
}

.careers-upload-button {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 4px;
    background: #26333d;
    color: #ffffff;
    font-size: .72rem;
    font-weight: 800;
}

.careers-file-input {
    position: absolute;
    width: 1px !important;
    height: 1px;
    min-height: 1px !important;
    opacity: 0;
    overflow: hidden;
}

.careers-selected-file {
    padding: 10px 12px;
    border: 1px solid #e1e6e9;
    border-radius: 4px;
    background: #f7f9fa;
    color: #77838c;
    font-size: .73rem;
}

.careers-selected-file-active {
    border-color: #bfe0cd;
    background: #f0faf4;
    color: #18794e;
    font-weight: 700;
}

.careers-consent-list {
    display: grid;
    gap: 10px;
    padding: 24px 25px 8px;
}

.careers-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 15px;
    border: 1px solid #e0e6e9;
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
}

.careers-consent:hover {
    border-color: #f6b39a;
    background: #fffaf8;
}

.careers-consent > span:last-child {
    color: #56636d;
    font-size: .77rem;
    font-weight: 500;
    line-height: 1.65;
}

.careers-consent > span:last-child strong {
    color: #f2531e;
}

.careers-submit-area {
    margin-top: 15px !important;
    padding: 22px 25px 27px;
    border-top: 1px solid #e7ebee;
    background: #f8fafb;
}

.careers-submit-note {
    display: flex;
    gap: 10px 18px;
    justify-content: space-between;
    margin-bottom: 17px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e1e6e9;
}

.careers-submit-note strong {
    color: #2f3c46;
    font-size: .78rem;
}

.careers-submit-note span {
    max-width: 590px;
    color: #6d7a84;
    font-size: .74rem;
    line-height: 1.55;
}

.careers-submit-button {
    display: inline-flex;
    min-width: 270px;
    min-height: 54px;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(242, 83, 30, .2);
    cursor: pointer;
}

.careers-submit-button:disabled {
    cursor: wait;
    opacity: .72;
}

.careers-submit-arrow {
    font-size: 1.15rem;
}

.careers-privacy-note {
    max-width: 760px;
    margin: 14px 0 0;
    color: #7a868f;
    font-size: .68rem;
    line-height: 1.6;
}

.careers-reveal,
.careers-form-section {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .55s ease,
        transform .55s ease;
}

.careers-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .careers-reveal,
    .careers-form-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 900px) {
    .careers-application-intro {
        grid-template-columns: 1fr;
    }

    .careers-form-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .careers-form-progress > div {
        border-bottom: 1px solid #e8ecef;
    }
}

@media (max-width: 760px) {
    .careers-application-intro {
        gap: 20px;
        padding: 22px 18px;
    }

    .careers-application-intro h2 {
        font-size: 1.65rem;
    }

    .careers-form-progress {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .careers-form-progress > div {
        flex: 0 0 165px;
        scroll-snap-align: start;
    }

    .careers-section-heading {
        padding: 19px 17px;
    }

    .careers-section-number {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .careers-section-heading h2 {
        font-size: 1.05rem;
    }

    .careers-form-grid {
        padding: 19px 17px;
    }

    .careers-form-field input,
    .careers-form-field select,
    .careers-form-field textarea {
        font-size: 16px;
    }

    .careers-upload-box {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .careers-upload-button {
        width: 100%;
        text-align: center;
    }

    .careers-consent-list {
        padding: 18px 17px 7px;
    }

    .careers-submit-area {
        padding: 19px 17px 22px;
    }

    .careers-submit-note {
        flex-direction: column;
    }

    .careers-submit-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 430px) {
    .careers-application-intro {
        margin-bottom: 14px;
        padding: 19px 15px;
    }

    .careers-application-security {
        padding: 14px;
    }

    .careers-section-heading {
        gap: 11px;
    }

    .careers-form-grid {
        gap: 16px;
        padding: 17px 14px;
    }

    .careers-consent-list {
        padding-right: 14px;
        padding-left: 14px;
    }

    .careers-consent {
        padding: 13px;
    }

    .careers-submit-area {
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* EDM_PUBLIC_CAREERS_UPGRADE_END */

/* EDM_JOB_APPLICATION_MOBILE_NORMALISATION_START
   Shared mobile presentation for vacancy applications and Talent Pool.
*/

.careers-application-section {
    overflow-x: hidden;
}

.careers-application-section .container {
    width: min(100%, 1180px);
}

.careers-form-shell {
    width: 100%;
    max-width: 980px;
    min-width: 0;
}

.careers-form-shell *,
.careers-form-shell *::before,
.careers-form-shell *::after {
    box-sizing: border-box;
}

.careers-form-shell input,
.careers-form-shell select,
.careers-form-shell textarea,
.careers-form-shell button {
    max-width: 100%;
}

.careers-form-shell input[type="checkbox"],
.careers-form-shell input[type="radio"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: #f2531e;
}

.careers-consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.careers-consent label {
    margin: 0;
    line-height: 1.6;
}

.careers-form-field input,
.careers-form-field select,
.careers-form-field textarea {
    font-size: 15px;
}

.careers-form-field input::placeholder,
.careers-form-field textarea::placeholder {
    color: #98a4ad;
    opacity: 1;
}

@media (max-width: 760px) {

    .careers-application-hero {
        min-height: auto;
    }

    .careers-application-hero .container,
    .careers-application-section .container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .careers-application-section {
        padding-top: 28px;
        padding-bottom: 42px;
    }

    .careers-form-shell {
        width: 100%;
        margin: 0 auto;
    }

    .careers-form-shell > * {
        min-width: 0;
    }

    .careers-form-section {
        width: 100%;
        margin: 0 0 18px;
        padding: 18px 16px;
        border: 1px solid #dfe5e8;
    }

    .careers-form-section h2 {
        margin: 0;
        font-size: 21px;
        line-height: 1.25;
        letter-spacing: -.025em;
    }

    .careers-form-section p {
        font-size: 14px;
        line-height: 1.65;
    }

    .careers-form-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .careers-form-field,
    .careers-form-field-full {
        width: 100%;
        min-width: 0;
        grid-column: auto;
    }

    .careers-form-field label,
    .careers-consent label {
        font-size: 14px;
        line-height: 1.5;
    }

    .careers-form-field input,
    .careers-form-field select,
    .careers-form-field textarea {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 12px 13px;
        font-size: 16px;
        line-height: 1.45;
    }

    .careers-form-field textarea {
        min-height: 135px;
    }

    .careers-help {
        font-size: 12px;
        line-height: 1.55;
    }

    .careers-consent {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 11px;
        width: 100%;
        margin: 16px 0;
        padding: 0;
    }

    .careers-consent input {
        display: block;
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        min-height: 20px !important;
        margin: 2px 0 0 !important;
    }

    .careers-consent label {
        display: block;
        width: auto;
        margin: 0;
        color: #34404b;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.65;
    }

    .careers-form-section .btn,
    .careers-form-section button[type="submit"] {
        width: 100%;
        min-height: 54px;
        padding: 14px 18px;
        font-size: 16px;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }

    /*
     * The upgraded form may use one of these progress class names,
     * depending on which page is being rendered.
     */
    .careers-progress,
    .careers-form-progress,
    .careers-step-navigation,
    .careers-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 1px;
        margin: 0 0 18px;
        overflow: hidden;
        border: 1px solid #dfe5e8;
        background: #dfe5e8;
    }

    .careers-progress > *,
    .careers-form-progress > *,
    .careers-step-navigation > *,
    .careers-steps > * {
        min-width: 0;
        padding: 11px 9px;
        background: #ffffff;
        font-size: 11px;
        line-height: 1.35;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .careers-form-intro,
    .careers-application-intro {
        width: 100%;
        padding: 0;
        margin-bottom: 22px;
    }

    .careers-form-intro h1,
    .careers-application-intro h1 {
        margin: 0 0 14px;
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.08;
        letter-spacing: -.045em;
    }

    .careers-form-intro p,
    .careers-application-intro p {
        margin: 0;
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (max-width: 420px) {

    .careers-application-hero .container,
    .careers-application-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .careers-form-section {
        padding: 17px 14px;
    }

    .careers-progress,
    .careers-form-progress,
    .careers-step-navigation,
    .careers-steps {
        grid-template-columns: 1fr;
    }
}

/* EDM_JOB_APPLICATION_MOBILE_NORMALISATION_END */

/* ==========================================================
   CAREERS APPLICATION — MOBILE TOP COMPACTION
   Keeps the application form unchanged and only improves
   the oversized introduction and progress area on mobile.
   ========================================================== */

@media (max-width: 760px) {

    /* Compact the Careers hero */
    .careers-hero {
        min-height: 0 !important;
        padding: 54px 0 48px !important;
        background-position: center center !important;
    }

    .careers-hero .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .careers-hero .hero-content-wide {
        max-width: 100% !important;
    }

    .careers-hero .eyebrow {
        margin-bottom: 15px !important;
        font-size: 11px !important;
    }

    .careers-hero h1 {
        margin-bottom: 14px !important;
        font-size: clamp(30px, 9vw, 40px) !important;
        line-height: 1.12 !important;
        letter-spacing: -0.035em !important;
    }

    .careers-hero .lead,
    .careers-hero p {
        max-width: 100% !important;
        margin-bottom: 0 !important;
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    /* Reduce the large empty space before the form */
    .careers-application-section,
    .careers-form-area,
    .careers-form-wrapper,
    .section-soft:has(.careers-form-shell) {
        padding-top: 30px !important;
    }

    /* Compact the introductory application card */
    .careers-form-intro,
    .careers-application-intro,
    .careers-intro-card {
        margin-bottom: 18px !important;
        padding: 22px 20px !important;
    }

    .careers-form-intro h2,
    .careers-application-intro h2,
    .careers-intro-card h2 {
        margin-bottom: 10px !important;
        font-size: 25px !important;
        line-height: 1.2 !important;
    }

    .careers-form-intro p,
    .careers-application-intro p,
    .careers-intro-card p {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    /* Compact the secure application information panel */
    .careers-secure-box,
    .careers-security-box,
    .careers-form-security {
        display: grid !important;
        grid-template-columns: 46px minmax(0, 1fr) !important;
        gap: 13px !important;
        align-items: center !important;
        padding: 17px 18px !important;
    }

    .careers-secure-box-icon,
    .careers-security-icon,
    .careers-form-security-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
    }

    /* Turn the four very tall steps into a compact 2-column grid */
    .careers-progress,
    .careers-form-progress,
    .careers-steps,
    .careers-step-navigation {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin: 18px 0 22px !important;
        border: 0 !important;
        background: transparent !important;
    }

    .careers-progress-item,
    .careers-form-progress-item,
    .careers-step,
    .careers-step-navigation > div {
        display: flex !important;
        min-height: 70px !important;
        padding: 12px !important;
        gap: 10px !important;
        align-items: center !important;
        border: 1px solid #dde4e8 !important;
        background: #ffffff !important;
    }

    .careers-progress-number,
    .careers-step-number,
    .careers-form-progress-number {
        display: inline-flex !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 12px !important;
    }

    .careers-progress-label,
    .careers-step-label,
    .careers-form-progress-label {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    /* Bring the first form section closer */
    .careers-form-shell {
        margin-top: 0 !important;
    }

    .careers-form-shell > .careers-form-section:first-of-type {
        margin-top: 0 !important;
    }
}

@media (max-width: 420px) {

    .careers-progress,
    .careers-form-progress,
    .careers-steps,
    .careers-step-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .careers-progress-item,
    .careers-form-progress-item,
    .careers-step,
    .careers-step-navigation > div {
        min-height: 64px !important;
        padding: 10px !important;
    }
}

