/* Main centered canvas */
.blog-container {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: system-ui, sans-serif;
}

/* Title centered */
.blog-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Center pills container */
.pills-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* Shared pill style */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

/* Language pills, light red */
.pill-lang {
  background-color: #ffdddd;
  color: #660000;
}

/* Tag pills, light blue */
.pill-tag {
  background-color: #ddeeff;
  color: #003366;
}

/* Search field stretched full width */
.blog-search {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.blog-search input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #aaa;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Post list layout */
.post-list {
  margin-top: 20px;
}

.post-item {
  padding: 16px 0;
  border-bottom: 1px solid #ccc;
}

.post-item-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.post-item-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

/* Individual post content */
.post-content {
  line-height: 1.6;
  font-size: 1.1rem;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .blog-container {
    width: 90%;
  }
}

.blog-container {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.blog-title {
  text-align: center;
  margin-bottom: 20px;
}

/* Pills */
.pills-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  border: none;
}

.pill-lang {
  background: #ffdddd;
  color: #660000;
}

.pill-tag {
  background: #ddeeff;
  color: #003366;
}

/* Reset pill centered */
.reset-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 10px 0 20px 0;
}

.pill-reset {
  background: #eee;
  color: #333;
}

/* Search box full width */
.blog-search {
  width: 100%;
  margin-bottom: 25px;
}

.blog-search input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #bbb;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Posts list */
.post-list-item {
  padding: 16px 0;
  border-bottom: 1px solid #ccc;
}

.post-title a {
  text-decoration: none;
  font-size: 1.3rem;
  color: #000;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 20px;
}