/* styles.css — minimal, responsive blog style */

/* Use a nice system font stack for speed & familiarity */
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
               Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background: #fafafa;
  color: #222;
}

body {
  margin: 0;
  padding: 0;
}

article {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
}

/* Headings */
h1, h2, h3, h4, h5 {
  line-height: 1.25;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2em;
  margin-top: 0;
}

.post-date {
  color: #777;
  font-size: 0.9em;
  margin-bottom: 2rem;
}

/* Links */
a, re-link {
  color: #0645ad;
  text-decoration: none;
}

a:hover, re-link:hover {
  text-decoration: underline;
}

/* Paragraphs & lists */
p {
  margin: 1em 0;
}

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

li {
  margin: 0.25em 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Code blocks */
pre {
  background: #f6f8fa;
  padding: 1em;
  overflow-x: auto;
  border-radius: 4px;
}

code {
  font-family: "Courier New", Courier, monospace;
  background: #f6f8fa;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #ddd;
  margin: 1em 0;
  padding: 0.5em 1em;
  color: #555;
  background: #f9f9f9;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  article {
    padding: 1rem;
  }
}
