/* Kanal T — topbar */
:root {
  --kt-topbar-bg: #0b0b0b;
  --kt-topbar-text: #ffffff;
  --kt-topbar-hover: #d10000;
  --kt-topbar-height: 2.5rem;
  --kt-font-ui: "Source Sans 3", "Segoe UI", sans-serif;
}

.kt-topbar {
  background: var(--kt-topbar-bg);
  color: var(--kt-topbar-text);
  font-family: var(--kt-font-ui);
  font-size: 0.8125rem;
  line-height: 1.3;
  min-height: var(--kt-topbar-height);
}

.kt-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  box-sizing: border-box;
}

.kt-topbar__tagline {
  margin: 0;
  color: var(--kt-topbar-text);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}

.kt-topbar__social {
  flex: 0 0 auto;
}

.kt-topbar__social-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kt-topbar__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--kt-topbar-text);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.kt-topbar__social-link:hover,
.kt-topbar__social-link:focus-visible {
  color: var(--kt-topbar-hover);
}

.kt-topbar__social-link:focus-visible {
  outline: 2px solid var(--kt-topbar-hover);
  outline-offset: 2px;
}

.kt-topbar__social-link:hover {
  transform: translateY(-1px);
}

.kt-topbar__social-link svg {
  display: block;
}

@media (max-width: 640px) {
  .kt-topbar__inner {
    padding: 0.45rem 0.85rem;
    gap: 0.75rem;
  }

  .kt-topbar__tagline {
    font-size: 0.7rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .kt-topbar__social-list {
    gap: 0.4rem;
  }

  .kt-topbar__social-link {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kt-topbar__social-link {
    transition: none;
  }

  .kt-topbar__social-link:hover {
    transform: none;
  }
}
