:root {
  --fj-navy: #0b1220;
  --fj-navy-soft: #111827;
  --fj-panel: #151f2e;
  --fj-panel-hover: #1a2738;
  --fj-border: rgba(72, 201, 176, 0.18);
  --fj-teal: #48c9b0;
  --fj-teal-dark: #2ea892;
  --fj-teal-glow: rgba(72, 201, 176, 0.35);
  --fj-accent-coral: #ff6b57;
  --fj-accent-yellow: #f5c842;
  --fj-accent-pink: #ff86b4;
  --fj-main-pad-x: 1.75rem;
  --fj-white: #f8fafc;
  --fj-muted: #94a3b8;
  --fj-danger: #f87171;
  --fj-success: #34d399;
  --fj-radius: 18px;
  --fj-radius-sm: 12px;
  --fj-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --fj-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fj-body-bg: radial-gradient(1200px 600px at 10% -10%, rgba(72, 201, 176, 0.08), transparent 55%),
              radial-gradient(900px 500px at 100% 0%, rgba(59, 130, 246, 0.06), transparent 50%),
              var(--fj-navy);
  --fj-feed-bg: #05080f;
  --fj-surface-bg: rgba(11, 18, 32, 0.92);
  --fj-text: #f8fafc;
  --fj-on-primary: #042f2e;
  --fj-sidebar-bg: rgba(11, 18, 32, 0.92);
  --fj-aside-bg: rgba(11, 18, 32, 0.75);
  --fj-card-bg: linear-gradient(180deg, rgba(21, 31, 46, 0.95), rgba(17, 24, 39, 0.95));
  --fj-chip-fg: #b4f7ea;
  --fj-input-bg: rgba(0, 0, 0, 0.25);
  --fj-input-border: rgba(255, 255, 255, 0.1);
  --fj-surface-muted: rgba(255, 255, 255, 0.05);
  --fj-hover-bg: rgba(255, 255, 255, 0.04);
  --fj-footer-bg: #0a111d;
  --fj-splash-bg: #0b1220;
  --fj-kanban-col-bg: rgba(0, 0, 0, 0.2);
  --fj-kanban-item-border: rgba(255, 255, 255, 0.06);
  --fj-hero-overlay-text: #cbd5e1;
  --fj-badge-outline-bg: rgba(255, 255, 255, 0.12);
  --fj-badge-outline-text: #e2e8f0;
  --fj-chip-bg: rgba(72, 201, 176, 0.08);
  --fj-nav-hover-bg: rgba(72, 201, 176, 0.12);
  --fj-global-hover-bg: rgba(72, 201, 176, 0.14);
}

html[data-theme="light"],
body[data-theme="light"] {
  --fj-navy: #f4f8ff;
  --fj-navy-soft: #ffffff;
  --fj-panel: #ffffff;
  --fj-panel-hover: #eef3fb;
  --fj-border: rgba(20, 112, 139, 0.2);
  --fj-teal: #0f766e;
  --fj-teal-dark: #0b5e58;
  --fj-teal-glow: rgba(15, 118, 110, 0.25);
  --fj-white: #0f172a;
  --fj-muted: #475569;
  --fj-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  --fj-body-bg: radial-gradient(1200px 600px at 10% -10%, rgba(14, 165, 233, 0.12), transparent 55%),
              radial-gradient(900px 500px at 100% 0%, rgba(16, 185, 129, 0.1), transparent 50%),
              #f6fbff;
  --fj-feed-bg: #e8f1ff;
  --fj-surface-bg: rgba(255, 255, 255, 0.94);
  --fj-text: #0f172a;
  --fj-on-primary: #ffffff;
  --fj-sidebar-bg: rgba(255, 255, 255, 0.96);
  --fj-aside-bg: rgba(248, 250, 252, 0.96);
  --fj-card-bg: linear-gradient(180deg, #ffffff, #f8fafc);
  --fj-chip-fg: #0f766e;
  --fj-input-bg: #f1f5f9;
  --fj-input-border: rgba(15, 23, 42, 0.14);
  --fj-surface-muted: rgba(15, 23, 42, 0.05);
  --fj-hover-bg: rgba(15, 23, 42, 0.04);
  --fj-footer-bg: #e8eef6;
  --fj-splash-bg: #f1f5f9;
  --fj-kanban-col-bg: #eef3fb;
  --fj-kanban-item-border: rgba(15, 23, 42, 0.08);
  --fj-hero-overlay-text: #cbd5e1;
  --fj-badge-outline-bg: rgba(15, 118, 110, 0.1);
  --fj-badge-outline-text: #0f766e;
  --fj-chip-bg: rgba(15, 118, 110, 0.08);
  --fj-nav-hover-bg: rgba(15, 118, 110, 0.1);
  --fj-global-hover-bg: rgba(15, 118, 110, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html, body.fj-body {
  max-width: 100%;
  overflow-x: clip;
}

body.fj-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fj-font);
  font-size: 17px;
  background: var(--fj-body-bg);
  color: var(--fj-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.fj-global-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--fj-surface-bg);
  border-bottom: 1px solid var(--fj-border);
}

.fj-global-row {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
}

.fj-global-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.fj-global-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  color: var(--fj-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.fj-global-nav a:hover {
  background: var(--fj-global-hover-bg);
  color: var(--fj-teal);
}

.fj-global-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fj-tools-row {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.25rem 0.8rem;
}

.fj-tools-label {
  color: var(--fj-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fj-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 201, 176, 0.24);
  background: var(--fj-chip-bg);
  color: var(--fj-chip-fg);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.fj-chip:hover { border-color: var(--fj-teal); color: var(--fj-teal); }

.fj-theme-toggle {
  min-width: 92px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.fj-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  min-height: 100vh;
}

.fj-shell--single {
  grid-template-columns: 260px minmax(0, 1fr);
}

.fj-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--fj-border);
  background: var(--fj-sidebar-bg);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fj-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.fj-logo-mark {
  display: block;
  width: auto;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

.fj-logo-text {
  display: flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.fj-logo-text span:first-child { color: var(--fj-text); }
.fj-logo-text span:last-child { color: var(--fj-teal); }

.fj-auth-visual .fj-logo-mark { height: 64px; }
.fj-auth-visual .fj-logo-text { font-size: 1.85rem; }

.fj-nav { display: flex; flex-direction: column; gap: 0.35rem; }

.fj-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--fj-radius-sm);
  color: var(--fj-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.fj-nav a:hover,
.fj-nav a.is-active {
  background: var(--fj-nav-hover-bg);
  color: var(--fj-teal);
}

.fj-nav svg { width: 20px; height: 20px; flex-shrink: 0; }

.fj-main {
  padding: 1.5rem 1.75rem 3rem;
  min-width: 0;
}

.fj-main > *:first-child {
  margin-top: 0.25rem;
}

.fj-aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.5rem 1.25rem;
  border-left: 1px solid var(--fj-border);
  background: var(--fj-aside-bg);
  overflow-y: auto;
}

.fj-topbar {
  display: none !important;
}

.fj-mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--fj-surface-bg);
  border-top: 1px solid var(--fj-border);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
  align-items: stretch;
  gap: 0.15rem;
  backdrop-filter: blur(12px);
}

.fj-mobile-nav > a,
.fj-mobile-nav > form {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.fj-mobile-nav a,
.fj-mobile-nav .fj-mobile-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fj-muted);
  padding: 0.4rem 0.15rem;
  min-height: 52px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
}

.fj-mobile-nav a:hover,
.fj-mobile-nav .fj-mobile-nav-btn:hover {
  color: var(--fj-teal);
  background: var(--fj-nav-hover-bg);
}

.fj-mobile-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.fj-mobile-logout .fj-mobile-nav-btn {
  color: var(--fj-danger);
}

.fj-topbar-actions { display: flex; gap: 0.5rem; align-items: center; }

.fj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.fj-btn:active { transform: scale(0.98); }

.fj-btn-primary {
  background: linear-gradient(135deg, var(--fj-teal), var(--fj-teal-dark));
  color: var(--fj-on-primary);
  box-shadow: 0 10px 30px var(--fj-teal-glow);
}

.fj-btn-primary:hover {
  box-shadow: 0 14px 36px var(--fj-teal-glow);
}

.fj-btn-ghost {
  background: transparent;
  color: var(--fj-text);
  border: 1px solid var(--fj-border);
}

.fj-btn-ghost:hover { background: var(--fj-hover-bg); }

.fj-btn-sm { padding: 0.5rem 0.9rem; font-size: 0.82rem; }

.fj-card {
  background: var(--fj-card-bg);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  box-shadow: var(--fj-shadow);
}

.fj-card-pad { padding: 1.25rem; }

.fj-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--fj-radius) + 6px);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--fj-border);
  background:
    radial-gradient(circle at 80% 20%, rgba(72, 201, 176, 0.18), transparent 40%),
    linear-gradient(135deg, #0f172a 0%, #111827 50%, #0b1220 100%);
}

.fj-hero--photo {
  background-size: cover;
  background-position: center;
}

.fj-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 8, 15, 0.88) 20%, rgba(5, 8, 15, 0.45) 100%);
}

.fj-hero--photo > * {
  position: relative;
  z-index: 1;
}

.fj-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.fj-hero p {
  color: var(--fj-muted);
  max-width: 620px;
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}

.fj-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(72, 201, 176, 0.12);
  color: var(--fj-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fj-grid {
  display: grid;
  gap: 1rem;
}

.fj-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fj-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fj-stat-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--fj-panel) 58%, transparent 59%),
    conic-gradient(var(--fj-teal) calc(var(--pct, 88) * 1%), rgba(255,255,255,0.08) 0);
  font-size: 1.75rem;
  font-weight: 800;
}

.fj-stat-ring small {
  display: block;
  font-size: 0.65rem;
  color: var(--fj-muted);
  font-weight: 600;
}

.fj-job-card {
  overflow: hidden;
  position: relative;
  min-height: 280px;
}

.fj-job-card-media {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.fj-job-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(11, 18, 32, 0.95) 100%);
}

.fj-job-card-body { padding: 1rem 1.1rem 1.25rem; }

.fj-job-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.fj-salary {
  color: var(--fj-teal);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.fj-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.fj-perk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--fj-surface-muted);
  color: var(--fj-muted);
  font-size: 0.75rem;
}

.fj-section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fj-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--fj-border);
  color: var(--fj-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.fj-list-link:hover { color: var(--fj-teal); }

.fj-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 420px;
}

.fj-input,
.fj-select,
.fj-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--fj-radius-sm);
  border: 1px solid var(--fj-input-border);
  background: var(--fj-input-bg);
  color: var(--fj-text);
  font: inherit;
}

.fj-input:focus,
.fj-select:focus,
.fj-textarea:focus {
  outline: none;
  border-color: var(--fj-teal);
  box-shadow: 0 0 0 3px rgba(72, 201, 176, 0.15);
}

.fj-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fj-muted);
  margin-bottom: -0.35rem;
}

.fj-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.fj-kanban-col {
  background: var(--fj-kanban-col-bg);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius-sm);
  padding: 0.85rem;
  min-height: 320px;
}

.fj-kanban-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fj-teal);
  margin: 0 0 0.75rem;
}

.fj-kanban-item {
  background: var(--fj-panel);
  border: 1px solid var(--fj-kanban-item-border);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.fj-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--fj-radius-sm);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.fj-alert-success { background: rgba(52, 211, 153, 0.12); color: var(--fj-success); }
.fj-alert-error { background: rgba(248, 113, 113, 0.12); color: var(--fj-danger); }

