/* =======================================================
   Workline – Álláskeresés lista oldal v3
   Prefix: .jrl-
   Header max-width: 1380px (aligned)
   ======================================================= */

:root {
    --jrl-primary:      var(--color-primary, #A20049);
    --jrl-primary-d:    var(--color-primary-d, #7a0037);
    --jrl-primary-l:    #fde8ee;
    --jrl-primary-ll:   #fff5f7;
    --jrl-bg:           #F7F8FB;
    --jrl-card-bg:      #ffffff;
    --jrl-border:       #e8ebf0;
    --jrl-text:         #0f172a;
    --jrl-text2:        #374151;
    --jrl-muted:        #6b7280;
    --jrl-salary-c:     #15803d;
    --jrl-salary-bg:    #dcfce7;
    --jrl-salary-brd:   #bbf7d0;
    --jrl-feat-brd:     #f59e0b;
    --jrl-radius:       16px;
    --jrl-radius-sm:    10px;
    --jrl-shadow:       0 6px 18px rgba(15,23,42,.05);
    --jrl-shadow-h:     0 14px 32px rgba(15,23,42,.09);
    --jrl-t:            .2s ease;
    --jrl-max:          1380px;
    --jrl-pad:          20px;
    --jrl-filter-w:     280px;
    --jrl-sidebar-w:    280px;
    --jrl-gap:          24px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ── Alap ── */
body.jrl-page { background: var(--jrl-bg); font-size: 14px; }

/* ── Egységes konténer (igazodik a headerhez) ── */
.jrl-wrap,
.jrl-hero-inner,
.jrl-stats-inner,
.jrl-container {
    max-width: var(--jrl-max);
    width: calc(100% - 40px);
    margin: 0 auto;
}

/* =======================================================
   HERO
   ======================================================= */
.jrl-hero {
    background: linear-gradient(150deg, #fff6f8 0%, #fde8ee 28%, #f3eeff 60%, #edf2ff 100%);
    border-bottom: 1px solid rgba(162,0,73,.08);
    position: relative;
    overflow: hidden;
    min-height: 340px;
}
.jrl-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(162,0,73,.055) 0%, transparent 62%);
    top: -220px; right: 60px;
    pointer-events: none; z-index: 0;
}
.jrl-hero-inner {
    display: grid;
    grid-template-columns: 1fr min(420px, 36%);
    gap: 0;
    align-items: stretch;
    min-height: 340px;
    position: relative;
    z-index: 1;
}
.jrl-hero-content {
    padding: 48px 48px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.jrl-hero-text { margin-bottom: 10px; }
.jrl-hero-h1 {
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 800;
    color: var(--jrl-text);
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -.5px;
}
.jrl-hero-h1 em { color: var(--jrl-primary); font-style: normal; }
.jrl-hero-sub {
    color: var(--jrl-muted);
    font-size: clamp(14px, 1.8vw, 16px);
    margin: 0 0 12px;
    line-height: 1.6;
    max-width: 480px;
}
/* Inline hős statisztika */
.jrl-hero-counts {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--jrl-text2);
}
.jrl-hero-count-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--jrl-primary);
    flex-shrink: 0;
}
.jrl-hero-count-sep {
    color: var(--jrl-border);
    font-weight: 300;
    font-size: 16px;
    line-height: 1;
}
.jrl-hero-count-item strong { color: var(--jrl-text); font-weight: 700; }

/* Hero keresősáv */
.jrl-hero-search {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid rgba(162,0,73,.12);
    box-shadow: 0 8px 28px rgba(162,0,73,.1), 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    align-items: stretch;
    max-width: 780px;
    overflow: visible;
    position: relative;
    min-height: 64px;
}
.jrl-hs-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    position: relative;
    min-width: 0;
}
.jrl-hs-field + .jrl-hs-field { border-left: 1.5px solid var(--jrl-border); }
.jrl-hs-icon { width: 17px; height: 17px; color: rgba(162,0,73,.4); flex-shrink: 0; }
.jrl-hs-field input {
    flex: 1; border: none; outline: none;
    font-size: 15px; padding: 14px 0;
    background: transparent; color: var(--jrl-text);
    font-family: inherit; min-width: 0; font-weight: 500;
}
.jrl-hs-field input::placeholder { color: #a0a9b4; font-weight: 400; }
.jrl-hs-btn {
    background: var(--jrl-primary); color: #fff; border: none;
    border-radius: 12px; margin: 8px; padding: 12px 28px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    white-space: nowrap; display: flex; align-items: center;
    gap: 7px; font-family: inherit; flex-shrink: 0; min-height: 48px;
    transition: background var(--jrl-t), transform var(--jrl-t), box-shadow var(--jrl-t);
    box-shadow: 0 4px 12px rgba(162,0,73,.3);
}
.jrl-hs-btn:hover { background: var(--jrl-primary-d); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(162,0,73,.35); }
.jrl-hs-btn svg { width: 15px; height: 15px; }

/* Népszerű chipek */
.jrl-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.jrl-popular-lbl { font-size: 12px; color: var(--jrl-muted); font-weight: 500; }
.jrl-popular-chip {
    display: inline-flex; align-items: center; padding: 5px 13px;
    border-radius: 999px; border: 1.5px solid rgba(162,0,73,.14);
    background: rgba(255,255,255,.8); font-size: 12px; font-weight: 600;
    color: var(--jrl-text2); text-decoration: none;
    transition: all var(--jrl-t); backdrop-filter: blur(4px);
}
.jrl-popular-chip:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); background: var(--jrl-primary-l); text-decoration: none; }

