.main {
  font-size: 25px;
}
.main h3, .main p {
  padding-left: 1em;
}
span#blog-list.blog-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #181a1b;
  padding: 30px 0 40px 0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  justify-items: center;
}
.blog-item {
  display: flex;
  flex-direction: column;
  width: 340px;
  min-height: 340px;
  background: #232425;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.13);
  overflow: hidden;
  margin: 0;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2px solid transparent;
}
.blog-item:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px rgba(255,150,0,0.13), 0 2px 12px rgba(0,0,0,0.18);
  border-color: #ff9600;
}
.blog-thumbnail img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  height: 180px;
  object-fit: cover;
  background: #222;
}
.blog-content {
  padding: 18px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.blog-content h2 {
  font-size: 1.25em;
  margin: 0 0 8px 0;
  color: #ff9600;
  text-align: left;
  line-height: 1.2;
}
.blog-content p {
  margin: 6px 0;
  color: #fff;
  font-size: 1em;
  text-align: left;
}
.blog-content a {
  color: #fff;
  text-decoration: none;
}
.blog-content a:hover {
  text-decoration: underline;
}
.blog-content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 10px;
  justify-content: flex-start;
}
.tag {
  display: inline-block;
  background: #ff9600;
  color: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  margin: 2px 4px 0 0;
  font-size: 0.9em;
  font-weight: bold;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.tag:hover {
  background: #ffa733;
  color: #232425;
}
.tag-checkbox {
  width: 30px;
  height: 30px;
  accent-color: #ff9600;
  vertical-align: middle;
  margin-right: 6px;
}
.tag-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px 14px;
  margin: 10px 0 0 0;
  padding: 8px 0;
  min-width: 220px;
  max-width: 100%;
}
.tag-btn {
  background: #181a1b;
  color: #ff9600;
  border: 2px solid #ff9600;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 1em;
  cursor: pointer;
  margin: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
}
.tag-btn.selected,
.tag-btn:active {
  background: #ff9600;
  color: #232425;
  border-color: #ffa733;
}
.search-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 28px 0 18px 0;
  padding: 12px 18px;
  background: #232425;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  max-width: 700px;
  min-width: 280px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.search-bar input[type="text"] {
  flex: 1 1 200px;
  padding: 10px 14px;
  border: 2px solid #ff9600;
  outline: none;
  font-size: 1em;
  background: #181a1b;
  color: #fff;
  transition: border-color 0.2s;
}
.search-bar input[type="text"]:focus {
  border-color: #ffa733;
}
.search-bar button {
  padding: 10px 20px;
  border: none;
  background-color: #ff9600;
  color: white;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background 0.2s;
}
.search-bar button:hover {
  background-color: #ffa733;
  color: #232425;
}