/* ============================================================
   RBB Arbeitgeber-Jobs — Frontend Styles
   ============================================================ */

.rbb-emp-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rbb-emp-jobs-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, transform 0.15s;
}

.rbb-emp-jobs-card:hover {
    text-decoration: none;
}

.rbb-emp-jobs-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.rbb-emp-jobs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rbb-emp-jobs-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.rbb-emp-jobs-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 4px;
}

.rbb-emp-jobs-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
    transition: color 0.15s;
}

.rbb-emp-jobs-event {
    font-size: 11px;
    color: #888;
}

.rbb-emp-jobs-notice,
.rbb-emp-jobs-empty {
    color: #888;
    font-size: 14px;
    padding: 24px 0;
}

@media (max-width: 600px) {
    .rbb-emp-jobs-grid:not([style*="grid-template-columns"]) {
        grid-template-columns: 1fr;
    }
}
