.rm-kenjo-careers {
    display: grid;
    gap: 24px;
}

.rm-kenjo-job {
    border: 1px solid #d9dde3;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    overflow: hidden;
}

.rm-kenjo-job--application-form {
    border: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
}

.rm-kenjo-job__image {
    margin: -24px -24px 22px;
    background: #f3f5f8;
}

.rm-kenjo-job__image-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.rm-kenjo-job__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.rm-kenjo-job h2 {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
}

.rm-kenjo-job__header p {
    margin: 0;
    color: #596273;
}

.rm-kenjo-job__header .rm-kenjo-job__availability {
    margin-top: 6px;
    font-weight: 700;
}

.rm-kenjo-job__description {
    margin-bottom: 20px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.rm-kenjo-job__description p {
    margin: 0 0 12px;
}

.rm-kenjo-job__description > *:last-child {
    margin-bottom: 0;
}

.rm-kenjo-job__actions {
    margin: 18px 0 0;
}

.rm-kenjo-apply-panel {
    margin-top: 20px;
}

.rm-kenjo-apply-panel--wide {
    width: min(1120px, 100%);
    max-width: 100%;
    margin: 28px auto 0;
    box-sizing: border-box;
}

.rm-kenjo-apply-intro {
    margin: 0 0 24px;
}

.rm-kenjo-apply-intro h2 {
    margin: 0 0 18px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.rm-kenjo-apply-intro p {
    margin: 0 0 10px;
}

.rm-kenjo-apply {
    border-top: 1px solid #e7eaf0;
    padding-top: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.rm-kenjo-apply * {
    box-sizing: border-box;
}

.rm-kenjo-apply__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 24px;
    margin-bottom: 16px;
    align-items: start;
    max-width: 100%;
    box-sizing: border-box;
}

.rm-kenjo-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    font-weight: 600;
}

.rm-kenjo-field--wide,
.rm-kenjo-documents {
    grid-column: 1 / -1;
}

.rm-kenjo-apply input,
.rm-kenjo-apply select,
.rm-kenjo-apply textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #cfd5df;
    border-radius: 6px;
    padding: 12px 14px;
    min-height: 52px;
    background: #fff;
    font: inherit;
    line-height: 1.3;
    box-sizing: border-box;
}

.rm-kenjo-apply textarea {
    min-height: 132px;
    resize: vertical;
}

.rm-kenjo-apply input[type="file"] {
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    padding: 11px 14px;
    cursor: pointer;
}

.rm-kenjo-apply input[type="date"] {
    display: block;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}

.rm-kenjo-documents {
    margin: 10px 0 20px;
}

.rm-kenjo-documents h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.rm-kenjo-privacy {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    margin: 0 0 18px;
    font-weight: 600;
    line-height: 1.4;
}

