.job-details-wrapper {
    background-color: #f7f7f7;
}

.job-container {
    max-width: 144rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

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

.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: 6rem;
    font-weight: 800;
    color: white;
}

@media screen and (min-width: 1024px) {
    .job-header .job-header-title__main {
        font-size: 7.5rem;
        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 {
    all: unset;
    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;
    cursor: pointer;
}

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

article {
    background-color: #f7f7f7;
}

.job-body {
    max-width: 144rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

@media screen and (min-width: 1024px) {
    .job-body {
        flex-direction: row;
    }
}

.job-body .job-content {
    width: 100%;
    font-size: 1.6rem;
    background-color: #fff;
    padding: 3.2rem;
}

@media screen and (min-width: 1024px) {
    .job-body .job-content {
        padding-bottom: 50px;
    }
}

.job-body .job-content .job-location {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 4.8rem;
    font-size: 1.4rem;
}

.job-body .job-content .job-location::before {
    content: "";
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23bd1c6f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-map-pin"%3E%3Cpath d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/%3E%3Ccircle cx="12" cy="10" r="3"/%3E%3C/svg%3E') no-repeat center/2.4rem 2.4rem;
}

.job-body .job-post-summary {
    flex-shrink: 0;
    position: relative;
    border-left: 1px solid #e7e7e7;
}

@media screen and (min-width: 1024px) {
    .job-body .job-post-summary {
        flex-shrink: 0;
        position: relative;
        border-left: 1px solid #e7e7e7;
        order: 1;
    }
}

.job-body .job-post-summary .summary-position-wrapper {
    padding: 3.2rem;
    background-color: #f2f2f2;
}

.job-body .job-post-summary .summary-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2.4rem;
    text-transform: uppercase;
    font-weight: 800;
}

.job-body .job-post-summary .summary-list {
    padding: 0;
    margin: 0 0 50px;
    list-style-type: none;
}

.job-body .job-post-summary .summary-list-item {
    margin: 0 0 20px;
    font-size: 1.6rem;
    line-height: 2.4rem;
    display: flex;
    flex-direction: column;
}

.job-body .job-post-summary .summary-list-item .summary-label {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #1c1c1c;
}

.job-body .job-post-summary .summary-list-item .summary-value {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.4rem;
    color: #595959;
    margin: 0;
}

.job-body .job-post-summary .summary-list-item:has(.summary-value:empty) {
    display: none;
}

.job-body .job-description {
    margin: 0 0 3.8rem;
}

.job-body .job-post-apply .apply-button-group {
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.job-body .job-post-apply .apply-button-group .share-button {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-button {
    margin-right: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu {
    width: 100%;
    min-width: 180px;
    position: absolute;
    z-index: 800;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    bottom: 100% !important;
    top: unset !important;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu.top {
    right: 0;
    left: auto;
    transform: none;
    display: block;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu.top:not(.dropdown-menu-show) {
    display: none;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100rem;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    list-style-type: none;
    margin: 0;
    padding: 1rem;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li {
    color: #000;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0.5rem;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0);
    line-height: 2.4rem;
    position: relative;
    width: 100%;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li a {
    all: unset;
    display: block;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li:hover {
    background-color: #f2f2f2;
    color: #183761;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li.dropdown-menu-divider {
    height: 0.1rem;
    padding: 0;
    margin: 0.5rem 0;
    flex-shrink: 1;
    background-color: #e7e7e7;
}

#job-details .apply-button {
    padding: 1.2rem 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: fit-content;
    text-align: center;
}

#job-details .btn {
    background-color: #bd1c6f;
    transition: all 0.2s ease-out;
    padding: 12px 20px;
    border-radius: 10px;
    color: #ffffff;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    cursor: pointer;
    border: none;
    width: fit-content;
    line-height: 28px;
}

#job-details .btn:hover {
    background-color: #da2a45;
}

#job-details .job-header-info--wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#job-details .share-button {
    line-height: 1.5;
    width: 100%;
}

.job-description ul,
.job-description ol {
    display: block;
    list-style-type: initial;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 20px;
    unicode-bidi: isolate;
    margin-left: 20px;
}

.job-description li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}


/* Remove default list styles */
.job-description p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}