/*
Theme Name: Onyx Bay D377
Version: 1.0
*/
:root {
  --ste53a4-accent: #272475;
  --ste53a4-ink: #17151e;
  --ste53a4-paper: #fdfdfc;
  --ste53a4-radius: 4px;
  --ste53a4-font: "Iowan Old Style", Georgia, serif;
  --ste53a4-muted: color-mix(in srgb, var(--ste53a4-ink) 62%, var(--ste53a4-paper));
  --ste53a4-rule: color-mix(in srgb, var(--ste53a4-ink) 14%, var(--ste53a4-paper));
  --ste53a4-measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ste53a4-paper);
  color: var(--ste53a4-ink);
  font-family: var(--ste53a4-font);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Keyboard users need a way past the nav; visible only when focused. */
.ste53a4-skip {
  position: absolute; left: -9999px;
}
.ste53a4-skip:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--ste53a4-paper); padding: .6rem 1rem;
}

a { color: var(--ste53a4-accent); text-underline-offset: .16em; }
a:hover { text-decoration: none; }

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

.ste53a4-masthead, .ste53a4-top,
.ste53a4-main, .ste53a4-foot {
  max-width: var(--ste53a4-measure);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.ste53a4-masthead, .ste53a4-top {
  padding-block: 2rem 1rem;
  border-bottom: 1px solid var(--ste53a4-rule);
}
.ste53a4-brand {
  margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em;
}
.ste53a4-brand a { color: inherit; text-decoration: none; }
.ste53a4-tagline { margin: .25rem 0 0; color: var(--ste53a4-muted); font-size: .95rem; }

.ste53a4-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: .75rem 0 0; padding: 0; }
.ste53a4-nav a { text-decoration: none; font-size: .95rem; }

.ste53a4-main { padding-block: 2.5rem 3rem; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -.015em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 0 0 .35rem; }

.ste53a4-meta, .ste53a4-byline, .ste53a4-kicker {
  color: var(--ste53a4-muted); font-size: .9rem; margin: 0 0 1rem;
}
.ste53a4-byline .ste53a4-author { font-weight: 600; }
.ste53a4-byline time::before { content: " · "; }

/* Long-form reading: generous spacing, clear hierarchy, readable tables. */
.ste53a4-prose > * + * { margin-top: 1.15em; }
.ste53a4-prose h2 { margin-top: 2.2em; }
.ste53a4-prose h3 { margin-top: 1.8em; font-size: 1.1rem; }
.ste53a4-prose ul, .ste53a4-prose ol { padding-left: 1.3em; }
.ste53a4-prose li + li { margin-top: .4em; }
.ste53a4-prose blockquote {
  margin-inline: 0; padding-left: 1.1em;
  border-left: 3px solid var(--ste53a4-accent);
  color: var(--ste53a4-muted);
}
.ste53a4-prose code {
  font-size: .92em;
  background: color-mix(in srgb, var(--ste53a4-ink) 7%, var(--ste53a4-paper));
  padding: .12em .35em; border-radius: var(--ste53a4-radius);
}
.ste53a4-prose pre { overflow-x: auto; padding: 1rem; border-radius: var(--ste53a4-radius);
  background: color-mix(in srgb, var(--ste53a4-ink) 7%, var(--ste53a4-paper)); }
.ste53a4-prose pre code { background: none; padding: 0; }
.ste53a4-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.ste53a4-prose th, .ste53a4-prose td {
  text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--ste53a4-rule);
}

.ste53a4-feed, .ste53a4-list { display: grid; gap: 2.2rem; }
.ste53a4-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
.ste53a4-card, .ste53a4-entry, .ste53a4-item, .ste53a4-block {
  border-radius: var(--ste53a4-radius);
}
.ste53a4-card-title a, .ste53a4-item-link { text-decoration: none; }
.ste53a4-card-title a:hover, .ste53a4-item-link:hover { text-decoration: underline; }
.ste53a4-excerpt { color: var(--ste53a4-muted); }
.ste53a4-excerpt p { margin: .4rem 0 0; }

.ste53a4-pager ul, .ste53a4-adjacent {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none;
  padding: 0; margin-top: 3rem; font-size: .95rem;
}
.ste53a4-adjacent { justify-content: space-between; border-top: 1px solid var(--ste53a4-rule); padding-top: 1.5rem; }

.ste53a4-foot {
  border-top: 1px solid var(--ste53a4-rule);
  padding-block: 1.5rem 3rem;
  color: var(--ste53a4-muted); font-size: .9rem;
}
.ste53a4-footnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0 0 .6rem; }
.ste53a4-copy { margin: 0; }

.ste53a4-empty { color: var(--ste53a4-muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --ste53a4-paper: #1a1a14;
    --ste53a4-ink: #e9e9ec;
    --ste53a4-accent: #8481da;
  }
}
