:root {
    --white: #fff;
    --black: #000;
    --red: #860038;
    --red-dark: #560829;
    --yellow: #F7B21B;
    --white: #fff;
    --black: #000;
    --grey-dark: #444;
    --grey-dark2: #666;
    --grey: #888;
    --grey-light: #ddd;
    --orange: #f05a2a
}

.job_detail-wrapper {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    max-width: 144rem;
    flex-direction: column;
    gap: 1.5rem;
    padding: 4rem
}

.job_detail-wrapper .job_detail-content-wrapper,
.job_detail-wrapper .job_detail-container {
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.job_detail-wrapper .job_detail-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0
}

.action-btn {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: .6rem;
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
    background-color: var(--grey-dark);
    color: var(--white);
    transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1)
}

.action-btn:hover {
    background-color: var(--grey)
}

.action-btn.apply-btn-end {
    display: none;
    margin: 4rem 0 0
}

.job_detail-wrapper .share-btn svg {
    width: 2rem;
    height: 2rem
}

.job_detail-wrapper .job_detail-info-container {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.job_detail-wrapper .job-details-brief__description-list {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: .8rem
}

.job_detail-wrapper .job-details-brief__description-list--item:has(.attr-value:empty) {
    display: none
}

.job_detail-wrapper .share-popup-wrapper {
    display: none;
    width: 100%;
    position: absolute;
    background: var(--white)
}

.job_detail-wrapper .share-popup-wrapper ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: solid .1rem #ddd;
    border-radius: .6rem
}

.job_detail-wrapper .share-option {
    display: flex;
    width: 100%;
    cursor: pointer;
    justify-content: center;
    padding: .4rem 1rem
}

.job_detail-wrapper .share-option+.share-option {
    border-top: solid .1rem #eee
}

.job_detail-wrapper .share-option :is(a, button) {
    text-decoration: none;
    font-size: 1.4rem
}

.job_detail-wrapper .share-option:hover {
    background-color: #ddd
}

.job_detail-wrapper .share-option:hover :is(a, button) {
    color: var(--red)
}

.job_detail-wrapper .job_detail-action-group {
    position: relative
}

@media(min-width: 768px) {
    .job_detail-wrapper .job_detail-container {
        flex-direction: row;
        gap: 4rem
    }

    .job_detail-wrapper .apply-btn-beginning {
        display: none
    }

    .job_detail-wrapper .apply-btn-end {
        display: flex
    }

    .job_detail-wrapper .job_detail-info-container {
        width: min(25%, 30rem);
        flex-shrink: 0
    }
}

.job-header {
    padding: 10rem 0;
    position: relative;
    background-color: #121213;
    color: #fff
}

.job-header .action-btn {
    width: -moz-fit-content;
    width: fit-content
}

.job-header .job-header-title {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    position: relative;
    text-align: center;
    width: 100%;
    padding: 2rem 0 4rem;
    line-height: normal
}

.job-header .job-header-title__eyebrow {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold
}

.job-header .job-header-title__main {
    margin-bottom: 0;
    font-size: 7.5rem;
    font-weight: 800
}

@media screen and (min-width: 1024px) {
    .job-header .job-header-title__main {
        font-size: 6rem;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%
    }
}

.job-header .job-header-toolbar {
    width: 100%;
    position: relative;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

@media screen and (min-width: 1024px) {
    .job-header .job-header-toolbar {
        display: -ms-flexbox;
        left: 0;
        bottom: 0;
        align-items: center;
        justify-content: flex-end
    }
}

.job-header .job-header-toolbar .back-to-search {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 2rem;
    font-weight: 400;
    padding: 1rem 2rem;
    margin: 0 auto;
    width: -moz-fit-content;
    width: fit-content
}

.job-header .job-header-toolbar .apply-button {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto
}