* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: #ffffff;
  color: #171717;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.main-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  min-height: 100vh;
}

.main-container {
  width: 100%;
  max-width: 800px;
  min-height: 100vh;
  background-color: #ffffff;
  padding: 2rem 1rem;
}

.blog-header {
  margin-bottom: 3rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #737373;
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}

.back-link:hover {
  color: #171717;
}

.blog-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #171717;
  margin-top: 0.5rem;
}

.blog-subtitle {
  font-size: 0.875rem;
  color: #737373;
  line-height: 1.6;
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background-color: #ffffff;
  transition: all 0.2s;
}

.post-card:hover {
  border-color: #020618;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.post-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #171717;
  line-height: 1.3;
}

.post-date {
  font-size: 0.8125rem;
  color: #a3a3a3;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-content p {
  font-size: 0.875rem;
  color: #404040;
  line-height: 1.7;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #737373;
}

@media (min-width: 640px) {
  .main-container {
    padding: 3rem 2rem;
  }

  .blog-title {
    font-size: 2.5rem;
  }

  .post-card {
    padding: 2rem;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .post-content p {
    font-size: 0.9375rem;
  }
}

@media (min-width: 768px) {
  .main-container {
    padding: 4rem 2rem;
  }
}

.footer {
  padding: 16px 32px;
  background-color: white;
  text-align: center;
}

.footer-nav a {
  margin: 0 8px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #555;
}

.footer-nav a:hover {
  text-decoration: underline;
}