.blog-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(0, 165, 165, 0.08), transparent 28%),
    linear-gradient(180deg, #f9fcfc 0%, #f2f8f8 100%);
}

.blog-navbar {
  background: rgba(255, 255, 255, 0.94);
}

.blog-main {
  padding: 128px 0 96px;
}

.blog-hero {
  text-align: center;
  margin-bottom: 56px;
}

.blog-kicker,
.post-meta {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero h1,
.post h1 {
  margin: 20px auto 20px;
  max-width: 900px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
}

.blog-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.post-card,
.post {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 128, 128, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.post-card {
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post-card h2 {
  margin: 18px 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.post-card h2 a {
  color: var(--text-primary);
  text-decoration: none;
}

.post-card p {
  color: var(--text-secondary);
}

.post-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.post-link:hover {
  color: var(--primary-dark);
}

.post {
  max-width: 860px;
  padding: 40px;
}

.post .post-meta {
  margin-bottom: 18px;
}

.post-excerpt {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.6;
}

.post-body {
  color: var(--text-primary);
}

.post-body h2,
.post-body h3 {
  margin: 34px 0 14px;
  line-height: 1.2;
}

.post-body p,
.post-body li {
  color: var(--text-secondary);
  font-size: 17px;
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body pre,
.post-body blockquote {
  margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
  padding-left: 22px;
}

.post-body a {
  color: var(--primary-color);
}

.post-body code {
  font-family: Consolas, Monaco, monospace;
  background: rgba(0, 128, 128, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.post-body pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: #f3f7f7;
  border: 1px solid var(--border-color);
}

.post-body pre code {
  padding: 0;
  background: none;
}

@media (max-width: 768px) {
  .blog-main {
    padding: 108px 0 72px;
  }

  .post-card,
  .post {
    padding: 24px;
  }

  .post-card h2 {
    font-size: 24px;
  }

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

@media (max-width: 640px) {
  .blog-main {
    padding-top: 96px;
  }

  .blog-hero {
    margin-bottom: 40px;
  }

  .post-list {
    gap: 20px;
  }
}
