/* Keep the theme's career layout and animations; reduce only the excessive whitespace. */
.tlp-career-page .box {
    padding-top: 32px;
    padding-bottom: 38px;
}

.tlp-career-page .background {
    padding-top: 38px;
    padding-bottom: 38px;
    min-height: 240px;
}

.tlp-career-page .work-offer {
    padding-top: 44px;
    margin-bottom: 54px;
    scroll-margin-top: 100px;
}

.tlp-career-page .work-offer__single {
    padding: 20px 24px 0;
}

.tlp-career-page .work-offer__hide {
    padding-top: 20px;
}

.tlp-career-page .work-offer__hide .hide {
    padding-bottom: 28px;
}

.tlp-career-page .tlp-career-group {
    scroll-margin-top: 100px;
}

.tlp-career-page .tlp-career-group + .tlp-career-group {
    margin-top: 36px;
}

.tlp-career-page .tlp-career-group__title {
    border-left: 3px solid #eb6437;
    color: #17375c;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.25;
    margin: 0 0 10px;
    padding-left: 14px;
    text-transform: uppercase;
}

.tlp-career-page .tlp-career-group__description {
    color: #5f7185;
    font-size: 16px;
    margin: 0 0 22px;
}

.tlp-career-page .tlp-career-group:first-child .work-offer__single {
    border-left: 3px solid #eb6437;
}

.tlp-career-page .tlp-career-group:first-child .work-offer__single .h2 {
    color: #17375c;
}

.tlp-career-page .tlp-career-apply-link {
    align-items: center;
    background: #17375c;
    border: 1px solid #17375c;
    color: #fff;
    display: inline-flex;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    min-height: 48px;
    padding: 11px 22px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.tlp-career-page .tlp-career-apply-link:hover,
.tlp-career-page .tlp-career-apply-link:focus-visible {
    background: #fff;
    color: #17375c;
}

.tlp-career-page .tlp-career-apply-link:focus-visible {
    outline: 2px solid #eb6437;
    outline-offset: 3px;
}

.tlp-career-application {
    background: #f3f6f8;
    border-top: 3px solid #eb6437;
    color: #17375c;
    padding: 54px 0 50px;
    scroll-margin-top: 100px;
}

.tlp-career-application__grid {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.tlp-career-application__intro h2 {
    font-family: Butler, Georgia, serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.15;
    margin: 8px 0 20px;
}

.tlp-career-application__intro > p:not(.tlp-career-application__kicker) {
    color: #536476;
    font-size: 18px;
    line-height: 1.55;
    max-width: 520px;
}

.tlp-career-application__kicker {
    color: #d05b36;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.tlp-career-application__email a,
.tlp-career-application__privacy a {
    color: #17375c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tlp-career-application__form .wpcf7 form {
    display: block;
}

.tlp-career-form__fields {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tlp-career-form__fields label {
    color: #17375c;
    display: block;
    font: 500 16px/1.4 'League Spartan', sans-serif;
    min-width: 0;
}

.tlp-career-form__fields label:nth-child(n+3) {
    grid-column: 1 / -1;
}

.tlp-career-form__fields .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

body.tlp-career-page .tlp-career-form__fields input,
body.tlp-career-page .tlp-career-form__fields select,
body.tlp-career-page .tlp-career-form__fields textarea {
    background: #fff;
    border: 1px solid #aebbc7;
    border-radius: 0;
    box-sizing: border-box;
    color: #17375c;
    display: block;
    font: 400 17px/1.45 'League Spartan', sans-serif;
    min-height: 50px;
    padding: 12px 14px;
    width: 100%;
}

.tlp-career-form__fields textarea {
    height: 132px;
    min-height: 132px;
    resize: vertical;
}

.tlp-career-form__fields :is(input, select, textarea):focus-visible {
    border-color: #eb6437;
    outline: 2px solid rgba(235, 100, 55, .35);
}

.tlp-career-application__form .tlp-career-form__hint {
    color: #536476;
    font-size: 14px;
    line-height: 1.5;
    margin: 16px 0;
}

.tlp-career-application__form .wpcf7-acceptance {
    display: block;
    font-size: 15px;
    line-height: 1.5;
}

.tlp-career-application__form .wpcf7-acceptance label {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.tlp-career-application__form .wpcf7-acceptance input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.tlp-career-application__form .wpcf7-acceptance a {
    color: #17375c;
    text-decoration: underline;
}

.tlp-career-application__form input[type=submit] {
    background: #17375c;
    border: 1px solid #17375c;
    color: #fff;
    cursor: pointer;
    font: 500 16px/1.3 'League Spartan', sans-serif;
    min-height: 48px;
    padding: 12px 24px;
}

.tlp-career-application__form input[type=submit]:hover,
.tlp-career-application__form input[type=submit]:focus-visible {
    background: #fff;
    color: #17375c;
}

.tlp-career-application__privacy {
    border-top: 1px solid #cfd8df;
    color: #536476;
    font-size: 14px;
    line-height: 1.55;
    margin-top: 30px;
    padding-top: 22px;
    scroll-margin-top: 100px;
}

.tlp-career-application__privacy h3 {
    color: #17375c;
    font: 600 17px/1.3 'League Spartan', sans-serif;
    margin: 0 0 7px;
}

.tlp-career-application__privacy p {
    margin: 0 0 10px;
}

.tlp-career-application__privacy summary {
    color: #17375c;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tlp-career-application__privacy-detail {
    max-width: 1000px;
    padding-top: 14px;
}

@media (max-width: 767px) {
    .tlp-career-application {
        padding: 42px 0 44px;
    }

    .tlp-career-application__grid,
    .tlp-career-form__fields {
        grid-template-columns: 1fr;
    }

    .tlp-career-application__grid {
        gap: 24px;
    }
}

@media (min-width: 992px) {
    .tlp-career-page .hero--v2 {
        min-height: 540px;
        height: min(70vh, 640px);
        padding-top: 146px;
    }

    .tlp-career-page .box {
        padding-top: 56px;
        padding-bottom: 62px;
    }

    .tlp-career-page .background {
        height: clamp(410px, 54vh, 550px);
        min-height: 410px;
        max-height: 550px;
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .tlp-career-page .work-offer {
        padding-top: 68px;
        margin-bottom: 74px;
    }

    .tlp-career-page .work-offer__single {
        padding: 25px 32px 0;
    }

    .tlp-career-page .tlp-career-group + .tlp-career-group {
        margin-top: 48px;
    }
}