.fj-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.fj-toolbar .fj-input,
.fj-toolbar .fj-select {
  width: auto;
  min-width: 180px;
}

.fj-kpi {
  font-size: 1.95rem;
  font-weight: 800;
  margin: 0;
}

.fj-splash {
  border-radius: var(--fj-radius);
  overflow: hidden;
  border: 1px solid var(--fj-border);
  box-shadow: var(--fj-shadow);
  background: var(--fj-splash-bg);
}

.fj-splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fj-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fj-feature-tile {
  background: var(--fj-card-bg);
  border: 1px solid var(--fj-border);
  border-radius: 14px;
  padding: 1rem;
}

.fj-feature-tile h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.fj-feature-tile p {
  margin: 0;
  color: var(--fj-muted);
  font-size: 0.82rem;
}

.fj-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--fj-border);
  background: var(--fj-footer-bg);
  padding: 2rem 1.5rem 1.25rem;
}

html[data-theme="light"] .fj-footer,
body[data-theme="light"] .fj-footer {
  background: var(--fj-footer-bg);
}

.fj-footer-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fj-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--fj-text);
}

.fj-footer a {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--fj-muted);
  font-size: 0.82rem;
}

.fj-footer a:hover { color: var(--fj-teal); }

.fj-footer-splash {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fj-border);
}

.fj-footer-note {
  max-width: 1600px;
  margin: 1rem auto 0;
  color: var(--fj-muted);
  font-size: 0.8rem;
}

/* FairYou — TikTok teljes képernyő */
.fj-feed-body {
  margin: 0;
  min-height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
  font-family: var(--fj-font);
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.fj-feed {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100dvh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.fj-feed-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  padding-top: calc(0.75rem + env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  border: none;
  pointer-events: none;
}

.fj-feed-topbar > * { pointer-events: auto; }

.fj-feed-home {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.fj-feed-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--fj-teal);
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.fj-feed-topbar-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.fj-feed-toplink {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.fj-feed-toplink:hover { color: var(--fj-teal); }

.fj-feed-icon-btn {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(0, 0, 0, 0.25) !important;
}

.fj-feed-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fj-feed-stage > .feed-card {
  position: absolute;
  inset: 0;
}

.fj-feed-stage--empty {
  display: grid;
  place-items: center;
  background: var(--fj-feed-bg);
}

.fj-feed-card {
  width: 100%;
  height: 100%;
}

.fj-feed-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.fj-feed-video-wrap video,
.fj-feed-video-wrap .fj-feed-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.fj-feed-video-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: opacity 0.25s;
}

.fj-feed-video-loading::after {
  content: "";
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--fj-teal);
  border-radius: 50%;
  animation: fj-spin 0.7s linear infinite;
}

.fj-feed-video-wrap.is-ready .fj-feed-video-loading {
  opacity: 0;
  visibility: hidden;
}

.fj-feed-fallback {
  display: grid;
  place-items: center;
  font-size: 3.5rem;
  background: linear-gradient(160deg, #111827, #000);
}

.fj-feed-shade {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 14%, transparent 58%, rgba(0, 0, 0, 0.82) 100%);
}

.fj-feed-rail {
  position: absolute;
  right: 0.55rem;
  bottom: calc(7.5rem + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.fj-feed-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.fj-feed-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.05rem;
}

.fj-feed-ui {
  position: absolute;
  left: 0;
  right: 4.5rem;
  bottom: 0;
  z-index: 15;
  padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
}

.fj-feed-match {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(72, 201, 176, 0.25);
  color: #b4f7ea;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  backdrop-filter: blur(6px);
}

.fj-feed-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.3rem, 4.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.fj-feed-meta {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.fj-feed-salary {
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  font-weight: 800;
  color: var(--fj-teal);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.fj-feed-cta { margin-top: 0.1rem; }

.fj-feed-cta .fj-btn {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.fj-feed-empty {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 340px;
  color: var(--fj-text);
}

.fj-feed-empty-icon { font-size: 3rem; margin: 0 0 1rem; }

.fj-feed-empty-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fj-feed-empty-text {
  margin: 0 0 1.25rem;
  color: var(--fj-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.fj-feed-action.is-saved { color: #f472b6; }
.fj-feed-action.is-saved .fj-feed-action-icon {
  background: rgba(244, 114, 182, 0.35);
  border-color: rgba(244, 114, 182, 0.5);
}

@media (max-width: 380px) {
  .fj-feed-toplink { display: none; }
  .fj-feed-action-label { display: none; }
  .fj-feed-ui { right: 3.75rem; }
}

@keyframes fj-spin {
  to { transform: rotate(360deg); }
}

.fj-insights-card {
  max-width: 360px;
  margin: 2rem auto;
  padding: 1.5rem;
  border: 1px solid var(--fj-teal);
  border-radius: var(--fj-radius);
  background: rgba(21, 31, 46, 0.95);
  text-align: center;
}

.fj-insights-card h2 {
  color: var(--fj-teal);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.fj-insights-card p {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.fj-poll-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fj-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--fj-surface-muted);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.fj-progress > span {
  display: block;
  height: 100%;
  background: var(--fj-teal);
  border-radius: inherit;
}

@media (max-width: 1100px) {
  .fj-global-header {
    position: sticky;
  }

  .fj-global-nav {
    display: none;
  }

  .fj-global-row {
    padding-bottom: 0.7rem;
  }

  .fj-mobile-nav {
    display: flex;
  }

  .fj-body--guest .fj-mobile-nav {
    display: none;
  }

  .fj-mobile-menu-btn {
    display: none;
    min-width: 44px;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .fj-mobile-menu-btn {
    display: inline-flex;
  }

  .fj-body--guest .fj-global-actions .fj-btn:not(.fj-theme-toggle):not(.fj-mobile-menu-btn):not(.fj-header-login) {
    display: none;
  }

  .fj-shell,
  .fj-shell--single {
    grid-template-columns: 1fr;
  }

  .fj-sidebar,
  .fj-aside {
    display: none;
  }

  .fj-main { padding: 1rem; --fj-main-pad-x: 1rem; }

  .fj-grid-3,
  .fj-grid-2,
  .fj-kanban,
  .fj-feature-grid,
  .fj-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1101px) {
  .fj-mobile-nav { display: none; }
}

/* v3 Indeed / LinkedIn / Glassdoor */
.fj-main--wide { max-width: 1100px; margin: 0 auto; width: 100%; }
.fj-indeed-hero { background: linear-gradient(135deg, rgba(72,201,176,.12), transparent 55%), var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 22px; padding: 2.5rem 2rem; margin-bottom: 1.5rem; }
.fj-indeed-hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); line-height: 1.1; margin: 0 0 .65rem; letter-spacing: -.03em; }
.fj-highlight { color: var(--fj-teal); }
.fj-indeed-lead { color: var(--fj-muted); margin: 0 0 1.35rem; }
.fj-search-mega { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; background: var(--fj-navy-soft); border: 2px solid var(--fj-border); border-radius: 14px; padding: .45rem; box-shadow: var(--fj-shadow); }
.fj-search-field { display: flex; align-items: center; gap: .5rem; background: var(--fj-input-bg); border-radius: 10px; padding: 0 .75rem; }
html[data-theme=light] .fj-search-field,
body[data-theme=light] .fj-search-field { background: var(--fj-input-bg); }
.fj-search-field .fj-input { border: none; background: transparent; padding: .85rem 0; box-shadow: none; }
.fj-search-field .fj-input:focus { box-shadow: none; }
.fj-btn-search { background: var(--fj-teal); color: var(--fj-on-primary); border: none; border-radius: 10px; padding: 0 1.5rem; font-weight: 800; cursor: pointer; }
.fj-category-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.fj-trust-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; margin-bottom: 2rem; }
.fj-trust-item { background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 12px; padding: .85rem; text-align: center; }
.fj-trust-item strong { display: block; color: var(--fj-teal); }
.fj-trust-item span { font-size: .75rem; color: var(--fj-muted); }
.fj-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.fj-page-sub { color: var(--fj-muted); margin: .35rem 0 0; font-size: 1.05rem; line-height: 1.5; }
.fj-job-list { display: flex; flex-direction: column; gap: .65rem; }
.fj-job-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 14px; padding: 1rem; transition: .2s; }
.fj-job-row:hover { border-color: var(--fj-teal); }
.fj-job-row-logo { width: 72px; height: 72px; border-radius: 12px; background-size: cover; background-position: center; }
.fj-job-row-body h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.fj-job-row-body { min-width: 0; }
.fj-job-row-meta { color: var(--fj-muted); font-size: .85rem; margin: 0 0 .5rem; word-break: break-word; }
.fj-job-row-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.fj-salary-lg { font-size: 1.1rem; margin: 0; }
.fj-empty-msg { text-align: center; color: var(--fj-muted); padding: 2rem; }
.fj-promo-card { border-radius: var(--fj-radius); overflow: hidden; border: 1px solid var(--fj-border); background: var(--fj-panel); }
.fj-promo-card img { width: 100%; height: 180px; object-fit: cover; }
.fj-promo-card-body { padding: 1.1rem; }
.fj-company-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .85rem; }
.fj-company-card { background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 14px; padding: 1.1rem; display: block; }
.fj-company-card:hover { border-color: var(--fj-teal); }
.fj-company-score { width: 48px; height: 48px; border-radius: 50%; background: rgba(72,201,176,.15); color: var(--fj-teal); font-weight: 800; display: grid; place-items: center; margin-bottom: .65rem; }
.fj-link-arrow { color: var(--fj-teal); font-size: .8rem; font-weight: 700; }
.fj-cta-band { margin-top: 2.5rem; padding: 2rem; border-radius: var(--fj-radius); background: linear-gradient(135deg, rgba(72,201,176,.2), rgba(59,130,246,.1)); border: 1px solid var(--fj-border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fj-cta-band p { margin: 0; color: var(--fj-muted); }
.fj-auth-body { min-height: 100vh; }
.fj-auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.fj-auth-visual { background-size: cover; background-position: center; position: relative; }
.fj-auth-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(5,8,15,.88), rgba(5,8,15,.55)); }
.fj-auth-visual-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --fj-text: #f8fafc;
  --fj-muted: #cbd5e1;
  --fj-teal: #5eead4;
  color: #f8fafc;
}
.fj-auth-visual h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; margin: 1.5rem 0 1rem; max-width: 420px; color: #f8fafc; }
.fj-auth-benefits { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.fj-auth-benefits li { padding: .45rem 0 .45rem 1.5rem; position: relative; color: #cbd5e1; }
.fj-auth-benefits li::before { content: "✓"; position: absolute; left: 0; color: #5eead4; font-weight: 800; }
.fj-auth-stat { font-size: 0.95rem; color: #cbd5e1; margin: 0; }
.fj-auth-main { display: flex; flex-direction: column; padding: 1.5rem 2rem; background: var(--fj-body-bg); }
.fj-auth-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.fj-auth-back { color: var(--fj-muted); font-size: .88rem; font-weight: 600; }
.fj-auth-card { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 440px; margin: 0 auto; width: 100%; }
.fj-auth-title { font-size: 1.75rem; margin: 0 0 .35rem; }
.fj-auth-sub { color: var(--fj-muted); margin: 0 0 1.25rem; }
.fj-form-wide { max-width: none; }
.fj-input-lg { padding: 1.05rem 1.1rem; font-size: 1.05rem; border-radius: 12px; min-height: 48px; }
.fj-btn-lg { padding: 1.05rem 1.5rem; font-size: 1.05rem; border-radius: 12px; }
.fj-btn-block { width: 100%; }
.fj-auth-switch { text-align: center; color: var(--fj-muted); }
.fj-auth-switch a { color: var(--fj-teal); font-weight: 700; }
.fj-auth-demo { margin-top: 1.5rem; padding: .85rem; border-radius: 10px; background: rgba(72,201,176,.08); border: 1px dashed var(--fj-border); font-size: .82rem; color: var(--fj-muted); }
.fj-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-bottom: 1.25rem; background: var(--fj-input-bg); border-radius: 12px; padding: .35rem; }
.fj-tab { border: none; background: transparent; color: var(--fj-muted); font-weight: 700; padding: .65rem; border-radius: 9px; cursor: pointer; font-family: inherit; }
.fj-tab.is-active { background: var(--fj-panel); color: var(--fj-teal); }
.fj-check { display: flex; gap: .5rem; font-size: .82rem; color: var(--fj-muted); }
.fj-question-card { padding: .85rem 0; border-bottom: 1px solid var(--fj-border); }
.fj-radio-row { display: flex; gap: 1.25rem; }
.fj-stat-label { color: var(--fj-muted); font-size: .85rem; margin: 0 0 .35rem; }
.fj-quick-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: .65rem; }
.fj-quick-action { background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 12px; padding: 1rem; text-align: center; font-weight: 700; font-size: .88rem; }
.fj-quick-action:hover { border-color: var(--fj-teal); color: var(--fj-teal); }
.fj-sidebar-user { display: flex; gap: .75rem; align-items: center; padding: .85rem; background: rgba(72,201,176,.08); border-radius: 12px; border: 1px solid var(--fj-border); }
.fj-sidebar-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--fj-teal); color: var(--fj-on-primary); font-weight: 800; display: grid; place-items: center; }
.fj-sidebar-user-name { margin: 0; font-weight: 700; font-size: .9rem; }
.fj-sidebar-user-role { margin: 0; font-size: .72rem; color: var(--fj-muted); text-transform: capitalize; }
@media (max-width: 900px) {
  .fj-auth-page { grid-template-columns: 1fr; }
  .fj-auth-visual { min-height: 200px; }
  .fj-auth-benefits { display: none; }
  .fj-search-mega { grid-template-columns: 1fr; }
  .fj-trust-bar { grid-template-columns: repeat(2,1fr); }
  .fj-job-row { grid-template-columns: 56px 1fr; }
  .fj-job-row-side { grid-column: 1/-1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .fj-company-grid, .fj-quick-actions { grid-template-columns: 1fr; }
}

/* v4 — auth typography, jobs search, inbox */
.fj-auth-body { font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.fj-auth-main { padding: 2rem 2.5rem; }
.fj-auth-card { max-width: 480px; gap: 0.15rem; }
.fj-auth-title { font-size: clamp(1.85rem, 4vw, 2.35rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.fj-auth-sub { font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.75rem; }
.fj-auth-body .fj-label { font-size: 0.95rem; margin-bottom: 0.15rem; }
.fj-auth-body .fj-input-lg { padding: 1.05rem 1.1rem; font-size: 1.05rem; border-radius: 12px; }
.fj-auth-body .fj-btn-lg { padding: 1.05rem 1.5rem; font-size: 1.05rem; border-radius: 12px; }
.fj-auth-body .fj-form { gap: 1rem; }
.fj-auth-switch { font-size: 1rem; margin-top: 1.25rem; }
.fj-auth-demo { font-size: 0.92rem; line-height: 1.55; padding: 1rem 1.1rem; }
.fj-auth-demo .fj-label { margin-bottom: 0.35rem; }
.fj-auth-back { font-size: 1rem; }
.fj-auth-visual h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.fj-auth-benefits li { font-size: 1rem; padding: 0.55rem 0 0.55rem 1.65rem; }
.fj-auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--fj-muted); font-size: 0.92rem; }
.fj-auth-divider::before, .fj-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--fj-border); }
.fj-auth-body .fj-tab { font-size: 0.98rem; padding: 0.75rem; }
.fj-auth-body .fj-check { font-size: 0.92rem; line-height: 1.45; align-items: flex-start; margin-top: 0.25rem; }
.fj-auth-body .fj-alert { font-size: 0.95rem; margin-bottom: 1rem; }
.fj-search-panel { background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: var(--fj-radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.fj-search-panel-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.9fr 0.9fr auto; gap: 0.65rem; align-items: center; }
.fj-results-count { color: var(--fj-muted); font-size: 0.92rem; margin: 0 0 1rem; }
.fj-empty-state { text-align: center; padding: 3rem 1.5rem; background: var(--fj-panel); border: 1px dashed var(--fj-border); border-radius: var(--fj-radius); }
.fj-empty-state p { margin: 0 0 1rem; color: var(--fj-muted); font-size: 1rem; }
.fj-inbox-list { display: flex; flex-direction: column; gap: 0.5rem; }
.fj-inbox-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 0.85rem; align-items: center; padding: 1rem 1.1rem; background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 14px; text-decoration: none; color: inherit; }
.fj-inbox-item:hover { border-color: var(--fj-teal); }
.fj-inbox-avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(72,201,176,.15); color: var(--fj-teal); font-weight: 800; display: grid; place-items: center; }
.fj-inbox-title { margin: 0; font-weight: 700; font-size: 1rem; }
.fj-inbox-sub { margin: 0.15rem 0 0; font-size: 0.88rem; color: var(--fj-muted); }
.fj-inbox-preview { margin: 0.35rem 0 0; font-size: 0.88rem; color: var(--fj-muted); }
.fj-job-detail-hero { min-height: 220px; background-size: cover; background-position: center; border-radius: var(--fj-radius); position: relative; overflow: hidden; margin-bottom: 1.5rem; }
.fj-job-detail-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,15,.2), rgba(5,8,15,.88)); }
.fj-job-detail-hero-inner { position: relative; z-index: 1; padding: 2rem; }
.fj-job-detail-hero h1 { margin: 0.5rem 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.fj-job-detail-company { margin: 0; color: var(--fj-hero-overlay-text); }
.fj-job-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; align-items: start; }
.fj-detail-section-title { margin: 0 0 0.75rem; font-size: 1.1rem; }
.fj-salary-xl { font-size: 1.5rem; font-weight: 800; color: var(--fj-teal); margin: 0; }
.fj-sticky-aside { position: sticky; top: 1rem; }
.fj-job-description { line-height: 1.65; color: var(--fj-muted); }
.fj-feed-action.is-saved { color: #f472b6; }
.fj-feed-action.is-saved .fj-feed-action-icon { color: #f472b6; }
@media (max-width: 900px) {
  .fj-search-panel-grid { grid-template-columns: 1fr; }
  .fj-job-detail-grid { grid-template-columns: 1fr; }
  .fj-auth-main { padding: 1.25rem 1.25rem 2rem; }
}

/* v5 — user menu, logout, light mode finomhangolás */
.fj-user-menu { position: relative; }
.fj-user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  color: var(--fj-text);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.fj-user-menu-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fj-teal);
  color: var(--fj-on-primary);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}
