/* Page-local: language section headers and GitHub/SDK actions. */

.hub-lang-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
}

.hub-lang-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hub-lang-section__title .articles-title {
  margin-bottom: 0;
}

.hub-lang-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hub-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--color-blue4);
  border-radius: 999px;
  background: #fff;
  color: var(--color-blue4);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.hub-github-btn:hover,
.hub-github-btn:focus {
  background: var(--color-blue4);
  color: #fff;
  border-color: var(--color-blue4);
}

.hub-sdk-link {
  font-size: 12px;
  font-weight: 700;
  color: #747474;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-sdk-link:hover {
  color: var(--color-blue4);
}

@media (max-width: 767.98px) {
  .hub-lang-section__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
