/* NVC Darbo skelbimai — frontend stiliai */
:root {
    --nvc-orange: #e55a1f;
    --nvc-orange-dark: #c84a14;
    --nvc-cream: #fdf3ec;
    --nvc-bg: #fff7f0;
    --nvc-border: #e9ddd2;
    --nvc-text: #2a2a2a;
    --nvc-muted: #6f6a64;
    --nvc-radius: 6px;
}

.nvc-job,
.nvc-archive {
    max-width: 900px;
    margin: 32px auto;
    padding: 0 20px;
    color: var(--nvc-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

/* ---------- Header ---------- */
.nvc-job__inner {
    background: #fff;
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    overflow: hidden;
}
.nvc-job__header {
    background: var(--nvc-cream);
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--nvc-border);
}
.nvc-job__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--nvc-orange);
    margin: 0 0 12px;
    text-transform: uppercase;
}
.nvc-job__title {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #1a1a1a;
}
.nvc-job__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--nvc-muted);
}
.nvc-job__meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nvc-ico {
    width: 14px;
    height: 14px;
    display: inline-block;
    border: 1.5px solid var(--nvc-orange);
    border-radius: 50%;
}
.nvc-ico--clock { border-radius: 50%; position: relative; }
.nvc-ico--pin   { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.nvc-ico--badge { border-radius: 2px; }

/* ---------- Salary band ---------- */
.nvc-job__salary {
    background: var(--nvc-orange);
    color: #fff;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.nvc-job__salary-amount {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-right: 1px solid rgba(255,255,255,.4);
    padding-right: 20px;
}
.nvc-job__salary-note {
    font-size: 13px;
    line-height: 1.4;
}
.nvc-job__salary-note strong { display: block; font-weight: 700; }

/* ---------- Sections ---------- */
.nvc-job__section {
    padding: 26px 32px;
    border-top: 1px solid var(--nvc-border);
}
.nvc-job__section:first-of-type { border-top: 0; }

.nvc-job__h {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nvc-muted);
    font-weight: 700;
    margin: 0 0 16px;
}

/* Bullet list (expectations / documents) */
.nvc-job__bullets,
.nvc-job__docs {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nvc-job__bullets li,
.nvc-job__docs li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 15px;
}
.nvc-job__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nvc-orange);
}
.nvc-job__docs li::before {
    content: "▤";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--nvc-orange);
    font-size: 14px;
}

/* Duties — 2-column cards */
.nvc-job__duties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.nvc-job__duty {
    background: var(--nvc-bg);
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    padding: 14px 16px;
    font-size: 14px;
}

/* Benefits — icon grid */
.nvc-job__benefits {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.nvc-benefit {
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    padding: 14px 8px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #fff;
    transition: border-color .15s ease;
}
.nvc-benefit:hover { border-color: var(--nvc-orange); }
.nvc-benefit__icon svg {
    width: 24px;
    height: 24px;
    fill: var(--nvc-orange);
}
.nvc-benefit__label {
    font-size: 12px;
    color: var(--nvc-text);
    line-height: 1.3;
}

/* Apply */
.nvc-job__apply {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--nvc-muted);
}
.nvc-job__quote { color: var(--nvc-text); }
.nvc-job__email {
    color: var(--nvc-orange);
    text-decoration: none;
    font-weight: 600;
}
.nvc-job__email:hover { text-decoration: underline; }

