/* Mobile-first layout. System fonts keep all assets local. */
:root { color-scheme: light; --accent: #1455ad; --ink: #172b43; --muted: #46586d; --line: #d5dfeb; --surface: #f3f6fa; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.65 system-ui, sans-serif; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.site-branding { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.site-name { font-size: 1.2rem; font-weight: 750; text-decoration: none; }
.custom-logo { max-width: 10rem; max-height: 3rem; width: auto; }
#primary-navigation { width: 100%; }
.menu { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0; padding: 0; }
#primary-navigation > .menu { flex-direction: column; }
.menu a { display: inline-block; padding-block: .4rem; }
.sub-menu { padding-left: 1.25rem; list-style: none; }
button, input { font: inherit; }
button { border: 1px solid var(--accent); border-radius: .5rem; padding: .6rem 1rem; background: var(--accent); color: #fff; cursor: pointer; min-height: 44px; }
input[type="search"] { min-width: 0; width: 100%; border: 1px solid #74859a; border-radius: .5rem; padding: .6rem .8rem; }
.search-form { max-width: 42rem; margin-block: 1.5rem; }
.search-form label { display: block; font-weight: 650; margin-bottom: .5rem; }
.search-fields { display: flex; gap: .5rem; }
.search-fields button { flex-shrink: 0; white-space: nowrap; }
main { min-height: 60vh; padding-block: 2rem 4rem; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: 1.5rem; }
.hero { padding-block: 1.5rem 2.5rem; }
.eyebrow { color: var(--accent); font-weight: 700; }
.lead { color: var(--muted); max-width: 48rem; font-size: 1.15rem; }
section + section, .home-intro + section { margin-top: 3rem; }
.card-grid { display: grid; gap: 1rem; }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); min-width: 0; }
.card h2 { font-size: 1.2rem; margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.category-list { display: flex; flex-wrap: wrap; gap: .8rem; list-style: none; padding: 0; }
.category-list a { display: block; padding: .65rem 1rem; border: 1px solid var(--line); border-radius: .5rem; }
.content-page { max-width: 52rem; }
.breadcrumbs, .site-footer { color: var(--muted); }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 2rem; }
.skip-link { position: absolute; left: 1rem; top: -10rem; padding: .8rem; background: #fff; z-index: 10; }
.skip-link:focus { top: 1rem; }
.navigation.pagination { margin-top: 2rem; }
.page-numbers { display: inline-block; margin: .25rem; padding: .5rem; }
pre, .wp-block-table { overflow-x: auto; }
[hidden] { display: none !important; }
@media (min-width: 48rem) {
  #primary-navigation { width: auto; }
  #primary-navigation > .menu { flex-direction: row; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { padding-block: 3rem; }
}
