/* ==========================================================
   cite.css: merged from jdp.css + site_main.css
   Base rules are shared by all pages. Pages that previously
   used jdp.css should add class="jdp" to <body> to get the
   larger h1 and the smaller .updated text.
   ========================================================== */

:root {
  --maroon: #990035;
  --link: #006699;
  --visited: #1b6e1b;
  --hover: #a35a00;
  --navy: #000066;
  --brown: #660000;
}

/* ---------- Base ---------- */
body {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: url("../_images/cleikum_scaffold.jpg") repeat;
}

.page {
  max-width: 60rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.0); 
}

/* ---------- Headings ---------- */
h1.heading, h2.heading2 {
  color: var(--maroon);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
h1.heading  { font-size: 1.6em; margin-bottom: 0; }
h2.heading2 { font-size: 1.4em; }

/* jdp pages used a larger h1 */
body.jdp h1.heading { font-size: 1.9em; }

/* ---------- Titles ---------- */
/* Original site_main title (Courier) */
p.title {
  margin-top: 0;
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* jdp typewriter titles */
p.title_small,
p.title_big {
  margin-top: 0;
  font-family: "Special Elite", "American Typewriter", Georgia, serif;
  letter-spacing: 0.06em;
}
p.title_small { font-size: 1rem;    font-weight: 600; }
p.title_big   { font-size: 1.25rem; font-weight: 900; }

/* ---------- Divider (from jdp) ---------- */
hr.divider {
  width: 50%;
  margin: 1.5rem auto;
  border: 0;
  height: 8px;
  background:
    /* left diamond */
    conic-gradient(from 135deg at 50% 0, var(--maroon) 90deg, transparent 0) left top / 8px 4px no-repeat,
    conic-gradient(from -45deg at 50% 100%, var(--maroon) 90deg, transparent 0) left bottom / 8px 4px no-repeat,
    /* right diamond */
    conic-gradient(from 135deg at 50% 0, var(--maroon) 90deg, transparent 0) right top / 8px 4px no-repeat,
    conic-gradient(from -45deg at 50% 100%, var(--maroon) 90deg, transparent 0) right bottom / 8px 4px no-repeat,
    /* center line */
    linear-gradient(var(--maroon), var(--maroon)) center / calc(100% - 20px) 2px no-repeat;
}

/* ---------- Nav ---------- */
ul.main {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
}
ul.main li { margin-bottom: 0.6rem; }
ul.main li::before {
  content: "\2726\00a0";   /* ✦ */
  color: var(--maroon);
}

/* ---------- Links (LVHA order) ---------- */
a { text-decoration: none; padding: 0 2px; }
a:link    { color: var(--link); }
a:visited { color: var(--visited); }
a:hover   { color: var(--hover); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--hover); outline-offset: 2px; }

/* ---------- Quotes ---------- */
blockquote.quote1,
blockquote.quote2 {
  margin: 0 0 1rem;
  font-size: 1em;
  color: var(--brown);
}
figcaption { font-style: italic; }

/* ---------- Misc ---------- */
.updated { text-align: right; }
body.jdp .updated { font-size: 0.6em; }
