/* WebChesapeake custom styles - academic, clean, minimal */

:root {
  --pico-font-family: "Inter", system-ui, -apple-system, sans-serif;
  --pico-font-size: 17px;
  --pico-primary: #1c4a3a;
  --pico-primary-hover: #14382c;
  --pico-primary-focus: rgba(28, 74, 58, 0.25);
  --pico-typography-spacing-vertical: 1.2rem;
  --pico-background-color: #faf7f0;
  --pico-color: #26302c;
  --pico-muted-color: #5c6b63;
  --pico-card-background-color: #ffffff;
  --pico-card-border-color: #e6dfd0;
  --pico-code-background-color: #f1ece0;
  --pico-blockquote-border-color: #e3a72f;
}

body {
  background: #faf7f0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.01em;
  color: #14251f;
}

h1 { font-size: 2.1rem; line-height: 1.22; }
h2 { font-size: 1.5rem; margin-top: 2.2rem; }
h3 { font-size: 1.18rem; margin-top: 1.6rem; }

.container { max-width: 1080px; }
.article-container { max-width: 780px; }

.brand-mark {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #173f33;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-mark small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7a4f;
}

nav.site-nav { border-bottom: 1px solid #e6dfd0; background: #fdfbf5; }
nav.site-nav a { color: #3c4a44; }
nav.site-nav a:hover { color: #1c4a3a; }

.breadcrumbs {
  font-size: 0.82rem;
  color: #7a877f;
  margin: 1.4rem 0 0.4rem;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: #b7bfba; }
.breadcrumbs a { color: #1c4a3a; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.hero {
  padding: 3.2rem 0 2.4rem;
}
.hero h1 { font-size: 2.6rem; max-width: 24ch; }
.hero p.lead { font-size: 1.12rem; max-width: 56ch; color: #4b5a52; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a7a4f;
  margin-bottom: 0.6rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #5c6b63;
  font-size: 0.9rem;
  margin: 1.2rem 0;
}
.article-meta img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #e6dfd0;
}
.article-meta .author { color: #1c4a3a; font-weight: 600; text-decoration: none; }

.post-hero-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e6dfd0;
  margin: 1.2rem 0 1.6rem;
}
figcaption, .img-note { font-size: 0.8rem; color: #7a877f; margin-top: 0.3rem; }

.quick-answer {
  background: #eef3ec;
  border-left: 4px solid #1c4a3a;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.2rem;
  margin: 1.6rem 0;
}
.quick-answer strong { color: #173f33; }

.toc {
  background: #fdfbf5;
  border: 1px solid #e6dfd0;
  border-radius: 8px;
  padding: 1rem 1.4rem;
  margin: 1.6rem 0;
  font-size: 0.92rem;
}
.toc ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.article-body p, .article-body li { line-height: 1.75; }
.article-body blockquote {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.08rem;
  color: #2c3a34;
}

.card-post {
  background: #fff;
  border: 1px solid #e6dfd0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.card-post:hover { box-shadow: 0 6px 18px rgba(23, 63, 51, 0.08); }
.card-post img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card-post .card-body { padding: 1.1rem 1.2rem 1.2rem; }
.card-post h3 { margin-top: 0.3rem; font-size: 1.12rem; }
.card-post h3 a { color: #14251f; text-decoration: none; }
.card-post h3 a:hover { color: #1c4a3a; }
.card-post .date { font-size: 0.8rem; color: #7a877f; text-transform: uppercase; letter-spacing: 0.06em; }
.card-post p { font-size: 0.92rem; color: #4b5a52; margin-bottom: 0.4rem; }

.post-list { list-style: none; padding: 0; }
.post-list li {
  border-bottom: 1px solid #e6dfd0;
  padding: 0.9rem 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
}
.post-list .date { color: #7a877f; font-size: 0.88rem; padding-top: 0.2rem; }
.post-list a { text-decoration: none; font-weight: 600; color: #14251f; }
.post-list a:hover { color: #1c4a3a; }
.post-list .excerpt { color: #4b5a52; font-size: 0.92rem; }

.author-card {
  display: flex;
  gap: 1.1rem;
  background: #fdfbf5;
  border: 1px solid #e6dfd0;
  border-radius: 10px;
  padding: 1.3rem;
  margin: 2.4rem 0 1.2rem;
}
.author-card img { width: 76px; height: 76px; border-radius: 50%; border: 3px solid #e6dfd0; flex-shrink: 0; }
.author-card h3 { margin-top: 0; font-size: 1.05rem; }
.author-card .role { color: #8a7a4f; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.author-card p { font-size: 0.92rem; margin-bottom: 0.5rem; }

.related { margin: 2rem 0; }
.related ul { columns: 1; }
@media (min-width: 768px) { .related ul { columns: 2; column-gap: 2.4rem; } }
.related li { break-inside: avoid; margin-bottom: 0.5rem; font-size: 0.95rem; }

footer.site-footer {
  border-top: 1px solid #e6dfd0;
  margin-top: 4rem;
  padding: 2.2rem 0 3rem;
  background: #fdfbf5;
  font-size: 0.9rem;
  color: #5c6b63;
}
footer.site-footer a { color: #1c4a3a; text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }

.sources { font-size: 0.88rem; }
.sources ol { padding-left: 1.2rem; }
.sources li { margin-bottom: 0.35rem; }

.faq dt { font-weight: 600; color: #14251f; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .post-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .author-card { flex-direction: column; }
}
