/*
Theme Name: Kenneth Seaver
Description: Editorial WordPress theme converted from the KennethSeaver.com static site.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kenneth-seaver
*/
/* KennethSeaver.com
   Editorial theme for a public-records consumer desk.
   Type: Source Serif 4 for headlines, Source Sans 3 for reading, IBM Plex Mono for record numbers.
   Layout: one reading column with a records sidebar. Flat paper, hairline rules, 2px radii. */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Source+Sans+3:wght@400;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --paper: #fbfaf6;
  --paper-deep: #f2efe7;
  --white: #fffefb;
  --ink: #191714;
  --ink-soft: #4a453c;
  --ink-faint: #6b6458;
  --rule: #d8d2c6;
  --rule-strong: #191714;
  --link: #a4161a;
  --link-hover: #6f0d10;
  --accent: #a4161a;
  --green: #1e5631;
  --green-rule: #9dbfa8;
  --green-bg: #eef4ef;
  --blue: #14538b;
  --blue-rule: #a9c2d6;
  --blue-bg: #eef3f8;
  --amber: #7a4f00;
  --amber-rule: #d3bc8e;
  --amber-bg: #f8f3e6;
  --serif: "Source Serif 4", "Ivar Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Messina", "Seravek", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --max: 1120px;
  --measure: 720px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- utility bar ---------- */

.utility-bar {
  background: var(--ink);
  color: #f4efe5;
  font-size: 12.5px;
  line-height: 1.4;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-note {
  margin: 0;
  letter-spacing: 0.03em;
}

.utility-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
}

.utility-links a {
  color: #f4efe5;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.utility-links a:hover { text-decoration: underline; }

/* ---------- masthead ---------- */

.site-header { background: var(--paper); }

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 22px;
}

.site-branding {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 4px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(31px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.7px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }

.tagline {
  max-width: 700px;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 6px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--ink); color: #fff; }

.site-nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--white);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav ul::-webkit-scrollbar { display: none; }

.site-nav li { flex: 0 0 auto; }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.25px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--rule);
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* ---------- page structure ---------- */

.site-main { padding: 34px 0 20px; }

