.jobs-pay-field:has(.jobs-pay-value:empty) {
    display: none;
}

.job-hero-section {
    background-color: #E7E9F7;
    /* bg-lightest-blue */
}

.job-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 144rem;
    /* max-w-[144rem] */
    margin-left: auto;
    margin-right: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    gap: 6rem;
}

@media (min-width: 768px) {
    .job-hero-container {
        padding-left: 3.2rem;
        padding-right: 3.2rem;
    }
}

@media (min-width: 1024px) {
    .job-hero-container {
        flex-direction: row;
        align-items: flex-end;
        padding-top: 10rem;
        padding-bottom: 10rem;
        padding-left: 6.4rem;
        padding-right: 6.4rem;
    }
}

.job-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    color: #283897;
    /* text-blue */
}

@media (min-width: 1024px) {
    .job-hero-content {
        align-items: flex-start;
    }
}

.job-title-heading {
    text-align: center;
}

@media (min-width: 1024px) {
    .job-title-heading {
        text-align: left;
    }
}

.apply-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-apply-button {
    display: block;
    width: 100%;
    /* w-full */
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    background-color: #283897;
    /* bg-blue */
    color: #ffffff;
    /* text-white */
    text-align: center;
    border-radius: 0.8rem;
    cursor: pointer;
    line-height: 2.7rem;
    transition-property: box-shadow;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    font-family: "Sansa Pro", sans-serif;
    font-weight: 600;
}

.job-apply-button:hover {
    box-shadow: inset 0 0 0 0.2rem rgba(0, 0, 0, 0.2);
    /* hover:shadow-overlay-expanded */
}

.back-button-wrapper {
    flex-shrink: 0;
}

.back-to-search-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #283897;
    /* text-blue */
    font-family: "Sansa Pro", sans-serif;
    font-weight: 600;
}

.back-button-icon {
    width: 1.4rem;
    height: 1.4rem;
    transform: rotate(90deg);
}

/* Job Content Section */
.job-content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 144rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    gap: 6rem;
}

@media (min-width: 768px) {
    .job-content-container {
        padding-left: 3.2rem;
        padding-right: 3.2rem;
    }
}

@media (min-width: 1024px) {
    .job-content-container {
        flex-direction: row;
        padding-top: 10rem;
        padding-bottom: 10rem;
        padding-left: 6.4rem;
        padding-right: 6.4rem;
    }
}

.job-description-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4rem;
}

.job-description-heading,
.job-details-heading {
    /* Uses h3 base style */
}

.job-details-sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3rem;
    /* Adjusted from 3rem in the original, but gap is on parent flex */
}

@media (min-width: 1024px) {
    .job-details-sidebar {
        position: sticky;
        top: 10.4rem;
        max-width: 40rem;
        min-width: 38.7rem;
        flex-shrink: 0;
        border-left: 1px solid #D1D5DB;
        /* lg:border-solid lg:border-gray-300 */
        padding-left: 5rem;
    }
}

.job-detail-group {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem;
}

.job-detail-group-bordered {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem;
    border-top: 0.1rem solid #D1D5DB;
    /* border-t-[0.1rem] border-solid border-gray-300 */
}

.job-detail-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

.job-detail-row:has(.job-detail-value:empty) {
    display: none;
}

.job-detail-label {
    /* Uses pg-l base style */
}

.job-detail-value {
    text-align: right;
    /* Uses pg base style */
}

.job-actions-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.share-button-container {
    position: relative;
    width: 100%;
}

.job-share-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    background-color: #283897;
    /* bg-blue */
    color: #ffffff;
    /* text-white */
    text-align: center;
    border-radius: 0.8rem;
    cursor: pointer;
    line-height: 2.7rem;
    transition-property: box-shadow;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    font-family: "Sansa Pro", sans-serif;
    font-weight: 600;
}

.job-share-button:hover {
    box-shadow: inset 0 0 0 0.2rem rgba(0, 0, 0, 0.2);
    /* hover:shadow-overlay-expanded */
}

.share-overlay {
    position: absolute;
    bottom: 100%;
    /* bottom-full */
    left: 50%;
    /* left-1/2 */
    transform: translateX(-50%);
    /* -translate-x-1/2 transform */
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    /* bg-white */
    border: 1px solid #283897;
    /* border-blue */
    /* Hidden by default, will be toggled by JS */
    display: none;
}

.share-links-wrapper {
    display: flex;
    flex-direction: column;
}

.share-link-item {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
    line-height: 3.5rem;
    cursor: pointer;
}

.share-link-item:hover {
    background-color: #283897;
    /* hover:bg-blue */
    color: #ffffff;
    /* hover:text-white */
}

.share-link-email {
    display: block;
    /* block */
    padding-top: 0.6rem;
    /* py-[0.6rem] */
    padding-bottom: 0.6rem;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
    line-height: 3.5rem;
    cursor: pointer;
}

.share-link-email:hover {
    background-color: #283897;
    /* hover:bg-blue */
    color: #ffffff;
    /* hover:text-white */
}

/* Additional styles for the footer */
.footer-link-menu {
    display: flex;
    flex-direction: column;
}

.footer-link-menu>button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.footer-link-menu>button>div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-link-menu>button>div>svg {
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}


 .external_link {
   margin-top: 1rem;
   text-decoration: none;
 }

 .external_link>span:nth-child(2) {
   font-weight: bold;
   display: block;
 }