body:has(.job-board) {
    width: 100vw;
    overflow-x: hidden;
}

.job-board .button,
.job-search .button,
.job-search-sidebar .button,
.job-application .button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
    height: 60px;
    border-radius: 12px;
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.job-board .job-board-container {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 32px;
    padding: 64px 144px;
}

.job-board .search-results {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
}

.job-board .num-results {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 105%;
    color: #1B1B1B;
}

.job-board .results-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 2000px;
    overflow-y: scroll;
    gap: 12px;
}


.job-board .result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 24px;
    background: #FAFAFA;
    border-radius: 12px;
    cursor: pointer;
}

.job-board .active {
    background: #0D4E8A;
    color: #FFFFFF;
}

.job-board .job-title {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 34px;
    color: #1B1B1B;
}

.job-board .active .job-title h3 {
    color: #FFFFFF;
}

.job-board .job-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.job-board .active .job-summary {
    color: #FFFFFF;
}

.job-board .job-summary .title {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 34px;
    color: #014976;
}

.job-board .active .job-summary .title {
    color: #FFFFFF;
}

.job-board .job-summary-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.job-board .result .arrow {
    align-self: flex-end;
    align-items: flex-end;
    max-width: 120px;
    display: none;
}

.job-board.mobile-only {
    display: none;
}

.job-board .job-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.job-board .job-info .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.job-board .job-info .icon {
    max-width: 24px;
    max-height: 24px;
}

.job-board .active .job-info .icon-container .icon {
    filter: brightness(0) invert(1);
}

.job-board .info-text {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #1B1B1B;
}

.job-board .active .info-text {
    color: #FFFFFF;
}

.job-board .job-tags {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.job-board .job-tag {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    gap: 10px;
    background: #EBECF2;
    border-radius: 100px;

    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 26px;
    color: #0D4E8A;
}

.job-board .active-job {
    flex: 0 0 70%;
}

.job-board .job-details {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #E9E9E9;
    border-radius: 12px;
    overflow: hidden;
}

.job-board .close-bar {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    cursor: pointer;
}

.job-board .back-button {
    max-width: 24px;
    max-height: 24px;
}

.job-board .close-text {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    color: #014976;
}

.job-board .job-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 32px;
    gap: 24px;
    background: #0D4E8A;
}

.job-board .header-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.job-board .pace-logo {
    max-width: unset;
    width: auto;
    height: 77px;
}

.job-board .title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.job-board .job-header .title {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 52px;
    color: #FFFFFF;
}

.job-board .job-header .subtitle {
    height: 11px;
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 34px;
    color: #FFFFFF;
}

.job-board .apply-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
    width: 175px;
    height: 60px;
    background: #3A95CC;
    border-radius: 12px;

    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}

.job-board .job-detail-contents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 40px 64px;
    gap: 48px;
}

.job-board .job-details .job-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 48px;
    gap: 24px;
    border-bottom: 1px solid #E9E9E9;
}

.job-board .job-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.job-board .job-description h1,
.job-board .job-description h2,
.job-board .job-description strong {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 34px;
    color: #014976;
}

.job-board .job-description h3,
.job-board .job-description h4,
.job-board .job-description h5,
.job-board .job-description h6 {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 26px;
    color: #3A95CC;
}

.job-board .job-description p, .job-board .job-description li {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1B1B1B;
}

.job-board .job-description ul strong,
.job-board .job-description p strong {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 26px;
    color: #1B1B1B;
}

.job-board .job-description a {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    text-decoration-line: underline;
    color: #3A95CC;
}

.job-board .pagination {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 64px;
}

.job-board .pagination input {
    padding: 0;
}

.job-board .pagination input::placeholder {
    visibility: hidden;
}

.job-board .pagination p {
    margin: 0;
}

.job-board .pagination a .right-arrow {
    width: 10px;
    height: 10px;
    border: 3px solid #02837C;
    border-top: none;
    border-left: none;
    rotate: -45deg;
    margin: 20px;
}

.job-board .pagination a .left-arrow {
    width: 10px;
    height: 10px;
    border: 3px solid #02837C;
    border-bottom: none;
    border-right: none;
    rotate: -45deg;
    margin: 20px;
}

.job-board .page-numbers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    gap: 32px;
}

.job-board .page-numbers .text {
    font-family: 'Museo Sans', serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: #1B1B1B;
}

.job-board .page-numbers .left-num {
    text-align: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid rgba(152, 185, 208, 0.1);
    border-radius: 8px;
    padding: 0;
}



@media screen and (max-width: 1024px) {
    .job-board .job-board-container {
        padding: 64px 40px;
    }

    .job-board .num-results {
        display: block;
    }

    .job-board .search-results {
        flex: auto;
        width: 100%;
    }

    .job-board .results-list {
        overflow: hidden;
        max-height: unset;
    }

    .job-board .active-job {
        display: flex;
        flex-direction: column;
        gap: 32px;
        position: absolute;
        top: 0;
        left: 100vw;
        flex: auto;
        width: 100%;
        background: #FFFFFF;
        overflow: scroll;
        scrollbar-width: none;
        padding: 64px 40px;
    }

    .job-board .active-job::-webkit-scrollbar {
        display: none;
    }

    .job-board .close-bar {
        display: flex;
    }

    .job-board .pagination {
        display: flex;
    }

    .job-board .results-list .mobile-only.arrow img {
        max-width: 50px;
    }

    .job-board .results-list .mobile-only.arrow {
        display: flex;
    }

    .job-board .results-list .active .arrow .light {
        display: block;
    }
    .job-board .results-list .active .arrow .dark {
        display: none;
    }

    .job-board .results-list .arrow .light {
        display: none;
    }

    .job-board .results-list .arrow .dark {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .job-board .job-board-container {
        padding: 40px 24px;
    }

    .job-board .num-results {
        font-size: 24px;
    }

    .job-board .result {
        padding: 24px;
    }

    .job-board .active-job {
        padding: 40px 24px;
    }

    .job-board .job-detail-contents {
        padding: 24px;
    }

    .job-board .job-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 32px;
    }
}