.jpr-loxo-job-board,
.jpr-loxo-job-detail {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 20px;
}

.jpr-loxo-jobs {
    display: grid;
    gap: 22px;
}

.jpr-loxo-job {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid #d9dde3;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(22, 34, 51, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.jpr-loxo-job:hover,
.jpr-loxo-job:focus-within {
    border-color: #aeb8c4;
    box-shadow: 0 14px 30px rgba(22, 34, 51, 0.1);
    transform: translateY(-2px);
}

.jpr-loxo-job__body {
    min-width: 0;
}

.jpr-loxo-job__title,
.jpr-loxo-job-detail__title {
    margin: 0;
    line-height: 1.2;
}

.jpr-loxo-job__title {
    font-size: 25px;
}

.jpr-loxo-job__title a {
    color: inherit;
    text-decoration: none;
}

.jpr-loxo-job__title a:hover,
.jpr-loxo-job__title a:focus {
    text-decoration: underline;
}

.jpr-loxo-job__meta,
.jpr-loxo-job-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 10px;
    color: #4f5b68;
    font-size: 15px;
}

.jpr-loxo-job__summary {
    max-width: 760px;
    margin: 16px 0 0;
    color: #354253;
    line-height: 1.6;
}

.jpr-loxo-job__salary {
    margin: 14px 0 0;
    color: #172033;
    font-weight: 600;
}

.jpr-loxo-job__link,
.jpr-loxo-job-detail__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid currentColor;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.jpr-loxo-job__link {
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.jpr-loxo-job__link:hover,
.jpr-loxo-job__link:focus {
    background: #172033;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.jpr-loxo-job-detail__nav a:hover,
.jpr-loxo-job-detail__nav a:focus {
    text-decoration: underline;
}

.jpr-loxo-job-detail__nav {
    margin-bottom: 28px;
}

.jpr-loxo-job-detail__header {
    padding-bottom: 24px;
    border-bottom: 1px solid #d9dde3;
}

.jpr-loxo-job-detail__title {
    font-size: clamp(32px, 4vw, 52px);
}

.jpr-loxo-job-detail__salary {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid #c7ced6;
    color: #172033;
    font-size: 18px;
    font-weight: 600;
}

.jpr-loxo-job-detail__content {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.65;
}

.jpr-loxo-job-detail .jpr-loxo-job-detail__content ul,
.jpr-loxo-job-detail .jpr-loxo-job-detail__content ol {
    margin-top: 1em !important;
    margin-right: 0 !important;
    margin-bottom: 1em !important;
    margin-left: 1rem !important;
    padding-left: 1.5rem !important;
    list-style-position: outside !important;
}

.jpr-loxo-job-detail .jpr-loxo-job-detail__content ul {
    list-style-type: disc !important;
}

.jpr-loxo-job-detail .jpr-loxo-job-detail__content ol {
    list-style-type: decimal !important;
}

.jpr-loxo-job-detail .jpr-loxo-job-detail__content li {
    display: list-item !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
}

.jpr-loxo-error {
    padding: 16px;
    border-left: 4px solid #b42318;
    background: #fff4f2;
}

.jpr-loxo-apply {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #d9dde3;
}

.jpr-loxo-apply__title {
    margin: 0 0 18px;
}

.jpr-loxo-apply__form {
    display: grid;
    gap: 18px;
}

.jpr-loxo-apply__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.jpr-loxo-apply label {
    display: grid;
    gap: 6px;
}

.jpr-loxo-apply input,
.jpr-loxo-apply textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #c7ced6;
}

.jpr-loxo-apply__hint {
    color: #5f6b76;
    font-size: 14px;
    font-style: italic;
}

.jpr-loxo-apply__field-error {
    color: #b42318;
    font-size: 14px;
}

.jpr-loxo-apply__submit {
    justify-self: start;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.jpr-loxo-apply__message {
    margin-bottom: 18px;
    padding: 14px;
    border-left: 4px solid #4f5b68;
}

.jpr-loxo-apply__message--success {
    border-left-color: #26734d;
    background: #f2fbf6;
}

.jpr-loxo-apply__message--error {
    border-left-color: #b42318;
    background: #fff4f2;
}

@media (max-width: 700px) {
    .jpr-loxo-job {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .jpr-loxo-job__link {
        width: 100%;
    }

    .jpr-loxo-apply__grid {
        grid-template-columns: 1fr;
    }
}
