/* Basic styles for the blog */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

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

.site-nav {
  float: right;
  margin-top: 5px;
}

.site-nav a {
  margin-left: 20px;
  color: #333;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

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

.page-content {
  min-height: 500px;
  margin-bottom: 40px;
}

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

.post-list li {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.post-meta {
  color: #828282;
  font-size: 0.9em;
}

.post-link {
  font-size: 1.3em;
  color: #2a7ae2;
  text-decoration: none;
}

.post-link:hover {
  text-decoration: underline;
}

.post-content {
  margin-top: 30px;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-content code {
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Monaco', 'Courier New', monospace;
}

.post-content pre {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

.post-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
}

.post-content table th,
.post-content table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.post-content table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.post-tags {
  margin: 10px 0;
}

.tag {
  display: inline-block;
  background-color: #f1f8ff;
  color: #0366d6;
  padding: 3px 8px;
  margin-right: 5px;
  border-radius: 3px;
  font-size: 0.85em;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
  color: #828282;
  font-size: 0.9em;
}

.social-links a {
  margin-right: 15px;
  color: #2a7ae2;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Clear floats */
.wrapper::after {
  content: "";
  display: table;
  clear: both;
}

/* Full width responsive image */
.full-width-image {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
}

/* Ensure paragraph wrapper doesn't constrain image */
.post-content p:has(.full-width-image) {
  margin: 0;
  padding: 0;
}
