:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --text: #22221f;
  --text-soft: #55554f;
  --accent: #1d6f5c;
  --border: #e6e6e1;
  --max-width: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site-header .brand { font-weight: 700; font-size: 1.1rem; color: var(--text); }
header.site-header nav a { margin-left: 20px; color: var(--text-soft); font-weight: 500; }

main { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px 80px; }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 1.4rem; margin-top: 2.2em; }
h3 { font-size: 1.15rem; margin-top: 1.8em; }

.post-meta { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 2em; }

article img, article iframe { max-width: 100%; border-radius: 8px; }
article blockquote {
  margin: 1.5em 0;
  padding: 0.8em 1.2em;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
article pre { background: var(--bg-soft); padding: 1em; border-radius: 8px; overflow-x: auto; }
article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
article th, article td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.post-list h2 { margin: 0 0 4px; font-size: 1.2rem; }
.post-list .post-meta { margin: 0; }

section.module {
  margin-top: 3.5em;
  padding-top: 2em;
  border-top: 1px solid var(--border);
}
section.module h2 { margin-top: 0; }

.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.related-grid a {
  display: block;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
}
.related-grid a:hover { text-decoration: none; background: #eef0ee; }

.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.95rem;
}
.testimonial-card .name { font-weight: 600; margin-top: 8px; color: var(--text-soft); font-size: 0.88rem; }

.author-bio { display: flex; gap: 16px; align-items: flex-start; }
.author-bio img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio .name { font-weight: 700; margin-bottom: 4px; }

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
}