.fj-user-menu-label { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fj-user-menu-caret { color: var(--fj-muted); font-size: 0.75rem; }
.fj-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 220px;
  background: var(--fj-panel);
  border: 1px solid var(--fj-border);
  border-radius: 14px;
  box-shadow: var(--fj-shadow);
  padding: 0.45rem;
  z-index: 80;
}
.fj-user-dropdown-head {
  margin: 0;
  padding: 0.45rem 0.65rem 0.65rem;
  font-size: 0.78rem;
  color: var(--fj-muted);
  border-bottom: 1px solid var(--fj-border);
}
.fj-user-dropdown a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fj-text);
}
.fj-user-dropdown a:hover { background: var(--fj-hover-bg); color: var(--fj-teal); }
.fj-user-logout-form { margin: 0.35rem 0 0; padding-top: 0.35rem; border-top: 1px solid var(--fj-border); }
.fj-user-logout-btn,
.fj-logout-btn {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--fj-danger);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
}
.fj-user-logout-btn:hover,
.fj-logout-btn:hover { background: rgba(248, 113, 113, 0.1); }
.fj-logout-form { margin: 0; }
.fj-mobile-logout { flex: 1; margin: 0; }
.fj-mobile-logout .fj-logout-btn {
  width: 100%;
  text-align: center;
  font-size: 0.68rem;
  padding: 0.35rem 0.2rem;
  color: var(--fj-danger);
}
.fj-alert-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem;
  background: var(--fj-panel);
  border: 1px solid var(--fj-border);
  border-radius: 14px;
  margin-bottom: 0.65rem;
}
.fj-alert-meta { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--fj-muted); }
.fj-badge-off { opacity: 0.55; }
html[data-theme="light"] .fj-kanban-col,
body[data-theme="light"] .fj-kanban-col { background: var(--fj-kanban-col-bg); }
html[data-theme="light"] .fj-indeed-hero,
body[data-theme="light"] .fj-indeed-hero { background: var(--fj-panel); }
html[data-theme="light"] .fj-feed-body,
body[data-theme="light"] .fj-feed-body { color: var(--fj-text); }
html[data-theme="light"] .fj-feed-info h2,
body[data-theme="light"] .fj-feed-info h2,
html[data-theme="light"] .fj-feed-info .fj-company,
body[data-theme="light"] .fj-feed-info .fj-company { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.fj-feed-logout { margin: 0; padding: 0; }
.fj-feed-logout button {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--fj-danger);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
}
.fj-feed-logout button:hover { background: rgba(248, 113, 113, 0.1); }

