/* Workremote job detail pages */
body.single-jb-job .wp-site-blocks > main:has(.wr-job-detail) {
    margin: 0 !important;
    padding: 0 !important;
}
body.single-jb-job main:has(.wr-job-detail) > :not(:has(.wr-job-detail)):not(.wr-job-detail),
body.single-jb-job main > .wp-block-group:has(.wr-job-detail) > :not(.wr-job-detail):not(:has(.wr-job-detail)) {
    display: none;
}
body.single-jb-job main > .wp-block-group:has(.wr-job-detail) {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-jb-job main .wr-job-detail {
    width: min(1080px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 25px 0 56px;
    color: var(--wr-ink, #202124);
}
.wr-job-detail__crumbs {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: #5f6368;
    font-size: 14px;
}
.wr-job-detail__crumbs a {
    color: inherit;
    text-underline-offset: 3px;
}
.wr-job-detail__hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--wr-line, #e2e6ea);
    border-radius: 10px;
    background: var(--wr-surface, #f8f9fa);
}
.wr-job-detail__logo {
    display: grid;
    flex: 0 0 72px;
    place-items: center;
    height: 72px;
    background: #fff;
    border: 1px solid var(--wr-line, #e2e6ea);
    border-radius: 50%;
    box-sizing: border-box;
    overflow: hidden;
}
.wr-job-detail__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.wr-job-detail__heading {
    flex: 1;
    min-width: 0;
}
.wr-job-detail__heading p {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 650;
    color: #5f6368;
}
.wr-job-detail__heading h1 {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(27px, 3.5vw, 42px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.wr-job-detail .wr-job-detail__apply {
    box-sizing: border-box;
    display: inline-flex;
    flex: none;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 9px 18px;
    border-radius: 6px;
    background: var(--wr-deep, #c5221f);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.wr-job-detail .wr-job-detail__apply:hover {
    background: #a61917;
}
.wr-job-detail a:focus-visible {
    outline: 2px solid #5f6368;
    outline-offset: 3px;
}
.wr-job-detail__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 290px);
    grid-template-areas: "description facts";
    align-items: start;
    gap: 26px;
    margin-top: 24px;
}
.wr-job-detail__facts {
    grid-area: facts;
    box-sizing: border-box;
    padding: 17px;
    border: 1px solid var(--wr-line, #e2e6ea);
    border-radius: 10px;
    background: #fff;
}
.wr-job-detail__facts h2 {
    margin: 0;
    color: inherit;
    font: inherit;
    font-size: 18px;
    font-weight: 750;
}
.wr-job-detail__facts dl {
    margin: 12px 0 0;
}
.wr-job-detail__facts dl > div {
    display: grid;
    gap: 3px;
    padding: 9px 0;
    border-top: 1px solid var(--wr-line, #e2e6ea);
}
.wr-job-detail__facts dt {
    color: #5f6368;
    font-size: 13px;
    font-weight: 650;
}
.wr-job-detail__facts dd {
    margin: 0;
    font-size: 15px;
    overflow-wrap: anywhere;
}
.wr-job-detail__facts .wr-job-detail__apply {
    width: 100%;
    margin-top: 12px;
}
.wr-job-detail__copy {
    grid-area: description;
    min-width: 0;
    padding: 4px 0;
    overflow-wrap: anywhere;
}
.wr-job-detail .wr-job-detail__copy > .wp-block-post-content {
    margin: 0;
    padding: 0;
    max-width: none;
    font-size: 16px;
    line-height: 1.65;
}
.wr-job-detail .wr-job-detail__copy > .wp-block-post-content > * {
    max-width: none;
}
.wr-job-detail__copy h2 {
    font-family: inherit;
    font-size: 23px;
    font-weight: 740;
    letter-spacing: -.025em;
    line-height: 1.3;
}
.wr-job-detail__copy .jb:has(> .jb-job-info) .jb-job-info,
.wr-job-detail__copy .jb:has(> .jb-job-info) .jb-job-company,
.wr-job-detail--direct .wr-job-detail__copy .jb-job-apply-wrapper {
    display: none;
}
.wr-job-detail__copy .jb:has(> .jb-job-info):not(:has(> :not(.jb-job-info, .jb-job-company))),
.wr-job-detail--direct .wr-job-detail__copy .jb:has(> .jb-job-footer):not(:has(.jb-job-after-apply-wrapper > *)) {
    display: none;
}
#wr-native-application {
    scroll-margin-top: 64px;
}
@media (max-width: 720px) {
    body.single-jb-job main .wr-job-detail {
        width: calc(100% - 32px);
        padding-top: 18px;
    }
    .wr-job-detail__hero {
        gap: 12px;
        flex-wrap: wrap;
        padding: 16px;
    }
    .wr-job-detail__logo {
        flex-basis: 56px;
        height: 56px;
    }
    .wr-job-detail__hero .wr-job-detail__apply {
        width: 100%;
    }
    .wr-job-detail__body {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "facts" "description";
        gap: 16px;
        margin-top: 16px;
    }
    .wr-job-detail__facts .wr-job-detail__apply {
        display: none;
    }
}