/* Hero kép oszlop */
.jrl-hero-image-col {
    position: relative; display: flex;
    align-items: flex-end; justify-content: center; overflow: hidden;
}
.jrl-hero-img-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    
    z-index: 2; pointer-events: none;
}

/* =======================================================
   STAT STRIP
   ======================================================= */
.jrl-stat-strip {
    background: #fff;
    border-bottom: 1px solid var(--jrl-border);
    padding: 0;
}
.jrl-stats-inner {
    display: flex;
    align-items: stretch;
    padding: 0;
}
.jrl-stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-right: 1px solid var(--jrl-border);
    min-height: 88px;
    transition: background var(--jrl-t);
}
.jrl-stat-item:last-child { border-right: none; }
.jrl-stat-item:hover { background: #fafbfc; }
.jrl-stat-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--jrl-primary-l);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--jrl-primary);
}
.jrl-stat-icon svg { width: 20px; height: 20px; }
.jrl-stat-num { font-size: 24px; font-weight: 800; color: var(--jrl-text); line-height: 1; display: block; }
.jrl-stat-lbl { font-size: 12px; color: var(--jrl-muted); display: block; margin-top: 3px; }

/* =======================================================
   FŐ ELRENDEZÉS
   ======================================================= */
.jrl-page-wrap { padding: 36px 0 60px; }
.jrl-layout {
    display: grid;
    grid-template-columns: var(--jrl-filter-w) 1fr var(--jrl-sidebar-w);
    gap: var(--jrl-gap);
    align-items: start;
}

/* =======================================================
   BAL SZŰRŐPANEL
   ======================================================= */
.jrl-filter-panel {
    background: var(--jrl-card-bg);
    border: 1.5px solid var(--jrl-border);
    border-radius: var(--jrl-radius);
    padding: 20px;
    position: sticky;
    top: 80px;
    box-shadow: var(--jrl-shadow);
}
.jrl-filter-head {
    font-size: 15px; font-weight: 700; color: var(--jrl-text);
    margin: 0 0 18px;
    display: flex; align-items: center; justify-content: space-between;
}
.jrl-filter-head-left { display: flex; align-items: center; gap: 7px; }
.jrl-filter-head-left svg { width: 15px; height: 15px; color: var(--jrl-primary); }
.jrl-filter-clearall {
    font-size: 12px; color: var(--jrl-muted); text-decoration: none;
    transition: color var(--jrl-t); font-weight: 500;
}
.jrl-filter-clearall:hover { color: var(--jrl-primary); text-decoration: none; }
.jrl-fg { margin-bottom: 18px; }
.jrl-fg:last-child { margin-bottom: 0; }
.jrl-flbl {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--jrl-text2); margin-bottom: 7px;
}
.jrl-fg input[type="text"],
.jrl-fg select {
    width: 100%; padding: 10px 12px; min-height: 44px;
    border: 1.5px solid var(--jrl-border); border-radius: 10px;
    font-size: 14px; font-family: inherit; color: var(--jrl-text);
    background: #f9fafb; appearance: none; -webkit-appearance: none;
    transition: border-color var(--jrl-t), box-shadow var(--jrl-t);
    box-sizing: border-box;
}
.jrl-fg select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 13px;
    padding-right: 30px; background-color: #f9fafb;
}
.jrl-fg input[type="text"]:focus,
.jrl-fg select:focus {
    outline: none; border-color: var(--jrl-primary);
    box-shadow: 0 0 0 3px rgba(162,0,73,.08); background: #fff;
}
.jrl-fcheck {
    display: flex; align-items: center; gap: 9px;
    font-size: 14px; color: var(--jrl-text2); cursor: pointer;
    padding: 4px 0; line-height: 1.4;
}
.jrl-fcheck input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--jrl-primary);
    cursor: pointer; flex-shrink: 0; border-radius: 4px;
}
.jrl-fdiv { border: none; border-top: 1px solid var(--jrl-border); margin: 16px 0; }
.jrl-fbtn {
    width: 100%; padding: 14px;
    background: var(--jrl-primary); color: #fff; border: none;
    border-radius: 12px; font-size: 14px; font-weight: 700;
    cursor: pointer; font-family: inherit; min-height: 50px;
    transition: background var(--jrl-t), transform var(--jrl-t);
    box-shadow: 0 4px 12px rgba(162,0,73,.25);
}
.jrl-fbtn:hover { background: var(--jrl-primary-d); transform: translateY(-1px); }
.jrl-fclear {
    display: block; text-align: center; padding: 9px;
    font-size: 13px; color: var(--jrl-muted); text-decoration: none;
    transition: all var(--jrl-t); margin-top: 8px; border-radius: 10px;
}
.jrl-fclear:hover { color: var(--jrl-primary); background: var(--jrl-primary-l); text-decoration: none; }

