/* Blog Styles */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1em;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.prose {
  max-width: 65ch;
}

.prose ul, .prose ol {
  margin-bottom: 1em;
}

.prose li {
  margin-bottom: 0.5em;
}

/* Header Styles */
header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Navigation Styles */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav li {
  margin: 0 1rem;
}

/* Article Styles */
article header h1 {
  font-size: 2rem;
  margin-top: 0;
}

/* Related Posts Styles */
.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.related-post {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.related-post:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.related-post h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: 0.5rem 0;
  }
}