/* Homepage career-opportunity cards. */

.home-vacancy-row span {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.home-vacancy-row .home-vacancy-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 21px;
    margin: 0 0 8px;
    padding: 0 9px;
    color: #ffffff !important;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 99px;
    background: #197245;
}

.home-vacancy-row .home-vacancy-status.is-closed {
    color: #ffffff !important;
    background: #6c7f88;
}

/*
 * Closed vacancies are information links, not disabled controls.
 * Important is required because the original homepage CSS marks
 * .is-closed vacancy rows as non-interactive.
 */
a.home-vacancy-row.is-closed,
a.home-vacancy-row.is-closed * {
    cursor: pointer !important;
}

a.home-vacancy-row.is-closed {
    color: inherit;
    background: #f8fafb;
}

a.home-vacancy-row.is-closed:hover {
    background: #f1f5f7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 37, 55, 0.08);
}

a.home-vacancy-row.is-closed:focus-visible {
    outline: 3px solid #0b6e99;
    outline-offset: 3px;
}

a.home-vacancy-row.is-closed strong {
    color: #0b6e99 !important;
    opacity: 1 !important;
}

.home-vacancy-date {
    margin-top: 5px;
}

.home-vacancy-action {
    display: inline-flex;
    align-items: center;
    margin-top: 9px;
    color: #0b6e99;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

a.home-vacancy-row.is-closed .home-vacancy-action {
    color: #0b6e99 !important;
    opacity: 1 !important;
}

.home-vacancy-row:hover .home-vacancy-action,
.home-vacancy-row:focus-visible .home-vacancy-action {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .home-vacancy-action {
        font-size: 9px;
    }
}
