/* Simple, clean Jekyll theme */

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  margin-bottom: 40px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  margin: 0;
}

.site-nav a {
  color: #666;
  text-decoration: none;
}

.site-nav a:hover {
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
  margin-top: 40px;
  margin-bottom: 15px;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 20px;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: #f0f0f0;
  padding: 0 2px;
  border-radius: 3px;
}

pre {
  background: #1a1a1a;
  color: #fff;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

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

blockquote {
  border-left: 4px solid #0066cc;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

.site-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 80px;
  color: #666;
  font-size: 0.9rem;
}

/* Post styling */
.post-header {
  margin-bottom: 40px;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.post-content {
  line-height: 1.7;
}

.post-footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

/* Pagination */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 5px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
}

.pagination a:hover {
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 0 15px;
  }
  
  .site-nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
}