:root {
  --bg: #f6f4ef;
  --text: #1f2933;
  --muted: #52606d;
  --card: #ffffff;
  --line: #d9e2ec;
  --accent: #0b5fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfaf7 0%, #f3efe6 100%);
}

.container {
  width: min(860px, 92vw);
  margin: 0 auto;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.site-header {
  border-top: 0;
  margin-bottom: 1.5rem;
}

.site-footer {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.brand {
  display: inline-block;
  padding: 1rem 0 0.45rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-bottom: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

h1, h2 {
  line-height: 1.2;
}

a {
  color: var(--accent);
}

.post-card,
.post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.95rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.3rem 0 0.9rem;
}

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

.breadcrumbs {
  margin: 0 0 0.85rem;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #829ab1;
}

.taxonomy-intro {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.taxonomy-intro p {
  margin: 0;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.taxonomy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}

.taxonomy-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.post-taxonomy a {
  text-decoration: none;
}

.related-reading {
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.related-reading h2 {
  margin-top: 0;
}

.related-reading ul {
  margin: 0.3rem 0 0;
}

.pager {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0 0.25rem;
}