/* Accordion */
.jrl-acc-hdr {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; padding: 10px 0; font-size: 13px; font-weight: 600;
    color: var(--jrl-text2); border-top: 1px solid var(--jrl-border); user-select: none;
}
.jrl-acc-hdr svg { width: 14px; height: 14px; transition: transform var(--jrl-t); flex-shrink: 0; }
.jrl-acc-group.is-open .jrl-acc-hdr svg { transform: rotate(180deg); }
.jrl-acc-body { display: none; padding-top: 8px; }
.jrl-acc-group.is-open .jrl-acc-body { display: block; }

/* Távolság widget */
.jrl-dist-widget {
    background: var(--jrl-primary-ll); border: 1px solid rgba(162,0,73,.1);
    border-radius: 12px; padding: 13px; margin-bottom: 16px;
}
.jrl-dist-title {
    font-size: 12px; font-weight: 700; color: var(--jrl-primary);
    margin: 0 0 5px; display: flex; align-items: center; gap: 5px;
}
.jrl-dist-title svg { width: 13px; height: 13px; }
.jrl-dist-sub { font-size: 12px; color: var(--jrl-muted); margin: 0 0 9px; line-height: 1.5; }
.jrl-dist-row { display: flex; gap: 7px; position: relative; }
.jrl-dist-input {
    flex: 1; min-width: 0; padding: 8px 10px; min-height: 40px;
    border: 1.5px solid rgba(162,0,73,.2); border-radius: 9px;
    font-size: 13px; font-family: inherit; background: #fff;
    outline: none; transition: border-color var(--jrl-t); box-sizing: border-box;
}
.jrl-dist-input:focus { border-color: var(--jrl-primary); }
.jrl-dist-btn {
    padding: 8px 14px; min-height: 40px;
    background: var(--jrl-primary); color: #fff; border: none;
    border-radius: 9px; font-size: 12px; font-weight: 700;
    cursor: pointer; white-space: nowrap; font-family: inherit;
    transition: background var(--jrl-t); flex-shrink: 0;
}
.jrl-dist-btn:hover { background: var(--jrl-primary-d); }
.jrl-dist-result {
    display: none; align-items: center; gap: 6px; margin-bottom: 7px;
    padding: 7px 10px; background: #fff; border-radius: 8px;
    border: 1px solid rgba(162,0,73,.12); font-size: 12px;
}
.jrl-dist-result svg { width: 12px; height: 12px; color: var(--jrl-primary); flex-shrink: 0; }
.jrl-dist-city { font-weight: 600; color: var(--jrl-primary); flex: 1; }
.jrl-dist-clear { font-size: 11px; color: var(--jrl-muted); cursor: pointer; background: none; border: none; text-decoration: underline; padding: 0; }
.jrl-dist-status { font-size: 11px; color: var(--jrl-muted); min-height: 14px; margin-top: 4px; }
.jrl-dist-ac {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border: 1.5px solid var(--jrl-border); border-top: none;
    border-radius: 0 0 9px 9px; box-shadow: 0 6px 16px rgba(0,0,0,.1);
    z-index: 1000; max-height: 200px; overflow-y: auto;
}

/* =======================================================
   KÖZÉPSŐ TARTALOM
   ======================================================= */
.jrl-content { min-width: 0; }

