/* JobExtrator theme — cloud white */
:root {
  --brand-dark: #0D47A1;
  --primary: #1A73E8;
  --warning: #F97316;
  --success: #16A34A;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #F5F7FA;
  --text-1: #1F2937;
  --text-2: #4B5563;
  --border: #E5E7EB;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 6px 20px -8px rgba(15,23,42,.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Epilogue', Inter, system-ui, sans-serif; color: var(--text-1); background: var(--bg); line-height: 1.6; font-size: 15px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: 'Urbanist', Inter, system-ui, sans-serif; letter-spacing: -0.02em; font-weight: 700; color: var(--brand-dark); margin: 0 0 .5em; }
h1 { font-size: 2.25rem; line-height: 1.15; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
img { max-width: 100%; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.button, button.primary { display: inline-block; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: var(--radius); border: 0; font-weight: 600; cursor: pointer; }
.button.ghost { background: transparent; color: var(--brand-dark); border: 1px solid var(--border); }
.button:hover { background: #1666d0; text-decoration: none; color: #fff; }

/* Header */
.je-header { background: var(--brand-dark); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.08); }
.je-header .container { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.je-logo { font-family: 'Urbanist', sans-serif; font-weight: 800; color: #fff; font-size: 1.15rem; }
.je-logo b { color: var(--warning); }
.je-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.je-nav a { color: rgba(255,255,255,.9); padding: 8px 12px; border-radius: 6px; font-size: .95rem; }
.je-nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; color: var(--warning); }
.je-search { flex: 1; max-width: 420px; }
.je-search input { width: 100%; padding: 10px 14px; border: 0; border-radius: 999px; background: #fff; color: var(--text-1); }

/* Hero */
.je-hero { color: #fff; padding: 64px 0 56px; background:
  radial-gradient(1200px 400px at 80% -10%, rgba(26,115,232,.35), transparent 60%),
  radial-gradient(800px 300px at 10% 110%, rgba(26,115,232,.25), transparent 60%),
  linear-gradient(180deg, var(--brand-dark) 0%, #0a3a80 100%); }
.je-hero h1 { color: #fff; font-size: 2.75rem; }
.je-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; }
.je-hero form { display: flex; gap: 8px; margin-top: 20px; max-width: 640px; flex-wrap: wrap; }
.je-hero form input { flex: 1; min-width: 220px; padding: 14px 16px; border: 0; border-radius: 999px; }

/* Cards grid */
.je-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.je-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; }
.je-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.je-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.je-card h3 a { color: var(--brand-dark); }
.je-card .je-company { color: var(--text-2); font-size: .9rem; }
.je-card .je-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.je-chip { background: var(--surface-2); color: var(--text-2); border-radius: 999px; padding: 4px 10px; font-size: .8rem; }
.je-chip.brand { background: rgba(26,115,232,.1); color: var(--primary); }

/* Section */
.je-section { padding: 40px 0; }
.je-section h2 { margin-bottom: 16px; }
.je-section .je-lead { color: var(--text-2); max-width: 720px; }

/* Layout with sidebar */
.je-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .je-layout.has-side { grid-template-columns: 1fr 300px; } }
.je-side { background: var(--surface-2); padding: 16px; border-radius: var(--radius); }
.je-side h4 { color: var(--brand-dark); margin-top: 0; }
.je-side ul { list-style: none; padding: 0; margin: 0; }
.je-side li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.je-side li:last-child { border-bottom: 0; }

/* Vaga single */
.je-vaga-hero { background: var(--surface-2); padding: 32px 0; border-bottom: 1px solid var(--border); }
.je-vaga-hero h1 { margin-bottom: 8px; }
.je-vaga-hero .je-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.je-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.je-summary dt { font-weight: 600; color: var(--brand-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.je-summary dd { margin: 4px 0 12px 0; }

/* Breadcrumbs */
.je-crumbs { color: var(--text-2); font-size: .85rem; padding: 12px 0; }
.je-crumbs a { color: var(--text-2); }

/* Footer */
.je-footer { background: var(--brand-dark); color: rgba(255,255,255,.85); margin-top: 48px; }
.je-footer .container { padding: 40px 20px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .je-footer .container { grid-template-columns: repeat(4, 1fr); } }
.je-footer h4 { color: #fff; margin: 0 0 8px; font-size: 1rem; }
.je-footer a { color: rgba(255,255,255,.85); display: block; padding: 3px 0; }
.je-footer a:hover { color: var(--warning); text-decoration: none; }
.je-footer .copy { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 14px; font-size: .85rem; }

/* Pagination */
.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; margin: 24px 0; }
.page-numbers { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; color: var(--brand-dark); }
.page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Content prose */
.je-prose p { margin: 0 0 1em; }
.je-prose h2, .je-prose h3 { margin-top: 1.6em; }

/* Utilities */
.text-muted { color: var(--text-2); }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }