.rekry-job-main {
    padding: 54px 0 72px;
}

.rekry-job-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

.rekry-job-detail {
    color: #616161;
    font-family: "Google Sans", sans-serif;
    font-weight: 400;
}

.rekry-job-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 14px 0 28px;
    border-bottom: 1px solid #dce6e1;
}

.rekry-job-hero .entry-title {
    max-width: 850px;
    margin: 0;
    color: #008054;
    font-family: inherit;
    font-weight: 600;
    font-size: clamp(36px, 4.5vw, 50px);
    line-height: 1.18;
}

.rekry-job-hero .rekry-job-subtitle {
    margin: 12px 0 0;
    color: #567366;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.rekry-job-description {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 0 42px;
    font-size: 17px;
    line-height: 1.7;
}

.rekry-job-description :is(h2, h3, h4) {
    color: #008054;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.25;
}

.rekry-job-description h2 {
    margin: 38px 0 15px;
    font-size: clamp(27px, 3vw, 34px) !important;
}

.rekry-job-description h3 {
    margin: 32px 0 13px;
    font-size: 25px;
}

.rekry-job-description h4 {
    margin: 28px 0 12px;
    font-size: 21px;
}

.rekry-job-description p {
    margin: 0 0 18px;
}

.rekry-job-description :is(ul, ol) {
    margin: 0 0 22px;
    padding-left: 1.5em;
}

.rekry-job-description li {
    margin-bottom: 5px;
}

.rekry-job-description ul li::marker {
    color: #008054;
}

.rekry-job-description a {
    color: #008054;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rekry-job-description a:hover,
.rekry-job-description a:focus-visible {
    color: #285e45;
}

.rekry-job-description > :first-child {
    margin-top: 0;
}

.rekry-job-description > :last-child {
    margin-bottom: 0;
}

.rekry-job-application {
    max-width: 900px;
    margin: 0 auto;
    padding: 34px;
    background: #f7f9f8;
    border: 1px solid #e6ecea;
    border-radius: 10px;
}

.rekry-job-application > header {
    margin-bottom: 28px;
}

.rekry-plugin-form-wrap {
    scroll-margin-top: 140px;
}

.rekry-job-application > header h2 {
    margin: 0;
    color: #008054;
    font-family: inherit;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.25;
}

.rekry-job-application .rekry-plugin-form-wrap > form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.rekry-plugin-form-wrap > form > h3 {
    grid-column: 1 / -1;
    margin: 14px 0 0;
    padding-bottom: 10px;
    color: #008054;
    border-bottom: 1px solid #dce6e1;
    font-family: "Google Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.rekry-plugin-form-wrap > form > h3:first-of-type {
    margin-top: 0;
}

.rekry-job-application .rekry-plugin-form-wrap > form > p {
    min-width: 0;
    margin: 0;
}

.rekry-job-application .rekry-plugin-form-wrap > form > p:has(textarea),
.rekry-job-application .rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]),
.rekry-job-application .rekry-plugin-form-wrap > form > p:last-of-type {
    grid-column: 1 / -1;
}

.rekry-job-application .rekry-plugin-form-wrap > form > p:last-of-type {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
}

.rekry-job-application .rekry-plugin-form-wrap > form > p:has(input[readonly]) {
    display: none;
}

.rekry-job-application .rekry-plugin-form-wrap label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #34443c;
}

.rekry-plugin-form-wrap label.rekry-required-error,
.rekry-job-application .rekry-plugin-form-wrap label.rekry-required-error {
    color: #b4232b;
}

.rekry-job-application .rekry-plugin-form-wrap br {
    display: none;
}

.rekry-job-application .rekry-plugin-form-wrap input:not([type="hidden"]):not([type="checkbox"]):not([type="file"]),
.rekry-job-application .rekry-plugin-form-wrap textarea {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px;
    padding: 12px 14px;
    color: inherit;
    font: inherit;
    font-size: 15px;
    background: #fff;
    border: 1px solid #cddbd4;
    border-radius: 7px;
}

.rekry-job-application .rekry-plugin-form-wrap textarea {
    min-height: 120px;
    resize: vertical;
}

.rekry-plugin-form-wrap .rekry-upload-field {
    min-width: 0;
}

.rekry-plugin-form-wrap .rekry-upload-control {
    display: block;
    width: 100%;
}

.rekry-plugin-form-wrap .rekry-upload-input {
    display: block;
    width: 100%;
    padding: 14px;
    color: #34443c;
    background: #fff;
    border: 1px dashed #accbbc;
    border-radius: 9px;
    font: inherit;
    font-size: 14px;
}

.rekry-plugin-form-wrap .rekry-upload-input::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    color: #008054;
    background: #e8f3ee;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.rekry-plugin-form-wrap .rekry-upload-visual {
    display: none;
}

.rekry-plugin-form-wrap .rekry-upload-visual[hidden] {
    display: none;
}

