/* ═══════════════════════════════════════════════════════════════
   Wages by City — Front-end Styles
   Aesthetic: Data-forward editorial. Financial terminal meets
   newspaper. Numbers feel authoritative, layout feels deliberate.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  --navy:      #0d1b2a;
  --navy-mid:  #1a2e42;
  --navy-soft: #243b53;
  --blue:      #1a6fb5;
  --blue-lt:   #2484d4;
  --teal:      #0d9488;
  --green:     #059669;
  --red:       #dc2626;
  --sand:      #f8f5f0;
  --paper:     #fdfcfb;
  --border:    #e5e0d8;
  --border-dk: #d0c8bc;
  --text:      #1a1614;
  --text-mid:  #4a4540;
  --text-soft: #7a736c;
  --mono:      'DM Mono', monospace;
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────── */
.wbo-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 24px 60px;
  font-family: var(--sans);
  color: var(--text);
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.wbo-breadcrumb { font-size: 12px; color: var(--text-soft); margin-bottom: 16px; letter-spacing: 0.02em; }
.wbo-breadcrumb a { color: var(--text-soft); text-decoration: none; }
.wbo-breadcrumb a:hover { color: var(--blue); text-decoration: underline; }

/* ── Header ───────────────────────────────────────────────────── */
.wbo-header { margin-bottom: 24px; border-bottom: 2px solid var(--navy); padding-bottom: 14px; }
.wbo-header h1 {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 400; line-height: 1.2;
  color: var(--navy); margin: 0 0 8px;
}
.wbo-source { font-size: 12px; color: var(--text-soft); margin: 0; font-family: var(--mono); }

/* ── Stat grid ────────────────────────────────────────────────── */
.wbo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2px; margin: 0 0 32px;
  border: 1px solid var(--border-dk);
  border-radius: 3px; overflow: hidden;
  background: var(--border-dk);
}
.wbo-stat { background: var(--paper); padding: 14px 16px; }
.wbo-stat--primary {
  background: var(--navy);
  grid-column: span 2;
}
.wbo-stat--primary .wbo-stat__label { color: rgba(255,255,255,0.5); }
.wbo-stat--primary .wbo-stat__value { color: #fff; font-size: 30px; }
.wbo-stat--primary .wbo-stat__sub   { color: rgba(255,255,255,0.65); }
.wbo-stat__label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); margin-bottom: 5px; font-weight: 500; }
.wbo-stat__value { display: block; font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--navy); line-height: 1; }
.wbo-stat__sub { display: block; font-size: 12px; margin-top: 4px; font-weight: 500; }
.wbo-stat__sub--up   { color: var(--green); }
.wbo-stat__sub--down { color: var(--red); }

/* ── Percentile bars ──────────────────────────────────────────── */
.wbo-percentiles { margin: 0 0 32px; }
.wbo-percentiles h2, .wbo-related h2, .wbo-context h2, .wbo-compare-cta h2, .wbo-faq h2 {
  font-family: var(--serif); font-size: 20px; font-weight: 400;
  color: var(--navy); margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.wbo-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.wbo-bar-label { width: 100px; font-size: 11px; color: var(--text-soft); text-align: right; flex-shrink: 0; font-family: var(--mono); }
.wbo-bar-track { flex: 1; background: #ede9e3; border-radius: 2px; height: 22px; overflow: hidden; }
.wbo-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-mid) 0%, var(--blue) 100%);
  display: flex; align-items: center; padding-left: 8px; min-width: 60px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.wbo-bar-fill span { font-size: 11px; font-weight: 500; color: #fff; font-family: var(--mono); }

/* ── Tables ───────────────────────────────────────────────────── */
.wbo-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.wbo-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-soft); padding: 7px 10px; border-bottom: 2px solid var(--navy); font-weight: 500; }
.wbo-table td { padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.wbo-table tr:hover td { background: var(--sand); }
.wbo-table td:last-child { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--navy); text-align: right; }
.wbo-table th:last-child { text-align: right; }
.wbo-table a { color: var(--blue); text-decoration: none; font-weight: 500; }
.wbo-table a:hover { text-decoration: underline; }

/* ── Related ──────────────────────────────────────────────────── */
.wbo-related { margin: 0 0 32px; }

