/* Base layout */
body {
  font-family: 'Georgia', serif;
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  color: #111;
}

p {
  margin: 1em 0;
}

a {
  color: #2f7af7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

/* Code and Preformatted */
code {
  background: #f6f6f6;
  padding: 0.2em 0.4em;
  font-family: monospace;
  border-radius: 3px;
}

pre {
  background: #f6f6f6;
  padding: 1em;
  overflow: auto;
  border-left: 4px solid #ccc;
}

/* Blockquote */
blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 4px solid #ccc;
  color: #555;
  font-style: italic;
}

/* Substack-specific classes */
.header-anchor-post {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}

.pencraft {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
}

/* Additional structure */
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2em 0;
}

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

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

div.pencraft {display: none ;}
button.pencraft {display: none ;}