.job-card .job-art-thumbnail {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 2 / 1;
    margin: 0 0 1rem;
    overflow: hidden;
    border: 1px solid var(--job-art-edge);
    border-radius: var(--job-art-radius);
    background: var(--job-art-bg);
}
.job-card .job-art-thumbnail:focus-visible {
    outline: 3px solid var(--job-art-focus);
    outline-offset: 3px;
}
.job-art-thumbnail img {
    display: block;
    width: 90%;
    height: 94%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
}
.job-art-thumbnail img.job-art-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.job-art-ptj {
    --job-art-bg: #f6ebe5;
    --job-art-edge: #e6cfc8;
    --job-art-focus: #912f47;
    --job-art-radius: 12px;
}
.job-art-dejh {
    --job-art-bg: #e5f4f3;
    --job-art-edge: #b4d8d6;
    --job-art-focus: #146a71;
    --job-art-radius: 4px;
}
.job-art-wfhjd {
    --job-art-bg: #edf0e3;
    --job-art-edge: #c9d1b9;
    --job-art-focus: #41583c;
    --job-art-radius: 19px;
}
.job-art-ptj.job-art-records { --job-art-bg: #f3edf4; }
.job-art-ptj.job-art-technical { --job-art-bg: #e9edf4; }
.job-art-dejh.job-art-records { --job-art-bg: #e0f3ed; }
.job-art-dejh.job-art-technical { --job-art-bg: #e7edf8; }
.job-art-wfhjd.job-art-records { --job-art-bg: #f3eddb; }
.job-art-wfhjd.job-art-technical { --job-art-bg: #e1eee4; }
.job-description-art {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 18px);
    margin: 1.4rem 0 2rem;
}
.job-description-art figure {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    min-width: 0;
    margin: 0;
    padding: min(4%, 15px);
    border: 1px solid var(--job-art-edge);
    border-radius: var(--job-art-radius);
    background: var(--job-art-bg);
}
.job-description-art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.dejh-directory-count {
    width: fit-content;
    margin: 1.25rem 0 1rem;
    padding: .35rem .68rem;
    border-left: 3px solid #167f82;
    color: #123f47;
    background: #ecf8f8;
    font-weight: 650;
    font-size: .92rem;
}
.directory-reset a {
    color: #125c65;
    text-decoration: underline;
    text-underline-offset: .22em;
}
.dejh-resource-list a {
    background: #edf8f8;
    border-left: 4px solid #197b7f;
    border-radius: 4px;
    color: #123f47;
}
.dejh-resource-list a:focus-visible,
.dejh-resource-list a:hover { background: #dbf0f0; }
.job-card:has(.job-art-dejh):focus-within { border-color: #197b7f; }

/* Job cards use full-frame photography. Description artwork retains transparency. */
.job-card .job-art-thumbnail img,
.job-card .job-art-thumbnail img.job-art-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.job-card .job-art-thumbnail.job-art-ptj { aspect-ratio: 2 / 1; }
.job-card .job-art-thumbnail.job-art-dejh { aspect-ratio: 16 / 9; }
.job-card .job-art-thumbnail.job-art-wfhjd { aspect-ratio: 3 / 2; }

/* The Hub uses horizontal index cards on wide screens. */
.brand-dejh .job-card:has(> .job-art-thumbnail) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    grid-template-areas: "image state" "image title" "image meta" "image intro" "image action";
    grid-template-rows: auto auto auto 1fr auto;
    align-items: start;
    column-gap: 1.15rem;
    row-gap: .52rem;
}
.brand-dejh .job-card > .job-art-thumbnail {
    grid-area: image;
    aspect-ratio: 4 / 5;
    margin: 0;
    align-self: stretch;
    height: 100%;
    min-height: 0;
}
.brand-dejh .job-card > .pill { grid-area: state; justify-self: start; }
.brand-dejh .job-card > h3 { grid-area: title; margin: 0; }
.brand-dejh .job-card > .meta-row { grid-area: meta; margin: 0; }
.brand-dejh .job-card > p { grid-area: intro; margin: 0; }
.brand-dejh .job-card > .button { grid-area: action; justify-self: start; margin: .25rem 0 0; }
@media (max-width: 680px) {
    .brand-dejh .job-card:has(> .job-art-thumbnail) {
        grid-template-columns: minmax(0,1fr);
        grid-template-areas: "image" "state" "title" "meta" "intro" "action";
        grid-template-rows: auto auto auto auto 1fr auto;
    }
    .brand-dejh .job-card > .job-art-thumbnail {
        aspect-ratio: 16 / 9;
        height: auto;
        margin-bottom: .25rem;
    }
}
