.overview-jobs {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 20px;
    color: #ffffff;
}

.overview-jobs.align-items-center {
    justify-content: center;
}

.overview-jobs.align-items-right {
    justify-content: flex-end;
}

.overview-jobs > .item {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex: 1 1 100%;
    min-width: 100%;
    background-color: var(--wp--preset--color--primary, #BD9E77);
    overflow: hidden;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.overview-jobs > .item:hover {
    background-color: var(--wp--preset--color--secondary, #222222);
}

.overview-jobs a.job-link {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overview-jobs a.application-link {
    z-index: 2;
    position: absolute;
    top: 20px;
    right: 20px;
    color: inherit;
    border: solid 1px currentColor;
    text-transform: uppercase;
    line-height: 1;
    padding: 0.5em;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.overview-jobs a.application-link:hover,
.overview-jobs a.application-link:active,
.overview-jobs a.application-link:focus {
    color: #ffffff;
    border-color: var(--wp--preset--color--primary, #BD9E77);
    background-color: var(--wp--preset--color--primary, #BD9E77);
}

.overview-jobs .content-wrapper {
    z-index: 1;
    width: 100%;
    color: inherit;
    padding: 100px 20px 20px 20px;
}

.overview-jobs .content-wrapper .title {
    position: relative;
    color: inherit;
    font-size: 30px;
    margin-top: 0.25em;
    margin-right: 80px;
    margin-bottom: 0;
}

.overview-jobs .content-wrapper .details {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    padding: 15px 0 0;
    margin: 10px 0 0;
}

.overview-jobs .item:hover .content-wrapper .details {
    color: var(--wp--preset--color--primary, #BD9E77);
}

.overview-jobs .content-wrapper .details:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: currentColor;
    opacity: 1;
    transition: all 0.3s ease;
}

.overview-jobs .item:hover .content-wrapper .details:before {
    width: 100%;
}

.overview-jobs .content-wrapper .details-content {
    flex: 1;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 20px;
    row-gap: 5px;
}

.overview-jobs .content-wrapper .details-content > div {
    position: relative;
}

.overview-jobs .content-wrapper .details-content > div:not(:first-child):before {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: currentColor;
}

.overview-jobs .content-wrapper .details-content p {
    line-height: 1;
    margin: 0;
}

.overview-jobs .item .content-wrapper .details-button {
    display: flex;
    align-items: center;
    gap: 0.5em;
    line-height: 1;
    text-transform: uppercase;
}

.overview-jobs .item .content-wrapper .details-button > svg {
    height: 0.8em;
    width: auto;
}

.overview-jobs .item .content-wrapper .details-button > svg * {
    fill: currentColor;
}

.overview-jobs-message {
    min-width: 100%;
    color: var(--wp--preset--color--content, #898989);
}

.overview-jobs-message h2 {
    font-size: 2rem;
    margin-top: 0;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .overview-jobs > .item {
        flex-basis: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
        min-width: 335px;
    }

}