.article-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #2c3e50;
  color: #fff;
  box-shadow: 0 1px 6px #14283d14;
}

.article-header-inner {
  max-width: 1280px;
  min-height: 72px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.article-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.article-site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.article-site-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.article-site-nav > a:hover,
.article-site-nav > a[aria-current="page"] {
  color: #c9e2ff;
  border-bottom-color: #91c5ff;
}

.article-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-login,
.article-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #9aa9b7;
  border-radius: 24px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.article-menu-button {
  display: none;
  border-radius: 8px;
  padding: 8px 12px;
}

.article-login:hover,
.article-menu-button:hover {
  background: #ffffff14;
}

@media (max-width: 800px) {
  .article-header-inner {
    min-height: 68px;
    padding: 10px 18px;
    gap: 0;
    flex-wrap: wrap;
  }

  .article-brand {
    margin-right: auto;
    font-size: 18px;
  }

  .article-brand img {
    width: 38px;
    height: 38px;
  }

  .article-site-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 2px;
  }

  .article-site-header.js-menu .article-site-nav:not(.is-open) {
    display: none;
  }

  .article-site-header.js-menu .article-menu-button {
    display: inline-flex;
  }

  .article-site-nav > a {
    padding: 8px 12px;
  }

  .article-site-nav .features-dropdown summary {
    padding-inline: 12px;
  }
}

@media (max-width: 380px) {
  .article-header-inner { padding-inline: 12px; }
  .article-brand { font-size: 16px; }
  .article-brand img { width: 32px; height: 32px; }
  .article-login { padding-inline: 10px; }
}
