/* Sjednocená horní lišta a sticky navigace pro všechny stránky /doc/ */
html {
  scrollbar-gutter: stable;
}
.doc-topbar {
  background: #08245c;
  color: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.doc-topbar-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.doc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  white-space: nowrap;
}
.doc-brand b {
  font-weight: 700;
  letter-spacing: .2px;
}
.doc-brand span {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: .78;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}
.doc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.doc-actions a.doc-sublink {
  color: rgba(255, 255, 255, .86) !important;
  text-decoration: none !important;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
.doc-actions a.doc-sublink:hover,
.doc-actions a.doc-sublink.cur {
  color: #fff !important;
  background: rgba(255, 255, 255, .16);
}
.doc-actions a.doc-app-btn {
  display: inline-block;
  background: #fff;
  color: #0d3b8f !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
  transition: opacity .12s;
}
.doc-actions a.doc-app-btn:hover {
  opacity: .92;
}

nav.doc-menubar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #dfe5ee;
  box-shadow: 0 2px 10px rgba(13, 59, 143, .05);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.doc-menubar-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.doc-menubar-in::-webkit-scrollbar {
  display: none;
}
nav.doc-menubar a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 7px;
  font-size: 12.8px;
  font-weight: 500;
  color: #344256 !important;
  text-decoration: none !important;
  border-bottom: 2.5px solid transparent;
  transition: color .12s, background .12s, border-color .12s;
  flex-shrink: 0;
}
nav.doc-menubar a:hover {
  color: #0d3b8f !important;
  background: #f4f7fe;
}
nav.doc-menubar a.cur {
  color: #0d3b8f !important;
  font-weight: 500;
  text-shadow: 0 0 .35px currentColor;
  border-bottom-color: #2456c4;
  background: #eef3fd;
}

/* Sjednocený vzhled hero hlavičky a kotvového posunu pod sticky menu */
header.top {
  background: linear-gradient(125deg, #0a2f76 0%, #0d3b8f 48%, #2456c4 100%) !important;
  padding: 30px 0 28px !important;
  margin-bottom: 30px !important;
}
h2[id], h3[id], section[id], .release-head[id], .layer[id], .sec[id] {
  scroll-margin-top: 64px !important;
}

@media (max-width: 720px) {
  .doc-actions a.doc-sublink {
    display: none;
  }
  .doc-brand span {
    display: none;
  }
  .doc-topbar-in {
    padding: 0 14px;
  }
}
