/* Public site top bar (Home template → Chrome → Top bar) */
.bm-topbar {
  background: #121218;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  min-height: 2.5rem;
}

.bm-topbar__left,
.bm-topbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.bm-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.bm-topbar__item i {
  color: #8c71ff;
  font-size: 1rem;
  line-height: 1;
}

a.bm-topbar__item:hover {
  color: #fff;
}

a.bm-topbar__item:hover i {
  color: #a794ff;
}

.bm-topbar__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.bm-topbar__social a {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bm-topbar__social a:hover {
  background: #6e4ef2;
  border-color: #6e4ef2;
  color: #fff;
}

.bm-topbar__follow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: #fff;
}

[data-bs-theme="light"] .bm-topbar {
  background: #f4f4f7;
  color: #2a2a32;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .bm-topbar__item {
  color: #2a2a32;
}

[data-bs-theme="light"] .bm-topbar__item i {
  color: #6e4ef2;
}

[data-bs-theme="light"] a.bm-topbar__item:hover {
  color: #111;
}

[data-bs-theme="light"] .bm-topbar__social a {
  color: #2a2a32;
  border-color: rgba(0, 0, 0, 0.16);
}

[data-bs-theme="light"] .bm-topbar__social a:hover {
  background: #6e4ef2;
  border-color: #6e4ef2;
  color: #fff;
}

[data-bs-theme="light"] .bm-topbar__follow {
  color: #1f1f24;
}

@media (max-width: 991.98px) {
  .bm-topbar {
    display: none;
  }
}
