/* CSS riêng cho bài Cách học ngữ pháp */
.grammar-builder {
  margin-top: 1.25rem;
  border: 1px solid #d9e7cf;
  border-radius: 16px;
  background: linear-gradient(180deg, #f6faf1 0%, #ffffff 100%);
  padding: 16px;
}
.grammar-builder-title {
  font-size: 13px;
  font-weight: 800;
  color: #193b25;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.grammar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.grammar-chip {
  cursor: pointer;
  border: 1px solid #cfe0c3;
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #193b25;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.grammar-chip:hover { transform: translateY(-2px); border-color: #6b963c; }
.grammar-chip.is-active { border-color: #6b963c; background: #6b963c; color: #fff; }
.grammar-detail {
  margin-top: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed #d3e2c7;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #365038;
}