/* ── Context block ────────────────────────────────────────────── */
.wbo-context { margin: 0 0 32px; }
.wbo-context-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px; border: 1px solid var(--border-dk);
  border-radius: 3px; overflow: hidden; background: var(--border-dk);
}
.wbo-context-item { background: var(--paper); padding: 14px 16px; }
.wbo-context-item--highlight { background: var(--navy); }
.wbo-context-item--highlight .wbo-context-label { color: rgba(255,255,255,0.5); }
.wbo-context-item--highlight .wbo-context-value { color: #fff; }
.wbo-context-item--highlight .wbo-context-sub { color: rgba(255,255,255,0.6); }
.wbo-context-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); margin-bottom: 5px; font-weight: 500; }
.wbo-context-value { display: block; font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--navy); line-height: 1; }
.wbo-context-sub { display: block; font-size: 11px; color: var(--text-soft); margin-top: 5px; line-height: 1.5; }
.wbo-up   { color: var(--green) !important; }
.wbo-down { color: var(--red) !important; }

/* ── Compare tool ─────────────────────────────────────────────── */
.wbo-compare-cta { background: var(--sand); border: 1px solid var(--border-dk); border-radius: 3px; padding: 20px; margin: 0 0 32px; }
.wbo-compare-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.wbo-compare-form select { font-size: 13px; padding: 7px 10px; border-radius: 3px; border: 1px solid var(--border-dk); background: white; color: var(--text); font-family: var(--sans); }
.wbo-compare-form button { background: var(--navy); color: #fff; border: none; border-radius: 3px; cursor: pointer; padding: 7px 18px; font-size: 13px; font-weight: 500; font-family: var(--sans); }
.wbo-compare-form button:hover { background: var(--navy-soft); }
.wbo-compare-grid { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 16px; align-items: start; }
.wbo-compare-col h4 { margin: 0 0 5px; font-size: 10px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }
.wbo-compare-med { font-size: 24px; font-weight: 500; font-family: var(--mono); color: var(--navy); margin-bottom: 8px; }
.wbo-compare-divider { text-align: center; font-size: 16px; color: var(--border-dk); padding-top: 22px; }
.wbo-compare-table { width: 100%; font-size: 12px; }
.wbo-compare-table td { padding: 3px 0; }
.wbo-compare-nat { font-size: 11px; color: var(--text-soft); margin-top: 10px; font-family: var(--mono); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.wbo-faq { margin: 0 0 32px; }
.wbo-faq details { border-bottom: 1px solid var(--border); }
.wbo-faq summary { cursor: pointer; font-weight: 500; font-size: 14px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--navy); }
.wbo-faq summary::-webkit-details-marker { display: none; }
.wbo-faq summary::after { content: '+'; font-size: 18px; color: var(--text-soft); font-weight: 300; line-height: 1; }
.wbo-faq details[open] summary::after { content: '−'; }
.wbo-faq details p { margin: 0 0 14px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── Data source ──────────────────────────────────────────────── */
.wbo-data-source { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 14px; font-size: 12px; color: var(--text-soft); font-family: var(--mono); }
.wbo-data-source a { color: inherit; text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════════════════════════ */
.wbo-home { font-family: var(--sans); color: var(--text); }

.wbo-hero {
  background: var(--navy);
  padding: 60px 24px 52px;
  text-align: center;
  position: relative;
}
.wbo-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px);
  pointer-events: none;
}
.wbo-hero__eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; font-family: var(--mono); }
.wbo-hero__title { font-family: var(--serif); font-size: clamp(28px, 5vw, 50px); font-weight: 400; color: #fff; line-height: 1.15; margin: 0 auto 12px; max-width: 640px; letter-spacing: -0.02em; }
.wbo-hero__sub { font-size: 15px; color: rgba(255,255,255,0.55); margin: 0 auto 36px; max-width: 440px; line-height: 1.6; }

.wbo-search {
  max-width: 760px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px; align-items: stretch;
}
.wbo-search select {
  width: 100%;
  padding: 13px 36px 13px 14px; font-size: 14px; font-family: var(--sans);
  border: none; border-radius: 3px; background: white; color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a736c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; cursor: pointer;
  min-width: 0;
}
.wbo-search select:focus { outline: 2px solid var(--teal); }
.wbo-search__btn {
  background: var(--teal); color: white; border: none; border-radius: 3px;
  padding: 13px 24px; font-size: 14px; font-weight: 600; font-family: var(--sans);
  cursor: pointer; letter-spacing: 0.02em; white-space: nowrap; transition: background .15s;
}
.wbo-search__btn:hover { background: #0b7a72; }
@media (max-width: 600px) {
  .wbo-search { grid-template-columns: 1fr; }
}

.wbo-stats-strip { background: var(--navy-mid); padding: 16px 24px; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.06); }
.wbo-stats-strip__item { text-align: center; color: rgba(255,255,255,0.6); font-size: 12px; font-family: var(--mono); }
.wbo-stats-strip__num { display: block; font-size: 18px; font-weight: 500; color: white; line-height: 1.3; }

.wbo-home-sections { max-width: 860px; margin: 0 auto; padding: 40px 24px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.wbo-home-section h2 { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--navy); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.wbo-home-list { list-style: none; margin: 0; padding: 0; }
.wbo-home-list li { border-bottom: 1px solid var(--border); }
.wbo-home-list li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; text-decoration: none; color: var(--text); font-size: 14px; gap: 12px; }
.wbo-home-list li a:hover { color: var(--blue); }
.wbo-home-list li a span:first-child { flex: 1; }
.wbo-home-list li a span:last-child { font-family: var(--mono); font-size: 12px; color: var(--text-soft); font-weight: 500; white-space: nowrap; }
.wbo-home-cta { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-soft); }
.wbo-home-cta a { color: var(--blue); text-decoration: none; font-weight: 500; }
.wbo-home-cta a:hover { text-decoration: underline; }