/* Aktív szűrő chipek */
.jrl-active-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; align-items: center; }
.jrl-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
    border-radius: 999px; background: var(--jrl-primary-l);
    border: 1.5px solid rgba(162,0,73,.2); color: var(--jrl-primary);
    font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: none;
}
.jrl-chip-rm {
    cursor: pointer; opacity: .7; display: inline-flex;
    align-items: center; justify-content: center;
    background: none; border: none; padding: 0 0 0 2px; color: inherit;
    width: 14px; height: 14px; transition: opacity var(--jrl-t);
}
.jrl-chip-rm:hover { opacity: 1; }
.jrl-chip-rm svg { width: 12px; height: 12px; }
.jrl-chip-clearall {
    display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px;
    border-radius: 999px; background: transparent; border: 1.5px solid var(--jrl-border);
    color: var(--jrl-muted); font-size: 12px; font-weight: 600;
    text-decoration: none; transition: all var(--jrl-t); cursor: pointer;
}
.jrl-chip-clearall:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); background: var(--jrl-primary-l); text-decoration: none; }

/* Toolbar */
.jrl-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 18px; flex-wrap: wrap;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--jrl-border);
}
.jrl-count { font-size: 15px; color: var(--jrl-muted); line-height: 1.4; }
.jrl-count strong { color: var(--jrl-text); font-weight: 700; font-size: 17px; display: block; }
.jrl-count-sub { font-size: 13px; margin-top: 1px; }
.jrl-toolbar-r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.jrl-sort-sel {
    padding: 9px 30px 9px 12px; min-height: 40px;
    border: 1.5px solid var(--jrl-border); border-radius: 10px;
    font-size: 13px; font-family: inherit; color: var(--jrl-text);
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center / 13px;
    appearance: none; -webkit-appearance: none; cursor: pointer;
    transition: border-color var(--jrl-t);
}
.jrl-sort-sel:focus { outline: none; border-color: var(--jrl-primary); }
.jrl-alert-chip {
    display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; min-height: 40px;
    border-radius: 10px; border: 1.5px solid var(--jrl-border);
    background: #fff; color: var(--jrl-text2); font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all var(--jrl-t); white-space: nowrap;
}
.jrl-alert-chip:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); background: var(--jrl-primary-l); text-decoration: none; }
.jrl-alert-chip svg { width: 14px; height: 14px; }

/* =======================================================
   ÁLLÁS KÁRTYÁK
   ======================================================= */
.jrl-job-list { display: flex; flex-direction: column; gap: 14px; }

.jrl-card-wrap { position: relative; }

.jrl-card {
    display: block;
    background: var(--jrl-card-bg);
    border: 1.5px solid var(--jrl-border);
    border-radius: var(--jrl-radius);
    padding: 22px;
    text-decoration: none; color: inherit;
    transition: border-color var(--jrl-t), box-shadow var(--jrl-t), transform var(--jrl-t);
    overflow: hidden; position: relative;
    min-height: 140px;
    box-shadow: var(--jrl-shadow);
}
.jrl-card:hover {
    border-color: var(--jrl-primary);
    box-shadow: var(--jrl-shadow-h);
    transform: translateY(-2px);
    text-decoration: none; color: inherit;
}
.jrl-card:focus-visible { outline: 2px solid var(--jrl-primary); outline-offset: 2px; }

/* Kiemelt kártya */
.jrl-card--featured {
    border-color: var(--jrl-feat-brd) !important;
    background: linear-gradient(160deg, #fffdf6 0%, #fffbeb 100%);
    box-shadow: 0 6px 18px rgba(245,158,11,.08);
}
.jrl-card--featured:hover {
    border-color: #f59e0b !important;
    box-shadow: 0 14px 32px rgba(245,158,11,.14);
}
.jrl-card-featured-label {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: #92400e;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; line-height: 1.6;
}
.jrl-card-featured-label svg { width: 10px; height: 10px; }

/* Kártya body: logo (bal) + info (jobb) */
.jrl-card-body { display: flex; gap: 18px; align-items: flex-start; }

/* Logo */
.jrl-logo {
    width: 68px; height: 68px; border-radius: 14px;
    border: 1.5px solid var(--jrl-border); background: #fff;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.jrl-logo img {
    width: 100%; height: 100%; object-fit: contain; padding: 8px;
    box-sizing: border-box; display: block;
}
.jrl-logo-mono {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800; color: #fff; font-family: inherit;
    letter-spacing: -.5px; border-radius: 12px;
}

/* Info block */
.jrl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }

