.hero {
  background: #f7f8fa;
  border-bottom: 1px solid #e5e5e5;
  padding: 40px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.hero p {
  margin-top: 8px;
  color: #666;
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
  letter-spacing: 0.3px;
}



@media (max-width: 768px) {
  .hero h1 { font-size: 1.5rem; }
}




.page-title {
  padding: 28px 0 0;
  margin-bottom: 20px;
}

.page-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.page-title p { margin-top: 4px; color: #666; font-size: 0.9rem; }

/* ---------- Tags bar -------------------------------------- */
.tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #f0f2f5;
  border: 1px solid #e0e2e6;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #444;
  font-weight: 500;
  transition: background 0.12s, border-color 0.12s;
}

.tag:hover {
  background: #e4eaf4;
  border-color: #b8cce8;
  color: #0f6fd1;
  text-decoration: none;
}

.tag.active {
  background: #0f6fd1;
  border-color: #0f6fd1;
  color: #fff;
}


.tag-description {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 20px 0;
}