.vacancy-overview {
    display: flex;
    flex-direction: column;
    gap: var(--marginMedium);
}

li.vacancy {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    justify-content: flex-end;
    border-radius: var(--borderRadius);
    overflow: clip;
    background-color: var(--baseLight100);
}

.jobLine__previewTitle {
    margin-bottom: var(--marginExtraSmall);
}

li.vacancy:hover .jobLine__previewTitle {
    color: var(--primaryColor500);
}

li.vacancy .c-card__meta {
    order: unset;
    margin-block-end: 0;
}

/**
 * Detail page
 */

.vacancy-in-detail div {
    margin: 0 0 1.25rem;
}

.vacancy-in-detail label {
    display: block;
    font-family: var(--headingsFont);
    font-size: var(--h4Size);
    font-weight: 700;
}

.vacancy-in-detail span {
    padding: .25rem 0;
}

.vacancy-in-detail .vacancy-description {
    display: table-row-group;
    list-style: none;
}

.vacancy-in-detail .actions-top {
    display: table-footer-group;
}

#description {
    display: block;
}

.vacancy-actions {
    padding: 0;
}

.vacancy-actions li {
    list-style: none;
}

.vacancy-actions a {
    transition: all .25s ease-in-out;
    border: 1px solid rgba(231, 57, 54, 0.7);
    background-color: transparent;
    height: 42px;
    border-radius: 21px;
    font-weight: 500;
    font-family: "Neo Sans", "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-size: 1rem;
    color: #E73936;
    white-space: nowrap;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 1.25rem;
    line-height: 1;
    text-decoration: none;
    position: relative;
    padding-left: 2.5rem;
    padding-right: 1.5rem;
}

.vacancy-actions a:hover:not(:disabled) {
    color: #e4231f;
    border-color: #e4231f;
}

.vacancy-actions a span {
    line-height: 1;
}

.vacancy-actions a:after {
    display: none;
}

.vacancy-actions a:disabled {
    opacity: .5;
}

.vacancy-actions a.button--loading:before {
    border-radius: 50%;
    border: 0.15em solid #fff;
    border-left-color: transparent;
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    transform-origin: center center;
    transform: translateZ(0) scale(0.5);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: spin 1s infinite linear;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

.vacancy-actions a:before {
    transition: all .25s ease-in-out;
    transform: rotate(180deg);
    content: "";
    background: transparent url(/ui/uba-2021/img/icon--arrow-right.svg) no-repeat 50% 50%;
    background-size: 14px 12px;
    width: 14px;
    height: 12px;
    display: inline-block;
    margin-left: 6px;
    position: absolute;
    left: 10px;
}

.vacancy-actions a:hover:before {
    left: 8px;
}

.vacancy-actions a:hover:disabled:before {
    margin-left: 6px;
}

.vacancy-actions a:disabled:before {
    display: none !important;
}