/* v6 — nagy tipográfia, mobil-first */
@media (min-width: 900px) { body.fj-body { font-size: 18px; } }
.fj-page-title { font-size: clamp(1.85rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.1; }
.fj-page-sub-lg { font-size: 1.05rem; color: var(--fj-muted); margin: 0.45rem 0 0; }
.fj-section-title-lg { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.fj-section-block { margin-bottom: 2.5rem; }
.fj-hero-pro { background: linear-gradient(135deg, rgba(72,201,176,.14), transparent 50%), var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 24px; padding: clamp(1.5rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.fj-hero-eyebrow { font-size: 0.95rem; font-weight: 700; color: var(--fj-teal); margin: 0 0 0.75rem; letter-spacing: 0.02em; }
.fj-hero-pro h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.08; margin: 0 0 0.75rem; letter-spacing: -0.04em; font-weight: 800; }
.fj-hero-lead { font-size: clamp(1rem, 2.5vw, 1.15rem); color: var(--fj-muted); margin: 0 0 1.5rem; max-width: 640px; }
.fj-input-hero { border: none !important; background: transparent !important; padding: 1rem 0 !important; font-size: 1.05rem !important; box-shadow: none !important; }
.fj-input-lg, .fj-select.fj-input-lg { padding: 0.95rem 1rem; font-size: 1rem; min-height: 48px; }
.fj-btn-search-lg { min-height: 52px; padding: 0 1.75rem; font-size: 1rem; }
.fj-btn-xl { padding: 1.1rem 1.75rem; font-size: 1.05rem; min-height: 52px; }
.fj-search-mega--pro { grid-template-columns: 1fr 1fr auto; gap: 0.5rem; padding: 0.5rem; border-radius: 16px; }
.fj-popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; }
.fj-popular-label { font-size: 0.9rem; font-weight: 700; color: var(--fj-muted); }
.fj-chip-lg { font-size: 0.88rem; padding: 0.45rem 0.85rem; min-height: 36px; }
.fj-trust-bar--pro .fj-trust-item { padding: 1rem; }
.fj-trust-bar--pro .fj-trust-item strong { font-size: 1.15rem; }
.fj-trust-bar--pro .fj-trust-item span { font-size: 0.85rem; }
.fj-page-head-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fj-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fj-help-card { background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 18px; padding: 1.35rem; }
.fj-help-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.fj-help-card p { margin: 0 0 1rem; color: var(--fj-muted); font-size: 0.95rem; line-height: 1.5; }
.fj-calc-result { margin: 0.75rem 0 0; font-size: 1rem; }
.fj-calc-result strong { color: var(--fj-teal); font-size: 1.15rem; }
.fj-cta-band--pro h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 0 0 0.35rem; }
.fj-search-panel--pro { padding: 1.25rem; border-radius: 18px; }
.fj-search-panel-main { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 0.65rem; align-items: center; margin-bottom: 0.75rem; }
.fj-filter-toggle { width: 100%; border: 1px dashed var(--fj-border); background: transparent; color: var(--fj-teal); font: inherit; font-weight: 700; font-size: 0.95rem; padding: 0.75rem; border-radius: 12px; cursor: pointer; }
.fj-filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1rem; }
.fj-filter-item { display: flex; flex-direction: column; gap: 0.35rem; }
.fj-filter-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.fj-job-row-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; flex-wrap: wrap; }
.fj-job-row-body h3 { font-size: 1.1rem; margin: 0; line-height: 1.3; }
.fj-job-row-body h3 a:hover { color: var(--fj-teal); }
.fj-job-date { font-size: 0.82rem; color: var(--fj-muted); white-space: nowrap; }
.fj-job-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0; }
.fj-badge-sm { display: inline-flex; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(72,201,176,.12); color: var(--fj-teal); font-size: 0.72rem; font-weight: 700; }
.fj-badge-outline { background: var(--fj-badge-outline-bg); color: var(--fj-badge-outline-text); margin-right: 0.35rem; }
.fj-job-row--featured { border-color: var(--fj-teal); box-shadow: 0 0 0 1px rgba(72,201,176,.25); }
.fj-job-list--spaced { gap: 0.85rem; }
.fj-pagination { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.fj-pagination-pages { display: flex; gap: 0.35rem; }
.fj-pagination-link { display: grid; place-items: center; min-width: 42px; min-height: 42px; border-radius: 10px; border: 1px solid var(--fj-border); font-weight: 700; font-size: 0.95rem; }
.fj-pagination-link.is-active { background: var(--fj-teal); color: var(--fj-on-primary); border-color: var(--fj-teal); }
.fj-empty-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 0.5rem; color: var(--fj-text); }
.fj-employer-job-list { display: flex; flex-direction: column; gap: 0.75rem; }
.fj-employer-job-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.15rem 1.25rem; background: var(--fj-panel); border: 1px solid var(--fj-border); border-radius: 16px; }
.fj-employer-job-card.is-inactive { opacity: 0.65; }
.fj-employer-job-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"], body[data-theme="dark"] { color-scheme: dark; }

/* v7 — mobil layout + világos mód javítások */
@media (max-width: 1100px) {
  body.fj-body.fj-body--tabbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .fj-global-row {
    flex-wrap: nowrap;
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
  }

  .fj-logo-mark { height: 44px; }
  .fj-logo-text { font-size: 1.25rem; }
  .fj-auth-visual .fj-logo-mark { height: 52px; }
  .fj-auth-visual .fj-logo-text { font-size: 1.5rem; }

  .fj-global-actions {
    gap: 0.35rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  .fj-theme-toggle {
    min-width: 44px;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .fj-user-menu-label,
  .fj-user-menu-caret { display: none; }

  .fj-user-menu-btn { padding: 0.3rem; }

  .fj-user-dropdown {
    position: absolute;
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 1.7rem));
    max-width: calc(100vw - 1.7rem);
  }

  .fj-global-actions .fj-btn-sm { padding: 0.45rem 0.7rem; font-size: 0.78rem; }
  .fj-global-actions .fj-btn-primary.fj-btn-sm { white-space: nowrap; }

  .fj-page-head,
  .fj-page-head--jobs {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .fj-page-head-actions {
    width: 100%;
  }

  .fj-page-head-actions .fj-btn,
  .fj-page-head > .fj-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .fj-job-row {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 1rem;
    gap: 0.75rem;
  }

  .fj-job-row-logo {
    width: 56px;
    height: 56px;
  }

  .fj-job-row-side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    gap: 0.65rem;
  }

  .fj-job-row-side .fj-btn {
    min-width: 0;
    flex: 0 1 auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fj-salary-lg {
    font-size: 1rem;
    flex: 1;
    min-width: 0;
  }

  .fj-cta-band,
  .fj-cta-band--pro {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .fj-cta-band .fj-btn,
  .fj-cta-band--pro .fj-btn {
    width: 100%;
  }

  .fj-alert-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .fj-alert-row > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .fj-inbox-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .fj-inbox-item .fj-link-arrow { display: none; }

  .fj-employer-job-card {
    flex-direction: column;
    align-items: stretch;
  }

  .fj-employer-job-actions {
    width: 100%;
  }

  .fj-employer-job-actions .fj-btn,
  .fj-employer-job-actions form {
    flex: 1 1 calc(50% - 0.35rem);
  }

  .fj-kanban {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .fj-kanban-col {
    flex: 0 0 min(85vw, 280px);
    scroll-snap-align: start;
    min-height: 260px;
  }

  .fj-toolbar .fj-input,
  .fj-toolbar .fj-select {
    width: 100%;
    min-width: 0;
  }

  .fj-filter-actions {
    justify-content: stretch;
  }

  .fj-filter-actions .fj-btn {
    flex: 1 1 auto;
  }

  .fj-btn-search,
  .fj-btn-search-lg {
    width: 100%;
  }

  .fj-popular-searches {
    gap: 0.4rem;
  }

  .fj-popular-label {
    width: 100%;
  }

  .fj-trust-bar,
  .fj-trust-bar--pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .fj-global-actions .fj-btn-ghost:not(.fj-theme-toggle):not(.fj-header-login) { display: none; }

  .fj-trust-bar,
  .fj-trust-bar--pro {
    grid-template-columns: 1fr;
  }

  .fj-mobile-nav a,
  .fj-mobile-nav .fj-mobile-nav-btn {
    font-size: 0.62rem;
    padding-inline: 0.1rem;
  }

  .fj-mobile-icon { font-size: 1rem; }

  .fj-hero-pro h1 { font-size: 1.75rem; }

  .fj-job-row-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .fj-job-date { white-space: normal; }
}

html[data-theme="light"] .fj-auth-visual::before,
body[data-theme="light"] .fj-auth-visual::before {
  background: linear-gradient(160deg, rgba(5, 8, 15, 0.88), rgba(5, 8, 15, 0.55));
}

html[data-theme="light"] .fj-job-detail-hero::before,
body[data-theme="light"] .fj-job-detail-hero::before {
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.35), rgba(5, 8, 15, 0.82));
}

html[data-theme="light"] .fj-job-detail-hero h1,
body[data-theme="light"] .fj-job-detail-hero h1,
html[data-theme="light"] .fj-job-detail-hero .fj-badge,
body[data-theme="light"] .fj-job-detail-hero .fj-badge {
  color: #fff;
}

html[data-theme="light"] .fj-feed-card,
body[data-theme="light"] .fj-feed-card {
  background: var(--fj-panel);
}

html[data-theme="light"] .fj-feed-overlay,
body[data-theme="light"] .fj-feed-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(5, 8, 15, 0.82) 100%);
}

html[data-theme="light"] .fj-stat-ring,
body[data-theme="light"] .fj-stat-ring {
  background:
    radial-gradient(circle at center, var(--fj-panel) 58%, transparent 59%),
    conic-gradient(var(--fj-teal) calc(var(--pct, 88) * 1%), rgba(15, 23, 42, 0.08) 0);
}

html[data-theme="light"] .fj-sidebar-user,
body[data-theme="light"] .fj-sidebar-user {
  background: var(--fj-chip-bg);
}

html[data-theme="light"] .fj-auth-demo,
body[data-theme="light"] .fj-auth-demo {
  background: var(--fj-chip-bg);
}

html[data-theme="light"] .fj-mobile-nav,
body[data-theme="light"] .fj-mobile-nav {
  background: var(--fj-surface-bg);
  border-top-color: var(--fj-border);
}

html[data-theme="light"] .fj-global-header,
body[data-theme="light"] .fj-global-header {
  background: var(--fj-surface-bg);
}

html[data-theme="light"] .fj-hero-pro,
body[data-theme="light"] .fj-hero-pro {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 50%), var(--fj-panel);
}

html[data-theme="light"] .fj-search-mega,
body[data-theme="light"] .fj-search-mega,
html[data-theme="light"] .fj-search-mega--pro,
body[data-theme="light"] .fj-search-mega--pro {
  background: var(--fj-panel);
  box-shadow: var(--fj-shadow);
}