.rm-kenjo-privacy input {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 3px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.rm-kenjo-privacy span {
    display: block;
    min-width: 0;
}

.rm-kenjo-unsupported {
    margin: 0 0 16px;
    border-radius: 6px;
    padding: 12px 14px;
    background: #fff8e5;
    color: #6d4b00;
}

.rm-kenjo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 11px 18px;
    background: var(--pbmit-emphires-secondary-color, var(--pbmit-secondary-color, var(--pbmit-color-secondary, #50697b))) !important;
    color: var(--pbmit-emphires-secondary-color-text, #fff) !important;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none !important;
    outline: 0;
}

.rm-kenjo-apply-toggle {
    border: 0 !important;
    border-radius: 8px !important;
    cursor: pointer;
    box-shadow: none !important;
    outline: 0;
}

.rm-kenjo-apply-toggle-wrap {
    display: flex;
    width: 100%;
}

.rm-kenjo-apply-toggle-wrap--left {
    justify-content: flex-start;
}

.rm-kenjo-apply-toggle-wrap--center {
    justify-content: center;
}

.rm-kenjo-apply-toggle-wrap--right {
    justify-content: flex-end;
}

.rm-kenjo-apply-toggle--size-small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.rm-kenjo-apply-toggle--size-medium {
    min-height: 54px;
    padding: 14px 26px;
    font-size: 1rem;
}

.rm-kenjo-apply-toggle--size-large {
    min-height: 66px;
    padding: 20px 38px;
    font-size: 1.12rem;
}

.rm-kenjo-apply-toggle--size-xlarge {
    min-height: 78px;
    padding: 24px 52px;
    font-size: 1.22rem;
}

.rm-kenjo-apply-toggle--size-full {
    width: 100%;
    min-height: 64px;
    padding: 18px 36px;
    font-size: 1.08rem;
}

.rm-kenjo-button:hover,
.rm-kenjo-button:focus {
    background: var(--pbmit-emphires-secondary-color, var(--pbmit-secondary-color, var(--pbmit-color-secondary, #50697b))) !important;
    color: var(--pbmit-emphires-secondary-color-text, #fff) !important;
    opacity: 0.92;
}

.rm-kenjo-button.rm-kenjo-apply-toggle--plugin[aria-expanded="true"] {
    background: var(--pbmit-emphires-secondary-color, var(--pbmit-secondary-color, var(--pbmit-color-secondary, #50697b))) !important;
}

.rm-kenjo-notice {
    margin: 0 0 18px;
    border-radius: 6px;
    padding: 12px 14px;
}

.rm-kenjo-notice--success {
    background: #e8f5ee;
    color: #135c35;
}

.rm-kenjo-notice--error {
    background: #fdecec;
    color: #8a1f1f;
}

.rm-kenjo-notice--empty {
    background: #f3f5f8;
    color: #3d4654;
}

.rm-kenjo-editor-card {
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 16px;
    background: #fff;
    color: #1e1e1e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rm-kenjo-editor-block {
    display: block;
}

.rm-kenjo-editor-block.is-selected .rm-kenjo-editor-card,
.rm-kenjo-editor-block.has-child-selected .rm-kenjo-editor-card {
    border-color: #3858e9;
    box-shadow: 0 0 0 1px #3858e9;
}

.rm-kenjo-editor-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rm-kenjo-editor-card__icon {
    color: #1e1e1e;
}

.rm-kenjo-editor-card__image,
.rm-kenjo-editor-media-control__preview {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.rm-kenjo-editor-card__image {
    max-height: 220px;
    margin: 0 0 12px;
}

.rm-kenjo-editor-media-control {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.rm-kenjo-editor-media-control__preview {
    max-height: 180px;
    border: 1px solid #dcdcde;
}

.rm-kenjo-editor-card__body p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
}

.rm-kenjo-editor-card__body p:last-child {
    margin-bottom: 0;
}

.rm-kenjo-editor-card__list {
    margin: 0 0 10px 18px;
    padding: 0;
    font-size: 13px;
}

.rm-kenjo-editor-card__list li {
    margin-bottom: 4px;
}

.rm-kenjo-editor-card__meta {
    color: #646970;
}

.rm-kenjo-editor-card__controls {
    margin-top: 14px;
    border-top: 1px solid #e0e0e0;
    padding-top: 14px;
}

.rm-kenjo-editor-card__controls-title {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #646970;
}

.rm-kenjo-editor-card__controls .components-base-control {
    margin-bottom: 10px;
}

.rm-kenjo-editor-card__controls .components-base-control__field {
    margin-bottom: 0;
}

.rm-kenjo-editor-card__toggle-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
}

.rm-kenjo-editor-card__toggle-row .components-toggle-control {
    margin-bottom: 0;
}

.rm-kenjo-editor-card__toggle-row .components-toggle-control .components-base-control__field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rm-kenjo-editor-card__toggle-row .components-toggle-control .components-form-toggle {
    margin-right: 0;
}

@media (max-width: 640px) {
    .rm-kenjo-job {
        padding: 18px;
    }

    .rm-kenjo-job--application-form {
        padding: 0;
    }

    .rm-kenjo-job__image {
        margin: -18px -18px 18px;
    }

    .rm-kenjo-apply-panel--wide {
        width: 100%;
        max-width: 100%;
        margin-top: 24px;
    }

    .rm-kenjo-apply,
    .rm-kenjo-apply__grid,
    .rm-kenjo-field {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .rm-kenjo-apply input,
    .rm-kenjo-apply select,
    .rm-kenjo-apply textarea {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .rm-kenjo-apply input[type="date"],
    .rm-kenjo-apply input[type="file"] {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .rm-kenjo-privacy {
        grid-template-columns: 22px minmax(0, 1fr);
        column-gap: 10px;
        align-items: start;
    }

    .rm-kenjo-privacy input {
        width: 18px;
        height: 18px;
        margin: 4px 0 0;
    }

    .rm-kenjo-apply__grid {
        grid-template-columns: 1fr;
    }

    .rm-kenjo-apply-intro h2 {
        font-size: clamp(1.7rem, 9vw, 2.35rem);
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .rm-kenjo-apply__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