.wbo-about-strip { background: var(--sand); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 24px; text-align: center; }
.wbo-about-strip p { max-width: 580px; margin: 0 auto; font-size: 15px; color: var(--text-mid); line-height: 1.7; }
.wbo-about-strip strong { color: var(--navy); }

/* ══════════════════════════════════════════════════════════════
   INDEX PAGES
   ══════════════════════════════════════════════════════════════ */
.wbo-index-header { background: var(--navy); padding: 32px 24px 24px; }
.wbo-index-header .wbo-breadcrumb { color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.wbo-index-header .wbo-breadcrumb a { color: rgba(255,255,255,0.4); }
.wbo-index-header h1 { font-family: var(--serif); font-size: clamp(20px, 4vw, 30px); font-weight: 400; color: white; margin: 0 0 6px; }
.wbo-index-header .wbo-source { color: rgba(255,255,255,0.4); }
.wbo-occ-index, .wbo-metro-index { max-width: 860px; margin: 0 auto; padding: 24px 24px 60px; font-family: var(--sans); }
.wbo-state-group { margin-top: 24px; }
.wbo-state-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); padding: 6px 0; border-bottom: 2px solid var(--navy); margin-bottom: 0; display: block; }

/* ══════════════════════════════════════════════════════════════
   ADMIN OVERRIDES
   ══════════════════════════════════════════════════════════════ */