html[data-theme="light"] .fj-tab.is-active,
body[data-theme="light"] .fj-tab.is-active {
  background: var(--fj-panel);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .fj-kanban-col,
body[data-theme="light"] .fj-kanban-col { background: var(--fj-kanban-col-bg); }

html[data-theme="light"] .fj-footer,
body[data-theme="light"] .fj-footer { background: var(--fj-footer-bg); }

html[data-theme="light"] .fj-indeed-hero,
body[data-theme="light"] .fj-indeed-hero { background: var(--fj-panel); }

/* v6 utólagos duplikátumok felülírása */
.fj-employer-job-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.fj-job-row { padding: 1.15rem 1.25rem; gap: 1rem; }
.fj-job-row-side .fj-btn { min-height: 44px; min-width: 110px; }
.fj-salary-lg { font-size: 1.2rem; }
.fj-global-nav a { font-size: 0.92rem; padding: 0.55rem 0.8rem; }
@media (max-width: 900px) {
  .fj-search-mega--pro, .fj-search-panel-main { grid-template-columns: 1fr; }
  .fj-help-grid, .fj-filter-grid { grid-template-columns: 1fr; }
  .fj-job-row { grid-template-columns: 64px 1fr; }
  .fj-job-row-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .fj-hero-pro { border-radius: 18px; padding: 1.25rem; }
  .fj-page-head--jobs { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1100px) {
  .fj-main { padding: 1rem 1rem 2rem; }
}

@media (min-width: 1101px) {
  body.fj-body { padding-bottom: 0; }
}

/* v8 — FairYou vendég, CV, admin panel */
.fj-feed-guest-banner {
  margin: 0 0.75rem 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.25);
  font-size: 0.92rem;
  line-height: 1.45;
}
.fj-feed-guest-banner a { color: var(--fj-teal); font-weight: 600; }

.fj-body--admin { padding-bottom: 72px; }
.fj-shell--admin { grid-template-columns: 240px minmax(0, 1fr); }
.fj-main--admin { max-width: none; }
.fj-admin-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fj-teal);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.fj-admin-header-label { font-weight: 700; color: var(--fj-muted); margin-left: 0.5rem; }
.fj-sidebar--admin .fj-nav a { font-size: 0.95rem; }
.fj-stat-label { color: var(--fj-muted); font-size: 0.88rem; margin: 0 0 0.35rem; }
.fj-stat-value { font-size: 2rem; font-weight: 800; margin: 0; line-height: 1; }
.fj-section-title--sm { font-size: 1.15rem; margin: 1.25rem 0 0.75rem; }
.fj-admin-stats { margin-bottom: 1rem; }
.fj-admin-action { display: block; text-decoration: none; color: inherit; border-left: 4px solid var(--fj-teal); }
.fj-admin-action--high { border-left-color: #ef4444; }
.fj-admin-action--medium { border-left-color: #f59e0b; }
.fj-admin-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fj-admin-list { margin: 0; padding-left: 1.1rem; }
.fj-admin-search { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.fj-admin-filters { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.fj-admin-filters .is-active { background: var(--fj-teal); color: var(--fj-on-primary); }
.fj-admin-table-wrap { overflow-x: auto; }
.fj-admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fj-admin-table th, .fj-admin-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--fj-border); text-align: left; }
.fj-admin-table th { color: var(--fj-muted); font-weight: 600; }
.fj-admin-inline-form { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.fj-admin-cards { display: none; gap: 0.75rem; flex-direction: column; }
.fj-admin-card-head { display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.fj-ai-answer { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--fj-chip-bg); }
.fj-ai-answer p { margin: 0.35rem 0 0; }

.fj-cv-form { max-width: 720px; }
.fj-textarea-lg { min-height: 120px; font-size: 1rem; }
.fj-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fj-form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.fj-cv-tip { max-width: 720px; margin-top: 1rem; }

.fj-cv-print-body { background: #fff; color: #111; padding: 1rem; }
.fj-cv-print-toolbar {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.75rem; background: #f1f5f9; position: sticky; top: 0; z-index: 10;
}
.fj-cv-document { max-width: 720px; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
.fj-cv-header h1 { font-size: 2rem; margin: 0 0 0.35rem; }
.fj-cv-contact, .fj-cv-meta { margin: 0.25rem 0; color: #475569; font-size: 0.95rem; }
.fj-cv-section { margin-top: 1.5rem; }
.fj-cv-section h2 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: #0f766e; border-bottom: 2px solid #99f6e4; padding-bottom: 0.25rem; margin: 0 0 0.5rem;
}
.fj-cv-section p, .fj-cv-block { margin: 0; line-height: 1.55; font-size: 0.98rem; }
.fj-cv-footer { margin-top: 2rem; color: #94a3b8; }

@media print {
  .no-print { display: none !important; }
  .fj-cv-document { max-width: none; padding: 0; }
}

@media (max-width: 900px) {
  .fj-shell--admin { grid-template-columns: 1fr; }
  .fj-sidebar--admin { display: none; }
  .fj-admin-table-wrap { display: none; }
  .fj-admin-cards { display: flex; }
  .fj-form-grid-2 { grid-template-columns: 1fr; }
  .fj-mobile-nav--admin { display: flex; }
}

@media (min-width: 901px) {
  .fj-mobile-nav--admin { display: none; }
}

/* v11 — trendi ikonok, nagy UI, idősebb-barát */
:root {
  --fj-touch: 52px;
  --fj-text-lg: 1.12rem;
}

body.fj-body {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.fj-icon {
  flex-shrink: 0;
  stroke-width: 1.75;
}

.fj-nav svg,
.fj-nav .fj-icon {
  width: 24px;
  height: 24px;
}

.fj-nav a {
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  min-height: var(--fj-touch);
  border-radius: 14px;
  gap: 0.85rem;
}

.fj-sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fj-btn-block { width: 100%; }

.fj-btn {
  min-height: var(--fj-touch);
  font-size: 1.05rem;
  padding: 0.85rem 1.45rem;
  border-radius: 14px;
}

.fj-btn-sm {
  min-height: 46px;
  font-size: 0.98rem;
  padding: 0.65rem 1.15rem;
}

.fj-btn-lg {
  min-height: 56px;
  font-size: 1.12rem;
  padding: 1rem 1.65rem;
}

.fj-input,
.fj-select,
.fj-textarea {
  font-size: 1.05rem;
  padding: 1rem 1.15rem;
  min-height: var(--fj-touch);
  border-radius: 14px;
}

.fj-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.fj-global-nav a {
  font-size: 1rem;
  padding: 0.65rem 1rem;
  min-height: 44px;
  border-radius: 12px;
}

.fj-global-actions .fj-btn-sm {
  min-height: 44px;
  font-size: 0.98rem;
}

.fj-mobile-nav {
  padding: 0.45rem 0.4rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.2rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.fj-mobile-nav a,
.fj-mobile-nav .fj-mobile-nav-btn {
  font-size: 0.78rem;
  min-height: 60px;
  gap: 0.35rem;
  border-radius: 14px;
  letter-spacing: 0.01em;
}

.fj-mobile-nav a.is-active,
.fj-mobile-nav .fj-mobile-nav-btn.is-active {
  color: var(--fj-teal);
  background: var(--fj-nav-hover-bg);
}

.fj-mobile-nav a.is-active .fj-icon,
.fj-mobile-nav .fj-mobile-nav-btn.is-active .fj-icon {
  stroke: var(--fj-teal);
}

.fj-mobile-nav .fj-icon {
  width: 28px;
  height: 28px;
}

.fj-main {
  padding: 1.35rem 1.35rem 6rem;
}

@media (min-width: 1101px) {
  .fj-main { padding-bottom: 2.5rem; }
}

.fj-section-title {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
}

.fj-section-title-lg {
  font-size: clamp(1.75rem, 3.5vw, 2.15rem) !important;
}

.fj-page-sub,
.fj-page-sub-lg {
  font-size: 1.08rem !important;
}

.fj-hero-pro h1 {
  font-size: clamp(2.25rem, 6.5vw, 3.6rem) !important;
}

.fj-hero-lead,
.fj-hero-pro .fj-hero-lead {
  font-size: 1.15rem !important;
  line-height: 1.55;
}

.fj-input-hero,
.fj-search-mega .fj-input {
  font-size: 1.08rem !important;
  min-height: 56px !important;
}

.fj-btn-search-lg {
  min-height: 56px !important;
  font-size: 1.08rem !important;
  padding: 0 1.75rem !important;
}

.fj-job-row {
  grid-template-columns: 96px 1fr auto !important;
  padding: 1.3rem 1.4rem !important;
  gap: 1.2rem !important;
  border-radius: 18px !important;
}

.fj-job-row-logo {
  width: 96px !important;
  height: 96px !important;
  border-radius: 16px !important;
}

.fj-job-row-body h3 {
  font-size: 1.22rem !important;
  line-height: 1.25;
}

.fj-job-row-body h3 a {
  font-size: inherit;
}

.fj-job-row-meta {
  font-size: 1rem !important;
}

.fj-salary-lg {
  font-size: 1.35rem !important;
}

.fj-job-row-side .fj-btn {
  min-width: 120px;
}

.fj-help-card {
  padding: 1.5rem !important;
  border-radius: 18px !important;
}

.fj-help-card h3 {
  font-size: 1.3rem !important;
  margin-bottom: 0.5rem;
}

.fj-help-card p {
  font-size: 1.05rem !important;
  line-height: 1.55;
}

.fj-trust-item {
  padding: 1.1rem !important;
  border-radius: 16px !important;
}

.fj-trust-item strong {
  font-size: 1.15rem !important;
}

.fj-trust-item span {
  font-size: 0.92rem !important;
}

.fj-chip-lg {
  font-size: 0.98rem !important;
  padding: 0.55rem 1rem !important;
}

.fj-promo-card img {
  height: 220px !important;
}

.fj-company-card {
  padding: 1.35rem !important;
  border-radius: 18px !important;
}

.fj-company-score {
  width: 56px !important;
  height: 56px !important;
  font-size: 1.1rem !important;
}

.fj-card-pad {
  padding: 1.45rem !important;
}

.fj-footer h3 {
  font-size: 1.05rem;
}

.fj-footer a {
  font-size: 1rem;
  padding: 0.35rem 0;
  display: block;
}

.fj-feed-action-icon {
  width: 52px !important;
  height: 52px !important;
}

.fj-feed-title {
  font-size: clamp(1.4rem, 5vw, 1.75rem) !important;
}

.fj-feed-cta .fj-btn-lg {
  min-height: 58px !important;
  font-size: 1.1rem !important;
}

@media (max-width: 1100px) {
  .fj-job-row {
    grid-template-columns: 80px 1fr !important;
  }
  .fj-job-row-logo {
    width: 80px !important;
    height: 80px !important;
  }
  .fj-job-row-side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .fj-mobile-nav a span,
  .fj-mobile-nav .fj-mobile-nav-btn span {
    font-size: 0.72rem;
  }
}

/* v12 — főoldal hero kép + mobil álláskártya */
.fj-hero-pro--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(440px, 68vh, 680px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  border: none;
  background: #0b1220;
}

.fj-main--wide > .fj-hero-pro--photo:first-child {
  width: calc(100% + 2.7rem);
  max-width: none;
  margin-left: -1.35rem;
  margin-right: -1.35rem;
  margin-top: -0.35rem;
  border-radius: 0;
}

.fj-hero-pro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.02);
}

.fj-hero-pro-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.55) 0%, rgba(5, 8, 15, 0.15) 38%, rgba(5, 8, 15, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 8, 15, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.fj-hero-pro--photo .fj-hero-pro-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

.fj-hero-pro--photo .fj-hero-eyebrow {
  color: #b4f7ea;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.fj-hero-pro--photo h1,
.fj-hero-pro--photo .fj-highlight {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.fj-hero-pro--photo .fj-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.fj-hero-pro--photo .fj-search-mega--pro {
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(72, 201, 176, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .fj-hero-pro--photo .fj-search-mega--pro,
body[data-theme="light"] .fj-hero-pro--photo .fj-search-mega--pro {
  background: rgba(11, 18, 32, 0.78);
  border-color: rgba(72, 201, 176, 0.32);
}

.fj-hero-pro--photo .fj-search-field {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

html[data-theme="light"] .fj-hero-pro--photo .fj-search-field,
body[data-theme="light"] .fj-hero-pro--photo .fj-search-field {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.fj-hero-pro--photo .fj-search-field .fj-input,
.fj-hero-pro--photo .fj-input-hero {
  color: #f8fafc !important;
}

.fj-hero-pro--photo .fj-search-field .fj-input::placeholder,
.fj-hero-pro--photo .fj-input-hero::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.fj-hero-pro--photo .fj-search-icon {
  opacity: 0.75;
  filter: grayscale(1) brightness(1.4);
}

.fj-hero-pro--photo .fj-chip-lg {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

.fj-hero-pro--photo .fj-chip-lg:hover {
  background: rgba(72, 201, 176, 0.22);
  border-color: rgba(72, 201, 176, 0.45);
  color: #fff;
}

.fj-hero-pro--photo .fj-popular-label {
  color: rgba(255, 255, 255, 0.85);
}

.fj-job-row-logo {
  overflow: hidden;
  flex-shrink: 0;
  background: var(--fj-splash-bg);
}

.fj-job-row-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .fj-job-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    grid-template-columns: unset !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 18px !important;
  }

  .fj-job-row-logo {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    min-height: 160px;
    max-height: 220px;
    border-radius: 0 !important;
  }

  .fj-job-row-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .fj-job-row-body {
    padding: 1.1rem 1.15rem 0.35rem;
  }

  .fj-job-row-side {
    grid-column: unset !important;
    width: 100% !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    padding: 0.65rem 1.15rem 1.15rem;
    gap: 0.75rem !important;
  }

  .fj-salary-lg {
    font-size: 1.2rem !important;
  }
}

@media (min-width: 769px) {
  .fj-main--wide > .fj-hero-pro--photo:first-child {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    border-radius: 24px;
  }
}

@media (max-width: 1100px) {
  .fj-main--wide > .fj-hero-pro--photo:first-child {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

@media (max-width: 768px) {
  .fj-hero-pro--photo {
    min-height: clamp(380px, 72vh, 520px);
  }

  .fj-main--wide > .fj-hero-pro--photo:first-child {
    width: calc(100% + 2.7rem);
    margin-left: -1.35rem;
    margin-right: -1.35rem;
  }
}

/* v14 — részletes bérkalkulátor */
.fj-salary-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.fj-salary-calc-heading {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.fj-salary-calc-subhead {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.fj-calc-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.fj-calc-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.35rem;
}

.fj-calc-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fj-calc-benefit {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--fj-border);
  border-radius: 14px;
  background: var(--fj-chip-bg);
  cursor: pointer;
}

.fj-calc-benefit input {
  margin-top: 0.35rem;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--fj-teal);
}

.fj-calc-benefit strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.fj-calc-benefit small {
  display: block;
  color: var(--fj-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fj-calc-benefit--select {
  flex-direction: column;
  cursor: default;
}

.fj-calc-highlight {
  background: linear-gradient(135deg, rgba(72, 201, 176, 0.18), transparent 60%), var(--fj-panel);
  border-color: rgba(72, 201, 176, 0.35);
}

.fj-calc-big {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  color: var(--fj-teal);
  letter-spacing: -0.03em;
}

.fj-calc-muted {
  margin: 0;
  color: var(--fj-muted);
  font-size: 0.98rem;
}

.fj-calc-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fj-calc-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--fj-border);
  font-size: 1rem;
}

.fj-calc-rows li:last-child { border-bottom: none; }

.fj-calc-sub {
  padding-left: 0.75rem;
  font-size: 0.92rem !important;
  color: var(--fj-muted);
}

.fj-calc-allowances li span:first-child {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}

.fj-calc-ref-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  line-height: 1.6;
}

.fj-calc-disclaimer {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fj-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .fj-salary-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Világos mód — egységes finomhangolás (v17) --- */
html[data-theme="light"] .fj-btn-primary,
body[data-theme="light"] .fj-btn-primary {
  color: #ffffff;
}

html[data-theme="light"] .fj-btn-ghost,
body[data-theme="light"] .fj-btn-ghost {
  color: var(--fj-teal);
  border-color: rgba(15, 118, 110, 0.32);
  background: rgba(15, 118, 110, 0.04);
}

html[data-theme="light"] .fj-btn-ghost:hover,
body[data-theme="light"] .fj-btn-ghost:hover {
  background: rgba(15, 118, 110, 0.1);
  color: var(--fj-teal-dark);
}

html[data-theme="light"] .fj-tab,
body[data-theme="light"] .fj-tab {
  color: #64748b;
}

html[data-theme="light"] .fj-tab.is-active,
body[data-theme="light"] .fj-tab.is-active {
  color: var(--fj-teal);
}

html[data-theme="light"] .fj-global-nav a,
body[data-theme="light"] .fj-global-nav a,
html[data-theme="light"] .fj-nav a,
body[data-theme="light"] .fj-nav a {
  color: #475569;
}

html[data-theme="light"] .fj-mobile-nav a,
html[data-theme="light"] .fj-mobile-nav .fj-mobile-nav-btn,
body[data-theme="light"] .fj-mobile-nav a,
body[data-theme="light"] .fj-mobile-nav .fj-mobile-nav-btn {
  color: #64748b;
}

html[data-theme="light"] .fj-theme-toggle,
body[data-theme="light"] .fj-theme-toggle {
  color: var(--fj-teal);
}

html[data-theme="light"] .fj-check,
body[data-theme="light"] .fj-check {
  color: #475569;
}

html[data-theme="light"] .fj-global-header .fj-logo-text span:first-child,
html[data-theme="light"] .fj-sidebar .fj-logo-text span:first-child,
body[data-theme="light"] .fj-global-header .fj-logo-text span:first-child,
body[data-theme="light"] .fj-sidebar .fj-logo-text span:first-child {
  color: #0f172a;
}

html[data-theme="light"] .fj-hero--photo::before,
body[data-theme="light"] .fj-hero--photo::before {
  background: linear-gradient(120deg, rgba(5, 8, 15, 0.88) 20%, rgba(5, 8, 15, 0.45) 100%);
}

html[data-theme="light"] .fj-hero-pro--photo .fj-hero-pro-shade,
body[data-theme="light"] .fj-hero-pro--photo .fj-hero-pro-shade {
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.55) 0%, rgba(5, 8, 15, 0.15) 38%, rgba(5, 8, 15, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 8, 15, 0.45) 0%, transparent 55%);
}

html[data-theme="light"] .fj-job-card-media::after,
body[data-theme="light"] .fj-job-card-media::after {
  background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.85) 100%);
}

/* Mobil szendvicsmenü — vendégeknek */
.fj-mobile-drawer[hidden] {
  display: none;
}

.fj-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.fj-mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.fj-mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--fj-panel);
  border-left: 1px solid var(--fj-border);
  box-shadow: var(--fj-shadow);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  animation: fj-drawer-in 0.22s ease;
}

@keyframes fj-drawer-in {
  from { transform: translateX(100%); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}

.fj-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--fj-border);
}

.fj-mobile-drawer-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fj-mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fj-border);
  border-radius: 12px;
  background: transparent;
  color: var(--fj-text);
  cursor: pointer;
}

.fj-mobile-drawer-close:hover {
  background: var(--fj-hover-bg);
}

.fj-mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
  overflow-y: auto;
  flex: 1;
}

.fj-mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fj-text);
}

