body {
  background: #0f1115;
  color: #e6e6e6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
}

.blog-post-wrap {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 32px 90px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #9fb7ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

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

.post-date {
  color: #8b95a7;
  font-size: 13px;
  margin-bottom: 14px;
}

.blog-post-wrap h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: #ffffff;
}

.post-excerpt {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.7;
  color: #aeb7c8;
  margin: 0 0 36px;
}

.post-excerpt::after {
  content: "...";
}

.post-content {
  max-width: 1180px;
  font-size: 18px;
  line-height: 1.85;
  color: #dce3ef;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: #ffffff;
  line-height: 1.2;
  margin-top: 42px;
  margin-bottom: 14px;
}

.post-content h2 {
  font-size: 30px;
}

.post-content h3 {
  font-size: 23px;
}

.post-content p {
  margin: 0 0 22px;
}

.post-content ul,
.post-content ol {
  margin: 0 0 24px 22px;
  padding: 0;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content a {
  color: #9fb7ff;
}

.post-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid #9fb7ff;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-radius: 14px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 28px auto;
}

.post-content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
}

.post-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (max-width: 640px) {
  .blog-post-wrap {
    padding: 38px 18px 60px;
  }

  .post-content {
    font-size: 16px;
  }

  .post-excerpt {
    font-size: 16px;
  }
}

