.ot-jobs-shell {
    --ot-border: #e5e7eb;
    --ot-muted: #64748b;
    --ot-text: #1f2937;
    --ot-soft: #f8fafc;
    --ot-green: #16a34a;
    --ot-blue: #2563eb;
    width: 100%;
    color: var(--ot-text);
}

.ot-jobs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: #fff;
}

.ot-jobs-head h2 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
}

.ot-jobs-head p {
    margin: 0;
    color: var(--ot-muted);
    font-size: 14px;
}

.ot-jobs-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ot-jobs-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    background: #ecfdf5;
    color: #166534;
    font-size: 13px;
}

.ot-jobs-filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: #fff;
}

.ot-jobs-filter input,
.ot-jobs-filter select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    background: #f8fafc;
    color: var(--ot-text);
    font-size: 14px;
}

.ot-jobs-filter button,
.ot-jobs-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ot-jobs-filter button {
    border: 0;
    background: var(--ot-green);
    color: #fff;
    cursor: pointer;
}

.ot-jobs-filter a {
    border: 1px solid var(--ot-border);
    background: #fff;
    color: var(--ot-muted);
}

.ot-jobs-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: #fff;
}

.ot-jobs-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    table-layout: fixed;
}

.ot-jobs-table th {
    padding: 14px 14px;
    border-bottom: 1px solid var(--ot-border);
    background: var(--ot-soft);
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.ot-jobs-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
    font-size: 14px;
}

.ot-jobs-table tr:last-child td {
    border-bottom: 0;
}

.ot-jobs-table th:nth-child(1),
.ot-jobs-table td:nth-child(1) {
    width: 14%;
}

.ot-jobs-table th:nth-child(2),
.ot-jobs-table td:nth-child(2) {
    width: 30%;
}

.ot-jobs-table th:nth-child(3),
.ot-jobs-table td:nth-child(3) {
    width: 20%;
}

.ot-jobs-table th:nth-child(4),
.ot-jobs-table td:nth-child(4) {
    width: 13%;
}

.ot-jobs-table th:nth-child(5),
.ot-jobs-table td:nth-child(5) {
    width: 12%;
}

.ot-jobs-table th:nth-child(6),
.ot-jobs-table td:nth-child(6) {
    width: 11%;
}

.ot-company strong,
.ot-job-main strong {
    display: block;
    color: #111827;
    font-size: 15px;
    line-height: 1.45;
}

.ot-company span,
.ot-date span {
    display: block;
    margin-top: 4px;
    color: var(--ot-muted);
    font-size: 12px;
}

.ot-job-main p {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--ot-muted);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ot-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.ot-tag-hot {
    background: #fff7ed;
    color: #c2410c;
}

.ot-date strong {
    display: block;
    color: #111827;
    font-size: 13px;
}

.ot-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.ot-btn-primary {
    background: var(--ot-blue);
    color: #fff;
}

.ot-btn-ghost {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: var(--ot-blue);
}

.ot-btn-disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

.ot-jobs-cards {
    display: none;
}

.ot-job-card {
    padding: 16px;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: #fff;
}

.ot-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ot-card-top h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.ot-card-top p,
.ot-card-note {
    margin: 4px 0 0;
    color: var(--ot-muted);
    font-size: 13px;
    line-height: 1.5;
}

.ot-card-title {
    margin: 12px 0 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.ot-card-meta {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    color: var(--ot-muted);
    font-size: 13px;
}

.ot-card-note {
    margin-top: 10px;
}

.ot-job-card .ot-actions {
    margin-top: 14px;
}

.ot-job-card .ot-btn {
    flex: 1;
}

.ot-jobs-empty {
    padding: 28px;
    border: 1px solid var(--ot-border);
    border-radius: 8px;
    background: #fff;
    color: var(--ot-muted);
    text-align: center;
}

.ot-home-jobs-container {
    margin-top: 28px;
    margin-bottom: 36px;
}

.page-template-default .ot-jobs-shell,
.single-page .ot-jobs-shell {
    max-width: 100%;
}

body:has(.ot-jobs-shell) .sidebar,
body:has(.ot-jobs-shell) aside,
body:has(.ot-jobs-shell) .widget-area {
    display: none !important;
}

body:has(.ot-jobs-shell) .content-area,
body:has(.ot-jobs-shell) .site-main,
body:has(.ot-jobs-shell) .main,
body:has(.ot-jobs-shell) .content {
    width: 100% !important;
    max-width: 100% !important;
}

body:has(.ot-jobs-shell) .entry-content {
    max-width: 100% !important;
}

@media (max-width: 900px) {
    .ot-jobs-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .ot-jobs-stats {
        justify-content: flex-start;
    }

    .ot-jobs-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ot-jobs-head h2 {
        font-size: 21px;
    }

    .ot-jobs-filter {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .ot-jobs-table-wrap {
        display: none;
    }

    .ot-jobs-cards {
        display: grid;
        gap: 12px;
    }
}