.fj-mobile-drawer-nav a:hover {
  background: var(--fj-hover-bg);
  color: var(--fj-teal);
}

.fj-mobile-drawer-nav a.is-active {
  background: var(--fj-nav-hover-bg);
  color: var(--fj-teal);
}

.fj-mobile-drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--fj-border);
}

body.fj-drawer-open {
  overflow: hidden;
}

@media (min-width: 1101px) {
  .fj-mobile-drawer { display: none !important; }
  .fj-mobile-menu-btn { display: none !important; }
}

/* v20 — főoldal Wellfound-stílus */
.fj-main--wide > .fj-hero-wf:first-child {
  width: calc(100% + 2.7rem);
  max-width: none;
  margin-left: -1.35rem;
  margin-right: -1.35rem;
  margin-top: -0.35rem;
  border-radius: 0 0 32px 32px;
}

.fj-hero-wf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2rem;
  border: 1px solid var(--fj-border);
  border-radius: 28px;
  background: var(--fj-panel);
}

.fj-hero-wf-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(72, 201, 176, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 10%, rgba(59, 130, 246, 0.1), transparent 50%),
    radial-gradient(ellipse 55% 45% at 80% 100%, rgba(72, 201, 176, 0.12), transparent 45%);
}

html[data-theme="light"] .fj-hero-wf-bg,
body[data-theme="light"] .fj-hero-wf-bg {
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(15, 118, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 10%, rgba(14, 165, 233, 0.1), transparent 50%),
    radial-gradient(ellipse 55% 45% at 80% 100%, rgba(16, 185, 129, 0.08), transparent 45%);
}

.fj-hero-wf-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  min-width: 0;
}

.fj-hero-wf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--fj-chip-bg);
  border: 1px solid var(--fj-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fj-teal);
  letter-spacing: 0.01em;
}

.fj-hero-wf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fj-teal);
  box-shadow: 0 0 0 4px var(--fj-teal-glow);
  animation: fj-pulse 2s ease infinite;
}

@keyframes fj-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.fj-hero-wf h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 8vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.fj-hero-wf h1 span {
  color: var(--fj-teal);
}

.fj-hero-wf-lead {
  margin: 0;
  max-width: 540px;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--fj-muted);
}

.fj-hero-wf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.fj-hero-wf-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.55rem;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  border-radius: 20px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  box-shadow: var(--fj-shadow);
}

.fj-hero-wf-search .fj-search-field {
  background: var(--fj-input-bg);
  border-radius: 14px;
  padding: 0 0.85rem;
}

.fj-hero-wf-search .fj-search-field .fj-input {
  color: var(--fj-text);
}

.fj-hero-wf-search .fj-search-field .fj-input::placeholder {
  color: var(--fj-muted);
  opacity: 0.85;
}

.fj-hero-wf-search .fj-search-icon {
  display: flex;
  color: var(--fj-teal);
  opacity: 0.9;
}

.fj-hero-wf-tags {
  margin-top: 1.75rem;
}

.fj-hero-wf-tags-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fj-muted);
}

.fj-tag-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fj-tag-scroll::-webkit-scrollbar { display: none; }

.fj-tag-pill {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--fj-border);
  background: var(--fj-surface-muted);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fj-text);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.fj-tag-pill:hover {
  background: var(--fj-chip-bg);
  border-color: var(--fj-teal);
  color: var(--fj-teal);
}

.fj-stats-wf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.fj-stat-wf {
  padding: 1.35rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.fj-stat-wf:hover {
  transform: translateY(-2px);
  border-color: var(--fj-teal);
}

.fj-stat-wf strong {
  display: block;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fj-teal);
}

.fj-stat-wf span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fj-muted);
}

.fj-section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fj-teal);
}

.fj-section-title-center {
  text-align: center;
}

.fj-why-wf .fj-section-title-lg {
  margin-bottom: 2rem;
}

.fj-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fj-why-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fj-why-card {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.fj-why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(72, 201, 176, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.fj-why-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--fj-chip-bg);
  color: var(--fj-teal);
}

.fj-why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fj-why-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fj-muted);
}

.fj-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fj-quote-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-quote-card p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fj-text);
}

.fj-quote-card footer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fj-teal);
}

.fj-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.fj-tool-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: 20px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.fj-tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--fj-teal);
}

.fj-tool-card--accent {
  background: linear-gradient(145deg, rgba(72, 201, 176, 0.12), transparent 60%), var(--fj-panel);
}

.fj-tool-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.fj-tool-card p {
  margin: 0 0 0.75rem;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fj-muted);
}

.fj-why-wf--employer {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 28px;
  border: 1px solid var(--fj-border);
  background: linear-gradient(160deg, rgba(72, 201, 176, 0.06), transparent 55%), var(--fj-panel);
}

.fj-why-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.fj-company-card--wf {
  border-radius: 20px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.fj-company-card--wf:hover {
  transform: translateY(-2px);
  box-shadow: var(--fj-shadow);
}

.fj-cta-wf {
  margin-top: 1rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 28px;
  border: 1px solid var(--fj-border);
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(72, 201, 176, 0.14), transparent 60%),
    var(--fj-panel);
  text-align: center;
}

.fj-cta-wf h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fj-cta-wf > p {
  margin: 0 auto 1.75rem;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--fj-muted);
}

.fj-cta-wf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

@media (max-width: 900px) {
  .fj-hero-wf-search {
    grid-template-columns: 1fr;
  }

  .fj-stats-wf,
  .fj-why-grid,
  .fj-quote-grid,
  .fj-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fj-why-grid--3 {
    grid-template-columns: 1fr;
  }

  .fj-main--wide > .fj-hero-wf:first-child {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0 0 24px 24px;
  }
}

@media (max-width: 540px) {
  .fj-stats-wf,
  .fj-quote-grid,
  .fj-tools-grid {
    grid-template-columns: 1fr;
  }

  .fj-why-grid {
    grid-template-columns: 1fr;
  }

  .fj-hero-wf h1 {
    font-size: 2.1rem;
  }

  .fj-hero-wf-actions .fj-btn {
    width: 100%;
  }
}

/* v21 — modulok egységes Wellfound-stílus */
.fj-page-head--wf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fj-border);
}

.fj-page-head--wf .fj-page-head-title {
  margin: 0;
}

