/* LocalHireHub branding */
:root {
  --teal: #0e5e6f;
  --teal-dark: #0a4651;
  --teal-light: #e8f3f4;
  --amber: #e8a435;
  --amber-dark: #b8801f;
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1a2a2e;
  --ink-soft: #43575d;
  --muted: #7a8a8f;
  --line: #e4ddd0;
  --line-strong: #cdc3b1;
  --max: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: "Source Serif Pro", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; margin-top: 2rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-family: "Source Serif Pro", Georgia, serif;
}
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink-soft); font-weight: 500; }
.nav a:hover { color: var(--teal); }
.nav .cta {
  background: var(--teal); color: #fff; padding: 8px 16px; border-radius: var(--radius);
}
.nav .cta:hover { background: var(--teal-dark); color: #fff; text-decoration: none; }

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(14,94,111,0.78), rgba(10,70,81,0.72)),
    url("/images/hero.png") center / cover no-repeat;
  color: #fff;
  padding: 70px 0 80px;
  border-bottom: 4px solid var(--amber);
}
.hero h1 { color: #fff; font-size: 2.8rem; max-width: 760px; }
.hero p.lede { font-size: 1.18rem; max-width: 720px; color: #f6efe2; margin-top: 0.5rem; }
.hero .quick-search {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.hero .pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.92rem;
}
.hero .pill:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); text-decoration: none; }

/* Sections */
section.block { padding: 48px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Grid lists */
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tile {
  display: block; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink);
  transition: transform 120ms ease, border-color 120ms ease;
}
.tile:hover { border-color: var(--teal); transform: translateY(-1px); text-decoration: none; }
.tile .label { display: block; font-weight: 700; color: var(--ink); }
.tile .meta { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* Job card */
.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.job-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.job-card h3 a { color: var(--ink); }
.job-card .row { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 6px; }
.job-card .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge {
  display: inline-block; font-size: 0.78rem; padding: 3px 9px; border-radius: 999px;
  background: var(--teal-light); color: var(--teal-dark); font-weight: 600;
}
.badge.amber { background: #fbecd0; color: var(--amber-dark); }
.badge.gray { background: #ecebe6; color: var(--ink-soft); }
.job-card p.snippet { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Job detail */
.layout {
  display: grid; gap: 32px;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-top: 28px;
}
@media (max-width: 880px) { .layout { grid-template-columns: 1fr; } }
.article {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px;
}
.article h1 { margin-top: 0; }
.article .meta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  color: var(--ink-soft); margin-bottom: 18px; font-size: 0.95rem;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.article p { margin: 0 0 1em; }
.article ul { margin: 0 0 1em 1.4em; }
.article li { margin-bottom: 6px; }
.aside .panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 18px;
}
.aside h3 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.aside ul { margin: 0; padding-left: 18px; }

/* Breadcrumbs */
.crumbs { color: var(--muted); font-size: 0.92rem; margin: 18px 0 6px; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin: 0 6px; }

/* AdSense placeholders */
.ad-slot {
  border: 1px dashed var(--line-strong);
  background: #f3eedf;
  color: var(--muted);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  margin: 22px 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d6d2c5;
  padding: 40px 0 28px;
  margin-top: 60px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 12px; font-family: inherit; }
.site-footer a { color: #cfe5e8; }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer .legal { border-top: 1px solid #2c4146; margin-top: 28px; padding-top: 18px; font-size: 0.85rem; color: #93a3a7; }

/* Tables / lists */
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 6px 0; border-bottom: 1px dotted var(--line); }
.list-clean li:last-child { border-bottom: 0; }

.kicker {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber-dark); font-weight: 700;
  margin-bottom: 6px;
}
.muted { color: var(--muted); }
.note { background: #fff5e0; border-left: 3px solid var(--amber); padding: 12px 16px; border-radius: 4px; margin: 16px 0; }

@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 50px 0 56px; }
  .hero h1 { font-size: 2rem; }
  .article { padding: 22px; }
  .nav { gap: 14px; }
}
