/* =============================================================
   Productside Connect — Jobs Shortcode
   ============================================================= */

.psc-jobs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Last-updated line ────────────────────────────────────── */

.psc-jobs-updated {
    font-size: 12px;
    color: #999999;
    margin: 0;
}

/* ── Filters ──────────────────────────────────────────────── */

.psc-jobs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: flex-end;
    padding: 16px 20px;
    background: #f8f8f8;
    border-radius: 10px;
}

.psc-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.psc-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888888;
    margin-right: 2px;
    white-space: nowrap;
}

.psc-filter-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 13px;
    border: 1px solid #dddddd;
    border-radius: 20px;
    background: #ffffff;
    color: #444444;
    cursor: pointer;
    transition: background 0.14s, border-color 0.14s, color 0.14s;
    line-height: 1.4;
}

.psc-filter-btn:hover {
    border-color: #aaaaaa;
    background: #f0f0f0;
}

.psc-filter-btn.is-active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.psc-filters-clear {
    font-size: 12px;
    color: #cc3333;
    background: none;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    text-decoration: underline;
    align-self: center;
}

.psc-filters-clear:hover {
    color: #aa0000;
}

/* ── Jobs list ────────────────────────────────────────────── */

.psc-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Job card ─────────────────────────────────────────────── */

.psc-job {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.15s;
}

.psc-job:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.11);
}

/* ── Logo ─────────────────────────────────────────────────── */

.psc-job-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.psc-job-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    border: 1px solid #f0f0f0;
}

.psc-job-initials {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #e8edf5;
    color: #334466;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

/* ── Body ─────────────────────────────────────────────────── */

.psc-job-body {
    flex: 1;
    min-width: 0;
}

/* ── Title ────────────────────────────────────────────────── */

.psc-job-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 5px;
}

.psc-job-title a {
    color: inherit;
    text-decoration: none;
}

.psc-job-title a:hover {
    text-decoration: underline;
}

/* ── Meta line ────────────────────────────────────────────── */

.psc-job-meta {
    font-size: 13px;
    color: #777777;
    margin: 0 0 8px;
    line-height: 1.4;
}

/* ── Tags ─────────────────────────────────────────────────── */

.psc-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.psc-job-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    background: #f0f2f5;
    color: #444455;
    white-space: nowrap;
}

/* ── Empty state ──────────────────────────────────────────── */

.psc-jobs-empty {
    text-align: center;
    font-size: 15px;
    color: #888888;
    padding: 32px 0;
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 600px) {
    .psc-job {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .psc-jobs-filters {
        flex-direction: column;
        align-items: flex-start;
    }
}