.fj-page-head--wf .fj-page-sub {
  margin: 0.45rem 0 0;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.fj-module-block {
  margin-bottom: 2.5rem;
}

.fj-form-shell {
  max-width: 720px;
}

.fj-form-shell--narrow {
  max-width: 640px;
}

.fj-form-shell--wide {
  max-width: none;
  width: 100%;
}

.fj-card--wf {
  border-radius: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fj-card--wf:hover {
  border-color: rgba(72, 201, 176, 0.25);
}

.fj-stat-card-wf {
  border-radius: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.fj-stat-card-wf:hover {
  transform: translateY(-2px);
  border-color: var(--fj-teal);
}

.fj-stat-card-wf .fj-kpi {
  color: var(--fj-teal);
}

.fj-search-panel--pro,
.fj-search-panel.fj-search-panel--pro {
  border-radius: 20px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  box-shadow: var(--fj-shadow);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.fj-company-card {
  border-radius: 20px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.fj-company-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fj-shadow);
}

.fj-company-card--wf,
.fj-company-card {
  padding: 1.35rem;
}

.fj-quick-actions {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.fj-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 110px;
  border-radius: 20px;
  padding: 1.15rem 0.85rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.fj-quick-action:hover {
  transform: translateY(-2px);
  background: var(--fj-chip-bg);
}

.fj-quick-action .fj-icon {
  color: var(--fj-teal);
}

.fj-empty-state {
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.5rem;
}

.fj-empty-state .fj-empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fj-text);
  margin-bottom: 0.5rem;
}

.fj-empty-state--wf {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(72, 201, 176, 0.08), transparent 60%),
    var(--fj-panel);
}

.fj-kanban-col {
  border-radius: 20px;
}

.fj-kanban-item {
  border-radius: 14px;
  transition: border-color 0.2s;
}

.fj-kanban-item:hover {
  border-color: rgba(72, 201, 176, 0.3);
}

.fj-kanban-item-title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.fj-kanban-item-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fj-muted);
}

.fj-kanban-empty {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fj-muted);
}

.fj-inbox-item {
  border-radius: 18px;
  transition: transform 0.2s, border-color 0.2s;
}

.fj-inbox-item:hover {
  transform: translateY(-1px);
}

.fj-employer-job-card {
  border-radius: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.fj-employer-job-card:hover {
  border-color: rgba(72, 201, 176, 0.3);
  transform: translateY(-1px);
}

.fj-chat-room {
  max-width: 720px;
}

.fj-chat-messages {
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding: 0.25rem;
}

.fj-chat-bubble {
  max-width: 85%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fj-chat-bubble--them {
  background: var(--fj-chip-bg);
  border: 1px solid var(--fj-border);
  border-bottom-left-radius: 4px;
}

.fj-chat-bubble--me {
  margin-left: auto;
  background: linear-gradient(135deg, var(--fj-teal), var(--fj-teal-dark));
  color: var(--fj-on-primary);
  border-bottom-right-radius: 4px;
}

.fj-chat-bubble-role {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.fj-chat-compose {
  display: flex;
  gap: 0.5rem;
  max-width: 720px;
}

.fj-chat-compose .fj-input {
  flex: 1;
}

.fj-link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}

.fj-link-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--fj-border);
  background: var(--fj-surface-muted);
  font-weight: 700;
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
}

.fj-link-card:hover {
  border-color: var(--fj-teal);
  background: var(--fj-chip-bg);
  color: var(--fj-teal);
}

.fj-candidate-card {
  border-radius: 20px;
}

.fj-candidate-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.fj-candidate-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fj-muted);
}

.fj-candidate-video {
  margin-top: 1rem;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
}

.fj-candidate-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.fj-candidate-reject-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.fj-select-inline {
  width: auto;
  min-width: 180px;
  padding: 0.5rem 0.75rem;
}

.fj-btn-danger-text {
  color: var(--fj-danger);
}

.fj-btn-danger-text:hover {
  background: rgba(248, 113, 113, 0.1);
}

.fj-muted-note {
  margin: 0;
  color: var(--fj-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fj-muted-note--spaced {
  margin-bottom: 1.5rem;
}

.fj-company-intro {
  margin: -0.5rem 0 1.75rem;
  max-width: 720px;
  color: var(--fj-muted);
  line-height: 1.6;
}

.fj-admin-stats .fj-card {
  border-radius: 18px;
}

.fj-body--admin .fj-main {
  padding-top: 1.25rem;
}

.fj-toolbar--wf {
  margin-bottom: 1.25rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-alert-row {
  border-radius: 16px;
  transition: border-color 0.2s;
}

.fj-alert-row:hover {
  border-color: rgba(72, 201, 176, 0.25);
}

.fj-job-list--spaced {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fj-detail-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.fj-aside-stats-wf .fj-card {
  border-radius: 18px;
}

.fj-job-detail-fair {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--fj-teal);
}

.fj-progress-bar {
  display: block;
  height: 100%;
  width: calc(var(--pct, 0) * 1%);
  background: var(--fj-teal);
  border-radius: inherit;
}

.fj-insights-card.fj-card--wf {
  margin-bottom: 1.25rem;
  max-width: none;
}

.fj-admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.fj-admin-filters .fj-btn.is-active {
  background: var(--fj-chip-bg);
  color: var(--fj-teal);
  border-color: var(--fj-teal);
}

@media (max-width: 900px) {
  .fj-page-head--wf {
    flex-direction: column;
    align-items: stretch;
  }

  .fj-page-head--wf .fj-page-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* v22 — fotó-alapú layout */
.fj-main--wide > .fj-hero-split:first-child {
  width: calc(100% + var(--fj-main-pad-x) * 2);
  max-width: none;
  margin-left: calc(-1 * var(--fj-main-pad-x));
  margin-right: calc(-1 * var(--fj-main-pad-x));
  margin-top: -0.35rem;
}

.fj-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: clamp(480px, 72vh, 640px);
  border-bottom: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-hero-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.fj-hero-split-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 11ch;
}

.fj-hero-split-copy h1 span {
  color: var(--fj-teal);
}

.fj-hero-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}

.fj-hero-split-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.fj-hero-split-search .fj-search-field {
  background: var(--fj-input-bg);
  border-radius: 12px;
  padding: 0 0.75rem;
}

.fj-tag-scroll--hero {
  margin-top: 0.25rem;
}

.fj-hero-split-photo {
  position: relative;
  margin: 0;
  min-height: 280px;
  overflow: hidden;
}

.fj-hero-split-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.fj-photo-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(5, 8, 15, 0.72);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
}

.fj-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-stats-strip-item {
  flex: 1 1 160px;
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--fj-border);
  text-align: left;
}

.fj-stats-strip-item:last-child {
  border-right: none;
}

.fj-stats-strip-item strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fj-text);
  line-height: 1.1;
}

.fj-stats-strip-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--fj-muted);
  font-weight: 600;
}

.fj-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.fj-split--reverse .fj-split-photo { order: 2; }
.fj-split--reverse .fj-split-copy { order: 1; }

.fj-split-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--fj-border);
}

.fj-split-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.fj-split-copy .fj-btn {
  margin-top: 1.25rem;
}

.fj-feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.fj-feature-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--fj-border);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--fj-muted);
}

.fj-feature-list li:last-child { border-bottom: none; }
.fj-feature-list strong { color: var(--fj-text); }

.fj-steps-head {
  margin-bottom: 1.5rem;
}

.fj-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fj-step-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-step-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fj-step-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.fj-step-num {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fj-teal);
}

.fj-step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.fj-step-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fj-muted);
}

.fj-photo-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.fj-photo-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.fj-photo-card:hover {
  transform: translateY(-3px);
  border-color: var(--fj-teal);
}

.fj-photo-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.fj-photo-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.fj-photo-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.fj-photo-card-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--fj-muted);
}

.fj-split--employer {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 24px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-cta-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--fj-border);
}

.fj-cta-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fj-cta-photo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(90deg, rgba(5, 8, 15, 0.88) 0%, rgba(5, 8, 15, 0.45) 55%, transparent 100%);
  color: #f8fafc;
}

.fj-cta-photo-inner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fj-cta-photo-inner p {
  margin: 0 0 1.5rem;
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.fj-page-banner {
  width: calc(100% + var(--fj-main-pad-x) * 2);
  max-width: none;
  margin: -0.35rem calc(-1 * var(--fj-main-pad-x)) 1.5rem;
  height: clamp(140px, 22vw, 220px);
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  border-bottom: 1px solid var(--fj-border);
  position: relative;
}

.fj-page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.fj-page-banner--overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 8, 15, 0.82) 100%);
}

.fj-page-banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 1.25rem 1.15rem;
}

.fj-page-banner-title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #f8fafc;
}

.fj-body--admin .fj-page-banner {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 18px;
}

.fj-job-row-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .fj-hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fj-hero-split-photo {
    order: -1;
    max-height: 280px;
  }

  .fj-hero-split-photo img {
    max-height: 280px;
    min-height: 220px;
  }

  .fj-hero-split-search {
    grid-template-columns: 1fr;
  }

  .fj-main--wide > .fj-hero-split:first-child {
    width: calc(100% + var(--fj-main-pad-x) * 2);
    margin-left: calc(-1 * var(--fj-main-pad-x));
    margin-right: calc(-1 * var(--fj-main-pad-x));
  }

  .fj-split,
  .fj-split--reverse {
    grid-template-columns: 1fr;
  }

  .fj-split--reverse .fj-split-photo,
  .fj-split--reverse .fj-split-copy {
    order: unset;
  }

  .fj-steps-grid,
  .fj-photo-cards {
    grid-template-columns: 1fr 1fr;
  }

  .fj-stats-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--fj-border);
  }

  .fj-split-photo img {
    min-height: 200px;
    max-height: 280px;
  }
}

@media (max-width: 540px) {
  .fj-steps-grid,
  .fj-photo-cards {
    grid-template-columns: 1fr;
  }

  .fj-hero-split-copy h1 {
    font-size: 2rem;
    max-width: none;
  }

  .fj-hero-split-actions .fj-btn {
    width: 100%;
  }

  .fj-cta-photo-inner {
    background: linear-gradient(180deg, rgba(5, 8, 15, 0.75) 0%, rgba(5, 8, 15, 0.88) 100%);
  }

  .fj-page-banner {
    height: clamp(120px, 30vw, 160px);
    border-radius: 0 0 16px 16px;
  }
}

/* v26 — főoldal Wellfound landing */
.fj-shell--landing {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.fj-main--landing {
  padding-top: 0.35rem;
}

.fj-hero-wf h1 {
  max-width: 14ch;
}

.fj-wf-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-top: 1.5rem;
  border-radius: 14px;
  background: var(--fj-surface-muted);
  border: 1px solid var(--fj-border);
}

.fj-wf-tab {
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fj-muted);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.fj-wf-tab:hover {
  color: var(--fj-text);
}

.fj-wf-tab.is-active {
  background: var(--fj-panel);
  color: var(--fj-teal);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .fj-wf-tab.is-active,
body[data-theme="light"] .fj-wf-tab.is-active {
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

@media (max-width: 540px) {
  .fj-wf-tabs {
    width: 100%;
  }

  .fj-wf-tab {
    flex: 1 1 calc(50% - 0.2rem);
    text-align: center;
    padding: 0.65rem 0.75rem;
  }

  .fj-hero-wf h1 {
    max-width: none;
  }
}

/* v27 — globális Wellfound layout + fotók mindenhol */
.fj-body--wf .fj-shell--wf {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.fj-body--wf .fj-main--wf {
  padding-top: 0.35rem;
}

.fj-body--wf .fj-main--wide > .fj-hero-wf:first-child {
  width: calc(100% + 2.7rem);
  max-width: none;
  margin-left: -1.35rem;
  margin-right: -1.35rem;
  margin-top: -0.35rem;
  border-radius: 0 0 32px 32px;
}

.fj-hero-wf--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.fj-hero-wf-visual {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--fj-border);
  min-height: 280px;
}

.fj-hero-wf-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.fj-company-card--photo {
  padding: 0;
  overflow: hidden;
}

.fj-company-card-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--fj-border);
}

