.kema-jobs {
    --kema-jobs-primary: #166534;
    --kema-jobs-accent: #f5f2ea;
    --kema-jobs-bg: #ffffff;
    --kema-jobs-text: #18181b;
    background: var(--kema-jobs-bg);
    color: var(--kema-jobs-text);
    font-family: inherit;
}

.kema-jobs * {
    box-sizing: border-box;
}

.kema-jobs a {
    color: inherit;
}

.kema-jobs h1,
.kema-jobs h2,
.kema-jobs h3 {
    margin: 0;
    line-height: 1.15;
}

.kema-jobs h1 {
    font-size: clamp(34px, 8vw, 62px);
}

.kema-jobs-intro,
.kema-jobs-message,
.kema-jobs-footer,
.kema-jobs-alert {
    margin-top: 20px;
    padding: 18px;
    border-radius: 10px;
    background: var(--kema-jobs-accent);
}

.kema-jobs-alert-success {
    border: 1px solid #86efac;
}

.kema-jobs-alert-error {
    border: 1px solid #fecaca;
    color: #991b1b;
}

.kema-jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
}

.kema-jobs-card {
    min-width: 0;
}

.kema-jobs-card-link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.kema-jobs-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.kema-jobs-card-image-wrap {
    aspect-ratio: 16 / 10;
    background: var(--kema-jobs-accent);
}

.kema-jobs-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kema-jobs-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.kema-jobs-card-meta,
.kema-jobs-detail-meta {
    color: #71717a;
    font-size: 14px;
    line-height: 1.4;
}

.kema-jobs-card-title {
    font-size: 24px;
}

.kema-jobs-card-excerpt {
    margin: 0;
    color: #3f3f46;
    line-height: 1.55;
}

.kema-jobs-card-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border-radius: 8px;
    background: var(--kema-jobs-primary);
    color: #fff;
    font-weight: 800;
}

.kema-jobs-detail {
    max-width: 920px;
    margin: 0 auto;
}

.kema-jobs-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--kema-jobs-primary);
    font-weight: 800;
    text-decoration: none;
}

.kema-jobs-detail-hero {
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    background: var(--kema-jobs-accent);
}

.kema-jobs-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kema-jobs-detail-title {
    margin-top: 10px;
}

.kema-jobs-detail-intro,
.kema-jobs-detail-section,
.kema-jobs-apply {
    margin-top: 26px;
}

.kema-jobs-html,
.kema-jobs-detail-intro {
    line-height: 1.7;
}

.kema-jobs-html ul,
.kema-jobs-html ol {
    padding-left: 1.4rem;
}

.kema-jobs-apply {
    padding: 20px;
    border-radius: 14px;
    background: var(--kema-jobs-accent);
    overflow: hidden;
}

.kema-jobs-form {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
}

.kema-jobs-form > * {
    min-width: 0;
}

.kema-jobs-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
    font-weight: 800;
}

.kema-jobs-help {
    color: #71717a;
    font-size: 13px;
    font-weight: 400;
}

.kema-jobs-form input,
.kema-jobs-form textarea,
.kema-jobs-form select {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    background: #fff;
    color: #18181b;
    font: inherit;
    font-size: 16px;
}

.kema-jobs-form input[type="file"] {
    overflow: hidden;
}

.kema-jobs-form textarea {
    min-height: 120px;
}

.kema-jobs-options {
    display: grid;
    gap: 8px;
}

.kema-jobs-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-weight: 600;
}

.kema-jobs-options input[type="radio"],
.kema-jobs-options input[type="checkbox"],
.kema-jobs-consent input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    padding: 0;
    flex: 0 0 auto;
}

.kema-jobs-consent {
    grid-template-columns: auto 1fr;
    align-items: start;
    min-height: 44px;
    font-weight: 400;
}

.kema-jobs-consent input {
    width: 22px;
    min-height: 22px;
    margin-top: 2px;
}

.kema-jobs-form button[type="submit"] {
    min-height: 54px;
    border: 0;
    border-radius: 8px;
    background: var(--kema-jobs-primary);
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.kema-jobs-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (min-width: 720px) {
    .kema-jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .kema-jobs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