.wbo-result { padding: 10px 14px; border-radius: 3px; font-size: 13px; margin-top: 10px; }
.wbo-result.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.wbo-result.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.wbo-progress { margin-top: 12px; }
.wbo-progress-bar { height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.wbo-progress-fill { height: 100%; background: var(--blue, #2271b1); border-radius: 3px; transition: width .3s; }
.wbo-progress-label { font-size: 12px; color: #6b7280; margin-top: 6px; }

/* Center index page headers */
.wbo-index-header { text-align: center; }
.wbo-index-header .wbo-breadcrumb { justify-content: center; display: flex; gap: 4px; text-align: center; }
.wbo-index-header h1 { max-width: 700px; margin: 0 auto 6px; }
.wbo-index-header .wbo-source { text-align: center; }

/* Fix typeahead dropdown clipping — hero needs overflow visible */
.wbo-hero { overflow: visible; }
.wbo-hero::before { pointer-events: none; overflow: hidden; }
.wbo-search { position: relative; z-index: 50; }
@media (max-width: 640px) {
  .wbo-page { padding: 16px 16px 40px; }
  .wbo-stat--primary { grid-column: span 1; }
  .wbo-bar-label { width: 56px; font-size: 10px; }
  .wbo-compare-grid { grid-template-columns: 1fr; }
  .wbo-compare-divider { display: none; }
  .wbo-search { grid-template-columns: 1fr; }
  .wbo-home-sections { grid-template-columns: 1fr; gap: 28px; }
  .wbo-stats-strip { gap: 24px; }
}

/* ══════════════════════════════════════════════════════════════
   SITE HEADER
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

body.wbo-site {
  margin: 0; padding: 0;
  background: var(--paper, #fdfcfb);
  font-family: var(--sans, 'DM Sans', system-ui, sans-serif);
}

.wbo-site-header {
  background: var(--navy, #0d1b2a);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 100;
}
.wbo-site-header__inner {
  max-width: 1080px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.wbo-site-header__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.wbo-site-header__logo-mark {
  width: 28px; height: 28px;
  background: var(--teal, #0d9488);
  color: white; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif, 'DM Serif Display', Georgia, serif);
  font-size: 16px; font-weight: 400; line-height: 1;
  flex-shrink: 0;
}
.wbo-site-header__logo-text {
  font-family: var(--sans, 'DM Sans', system-ui, sans-serif);
  font-size: 15px; font-weight: 600;
  color: white; letter-spacing: -0.01em;
}
.wbo-site-header__nav {
  display: flex; align-items: center; gap: 28px;
}
.wbo-site-header__nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none; font-size: 13px;
  font-weight: 500; letter-spacing: 0.01em;
  transition: color .15s;
}
.wbo-site-header__nav a:hover { color: white; }

/* Admin bar offset */
.admin-bar .wbo-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wbo-site-header { top: 46px; } }

@media (max-width: 600px) {
  .wbo-site-header__nav { gap: 16px; }
  .wbo-site-header__nav a { font-size: 12px; }
  .wbo-site-header__logo-text { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   SITE FOOTER
   ══════════════════════════════════════════════════════════════ */
.wbo-site-footer {
  background: var(--navy, #0d1b2a);
  color: rgba(255,255,255,0.5);
  margin-top: 0;
}
.wbo-site-footer__inner {
  max-width: 1080px; margin: 0 auto;
  padding: 48px 24px 40px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
}
.wbo-site-footer__logo {
  font-family: var(--serif, 'DM Serif Display', Georgia, serif);
  font-size: 18px; font-weight: 400; color: white;
  display: block; margin-bottom: 12px;
}
.wbo-site-footer__brand p {
  font-size: 13px; line-height: 1.7;
  color: rgba(255,255,255,0.4); margin: 0;
  max-width: 380px;
}
.wbo-site-footer__links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.wbo-site-footer__col h4 {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin: 0 0 12px;
}
.wbo-site-footer__col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  margin-bottom: 8px; transition: color .15s;
}
.wbo-site-footer__col a:hover { color: white; }
.wbo-site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center; padding: 16px 24px;
  font-size: 12px; color: rgba(255,255,255,0.25);
  font-family: var(--mono, monospace);
}

@media (max-width: 640px) {
  .wbo-site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .wbo-site-footer__links { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   TYPEAHEAD AUTOCOMPLETE
   ══════════════════════════════════════════════════════════════ */
.wbo-ac { position: relative; flex: 1; min-width: 0; }
.wbo-ac__input {
  width: 100%; padding: 13px 14px; font-size: 14px; font-family: var(--sans);
  border: none; border-radius: 3px; background: white; color: var(--text);
  box-sizing: border-box;
}
.wbo-ac__input:focus { outline: 2px solid var(--teal); outline-offset: 0; }
.wbo-ac__input::placeholder { color: #9a9189; }
.wbo-ac__list {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: white; border-radius: 3px; z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); max-height: 260px; overflow-y: auto;
  margin: 0; padding: 4px 0; list-style: none;
}
.wbo-ac__list li {
  padding: 10px 14px; font-size: 14px; cursor: pointer; color: var(--text);
  transition: background .1s;
}
.wbo-ac__list li:hover, .wbo-ac__list li.active { background: var(--sand); color: var(--navy); }
.wbo-hero__hint { font-size: 12px; color: rgba(255,255,255,0.4); margin: 10px 0 0; font-family: var(--mono); }

/* Updated search grid to use wbo-ac divs */
.wbo-search {
  max-width: 760px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 8px; align-items: stretch;
}
@media (max-width: 600px) {
  .wbo-search { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   ALPHA JUMP NAV
   ══════════════════════════════════════════════════════════════ */
.wbo-alpha-nav {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 16px 0 8px; margin-bottom: 4px;
  position: sticky; top: 52px; background: var(--paper);
  z-index: 10; border-bottom: 1px solid var(--border);
}
.admin-bar .wbo-alpha-nav { top: 84px; }
.wbo-alpha-nav a, .wbo-alpha-nav span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 3px;
  font-size: 12px; font-weight: 600; text-decoration: none;
  font-family: var(--mono);
}
.wbo-alpha-nav a { background: var(--sand); color: var(--navy); border: 1px solid var(--border-dk); transition: background .1s; }
.wbo-alpha-nav a:hover { background: var(--navy); color: white; }
.wbo-alpha-nav span { color: var(--border-dk); background: none; border: 1px solid var(--border); cursor: default; }

/* Search filter on listing pages */
.wbo-listing-search {
  display: flex; gap: 8px; align-items: center; margin: 16px 0 0;
}
.wbo-listing-search input {
  flex: 1; max-width: 360px; padding: 9px 14px; font-size: 14px;
  border: 1px solid var(--border-dk); border-radius: 3px;
  font-family: var(--sans); color: var(--text);
}
.wbo-listing-search input:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.wbo-listing-count { font-size: 13px; color: var(--text-soft); font-family: var(--mono); }
.wbo-listing-hide { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   PROSE BLOCK
   ══════════════════════════════════════════════════════════════ */
.wbo-prose {
  margin: 0 0 28px;
  padding: 20px 22px;
  background: var(--sand);
  border-left: 3px solid var(--navy);
  border-radius: 0 3px 3px 0;
}
.wbo-prose p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0 0 12px;
}
.wbo-prose p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   COMPARE TOOL — salary page widget
   ══════════════════════════════════════════════════════════════ */
.wbo-compare-cta {
  background: var(--navy);
  border-radius: 6px;
  padding: 28px 32px;
  margin: 0 0 28px;
}
.wbo-compare-cta h2 {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  color: white; margin: 0 0 16px;
}
.wbo-compare-form {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.wbo-compare-metro-label {
  background: rgba(255,255,255,0.12); border-radius: 3px;
  padding: 11px 14px; color: white; font-size: 14px;
  font-weight: 500; white-space: nowrap;
}
.wbo-compare-vs {
  color: rgba(255,255,255,0.4); font-size: 13px;
  font-family: var(--mono); flex-shrink: 0;
}
.wbo-compare-ac { flex: 1; min-width: 200px; }
.wbo-compare-ac .wbo-ac__input {
  background: white; color: var(--navy);
}
.wbo-compare-cta .wbo-compare-form button {
  background: var(--teal); color: white; border: none;
  border-radius: 3px; padding: 12px 22px; font-size: 14px;
  font-weight: 600; font-family: var(--sans);
  cursor: pointer; white-space: nowrap; transition: background .15s;
  flex-shrink: 0;
}
.wbo-compare-cta .wbo-compare-form button:hover { background: #0b7a72; }

/* ── Comparison result table ─────────────────────────────────── */
.wbo-compare-result { margin-top: 20px; }
.wbo-cmp { animation: wbo-fadein .2s ease; }
@keyframes wbo-fadein { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
.wbo-cmp-title {
  font-family: var(--serif); font-size: 16px; font-weight: 400;
  color: white; margin: 0 0 14px;
}
.wbo-cmp-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,0.06); border-radius: 4px;
  overflow: hidden; font-size: 13px;
}
.wbo-cmp-table th, .wbo-cmp-table td {
  padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.wbo-cmp-table thead th { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.wbo-cmp-city { color: white !important; font-weight: 600 !important; font-size: 12px !important; }
.wbo-cmp-metric { color: rgba(255,255,255,0.6); width: 42%; }
.wbo-cmp-val { color: white; font-family: var(--mono); font-size: 13px; }
.wbo-cmp-diff { color: var(--teal); font-family: var(--mono); font-size: 12px; }
.wbo-cmp-diff-head { color: rgba(255,255,255,0.4) !important; }
.wbo-cmp-highlight td { background: rgba(13,148,136,0.12); }
.wbo-cmp-highlight .wbo-cmp-val { color: #5eead4; font-weight: 600; }
.wbo-compare-verdict {
  background: rgba(13,148,136,0.15); border-left: 3px solid var(--teal);
  border-radius: 0 3px 3px 0; padding: 12px 14px;
  color: rgba(255,255,255,0.85); font-size: 13px;
  line-height: 1.6; margin: 12px 0 0;
}
.wbo-compare-verdict strong { color: white; }
.wbo-cmp-source { font-size: 11px; color: rgba(255,255,255,0.3); font-family: var(--mono); margin: 10px 0 0; }
.wbo-compare-error { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   STANDALONE COMPARE PAGE (/salary/compare/)
   ══════════════════════════════════════════════════════════════ */
.wbo-standalone-compare { max-width: 800px; margin: 0 auto 48px; }
.wbo-standalone-compare__form {
  background: var(--navy); border-radius: 8px;
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.wbo-sc-field label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 6px;
}
.wbo-sc-field .wbo-ac__input { background: white; color: var(--navy); width: 100%; }
.wbo-sc-metros {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end;
}
.wbo-sc-vs {
  color: rgba(255,255,255,0.4); font-family: var(--mono);
  font-size: 13px; text-align: center; padding-bottom: 12px;
}
.wbo-standalone-compare__form > button {
  background: var(--teal); color: white; border: none; border-radius: 3px;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; transition: background .15s;
  align-self: flex-start;
}
.wbo-standalone-compare__form > button:hover { background: #0b7a72; }
.wbo-standalone-compare .wbo-compare-result { margin-top: 24px; }
.wbo-standalone-compare .wbo-cmp-table { background: var(--sand); }
.wbo-standalone-compare .wbo-cmp-table th,
.wbo-standalone-compare .wbo-cmp-table td { border-color: var(--border); }
.wbo-standalone-compare .wbo-cmp-metric { color: var(--text-soft); }
.wbo-standalone-compare .wbo-cmp-val { color: var(--navy); }
.wbo-standalone-compare .wbo-cmp-city { color: var(--navy) !important; }
.wbo-standalone-compare .wbo-cmp-title { color: var(--navy); }
.wbo-standalone-compare .wbo-cmp-diff { color: var(--teal); }
.wbo-standalone-compare .wbo-compare-verdict {
  background: rgba(13,148,136,0.08); border-color: var(--teal);
  color: var(--text);
}
.wbo-standalone-compare .wbo-cmp-source { color: var(--text-soft); }
.wbo-standalone-compare .wbo-compare-error { color: var(--text-soft); }

/* Popular comparisons grid */
.wbo-compare-popular { max-width: 800px; margin: 0 auto; }
.wbo-compare-popular h2 {
  font-family: var(--serif); font-size: 20px; font-weight: 400;
  color: var(--navy); margin: 0 0 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.wbo-compare-popular__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.wbo-compare-popular__item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 16px; background: var(--sand);
  border: 1px solid var(--border); border-radius: 4px;
  text-decoration: none; transition: border-color .15s, background .15s;
}
.wbo-compare-popular__item:hover { border-color: var(--teal); background: white; }
.wbo-compare-popular__occ { font-size: 14px; font-weight: 600; color: var(--navy); }
.wbo-compare-popular__metros { font-size: 12px; color: var(--text-soft); font-family: var(--mono); }

@media (max-width: 600px) {
  .wbo-sc-metros { grid-template-columns: 1fr; }
  .wbo-sc-vs { display: none; }
  .wbo-compare-popular__grid { grid-template-columns: 1fr; }
  .wbo-compare-form { flex-direction: column; align-items: stretch; }
  .wbo-compare-metro-label { text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   COMPARE WIDGET — reusable across all pages
   ══════════════════════════════════════════════════════════════ */
.wbo-cwrap { margin: 28px 0; }

.wbo-cw {
  background: var(--navy);
  border-radius: 8px;
  padding: 28px 32px;
}

.wbo-cw__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.wbo-cw__title {
  font-family: var(--serif); font-size: 19px; font-weight: 400;
  color: white; margin: 0 0 4px;
}
.wbo-cw__sub {
  font-size: 13px; color: rgba(255,255,255,0.45); margin: 0;
}
.wbo-cw__full-link {
  font-size: 12px; color: var(--teal); text-decoration: none;
  white-space: nowrap; flex-shrink: 0; padding-top: 4px;
  font-family: var(--mono);
}
.wbo-cw__full-link:hover { color: #5eead4; }

.wbo-cw__form {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.wbo-cw__input {
  background: white; color: var(--navy);
  border: none; border-radius: 3px;
  padding: 11px 14px; font-size: 14px;
  font-family: var(--sans); width: 100%;
  box-sizing: border-box;
}
.wbo-cw__input:focus { outline: 2px solid var(--teal); }
.wbo-cw__input::placeholder { color: #9a9189; }

.wbo-cw-ac { flex: 1; min-width: 160px; position: relative; }

.wbo-cw__fixed-pill {
  background: rgba(255,255,255,0.15);
  border-radius: 3px; padding: 11px 14px;
  font-size: 14px; color: white; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis;
}
.wbo-cw__in, .wbo-cw__vs {
  color: rgba(255,255,255,0.4); font-size: 12px;
  font-family: var(--mono); flex-shrink: 0;
}
.wbo-cw__btn {
  background: var(--teal); color: white; border: none;
  border-radius: 3px; padding: 11px 22px;
  font-size: 14px; font-weight: 600; font-family: var(--sans);
  cursor: pointer; white-space: nowrap; transition: background .15s;
  flex-shrink: 0;
}
.wbo-cw__btn:hover { background: #0b7a72; }
.wbo-cw__btn:disabled { opacity: .6; cursor: default; }

.wbo-cw__result { margin-top: 18px; }
.wbo-cw__verdict {
  background: rgba(13,148,136,0.15); border-left: 3px solid var(--teal);
  border-radius: 0 3px 3px 0; padding: 12px 14px;
  color: rgba(255,255,255,0.85); font-size: 13px;
  line-height: 1.6; margin: 12px 0 0;
}
.wbo-cw__verdict strong { color: white; }

/* Homepage compare block — full width strip */
.wbo-home-compare {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .wbo-cw { padding: 20px 16px; }
  .wbo-cw__head { flex-direction: column; gap: 8px; }
  .wbo-cw__form { flex-direction: column; align-items: stretch; }
  .wbo-cw__fixed-pill { max-width: 100%; }
  .wbo-cw__in, .wbo-cw__vs { text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   STATE PAGE STAT CARDS
   ══════════════════════════════════════════════════════════════ */
.wbo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 auto 32px;
}
.wbo-stat-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}
.wbo-stat-card__num {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.wbo-stat-card__label {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .wbo-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* State links grid */
.wbo-state-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.wbo-state-links a {
  display: inline-block;
  padding: 6px 12px;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
  transition: background .1s, border-color .1s;
}
.wbo-state-links a:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS PAGE CONTENT (About, etc.)
   ══════════════════════════════════════════════════════════════ */
.wbo-wp-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.wbo-wp-page .wbo-index-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.wbo-wp-page .wbo-index-header h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.wbo-wp-page__content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 18px;
}
.wbo-wp-page__content h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.wbo-wp-page__content h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 8px;
}
.wbo-wp-page__content ul,
.wbo-wp-page__content ol {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 18px;
  padding-left: 24px;
}
.wbo-wp-page__content li { margin-bottom: 6px; }
.wbo-wp-page__content strong { color: var(--navy); font-weight: 600; }
.wbo-wp-page__content a { color: var(--teal); text-decoration: none; }
.wbo-wp-page__content a:hover { color: var(--navy); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   WORDPRESS PAGE WRAPPER
   ══════════════════════════════════════════════════════════════ */
.wbo-wp-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.wbo-wp-page .wbo-index-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.wbo-wp-page .wbo-index-header h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.wbo-wp-page__content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 18px;
}
.wbo-wp-page__content h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.wbo-wp-page__content h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 8px;
}
.wbo-wp-page__content ul,
.wbo-wp-page__content ol {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 18px;
  padding-left: 24px;
}
.wbo-wp-page__content li { margin-bottom: 6px; }
.wbo-wp-page__content strong { color: var(--navy); font-weight: 600; }
.wbo-wp-page__content a { color: var(--teal); text-decoration: none; }
.wbo-wp-page__content a:hover { color: var(--navy); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.wbo-about-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 60px;
}
.wbo-about-content p {
  font-size: 15px; line-height: 1.8;
  color: var(--text); margin: 0 0 16px;
}
.wbo-about-content h2 {
  font-family: var(--serif); font-size: 21px; font-weight: 400;
  color: var(--navy); margin: 36px 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.wbo-about-content ul {
  font-size: 15px; line-height: 1.8;
  color: var(--text); margin: 0 0 16px; padding-left: 24px;
}
.wbo-about-content li { margin-bottom: 6px; }
.wbo-about-content strong { color: var(--navy); font-weight: 600; }
.wbo-about-content a { color: var(--teal); }
.wbo-about-content a:hover { color: var(--navy); }
