:root { --primary: #3b82f6; }
:root { --secondary: #6366f1; }
:root { --bg: #ffffff; }
:root { --text: #1e293b; }
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1e293b;
  background: #ffffff;
}
.container {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width:640px) {
.container {
  padding-inline: 2rem;
}
}
.site-header {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding-block: 1rem;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
}
.site-header nav a {
  color: #64748b;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-header nav a:hover {
  color: #3b82f6;
}
.hero {
  background-color: #f8fafc;
  padding-block: 4rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin-inline: auto;
}
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-block: 3rem;
}
@media (min-width:768px) {
.post-grid {
  grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width:1024px) {
.post-grid {
  grid-template-columns: repeat(3, 1fr);
}
}
.post-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}
.post-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.post-card .post-date {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.post-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.post-card h2 a {
  color: #1e293b;
  text-decoration: none;
}
.post-card h2 a:hover {
  color: #3b82f6;
}
.post-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}
.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
  background-color: #adf4ff;
  padding-inline: 0.6rem;
  padding-block: 0.2rem;
  border-radius: 9999px;
  text-decoration: none;
}
.post-layout {
  max-width: 720px;
  margin-inline: auto;
  margin-block: 3rem;
  padding-inline: 1.5rem;
}
.post-header {
  margin-bottom: 2rem;
}
.post-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.post-header .post-meta {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.post-content h2, h3, h4 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.post-content h2 {
  font-size: 1.6rem;
}
.post-content h3 {
  font-size: 1.3rem;
}
.post-content p {
  margin-bottom: 1.25rem;
}
.post-content a {
  color: #3b82f6;
  text-decoration: underline;
}
.post-content code {
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.88rem;
  background-color: #f8fafc;
  padding-inline: 0.3rem;
  padding-block: 0.1rem;
  border-radius: 3px;
}
.post-content pre {
  background-color: #1e293b;
  color: #f8fafc;
  padding: 1.25rem;
  border-radius: 0.5rem;
  overflow: auto;
  margin-bottom: 1.5rem;
}
.post-content pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}
.post-content blockquote {
  margin-left: 0;
  padding-left: 1rem;
  border: 4px solid #3b82f6;
  color: #64748b;
  font-style: italic;
}
.post-content ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.post-content li {
  margin-bottom: 0.4rem;
}
.post-content img {
  max-width: 100%;
  border-radius: 0.5rem;
}
.post-content hr {
  border: none;
  border-width: 0;
  bdt: 1px solid #e2e8f0;
  margin-block: 2rem;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.post-content th, td {
  padding: 0.5rem 0.75rem;
  bdbt: 1px solid #e2e8f0;
  text-align: left;
}
.post-content th {
  font-weight: 700;
  background-color: #f8fafc;
}
.site-footer {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding-block: 2rem;
  text-align: center;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: #64748b;
}
.site-footer a {
  color: #64748b;
  text-decoration: underline;
}
  color: blue;
  color: green;
  color: purple;
  color: orange;
  color: red;