.rekry-plugin-form-wrap .rekry-upload-enhanced .rekry-upload-control {
    position: relative;
}

.rekry-plugin-form-wrap .rekry-upload-enhanced .rekry-upload-input {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.rekry-plugin-form-wrap .rekry-upload-enhanced .rekry-upload-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 18px;
    color: #567366;
    background: #fff;
    border: 1px dashed #accbbc;
    border-radius: 9px;
    text-align: center;
    transition: background-color .2s ease, border-color .2s ease;
}

.rekry-plugin-form-wrap .rekry-upload-enhanced .rekry-upload-input:hover + .rekry-upload-visual,
.rekry-plugin-form-wrap .rekry-upload-enhanced .rekry-upload-input:focus-visible + .rekry-upload-visual {
    background: #eff7f3;
    border-color: #008054;
}

.rekry-plugin-form-wrap .rekry-upload-enhanced .rekry-upload-input:focus-visible + .rekry-upload-visual {
    outline: 3px solid #9ed5bb;
    outline-offset: 3px;
}

.rekry-plugin-form-wrap .rekry-upload-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
    color: #008054;
    background: #e8f3ee;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.rekry-plugin-form-wrap .rekry-upload-action {
    color: #008054;
    font-size: 15px;
    font-weight: 700;
}

.rekry-plugin-form-wrap .rekry-upload-hint {
    margin-top: 5px;
    color: #646668;
    font-size: 12px;
    line-height: 1.4;
}

.rekry-plugin-form-wrap .rekry-upload-filename {
    display: block;
    overflow: hidden;
    margin-top: 8px;
    color: #646668;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rekry-plugin-form-wrap .rekry-upload-field:not(.rekry-upload-enhanced) .rekry-upload-filename {
    display: none;
}

.rekry-plugin-form-wrap .rekry-upload-field.has-file .rekry-upload-visual {
    background: #eff7f3;
    border-style: solid;
    border-color: #81b29b;
}

.rekry-plugin-form-wrap .rekry-upload-field.has-file .rekry-upload-filename {
    color: #285e45;
    font-weight: 600;
}

.rekry-plugin-form-wrap .rekry-upload-field.has-error .rekry-upload-visual {
    background: #fbefef;
    border-color: #dba5a5;
}

.rekry-plugin-form-wrap .rekry-upload-warning {
    display: block;
    margin-top: 7px;
    color: #792d2d;
    font-size: 13px;
}

.rekry-plugin-form-wrap .rekry-upload-warning[hidden] {
    display: none;
}

.rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]) br {
    display: none;
}

.rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]) label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    color: #34443c;
    background: #fff;
    border: 1px solid #dce6e1;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]) label:focus-within {
    border-color: #008054;
}

.rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]) input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #008054;
}

.rekry-job-application .rekry-plugin-form-wrap input:focus,
.rekry-job-application .rekry-plugin-form-wrap textarea:focus {
    outline: 2px solid #008054;
    outline-offset: 2px;
}

.rekry-job-application .rekry-plugin-form-wrap .button-primary {
    min-height: 48px;
    padding: 12px 24px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    background: #008054;
    border: 1px solid #008054;
    border-radius: 6px;
    cursor: pointer;
}

.rekry-job-application .rekry-plugin-form-wrap .button-primary:hover,
.rekry-job-application .rekry-plugin-form-wrap .button-primary:focus {
    background: #285e45;
    border-color: #285e45;
}

.rekry-job-application .rekry-plugin-success,
.rekry-job-application .rekry-plugin-error {
    box-sizing: border-box;
    margin-bottom: 18px !important;
    padding: 14px 16px !important;
    border-radius: 4px;
}

.rekry-job-application .rekry-plugin-success {
    color: #174b3d;
    background: #e8f3ef !important;
    border-color: #b7d5ca !important;
}

.rekry-job-application .rekry-plugin-error {
    color: #792d2d;
    background: #fbefef !important;
    border-color: #e9c5c5 !important;
}

@media (max-width: 700px) {
    .rekry-job-main {
        padding: 32px 0 44px;
    }

    .rekry-job-shell {
        padding: 0 18px;
    }

    .rekry-job-hero {
        padding: 8px 0 22px;
    }

    .rekry-job-hero .entry-title {
        font-size: 34px;
    }

    .rekry-job-description {
        padding: 24px 0 32px;
        font-size: 16px;
    }

    .rekry-job-application {
        padding: 20px 16px;
    }

    .rekry-job-application .rekry-plugin-form-wrap > form {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .rekry-job-application .rekry-plugin-form-wrap > form > p:has(textarea),
    .rekry-job-application .rekry-plugin-form-wrap > form > p:has(input[type="checkbox"]),
    .rekry-job-application .rekry-plugin-form-wrap > form > p:last-of-type {
        grid-column: auto;
    }
}
