/* The active theme supplies Bootstrap 4.4.1 and Font Awesome 5.15.4. */
.jobs-plugin {
    --jobs-border: #e3e8ee;
    --jobs-text: #202b36;
    --jobs-muted: #657381;
}

.jobs-plugin .btn,
.jobs-plugin .btn:hover,
.jobs-plugin .btn:focus {
    border: 0;
    text-decoration: none;
}

.jobs-overview__heading {
    margin-bottom: 2rem;
}

.jobs-overview h1,
.jobs-detail h1,
.jobs-sidebar h2 {
    color: var(--jobs-text);
}

.jobs-grid {
    margin-top: -0.75rem;
    margin-bottom: -0.75rem;
}

.jobs-grid__item {
    display: flex;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.jobs-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--jobs-border);
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.5rem rgba(25, 38, 51, 0.04);
}

.jobs-card__body {
    flex: 1 1 auto;
    padding: 1.5rem;
}

.jobs-card__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.jobs-card__title a,
.jobs-sidebar__link {
    color: var(--jobs-text);
}

.jobs-card__title a:hover,
.jobs-card__title a:focus,
.jobs-sidebar__link:hover,
.jobs-sidebar__link:focus {
    color: #0056b3;
}

.jobs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: var(--jobs-muted);
    font-size: 0.95rem;
}

.jobs-meta__item i,
.jobs-card__salary i {
    width: 1rem;
    color: #4c657b;
    text-align: center;
}

.jobs-card__salary {
    margin: 1rem 0 0;
    color: var(--jobs-text);
    font-weight: 600;
}

.jobs-card__excerpt {
    margin-top: 1rem;
    color: var(--jobs-muted);
    line-height: 1.6;
}

.jobs-card__footer {
    padding: 0 1.5rem 1.5rem;
}

.jobs-card__footer .btn i,
.jobs-detail__pdf .btn i {
    margin-left: 0.35rem;
}

.jobs-notice {
    padding: 1rem 1.25rem;
    color: var(--jobs-text);
    background: #f3f6f8;
    border-left: 0.25rem solid #6c7b88;
}

.jobs-detail__header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--jobs-border);
}

.jobs-detail__back {
    margin-bottom: 1.25rem;
}

.jobs-detail__back a {
    font-weight: 600;
}

.jobs-detail__back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    color: var(--jobs-text);
    background: #f3f6f8;
    border: 0;
    border-radius: 0.25rem;
    text-decoration: none;
}

.jobs-detail__back-link:hover {
    color: #0056b3;
    background: #e7eef4;
    text-decoration: none;
}

.jobs-detail__back-link:focus-visible {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
    text-decoration: none;
}

.jobs-detail__title {
    margin-bottom: 1rem;
}

.jobs-detail__description {
    color: var(--jobs-text);
    line-height: 1.75;
}

.jobs-detail__description > :first-child {
    margin-top: 0;
}

.jobs-detail__description img {
    max-width: 100%;
    height: auto;
}

.jobs-detail__pdf {
    margin-top: 2rem;
}

.jobs-detail__facts {
    margin-top: 2.5rem;
}

.jobs-detail__box {
    padding: 1.5rem;
    background: #f7f9fb;
    border: 1px solid var(--jobs-border);
    border-radius: 0.25rem;
}

.jobs-detail__box h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.jobs-facts {
    margin-bottom: 1.5rem;
}

.jobs-facts > div {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--jobs-border);
}

.jobs-facts > div:first-child {
    padding-top: 0;
}

.jobs-facts > div:last-child {
    border-bottom: 0;
}

.jobs-facts dt {
    color: var(--jobs-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.jobs-facts dd {
    margin: 0.2rem 0 0;
    color: var(--jobs-text);
    font-weight: 600;
}

.jobs-sidebar {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--jobs-border);
}

.jobs-sidebar__title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.jobs-sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jobs-sidebar__item + .jobs-sidebar__item {
    border-top: 1px solid var(--jobs-border);
}

.jobs-sidebar__link {
    display: block;
    padding: 0.85rem 0;
    text-decoration: none;
}

.jobs-sidebar__link.is-active {
    color: #0056b3;
}

.jobs-sidebar__job-title,
.jobs-sidebar__job-location {
    display: block;
}

.jobs-sidebar__job-title {
    font-weight: 600;
    line-height: 1.35;
}

.jobs-sidebar__job-location {
    margin-top: 0.35rem;
    color: var(--jobs-muted);
    font-size: 0.85rem;
}

.jobs-sidebar__empty {
    margin-bottom: 0;
    color: var(--jobs-muted);
}

@media (max-width: 575.98px) {
    .jobs-card__body,
    .jobs-card__footer,
    .jobs-detail__box {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