.fj-company-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fj-company-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.fj-company-card--photo .fj-company-score {
  margin-bottom: 0.75rem;
}

.fj-tool-card--photo {
  padding: 0;
  overflow: hidden;
}

.fj-tool-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--fj-border);
}

.fj-tool-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fj-tool-card--photo h3,
.fj-tool-card--photo p,
.fj-tool-card--photo .fj-link-arrow {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.fj-tool-card--photo h3 {
  margin-top: 1.1rem;
}

.fj-tool-card--photo .fj-link-arrow {
  margin-bottom: 1.25rem;
}

.fj-quick-action--photo {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.fj-quick-action--photo img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--fj-border);
}

.fj-quick-action--photo span {
  padding: 0.85rem 0.65rem 1rem;
}

.fj-auth-visual {
  overflow: hidden;
}

.fj-auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 900px) {
  .fj-hero-wf--split {
    grid-template-columns: 1fr;
  }

  .fj-hero-wf-visual {
    order: -1;
    min-height: 0;
    width: 100%;
    height: clamp(200px, 44vw, 280px);
  }

  .fj-hero-wf-visual img {
    min-height: 0;
    height: 100%;
    width: 100%;
  }
}

.fj-job-detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fj-kanban-item--photo {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
}

.fj-kanban-item-thumb {
  width: 64px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--fj-border);
}

.fj-kanban-item-body {
  min-width: 0;
}

/* v29 — mobil hero + kereső javítás */
@media (max-width: 768px) {
  .fj-main--wide > .fj-hero-wf:first-child,
  .fj-body--wf .fj-main--wide > .fj-hero-wf:first-child {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    border-radius: 20px;
  }

  .fj-hero-wf {
    padding: 1.35rem 1rem 1.5rem;
    margin-bottom: 1.25rem;
  }

  .fj-hero-wf--split {
    gap: 0.85rem;
  }

  .fj-hero-wf-visual {
    order: -1;
    min-height: 0;
    width: 100%;
    height: clamp(210px, 52vw, 260px);
    border-radius: 16px;
  }

  .fj-hero-wf-visual img {
    min-height: 0;
    height: 100%;
    width: 100%;
  }

  .fj-hero-wf-search {
    grid-template-columns: 1fr;
    margin-top: 1.15rem;
    padding: 0.4rem;
  }

  .fj-hero-wf-search .fj-search-field {
    min-width: 0;
    width: 100%;
  }

  .fj-hero-wf-search .fj-search-field .fj-input {
    min-width: 0;
    width: 100%;
  }

  .fj-hero-wf-search .fj-btn {
    width: 100%;
    justify-content: center;
  }

  .fj-wf-tabs {
    width: 100%;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .fj-main--wide > .fj-hero-wf:first-child,
  .fj-body--wf .fj-main--wide > .fj-hero-wf:first-child {
    width: calc(100% + var(--fj-main-pad-x) * 2);
    margin-left: calc(-1 * var(--fj-main-pad-x));
    margin-right: calc(-1 * var(--fj-main-pad-x));
  }

  .fj-hero-wf-search {
    grid-template-columns: 1fr;
  }

  .fj-hero-wf-search .fj-btn {
    width: 100%;
    justify-content: center;
  }
}

/* v31 — felső mobil nav + Profilom központ */
.fj-header-tabs {
  display: none;
  border-bottom: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-header-tabs-scroll {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fj-header-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.fj-header-tab {
  flex-shrink: 0;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--fj-border);
  background: var(--fj-surface-muted);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fj-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.fj-header-tab:hover {
  color: var(--fj-text);
  border-color: var(--fj-teal);
}

.fj-header-tab.is-active {
  background: var(--fj-chip-bg);
  border-color: var(--fj-teal);
  color: var(--fj-teal);
}

.fj-mobile-drawer-section {
  margin: 0.85rem 0 0.35rem;
  padding: 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fj-muted);
}

.fj-mobile-drawer-section:first-child {
  margin-top: 0;
}

.fj-account-hero {
  padding: 1.35rem 1.25rem;
}

.fj-account-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.fj-account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fj-teal);
  background: var(--fj-chip-bg);
  border: 1px solid var(--fj-border);
  flex-shrink: 0;
}

.fj-account-profile-body {
  flex: 1 1 180px;
  min-width: 0;
}

.fj-account-name {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fj-account-email,
.fj-account-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fj-muted);
}

.fj-account-progress {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fj-border);
}

.fj-account-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.fj-account-progress-head strong {
  color: var(--fj-teal);
}

.fj-account-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--fj-surface-muted);
  overflow: hidden;
}

.fj-account-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--fj-teal), #5b8def);
  transition: width 0.35s ease;
}

.fj-account-stats {
  margin-bottom: 2rem;
}

.fj-account-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.fj-account-nav-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.fj-account-nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--fj-teal);
  box-shadow: var(--fj-shadow);
}

.fj-account-nav-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-bottom: 1px solid var(--fj-border);
}

.fj-account-nav-label {
  padding: 0.75rem 0.85rem 0.15rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.fj-account-nav-desc {
  padding: 0 0.85rem 0.85rem;
  font-size: 0.82rem;
  color: var(--fj-muted);
}

.fj-account-activity {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fj-account-activity-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
}

.fj-account-activity-thumb {
  width: 72px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--fj-border);
}

.fj-account-activity-body {
  min-width: 0;
}

.fj-account-activity-title {
  margin: 0 0 0.15rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.fj-account-activity-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--fj-muted);
}

@media (max-width: 1100px) {
  .fj-header-tabs {
    display: block;
  }

  .fj-body--auth .fj-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .fj-account-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fj-account-activity-item {
    grid-template-columns: 64px 1fr;
  }

  .fj-account-activity-item .fj-badge-sm {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .fj-account-nav-grid {
    grid-template-columns: 1fr;
  }

  .fj-account-nav-card img {
    height: 110px;
  }
}

@media (min-width: 1101px) {
  .fj-header-tabs {
    display: none;
  }
}

/* v32 — teljes szélességű profil + Indeed/LinkedIn szekciók */
.fj-profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  width: 100%;
}

.fj-profile-sidebar {
  position: sticky;
  top: 5.5rem;
}

.fj-profile-sidebar-pct {
  margin: 0 0 0.65rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fj-teal);
}

.fj-profile-section-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.fj-profile-section-link {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.fj-profile-section-link:hover {
  background: var(--fj-chip-bg);
}

.fj-profile-section-link.is-done .fj-profile-section-status {
  color: var(--fj-teal);
}

.fj-profile-section-link strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.fj-profile-section-link small {
  display: block;
  font-size: 0.75rem;
  color: var(--fj-muted);
  margin-top: 0.1rem;
}

.fj-profile-section-status {
  flex-shrink: 0;
  width: 1.25rem;
  font-weight: 800;
  color: var(--fj-muted);
}

.fj-profile-main,
.fj-profile-form {
  min-width: 0;
  width: 100%;
}

.fj-profile-section {
  margin-bottom: 1rem;
}

.fj-profile-section-head {
  margin-bottom: 1rem;
}

.fj-profile-section .fj-detail-section-title {
  margin: 0 0 0.35rem;
}

.fj-profile-section .fj-muted-note {
  margin: 0 0 1rem;
}

.fj-profile-sidebar-note {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.fj-profile-optional-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.12);
  color: var(--fj-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}

.fj-profile-optional-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fj-muted);
  text-transform: uppercase;
}

.fj-profile-section--optional {
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.28);
  background: rgba(248, 250, 252, 0.85);
}

.fj-profile-checklist--optional .fj-profile-check-item {
  border-style: dashed;
  background: rgba(248, 250, 252, 0.7);
}

.fj-profile-check-item--optional .fj-profile-check-icon {
  background: rgba(100, 116, 139, 0.1);
  color: var(--fj-muted);
}

.fj-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fj-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--fj-border);
  background: var(--fj-surface-muted);
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
}

.fj-check-row input {
  margin-top: 0.2rem;
  accent-color: var(--fj-teal);
}

.fj-profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding-bottom: 1rem;
}

.fj-profile-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.fj-profile-check-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--fj-border);
  background: var(--fj-panel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.fj-profile-check-item:hover {
  border-color: var(--fj-teal);
  transform: translateY(-1px);
}

.fj-profile-check-item.is-done {
  opacity: 0.72;
}

.fj-profile-check-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--fj-chip-bg);
  color: var(--fj-teal);
}

.fj-profile-check-item:not(.is-done) .fj-profile-check-icon {
  color: var(--fj-muted);
}

.fj-profile-check-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.fj-profile-check-body strong {
  font-size: 0.95rem;
}

.fj-profile-check-body span {
  font-size: 0.82rem;
  color: var(--fj-muted);
}

.fj-repeatable-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fj-repeatable-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fj-repeatable-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.fj-repeatable-list--jobs .fj-repeatable-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.fj-repeatable-item--credential {
  grid-template-columns: minmax(140px, 0.9fr) minmax(72px, 0.45fr) minmax(0, 1.2fr) minmax(0, 1fr) 88px auto;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--fj-border);
  background: var(--fj-surface-muted);
}

.fj-repeatable-remove {
  min-width: 44px;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-size: 1.2rem;
  line-height: 1;
}

.fj-credential-license[hidden] {
  display: none !important;
}

.fj-repeatable-item--language {
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.8fr) auto;
}

.fj-repeatable-item--experience {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.fj-repeatable-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  min-width: 0;
}

.fj-repeatable-item--experience .fj-repeatable-item-grid textarea {
  grid-column: 1 / -1;
}

.fj-repeatable-item--experience .fj-check-inline {
  grid-column: 1 / -1;
}

.fj-repeatable-item--education {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) 100px auto;
}

.fj-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fj-muted);
}

[data-exp-end][hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .fj-repeatable-item--language {
    grid-template-columns: 1fr auto;
  }

  .fj-repeatable-item--language select {
    grid-column: 1 / 2;
  }

  .fj-repeatable-item--education {
    grid-template-columns: 1fr 1fr auto;
  }

  .fj-repeatable-item--education [name="edu_year[]"] {
    grid-column: 1 / 2;
  }

  .fj-repeatable-item-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .fj-repeatable-item--credential {
    grid-template-columns: 1fr 1fr auto;
  }

  .fj-repeatable-item--credential [data-credential-name] {
    grid-column: 1 / 3;
  }

  .fj-repeatable-item--credential [name="credential_issuer[]"] {
    grid-column: 1 / 2;
  }

  .fj-repeatable-item--credential [name="credential_year[]"] {
    grid-column: 2 / 3;
  }

  .fj-repeatable-item--credential .fj-repeatable-remove {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 900px) {
  .fj-profile-layout {
    grid-template-columns: 1fr;
  }

  .fj-profile-sidebar {
    position: static;
  }

  .fj-profile-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .fj-form-grid-3 {
    grid-template-columns: 1fr;
  }

  .fj-profile-checklist {
    grid-template-columns: 1fr;
  }
}
