* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
  color: #1a1a1a;
  background: #fff;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 2rem;
}

header nav {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

main {
  min-height: 60vh;
  padding-bottom: 3rem;
}

article {
  margin-bottom: 3rem;
}

article h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

article time {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1.5rem;
}

article p {
  margin-bottom: 1.25rem;
}

article h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

article h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

article blockquote {
  border-left: 3px solid #ccc;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #444;
  font-style: italic;
}

article code {
  background: #f4f4f4;
  padding: 0.15em 0.35em;
  border-radius: 3px;
  font-size: 0.9em;
}

article pre {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

article pre code {
  background: none;
  padding: 0;
}

article img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

article ul, article ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.25rem;
}

article a {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.article-list li:last-child {
  border-bottom: none;
}

.article-list a {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.article-list a:hover {
  text-decoration: underline;
}

.article-list .date {
  display: block;
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.25rem;
}

.article-list .summary {
  display: block;
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.35rem;
}

footer {
  border-top: 1px solid #e5e5e5;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #999;
}

/* Slaughterhouse article styles */
article.slaughterhouse-post h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.standfirst {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  color: #5a5a5a;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.summary-box {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #fff;
  border-left: 4px solid #8b2500;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.summary-box h3 {
  color: #8b2500;
  font-size: 1.1rem;
  margin-top: 0;
}

.summary-box p {
  font-size: 0.95rem;
  line-height: 1.75;
}

.toc {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f0ece6;
  border-radius: 6px;
  border: 1px solid #e0dcd7;
}

.toc h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #1a1a1a;
}

.toc ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0 0;
}

.toc li {
  font-size: 0.925rem;
  margin-bottom: 0.4rem;
  color: #5a5a5a;
}

.toc li a {
  color: #1a1a1a;
  text-decoration: none;
}

.toc li a:hover {
  text-decoration: underline;
}

.step {
  margin: 3rem 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e0dcd7;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8b2500;
  margin-bottom: 0.5rem;
}

.step h2 {
  margin-top: 0;
}

.step .status {
  font-size: 0.8rem;
  font-weight: 500;
  color: #a0522d;
  border-top: 1px solid #e0dcd7;
  padding-top: 0.875rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.925rem;
}

article th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  padding: 0.625rem 0.875rem;
  border-bottom: 2px solid #8b2500;
  color: #8b2500;
}

article td {
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid #e0dcd7;
  vertical-align: top;
}

article tr:last-child td {
  border-bottom: none;
}

.counterargument {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f0ece6;
  border-radius: 6px;
  border: 1px solid #e0dcd7;
}

.counterargument strong {
  color: #8b2500;
}

.counterargument p:last-child {
  margin-bottom: 0;
}

.warning-box {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #8b2500;
  color: white;
  border-radius: 6px;
}

.warning-box p {
  color: white;
  margin-bottom: 0.75rem;
}

.warning-box p:last-child {
  margin-bottom: 0;
}

.warning-box strong {
  color: #ffd5c2;
}

.risk-table td:first-child {
  font-weight: 700;
}

.risk-low {
  color: #2d6a2e;
}

.risk-high {
  color: #8b2500;
}

@media (max-width: 600px) {
  body {
    padding: 0 1rem;
  }

  article h1 {
    font-size: 1.5rem;
  }
}
