/* High Court Advocates — design system (build spec §5A)
   Restrained "register/reference" aesthetic: ink-navy primary, single slate accent,
   serif headings (Source Serif 4) + sans body (Inter). Self-hosted, mobile-first. */

/* ---- Self-hosted variable fonts (latin) ---- */
@font-face{
  font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;
  src:url('./fonts/inter-var.woff2') format('woff2');
}
@font-face{
  font-family:'Source Serif 4';font-style:normal;font-weight:600 700;font-display:swap;
  src:url('./fonts/sourceserif4-var.woff2') format('woff2');
}

/* ---- Design tokens ---- */
:root{
  --hca-navy:#0f2745;        /* primary ink-navy */
  --hca-navy-2:#16324f;
  --hca-ink:#1f2a37;         /* body text */
  --hca-slate:#37557d;       /* single muted accent: links / active */
  --hca-slate-strong:#294769;/* accent hover */
  --hca-muted:#6b7480;       /* secondary text */
  --hca-border:#dde3ea;
  --hca-bg:#ffffff;
  --hca-bg-alt:#f6f8fa;      /* subtle section background */

  /* Map Kadence global palette onto our scheme so theme chrome stays on-brand */
  --global-palette1:var(--hca-slate);        /* primary accent */
  --global-palette2:var(--hca-slate-strong); /* accent hover */
  --global-palette3:var(--hca-navy);         /* strongest / headings bg */
  --global-palette4:var(--hca-navy-2);
  --global-palette5:var(--hca-ink);          /* body text */
  --global-palette6:var(--hca-muted);
  --global-palette7:var(--hca-border);
  --global-palette8:var(--hca-bg-alt);
  --global-palette9:var(--hca-bg);
}

/* ---- Base typography ---- */
body,
.entry-content,
.single-content{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  color:var(--hca-ink);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6,
.entry-title,
.site-title{
  font-family:'Source Serif 4',Georgia,'Times New Roman',serif;
  color:var(--hca-navy);
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.22;
}
h1,.entry-title{font-weight:700}
h2,h3{font-weight:600}

/* Comfortable reading measure for long-form court/guide pages */
.entry-content{max-width:none}
.entry-content p,
.entry-content li{line-height:1.65}

/* ---- Links / accent ---- */
a{color:var(--hca-slate);text-underline-offset:2px}
a:hover,a:focus{color:var(--hca-slate-strong);text-decoration:underline}

/* ---- Buttons (neutral, no salesy emphasis) ---- */
.wp-block-button__link,
.button,button.button,input[type=submit]{
  background:var(--hca-navy);border-color:var(--hca-navy);color:#fff;border-radius:7px;
  font-family:'Inter',sans-serif;font-weight:500;
}
.wp-block-button__link:hover,.button:hover,input[type=submit]:hover{
  background:var(--hca-navy-2);border-color:var(--hca-navy-2);color:#fff;
}
.wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent;color:var(--hca-navy);border-color:var(--hca-border);
}

/* ---- Site header / footer wordmark: plain text, no emblems (§1, §5A) ---- */
.site-title a,.site-branding .site-title{
  font-family:'Source Serif 4',Georgia,serif;color:var(--hca-navy);font-weight:700;
  letter-spacing:-0.01em;
}
.site-footer,.hca-footer-note{background:var(--hca-bg-alt)}

/* ---- Uniform, equal-weight listing cards (Rule 36: no ranking cues) ---- */
.hca-card,
.geodir-post .gd-list-view-item,
.geodir_category_list_view li{
  border:1px solid var(--hca-border)!important;border-radius:9px;background:#fff;
  box-shadow:none!important;
}

/* ---- Factual provenance badges (subtle, not gamified) ---- */
.hca-badge{
  display:inline-block;font-family:'Inter',sans-serif;font-size:.72rem;font-weight:500;
  padding:2px 9px;border-radius:999px;border:1px solid var(--hca-border);
  color:var(--hca-muted);background:var(--hca-bg-alt);letter-spacing:.02em;
}
.hca-badge--claimed{color:#245a3d;background:#eef7f1;border-color:#cfe6d8}
.hca-badge--unclaimed{color:#5a4a24;background:#faf6ec;border-color:#e8dcc2}
