.job-details-wrapper *:not(i) {
    font-family: Roboto;
    font-size: 1.6rem;
}

article,
.job-detals__header {
    max-width: 144rem;
    margin-left: auto;
    margin-right: auto;
}

.job-detals__header__wrapper {
    background-image: url(https://d2cxf26suf1qae.cloudfront.net/oms/1160/image/2025/9/FH5C5_job-search-banner/job-search-banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.job-detals__header {
    padding: 3rem 1.6rem;
}


.job-details-wrapper .summary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.job-details-wrapper .summary-list .summary-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.job-details-wrapper .summary-list .summary-list-item .summary-label {
    font-weight: 600;
}

.job-details-wrapper .summary-list .summary-list-item dt,
.job-details-wrapper .summary-list .summary-list-item dd {
    color: #000;
    font-family: Roboto;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.8rem;
}

.job-details-wrapper h1 {
    color: #DA3832;

    font-family: "Zilla Slab";
    font-size: 3.1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 4.2rem;
    letter-spacing: 0.031rem;
    margin-bottom: 1rem;
}


.job-details-wrapper article {
    padding: 0 1.6rem;
    margin-bottom: 4.8rem;
}


.job-details-wrapper .job-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.job-details-wrapper .job-share>a:first-child {
    display: flex;
    padding: 0.8rem 1.6rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    align-self: stretch;

    background: #DA3832;
    width: 100%;

    color: #FFF;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    line-height: 2.2rem;
    letter-spacing: 0.05rem;

    transition: all ease-out .3s;
}

.job-details-wrapper .job-share>a:first-child:hover {
    background-color: #000;
}


.job-details-wrapper .socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-details-wrapper .social-item {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;

    transition: opacity ease-out .3s;
}

.job-details-wrapper .social-item i {
    color: white;
}

.job-details-wrapper .social-item:hover {
    opacity: 0.8;
}

.job-details-wrapper .social-item:nth-child(1) {
    background-color: #A02817;
}

.job-details-wrapper .social-item:nth-child(2) {
    background-color: #576446;
}

.job-details-wrapper .social-item:nth-child(3) {
    background-color: #4B7582;
}

.job-details-wrapper .social-item:nth-child(4) {
    background-color: #5A3A21;
}

.job-details-wrapper .social-item:nth-child(5) {
    background-color: #000;
}

@media (min-width: 768px) {
    .job-details-wrapper article {
        padding: 0 3.6rem;
    }

    .job-detals__header__wrapper {
        min-height: 28.6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .job-detals__header {
        padding: 3rem 3.6rem;
        width: 100%;
    }

    .job-details-wrapper h1 {
        font-size: 4.8rem;
        line-height: 5.6rem;
    }

    .job-details-wrapper .summary-list {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .job-details-wrapper article {
        margin-top: 7.5rem;
        display: flex;
        align-items: start;
        gap: 3rem;
    }

    .job-details-wrapper .job-share {
        min-width: 19rem;

        position: sticky;
        top: 12rem;
    }

    .job-details-wrapper .job-description {
        flex-grow: 1;
    }
}

@media (min-width: 1024px) {
    .job-details-wrapper article,
    .job-detals__header {
        padding: 3rem 6rem;
    }
}

@media (min-width: 1280px) {
    .job-details-wrapper article,
    .job-detals__header {
        padding: 3rem 12rem;
    }
}

#find-similar-opportunities {
    display: none;
}

#find-similar-opportunities:has(.c-similar-jobs) {
    display: block;
}

.similar-jobs__content {
    flex-direction: column !important;
    gap: 2.4rem !important;
}

.similar-jobs-item {
    border-radius: 0 !important;
    width: 100% !important;
    border: 1px solid #000;
    background-color: #FFF !important;
    padding: 1.4rem 2.3rem !important;
    gap: 0 !important;
}

.similar-jobs-item__title {
    color: #000 !important;
    font-family: Roboto !important;
    font-size: 2.2rem !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 3rem !important;
    width: 100% !important;
}

.similar-jobs-item__title a {
    display: block;
    width: 100% !important;
}

.similar-jobs-item__location__icon {
    display: none !important;
}

.similar-jobs-item__location__label {
    margin: 0 !important;
    color: #000 !important;
    font-family: Roboto !important;
    font-size: 1.6rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 2.8rem !important;
}

.similar-jobs-item__apply {
    display: none !important;
}

.similar-jobs-item:hover {
    border-color: #DA3832 !important;
    background-color: #DA3832 !important;
}

.similar-jobs-item:hover .similar-jobs-item__title,
.similar-jobs-item:hover .similar-jobs-item__location__label {
    color: #fff !important;
}