.jrl-top-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 10px; margin-bottom: 4px;
}
.jrl-title {
    font-size: 18px; font-weight: 750; color: var(--jrl-text);
    line-height: 1.3; margin: 0; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    transition: color var(--jrl-t);
}
.jrl-card:hover .jrl-title { color: var(--jrl-primary); }
.jrl-time {
    font-size: 12px; color: var(--jrl-muted);
    white-space: nowrap; flex-shrink: 0; padding-top: 4px; line-height: 1.4;
}
.jrl-company {
    font-size: 14px; color: var(--jrl-primary); font-weight: 600;
    margin: 2px 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jrl-metas {
    display: flex; flex-wrap: wrap; gap: 5px 16px;
    align-items: center; margin-bottom: 10px;
}
.jrl-meta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--jrl-muted); }
.jrl-meta svg { width: 13px; height: 13px; flex-shrink: 0; }
.jrl-km { display: none; font-size: 12px; font-weight: 600; color: var(--jrl-primary); background: var(--jrl-primary-l); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* ── Kártya footer: badge-ek bal, CTA jobb ── */
.jrl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.jrl-badges {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex: 1; min-width: 0;
}
.jrl-badge {
    display: inline-flex; align-items: center; gap: 3px; padding: 4px 10px;
    border-radius: 999px; font-size: 12px; font-weight: 600;
    white-space: nowrap; line-height: 1.5;
}
.jrl-badge svg { width: 11px; height: 11px; flex-shrink: 0; }
.jrl-badge-cat    { background: #f0e8ff; color: #6b21a8; }
.jrl-badge-type   { background: #f1f5f9; color: #475569; }
.jrl-badge-home   { background: #dbeafe; color: #1e40af; }
.jrl-badge-salary {
    background: var(--jrl-salary-bg); color: var(--jrl-salary-c);
    border: 1px solid var(--jrl-salary-brd); font-size: 12px; font-weight: 700;
}
.jrl-badge-fresh  { background: #fce7f3; color: #9d174d; }

/* "Jelentkezem" gomb – jobb alsó sarokban */
.jrl-btn-apply {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0 22px; height: 44px; min-width: 128px;
    justify-content: center;
    background: var(--jrl-primary); color: #fff;
    border-radius: 10px; font-size: 14px; font-weight: 700;
    white-space: nowrap; flex-shrink: 0;
    transition: background var(--jrl-t), transform var(--jrl-t), box-shadow var(--jrl-t);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(162,0,73,.2);
}
.jrl-btn-apply svg { width: 14px; height: 14px; }
.jrl-card:hover .jrl-btn-apply { background: var(--jrl-primary-d); box-shadow: 0 6px 16px rgba(162,0,73,.3); }

/* Mentés gomb */
.jrl-save-btn {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--jrl-border); background: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    padding: 0; box-shadow: 0 1px 6px rgba(0,0,0,.07);
    transition: all var(--jrl-t);
}
.jrl-save-btn:hover { border-color: #f87171; background: #fef2f2; transform: scale(1.1); }
.jrl-save-btn.saved { border-color: #f87171; background: #fef2f2; }
.jrl-save-btn svg { width: 17px; height: 17px; }

/* Régi .jrl-cta elrejtése (már nem szükséges) */
.jrl-cta { display: none !important; }

/* =======================================================
   LAPOZÓ
   ======================================================= */
.jrl-content .pagination { margin-top: 36px; }
.jrl-content .pagination a,
.jrl-content .pagination span {
    min-width: 42px; height: 42px; border-radius: 11px;
    background: #fff; border: 1.5px solid var(--jrl-border); font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.jrl-content .pagination a:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); background: var(--jrl-primary-l); }
.jrl-content .pagination .active { background: var(--jrl-primary); border-color: var(--jrl-primary); color: #fff; box-shadow: 0 4px 12px rgba(162,0,73,.25); }
.jrl-content .pagination .dots { border-color: transparent; background: transparent; box-shadow: none; }

/* =======================================================
   JOBB OLDALSÁV
   ======================================================= */
.jrl-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }
.jrl-side-card {
    background: var(--jrl-card-bg);
    border: 1.5px solid var(--jrl-border);
    border-radius: 18px; padding: 18px;
    box-shadow: var(--jrl-shadow);
}
.jrl-side-title {
    font-size: 14px; font-weight: 700; color: var(--jrl-text);
    margin: 0 0 14px; display: flex; align-items: center; gap: 6px;
}
.jrl-side-title svg { width: 15px; height: 15px; color: var(--jrl-primary); }

/* Értesítő – halvány gradient */
.jrl-alert-card {
    background: linear-gradient(150deg, #fff5f7 0%, var(--jrl-primary-l) 55%, #f5edff 100%);
    border-color: rgba(162,0,73,.12);
}
.jrl-alert-card .jrl-side-title { color: var(--jrl-primary); }
.jrl-alert-desc { font-size: 13px; color: var(--jrl-muted); margin: 0 0 14px; line-height: 1.6; }
.jrl-alert-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 11px; background: var(--jrl-primary); color: #fff; border: none;
    border-radius: 11px; font-size: 13px; font-weight: 700; cursor: pointer;
    text-decoration: none; font-family: inherit;
    transition: background var(--jrl-t), transform var(--jrl-t);
    box-shadow: 0 4px 12px rgba(162,0,73,.2);
}
.jrl-alert-btn:hover { background: var(--jrl-primary-d); text-decoration: none; color: #fff; transform: translateY(-1px); }
.jrl-alert-btn svg { width: 14px; height: 14px; }

/* Cégek lista */
.jrl-co-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 0;
    border-bottom: 1px solid var(--jrl-border); text-decoration: none;
    color: inherit; transition: color var(--jrl-t);
}
.jrl-co-item:last-child { border-bottom: none; padding-bottom: 0; }
.jrl-co-item:hover { text-decoration: none; }
.jrl-co-logo {
    width: 36px; height: 36px; border-radius: 9px;
    border: 1px solid var(--jrl-border); background: #fff;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.jrl-co-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; display: block; }
.jrl-co-mono {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #fff; border-radius: 8px;
}
.jrl-co-name {
    font-size: 13px; font-weight: 600; color: var(--jrl-text); flex: 1;
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: color var(--jrl-t);
}
.jrl-co-item:hover .jrl-co-name { color: var(--jrl-primary); }
.jrl-co-cnt { font-size: 12px; color: var(--jrl-muted); flex-shrink: 0; font-weight: 600; white-space: nowrap; }

/* Munkáltatói CTA */
.jrl-emp-card {
    background: linear-gradient(145deg, #1e293b 0%, #2d3f55 100%);
    border-color: transparent;
}
.jrl-emp-card .jrl-side-title { color: #f1f5f9; }
.jrl-emp-desc { font-size: 13px; color: #94a3b8; margin: 0 0 12px; line-height: 1.6; }
.jrl-emp-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 11px; background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,.25); border-radius: 11px;
    font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none;
    font-family: inherit; transition: all var(--jrl-t);
}
.jrl-emp-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); text-decoration: none; color: #fff; }

/* =======================================================
   ÜRES ÁLLAPOT
   ======================================================= */
.jrl-empty {
    text-align: center; padding: 60px 28px;
    background: var(--jrl-card-bg); border: 1.5px solid var(--jrl-border);
    border-radius: var(--jrl-radius); box-shadow: var(--jrl-shadow);
}
.jrl-empty-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--jrl-primary-l); display: flex;
    align-items: center; justify-content: center; margin: 0 auto 18px;
    color: var(--jrl-primary);
}
.jrl-empty-icon svg { width: 26px; height: 26px; }
.jrl-empty-title { font-size: 18px; font-weight: 700; color: var(--jrl-text); margin: 0 0 8px; }
.jrl-empty-sub { font-size: 14px; color: var(--jrl-muted); margin: 0 0 24px; line-height: 1.6; max-width: 360px; margin-left: auto; margin-right: auto; }
.jrl-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jrl-ebtn { display: inline-flex; align-items: center; gap: 5px; padding: 11px 20px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; font-family: inherit; transition: all var(--jrl-t); }
.jrl-ebtn-p { background: var(--jrl-primary); color: #fff; box-shadow: 0 4px 12px rgba(162,0,73,.2); }
.jrl-ebtn-p:hover { background: var(--jrl-primary-d); color: #fff; text-decoration: none; }
.jrl-ebtn-o { background: #fff; color: var(--jrl-text2); border: 1.5px solid var(--jrl-border); }
.jrl-ebtn-o:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); text-decoration: none; }

/* =======================================================
   MOBIL SZŰRŐ DRAWER
   ======================================================= */
.jrl-mob-filter-btn {
    display: none; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; background: var(--jrl-card-bg);
    border: 1.5px solid var(--jrl-border); border-radius: 12px;
    font-size: 14px; font-weight: 600; color: var(--jrl-text);
    cursor: pointer; font-family: inherit; box-shadow: var(--jrl-shadow);
    width: 100%; margin-bottom: 16px; transition: all var(--jrl-t);
}
.jrl-mob-filter-btn:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); }
.jrl-mob-filter-btn svg { width: 17px; height: 17px; }
.jrl-drawer-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 1100; backdrop-filter: blur(2px);
}
.jrl-drawer-overlay.open { display: block; }
.jrl-drawer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1101;
    background: #fff; border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 48px rgba(0,0,0,.15);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.85,.4,1);
    max-height: 88vh; display: flex; flex-direction: column;
}
.jrl-drawer.open { transform: translateY(0); }
.jrl-drawer-handle { width: 36px; height: 4px; background: #e5e7eb; border-radius: 2px; margin: 12px auto 0; flex-shrink: 0; }
.jrl-drawer-hdr { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 12px; border-bottom: 1px solid var(--jrl-border); flex-shrink: 0; }
.jrl-drawer-title { font-size: 16px; font-weight: 700; color: var(--jrl-text); margin: 0; }
.jrl-drawer-close { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--jrl-border); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--jrl-muted); transition: all var(--jrl-t); }
.jrl-drawer-close:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); }
.jrl-drawer-close svg { width: 15px; height: 15px; }
.jrl-drawer-body { overflow-y: auto; padding: 16px 20px; flex: 1; -webkit-overflow-scrolling: touch; }
.jrl-drawer-footer { padding: 12px 20px; border-top: 1px solid var(--jrl-border); flex-shrink: 0; display: flex; gap: 8px; }
.jrl-drawer-submit { flex: 1; padding: 13px; background: var(--jrl-primary); color: #fff; border: none; border-radius: 11px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background var(--jrl-t); }
.jrl-drawer-submit:hover { background: var(--jrl-primary-d); }
.jrl-drawer-reset { padding: 13px 16px; background: #fff; color: var(--jrl-muted); border: 1.5px solid var(--jrl-border); border-radius: 11px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; display: flex; align-items: center; justify-content: center; transition: all var(--jrl-t); }
.jrl-drawer-reset:hover { border-color: var(--jrl-primary); color: var(--jrl-primary); text-decoration: none; }

/* =======================================================
   RESZPONZÍV
   ======================================================= */

/* Nagy (1600px+): centrált */
@media (min-width: 1600px) {
    :root { --jrl-max: 1380px; }
}

/* Laptop/nagy tablet (1200-1399px): jobb sidebar elrejtése */
@media (max-width: 1399px) {
    .jrl-layout { grid-template-columns: var(--jrl-filter-w) 1fr; }
    .jrl-sidebar { display: none; }
}

/* Tablet (900-1199px): kisebb szűrő */
@media (max-width: 1199px) {
    :root { --jrl-filter-w: 240px; }
    .jrl-hero-inner { grid-template-columns: 1fr min(340px, 32%); }
    .jrl-hero-h1 { font-size: 38px; }
}

/* Kis tablet (860-899px) */
@media (max-width: 900px) {
    .jrl-layout { grid-template-columns: 1fr; }
    .jrl-filter-panel { display: none !important; }
    .jrl-mob-filter-btn { display: flex; }
    .jrl-hero-image-col { display: none; }
    .jrl-hero-inner { grid-template-columns: 1fr; }
}

/* Mobil (<768px) */
@media (max-width: 768px) {
    .jrl-hero { min-height: 260px; }
    .jrl-hero-content { padding: 28px 0 24px; }
    .jrl-hero-h1 { font-size: 26px; }
    .jrl-hero-search { flex-direction: column; border-radius: 14px; min-height: auto; }
    .jrl-hs-field + .jrl-hs-field { border-left: none; border-top: 1px solid var(--jrl-border); }
    .jrl-hs-btn { width: calc(100% - 16px); justify-content: center; margin: 8px; border-radius: 10px; min-height: 48px; }
    .jrl-stat-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .jrl-stat-strip::-webkit-scrollbar { display: none; }
    .jrl-stats-inner { min-width: max-content; padding: 0 16px; width: auto; }
    .jrl-stat-item { padding: 14px 18px; min-height: 72px; }
    .jrl-stat-num { font-size: 20px; }
    .jrl-stat-icon { width: 38px; height: 38px; }
    .jrl-stat-icon svg { width: 16px; height: 16px; }
    .jrl-container { width: calc(100% - 32px); }
    .jrl-card { padding: 16px; min-height: auto; }
    .jrl-card-body { gap: 12px; }
    .jrl-logo { width: 54px; height: 54px; border-radius: 10px; }
    .jrl-title { font-size: 16px; }
    .jrl-btn-apply { min-width: 110px; height: 40px; font-size: 13px; padding: 0 16px; }
    .jrl-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 14px; }
    .jrl-toolbar-r { width: 100%; justify-content: space-between; }
    .jrl-sort-sel, .jrl-alert-chip { min-height: 44px; }
    .jrl-page-wrap { padding: 16px 0 40px; }
    .jrl-popular { display: none; }
    .jrl-hero-counts { font-size: 12px; }
    .jrl-save-btn { width: 36px; height: 36px; top: 12px; right: 12px; }
}

/* 2-col stats on small mobile */
@media (max-width: 520px) {
    .jrl-stat-strip { overflow-x: visible; }
    .jrl-stats-inner { min-width: unset; width: calc(100% - 32px); display: grid; grid-template-columns: 1fr 1fr; }
    .jrl-stat-item { border-right: none; border-bottom: 1px solid var(--jrl-border); }
    .jrl-stat-item:nth-child(odd) { border-right: 1px solid var(--jrl-border); }
    .jrl-stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* =======================================================
   SÖTÉT MÓD
   ======================================================= */
html.dark body.jrl-page { background: #0f172a; }
html.dark .jrl-hero { background: linear-gradient(150deg, #1a1025 0%, #2d1535 25%, #1a1b3a 60%, #111827 100%); }
html.dark .jrl-hero-h1 { color: #f1f5f9; }
html.dark .jrl-hero-search { background: #1e293b; border-color: rgba(162,0,73,.3); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
html.dark .jrl-hs-field + .jrl-hs-field { border-left-color: #334155; }
html.dark .jrl-hs-field input { color: #f1f5f9; }
html.dark .jrl-popular-chip { background: #1e293b; border-color: rgba(162,0,73,.3); color: #e2e8f0; }
html.dark .jrl-popular-chip:hover { background: rgba(162,0,73,.2); }
html.dark .jrl-stat-strip { background: #1e293b; border-bottom-color: #334155; }
html.dark .jrl-stat-item { border-right-color: #334155; }
html.dark .jrl-stat-item:hover { background: #263348; }
html.dark .jrl-stat-icon { background: rgba(162,0,73,.2); }
html.dark .jrl-stat-num { color: #f1f5f9; }
html.dark .jrl-filter-panel { background: #1e293b; border-color: #334155; }
html.dark .jrl-filter-head { color: #f1f5f9; }
html.dark .jrl-flbl { color: #94a3b8; }
html.dark .jrl-fg input[type="text"],
html.dark .jrl-fg select { background: #0f172a; border-color: #334155; color: #e2e8f0; }
html.dark .jrl-fg select { background-color: #0f172a; }
html.dark .jrl-acc-hdr { border-top-color: #334155; color: #94a3b8; }
html.dark .jrl-fdiv { border-top-color: #334155; }
html.dark .jrl-dist-widget { background: rgba(162,0,73,.1); }
html.dark .jrl-dist-input { background: #1e293b; border-color: rgba(162,0,73,.3); color: #f1f5f9; }
html.dark .jrl-sort-sel { background-color: #1e293b; border-color: #334155; color: #e2e8f0; }
html.dark .jrl-alert-chip { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html.dark .jrl-card { background: #1e293b; border-color: #334155; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
html.dark .jrl-card:hover { border-color: var(--jrl-primary); box-shadow: 0 14px 32px rgba(0,0,0,.4); }
html.dark .jrl-card--featured { background: linear-gradient(160deg, #2d1f06 0%, #3d2a0a 100%); border-color: #f59e0b !important; }
html.dark .jrl-title { color: #f1f5f9; }
html.dark .jrl-card:hover .jrl-title { color: var(--jrl-primary); }
html.dark .jrl-company { color: #f472b6; }
html.dark .jrl-badge-type { background: #334155; color: #94a3b8; }
html.dark .jrl-logo { background: #0f172a; border-color: #334155; }
html.dark .jrl-save-btn { background: #1e293b; border-color: #334155; }
html.dark .jrl-count { color: #94a3b8; }
html.dark .jrl-count strong { color: #f1f5f9; }
html.dark .jrl-toolbar { border-bottom-color: #334155; }
html.dark .jrl-content .pagination a,
html.dark .jrl-content .pagination span { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html.dark .jrl-content .pagination a:hover { background: rgba(162,0,73,.2); }
html.dark .jrl-side-card { background: #1e293b; border-color: #334155; }
html.dark .jrl-side-title { color: #f1f5f9; }
html.dark .jrl-co-name { color: #f1f5f9; }
html.dark .jrl-co-logo { background: #0f172a; border-color: #334155; }
html.dark .jrl-co-item { border-bottom-color: #334155; }
html.dark .jrl-alert-card { background: linear-gradient(150deg, rgba(162,0,73,.18) 0%, rgba(88,28,135,.12) 100%); }
html.dark .jrl-empty { background: #1e293b; border-color: #334155; }
html.dark .jrl-empty-title { color: #f1f5f9; }
html.dark .jrl-ebtn-o { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html.dark .jrl-mob-filter-btn { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html.dark .jrl-drawer { background: #1e293b; }
html.dark .jrl-drawer-hdr,
html.dark .jrl-drawer-footer { border-color: #334155; }
html.dark .jrl-drawer-title { color: #f1f5f9; }
html.dark .jrl-drawer-close,
html.dark .jrl-drawer-reset { background: #1e293b; border-color: #334155; color: #94a3b8; }
html.dark .jrl-drawer-handle { background: #475569; }
html.dark .jrl-chip { background: rgba(162,0,73,.2); }
html.dark .jrl-hero-img-fade {  }
html.dark .jrl-hero-count-sep { color: #334155; }
html.dark .jrl-hero-counts { color: #94a3b8; }
html.dark .jrl-hero-counts strong { color: #f1f5f9; }
