/* Единая шапка сайта Distinctions Club (index, books, articles, matrix) */
.dc-header {
  border-bottom: 1px solid #e6eaf2;
  background: rgba(251, 252, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}
.dc-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.dc-header .dc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #161d31;
  white-space: nowrap;
}
.dc-header .dc-brand-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.dc-header .brand-sub-club {
  color: #0b848b;
}
.dc-header .brand-sub-lab {
  color: #684fd0;
}
.dc-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dc-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.dc-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  color: #3d4862;
  transition: color 0.16s ease;
  white-space: nowrap;
}
.dc-nav a:hover {
  color: #161d31;
}
.dc-nav a.is-current {
  color: #0b848b;
  font-weight: 650;
}
.dc-nav a.nav-lab {
  color: #684fd0;
  font-weight: 600;
}
.dc-nav a.nav-lab:hover,
.dc-nav a.nav-lab.is-current {
  color: #4f38b3;
}
.dc-nav a.nav-lang {
  font-size: 12.5px;
  font-weight: 650;
  color: #6c7791;
  padding: 4px 9px;
  border: 1px solid #d5dceb;
  border-radius: 8px;
}
.dc-nav a.nav-lang:hover {
  color: #684fd0;
  border-color: #c7bcf4;
  background: #f3f0ff;
}
.dc-header-extra {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 720px) {
  .dc-header-inner {
    padding: 0 16px;
    height: auto;
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .dc-nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .dc-nav a {
    font-size: 13px;
  }
}