/* Contacts */
.nvc-job__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.nvc-contact {
    background: var(--nvc-bg);
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    padding: 14px 18px;
    font-size: 14px;
}
.nvc-contact p { margin: 0 0 2px; }
.nvc-contact__role { color: var(--nvc-muted); font-size: 12px; }
.nvc-contact__name { font-weight: 700; }
.nvc-contact__dep  { color: var(--nvc-muted); }
.nvc-contact__phone a {
    color: var(--nvc-orange);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.nvc-job__foot {
    padding: 18px 32px 22px;
    border-top: 1px solid var(--nvc-border);
    font-size: 12px;
    color: var(--nvc-muted);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.nvc-job__foot p { margin: 0; }
.nvc-job__bdar { max-width: 60%; }

/* Kai šortkodas dedamas į puslapį — wrapper'is be papildomo margin'o */
.nvc-archive--shortcode,
.nvc-archive--standalone {
    margin: 0;
    padding: 0;
}

/* ---------- Filters ---------- */
.nvc-filters {
    background: #fff;
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    padding: 14px 16px;
    margin-bottom: 14px;
}

.nvc-filters__search {
    display: flex;
    gap: 8px;
    align-items: center;
}
.nvc-filters__search input[type="search"] {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    font-size: 15px;
    background: #fff;
    color: var(--nvc-text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.nvc-filters__search input[type="search"]:focus {
    border-color: var(--nvc-orange);
    box-shadow: 0 0 0 3px rgba(229, 90, 31, .15);
}
.nvc-filters__submit {
    height: 42px;
    padding: 0 18px;
    background: var(--nvc-orange);
    color: #fff;
    border: 0;
    border-radius: var(--nvc-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease;
}
.nvc-filters__submit:hover { background: var(--nvc-orange-dark); }

.nvc-filters__more {
    margin-top: 12px;
}
.nvc-filters__more > summary {
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--nvc-orange);
    letter-spacing: 0.02em;
    padding: 6px 0;
    user-select: none;
}
.nvc-filters__more > summary::-webkit-details-marker { display: none; }
.nvc-filters__more > summary::before {
    content: "▸ ";
    transition: transform .15s ease;
    display: inline-block;
}
.nvc-filters__more[open] > summary::before { content: "▾ "; }

.nvc-filters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}
.nvc-filters__field { display: flex; flex-direction: column; gap: 4px; }
.nvc-filters__field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nvc-muted);
}
.nvc-filters__field select,
.nvc-filters__field input[type="number"] {
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    background: #fff;
    color: var(--nvc-text);
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease;
}
.nvc-filters__field select:focus,
.nvc-filters__field input:focus { border-color: var(--nvc-orange); }

.nvc-filters__range {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nvc-filters__range input { width: 100%; }
.nvc-filters__range span { color: var(--nvc-muted); }

.nvc-filters__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.nvc-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--nvc-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.nvc-btn--primary {
    background: var(--nvc-orange);
    color: #fff;
}
.nvc-btn--primary:hover { background: var(--nvc-orange-dark); }
.nvc-btn--ghost {
    background: #fff;
    color: var(--nvc-text);
    border-color: var(--nvc-border);
}
.nvc-btn--ghost:hover { border-color: var(--nvc-orange); color: var(--nvc-orange); }

/* ---------- Active filter chips ---------- */
.nvc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.nvc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nvc-cream);
    border: 1px solid var(--nvc-border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 13px;
    color: var(--nvc-text);
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.nvc-chip:hover {
    background: #fff;
    border-color: var(--nvc-orange);
}
.nvc-chip__x {
    font-size: 16px;
    line-height: 1;
    color: var(--nvc-orange);
    font-weight: 700;
}
.nvc-chip--clear {
    background: transparent;
    border-color: transparent;
    color: var(--nvc-orange);
    text-decoration: underline;
    padding-left: 6px;
}
.nvc-chip--clear:hover { background: transparent; }

/* ---------- Meta bar (rezultatų skaitiklis) ---------- */
.nvc-archive__meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--nvc-muted);
}
.nvc-archive__count strong { color: var(--nvc-text); }

.nvc-empty--rich {
    background: #fff;
    border: 1px dashed var(--nvc-border);
    border-radius: var(--nvc-radius);
    padding: 36px 20px;
}
.nvc-empty--rich p { margin: 0 0 6px; }
.nvc-empty--rich a { color: var(--nvc-orange); }

/* ---------- Archive / shortcode grid ---------- */
.nvc-archive__head { text-align: center; margin-bottom: 28px; }
.nvc-archive__title { font-size: 30px; margin: 0 0 6px; color: #1a1a1a; }
.nvc-archive__sub { color: var(--nvc-muted); margin: 0; }

.nvc-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.nvc-card {
    background: #fff;
    border: 1px solid var(--nvc-border);
    border-radius: var(--nvc-radius);
    padding: 18px 20px 20px;
    text-decoration: none;
    color: var(--nvc-text);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.nvc-card:hover {
    transform: translateY(-2px);
    border-color: var(--nvc-orange);
    box-shadow: 0 6px 22px rgba(229, 90, 31, .08);
}
.nvc-card__tag {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--nvc-orange);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}
.nvc-card__title {
    font-size: 17px;
    margin: 0 0 10px;
    line-height: 1.3;
    color: #1a1a1a;
}
.nvc-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--nvc-muted);
}
.nvc-card__meta li { margin-bottom: 2px; }
.nvc-card__salary {
    margin-top: auto;
    display: inline-block;
    background: var(--nvc-orange);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    align-self: flex-start;
}

.nvc-pagination {
    margin-top: 24px;
    text-align: center;
}
.nvc-pagination a,
.nvc-pagination span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid var(--nvc-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--nvc-text);
}
.nvc-pagination .current {
    background: var(--nvc-orange);
    color: #fff;
    border-color: var(--nvc-orange);
}

.nvc-empty {
    text-align: center;
    color: var(--nvc-muted);
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 720px) {
    .nvc-job__benefits { grid-template-columns: repeat(3, 1fr); }
    .nvc-job__duties,
    .nvc-job__contacts { grid-template-columns: 1fr; }
    .nvc-job__bdar { max-width: 100%; }
    .nvc-job__header,
    .nvc-job__section,
    .nvc-job__salary,
    .nvc-job__foot { padding-left: 20px; padding-right: 20px; }
    .nvc-job__title { font-size: 22px; }
    .nvc-job__salary-amount {
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.4);
        padding-bottom: 10px;
        width: 100%;
    }
}