.bng-hub {
  --green: #174f38;
  --berry: #d82958;
  --sky: #edf8fd;
  --cream: #fffaf3;
  --ink: #123c2c;
  font-family: Inter, Manrope, system-ui, sans-serif;
  color: var(--ink);
  width: min(1120px, calc(100vw - 28px));
  margin: 30px auto;
}
.bng-hub * {
  box-sizing: border-box;
}
.bng-hub-head {
  padding: 34px;
  border: 1px solid #dce9e2;
  border-radius: 25px;
  background: linear-gradient(145deg, var(--sky), #fff 60%, var(--cream));
  text-align: center;
}
.bng-hub-head > span {
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bng-hub-head h2 {
  margin: 8px 0;
  color: var(--green);
  font:
    700 2.2rem Georgia,
    serif;
}
.bng-hub-head p {
  color: #617268;
}
.bng-hub-head label {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 650px;
  margin: 22px auto 0;
  padding: 5px 17px;
  border: 1.5px solid #bcd4c7;
  border-radius: 40px;
  background: #fff;
}
.bng-hub-head label b {
  font-size: 1.5rem;
}
.bng-hub-head input {
  width: 100%;
  padding: 12px 4px;
  border: 0;
  outline: 0;
  font: inherit;
}
.bng-topic-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 22px 0;
}
.bng-topic-tabs button {
  padding: 9px 15px;
  border: 1px solid #bcd4c7;
  border-radius: 30px;
  background: #fff;
  color: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.bng-topic-tabs button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.bng-map {
  display: grid;
  gap: 24px;
}
.bng-topic-branch {
  padding: 24px;
  border: 1px solid #dce9e2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 35px #174f3810;
}
.bng-topic-branch > header {
  display: flex;
  align-items: center;
  gap: 13px;
}
.bng-topic-branch > header i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff1f4;
  color: var(--berry);
  font-size: 1.5rem;
}
.bng-topic-branch small {
  color: #6d8076;
}
.bng-topic-branch h3 {
  margin: 2px 0;
  color: var(--green);
  font:
    700 1.55rem Georgia,
    serif;
}
.bng-lesson-path {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 13px;
  margin-top: 18px;
}
.bng-lesson-node {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid #dce9e2;
  border-radius: 17px;
  color: var(--ink);
  text-decoration: none;
  transition: 0.2s;
}
.bng-lesson-node:hover {
  border-color: var(--berry);
  transform: translateY(-2px);
}
.bng-lesson-node > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7f2ec;
  color: var(--green);
  font-weight: 900;
}
.bng-lesson-node strong {
  display: block;
}
.bng-lesson-node p {
  margin: 5px 0;
  color: #617268;
  font-size: 0.88rem;
  line-height: 1.45;
}
.bng-lesson-node.is-complete {
  border-color: #3a8b60;
  background: #f1faf5;
}
.bng-lesson-node.is-complete > span {
  background: #27845c;
  color: #fff;
}
.bng-lesson-node.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.bng-empty {
  text-align: center;
  padding: 30px;
  color: #617268;
}
@media (max-width: 650px) {
  .bng-hub {
    width: calc(100vw - 18px);
  }
  .bng-hub-head {
    padding: 25px 17px;
  }
  .bng-hub-head h2 {
    font-size: 1.75rem;
  }
  .bng-topic-branch {
    padding: 17px;
  }
  .bng-lesson-path {
    grid-template-columns: 1fr;
  }
}
