/* ==========================================================
   Proctor County, Ohio
   Administrative Interface (Typography + Contrast pass)
   ========================================================== */

:root {
  /* Darker main/content field */
  --bg-main: #cfc8b8;
  --bg-sidebar: #f3f1ea;

  /* Ink */
  --ink-main: #121212;
  --ink-soft: #474747;
  --ink-faint: #6f6f6f;

  /* Rules */
  --rule: #a9a391;

  /* Links */
  --link: #121212;
}

/* Reset */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--ink-main);
  line-height: 1.65;
}

/* App shell */

.app {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

/* Sidebar */

.sidebar {
  position: relative;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--rule);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}

/* Seal watermark — CENTERED behind sidebar */

.sidebar::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  width: 420px;
  height: 420px;

  background-image: url("/assets/County-Seal.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  opacity: 0.055;
  transform: translateX(-50%) rotate(-2deg);
  pointer-events: none;
}

/* Ensure sidebar content stays above watermark */
.sidebar > * {
  position: relative;
  z-index: 1;
}

/* Sidebar typography — more “county record” */

.sidebar h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.sidebar .meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

/* Sidebar navigation */

.nav {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

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

.nav li {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

/* Main content area */

.main {
  background: var(--bg-main);
  padding: 76px 92px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Intro paragraphs */

.main p {
  max-width: 720px;
  margin: 0 0 1.6rem 0;
  font-size: 1.02rem;
  color: var(--ink-main);
}

/* Blocks */

.block {
  margin-top: 70px;
}

.block h2 {
  margin: 0 0 18px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
}

/* Tables */

table {
  border-collapse: collapse;
  font-size: 0.98rem;
}

td {
  padding: 7px 18px 7px 0;
  vertical-align: top;
}

td:first-child {
  width: 230px;
  color: var(--ink-soft);
}

/* Lists */

ul {
  padding-left: 18px;
  margin: 0;
}

ul li { margin-bottom: 6px; }

/* Notices */

.notice {
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 640px;
}

/* Footer */

.footer {
  margin-top: 96px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-faint);
  max-width: 720px;
}

/* Links */

a {
  color: var(--link);
  text-decoration: underline;
}

a:hover { text-decoration: none; }
