/* ============================================================
   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 {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 120px;
    align-self: flex-start;
    overflow: hidden;
    flex-shrink: 0;
}

/* Farbschleier (Elementor: Vorschaubild → Effekte → Farbschleier) */
.rbb-emp-jobs-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: transparent;
    border-radius: inherit;
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.rbb-emp-jobs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.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;
    }
}

/* ── Zeilen (1.9.54): Einstieg · Titel · Ort · Pfeil ─────────────────────── */
.rbb-emp-jobs-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rbb-emp-jobs-rows > li { margin: 0; padding: 0; }
.rbb-emp-jobs-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}
.rbb-emp-jobs-row:hover,
.rbb-emp-jobs-row:focus-visible { text-decoration: none; color: inherit; }
.rbb-emp-jobs-row .rbb-emp-jobs-title {
    flex: 1 1 260px;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: inherit;
}
.rbb-emp-jobs-badge {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ededed;
    white-space: nowrap;
}
.rbb-emp-jobs-city { font-size: 14px; color: #5a706a; }
.rbb-emp-jobs-arrow { font-size: 20px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .rbb-emp-jobs-row { transition: none; } }
