* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding: 40px 20px;
  color: #2d3748;
  line-height: 1.7;
}

.blog-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
}

.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.blog-nav a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.blog-nav a:hover {
  color: #5568d3;
}

.blog-nav .home-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

h1.blog-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.blog-meta {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.blog-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: #2d3748;
  margin-top: 36px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: #2d3748;
  margin-top: 28px;
  margin-bottom: 10px;
}

.blog-content p {
  margin-bottom: 18px;
  color: #4a5568;
  font-size: 1.05rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 18px;
  padding-left: 28px;
  color: #4a5568;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content a {
  color: #667eea;
  text-decoration: underline;
}

.blog-content a:hover {
  color: #5568d3;
}

.blog-content code {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.92em;
  color: #d53f8c;
}

.blog-content pre {
  background: #2d3748;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.blog-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
}

.blog-content blockquote {
  border-left: 4px solid #667eea;
  background: #f7fafc;
  padding: 14px 20px;
  margin: 20px 0;
  color: #4a5568;
  font-style: italic;
}

.cta-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 28px;
  margin: 36px 0;
  text-align: center;
}

.cta-box h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: white !important;
  margin-top: 0 !important;
}

.cta-box p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.95) !important;
}

.cta-box a.cta-btn {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-box a.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

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

.post-card {
  display: block;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: all 0.2s;
  background: white;
}

.post-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.post-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 8px;
}

.post-card p {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.post-card .post-date {
  color: #a0aec0;
  font-size: 0.85rem;
}

.blog-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}

.share-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.share-section .share-label {
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.share-section .a2a_kit {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.share-section .total-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #667eea;
  color: white;
  border-radius: 4px;
  padding: 2px 8px;
  min-width: 42px;
  height: 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.share-section .total-share-count {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.share-section .total-share-text {
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 1px;
  opacity: 0.85;
  line-height: 10px;
}

@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  .blog-container {
    padding: 28px 22px;
    border-radius: 12px;
  }

  h1.blog-title {
    font-size: 1.8rem;
  }

  .blog-content h2 {
    font-size: 1.35rem;
  }

  .blog-content h3 {
    font-size: 1.1rem;
  }
}