.breadcrumb {
  margin: 0 0 24px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.5;
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { padding: 0 7px; color: #a49c8d; }

.page-header {
  max-width: 800px;
  margin-bottom: 34px;
}
.page-header .lead { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h2 {
  font-family: var(--serif);
  line-height: 1.25;
}

h3 {
  margin: 30px 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
}

.byline {
  margin: 0 0 24px;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.5;
}

.lead {
  margin: 0 0 20px;
  font-size: 21px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 58px;
  align-items: start;
}

.entry-main { min-width: 0; }

/* ---------- sidebar ---------- */

.widget-area {
  min-width: 0;
  border-top: 3px solid var(--rule-strong);
}

.widget {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--rule);
}
.widget:first-child { padding-top: 20px; }
.widget:last-child { border-bottom: 0; }

.widget-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.widget p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.widget p:last-child { margin-bottom: 0; }

.widget .record-box {
  margin: 0 0 14px;
  padding: 16px 16px 4px;
}
.widget .record-box dt { font-size: 10.5px; margin-top: 12px; }
.widget .record-box dd { font-size: 14.5px; line-height: 1.5; }

.widget-more {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-list li { border-top: 1px solid var(--rule); }
.link-list li:first-child { border-top: 0; }
.link-list a {
  display: block;
  padding: 11px 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
}
.link-list a:hover { color: var(--accent); text-decoration: underline; }

.widget-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget-posts li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
.widget-posts li:first-child { padding-top: 0; border-top: 0; }
.widget-posts a {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.widget-posts a:hover { color: var(--accent); text-decoration: underline; }
.widget-date {
  display: block;
  margin-top: 4px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
}

/* ---------- record boxes ---------- */

.record-box {
  margin: 26px 0;
  padding: 20px 22px 8px;
  background: var(--white);
  border: 1px solid #c9c3b6;
  border-top: 3px solid var(--rule-strong);
  border-radius: 2px;
}

.record-box .box-title {
  margin: 0 0 12px;
  color: var(--ink-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-transform: uppercase;
}

.record-box dl { margin: 0; }

.record-box dt {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.record-box dd {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- inline record numbers ---------- */

.id {
  display: inline;
  padding: 1px 5px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.84em;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- evidence tags ---------- */

.tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 1px 7px;
  border: 1px solid;
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.5;
  text-transform: uppercase;
}
.tag-record   { color: var(--green); border-color: var(--green-rule); background: var(--green-bg); }
.tag-account  { color: var(--blue); border-color: var(--blue-rule); background: var(--blue-bg); }
.tag-reported { color: var(--amber); border-color: var(--amber-rule); background: var(--amber-bg); }

/* ---------- reading column ---------- */

.entry-content { font-size: 19px; line-height: 1.72; }
.entry-content p { margin: 0 0 20px; }
.entry-content strong { color: var(--ink); }
.entry-content ul,
.entry-content ol { margin: 0 0 22px; padding-left: 24px; }
.entry-content li { margin-bottom: 9px; }

.entry-content h2 {
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: clamp(22px, 3.4vw, 27px);
  line-height: 1.25;
}
.entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.entry-main > .record-box + h2 { margin-top: 38px; }

blockquote.account {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--rule-strong);
}
blockquote.account p {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
}
blockquote.account p.account-tag {
  margin-bottom: 10px;
  font-family: var(--sans);
}
blockquote.account footer {
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.5;
}

ol.checklist { padding-left: 24px; }
ol.checklist li { margin-bottom: 16px; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 36px 0;
}

.fairness {
  margin: 36px 0;
  padding: 17px 19px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.62;
}
.fairness strong { color: var(--ink); }

.callout {
  margin: 28px 0;
  padding: 17px 19px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.callout strong { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-decoration: none;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-block { display: flex; width: 100%; text-align: center; }

/* ---------- blog archive ---------- */

.archive-description {
  max-width: 680px;
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.6;
}

.archive-meta {
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.post-list .post-item:first-child { border-top: 3px solid var(--rule-strong); }

.post-date {
  padding-top: 4px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
}
.post-date .latest {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 6px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.post-kicker {
  margin: 0 0 6px;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.4;
  text-transform: uppercase;
}

.post-item h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: clamp(23px, 3.4vw, 30px);
  line-height: 1.18;
}
.post-item h2 a {
  color: var(--ink);
  text-decoration: none;
}
.post-item h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.post-byline {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 13.5px;
  line-height: 1.5;
}

.post-excerpt {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}

.more-link {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1px solid var(--link);
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.more-link:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }

/* ---------- single post ---------- */

.entry-header {
  margin: 0 0 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.entry-header h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.7px;
}

.entry-meta {
  margin: 0 0 14px;
  color: var(--ink-faint);
  font-size: 13.5px;
  line-height: 1.6;
}
.entry-meta .cat {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.entry-meta .meta-line { display: inline; }

.dek {
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.6;
}

.entry-footer {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.post-terms {
  margin: 0 0 20px;
  color: var(--ink-faint);
  font-size: 13.5px;
  line-height: 1.5;
}
.post-terms span { color: var(--ink-soft); }

.author-box {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.author-avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.author-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.author-role {
  margin: 2px 0 8px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.4;
}
.author-box p:last-child { margin-bottom: 0; font-size: 14px; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 34px 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.post-nav-link { text-decoration: none; display: block; }
.post-nav-link .label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.4;
  text-transform: uppercase;
}
.post-nav-link .title {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.post-nav-link:hover .title { color: var(--accent); text-decoration: underline; }
.post-nav-next { text-align: right; }

.related-posts { margin: 40px 0 20px; }
.related-posts h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-transform: uppercase;
}
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.related-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.related-list a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.related-list a:hover { color: var(--accent); text-decoration: underline; }
.related-meta {
  display: block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
}

/* ---------- FAQ ---------- */

.faq-q {
  font-family: var(--serif);
  font-size: clamp(21px, 3.2vw, 25px);
  line-height: 1.3;
  margin: 32px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.entry-content .faq-q:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- standards band ---------- */

.standards-band {
  margin-top: 60px;
  padding: 28px 0 30px;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.standards-heading {
  margin: 0 0 18px;
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-transform: uppercase;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.standards-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.standards-label {
  margin: 0 0 5px !important;
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3 !important;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 44px 0 26px;
  background: var(--ink);
  color: #d8d1c4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.1;
  text-decoration: none;
}
.footer-wordmark:hover { color: #fff; }

.footer-brand p {
  margin: 0 0 10px;
  color: #b9b1a2;
  font-size: 14px;
  line-height: 1.6;
}
.footer-brand a { color: #e6dfd2; }

.footer-col h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin: 0; }
.footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: #c9c1b2;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-fine {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #3a352c;
}
.footer-fine p {
  margin: 0 0 10px;
  color: #a49c8d;
  font-size: 12.5px;
  line-height: 1.6;
}
.footer-fine a { color: #d8d1c4; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d8d1c4; }

/* ---------- responsive ---------- */

@media (max-width: 920px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .widget-area {
    border-top: 1px solid var(--rule-strong);
    padding-top: 6px;
  }
  .page-header { max-width: none; }
}

@media (max-width: 760px) {
  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .utility-links { gap: 2px 16px; }
  .header-inner {
    flex-direction: column;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 20px;
  }
  .header-cta { margin-top: 0; }
  .site-nav ul { gap: 20px; }
  .site-main { padding-top: 26px; }
  .page-header { margin-bottom: 28px; }
  .post-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .post-date {
    padding-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .post-date .latest { margin-top: 0; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav-next { text-align: left; }
  .standards-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 540px) {
  body { font-size: 18px; }
  .wrap { padding: 0 18px; }
  .brand-mark { width: 42px; height: 42px; font-size: 20px; }
  .wordmark { font-size: 30px; }
  .tagline { font-size: 13.5px; }
  .site-nav a { font-size: 11.5px; letter-spacing: 1px; }
  .lead { font-size: 19px; }
  .entry-content { font-size: 18px; }
  .entry-content h2 { font-size: 22px; }
  blockquote.account { padding-left: 15px; }
  blockquote.account p { font-size: 18px; }
  .record-box { padding: 17px 17px 6px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-brand { grid-column: auto; }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
  }
  .utility-bar,
  .site-nav,
  .header-cta,
  .widget-area,
  .standards-band,
  .site-footer,
  .post-nav,
  .related-posts,
  .breadcrumb,
  .skip-link {
    display: none !important;
  }
  .site-header {
    border-bottom: 1px solid #000;
    margin-bottom: 18pt;
  }
  .header-inner { padding: 0 0 12pt; }
  .layout { display: block; }
  .wrap { max-width: none; padding: 0; }
  a { color: #000; text-decoration: underline; }
  .record-box,
  .fairness,
  .callout,
  .author-box {
    border: 1px solid #999;
    background: #fff;
  }
}

/* WordPress integration */
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current_page_parent > a { color: var(--accent); border-bottom: 2px solid var(--accent); }
.navigation.pagination { margin: 2rem 0; }
.page-numbers { display: inline-block; margin-right: .75rem; }
.wp-block-image img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
