/* positions.html — шапка как на font.html / index.html */

/* Резерв под полосу прокрутки — шапка не сдвигается при открытии модалок */
html:has(body.page-positions) {
  scrollbar-gutter: stable;
}

html body.page-positions .site-header .logo .logo-brand,
html body.page-positions .site-header .logo .logo-brand-primary,
html body.page-positions .site-header .logo .logo-brand-secondary,
html body.page-positions .site-header .logo-link:hover .logo-brand,
html body.page-positions .site-header .logo-link:focus-visible .logo-brand,
html body.page-positions .site-header .logo-link:active .logo-brand,
html body.page-positions .site-header .logo .logo-separator,
html body.page-positions .site-header .logo:hover .logo-separator,
html body.page-positions .site-header .logo:focus-within .logo-separator {
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  box-shadow: none !important;
}

html body.page-positions .site-header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 10px clamp(12px, 2vw, 20px) 0 !important;
}

html body.page-positions .site-header.is-scrolled {
  background: transparent !important;
  box-shadow: none !important;
}

html body.page-positions .site-header .header-inner {
  max-width: var(--m-content-w, 1240px) !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--site-fund-btn-radius, 14px) !important;
  box-shadow: var(--m-shadow-sm, 0 2px 8px rgba(12, 18, 32, 0.04), 0 8px 24px rgba(12, 18, 32, 0.06)) !important;
  overflow: hidden !important;
}

html body.page-positions .site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--m-shadow-md, 0 8px 32px rgba(12, 18, 32, 0.1)) !important;
}

html body.page-positions .site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

/* В«Р“Р›РђР’РќРђРЇВ» Рё В«РќРћР’РћРЎРўРВ» вЂ” РєР°Рє РєРЅРѕРїРєР° В«РќРћР’РћРЎРўРВ» РЅР° index.html */
html body.page-positions .site-header .header-actions .home-link.top-news-btn,
html body.page-positions .site-header .header-actions > .home-link.top-news-btn,
html body.page-positions .site-header .header-actions > a.home-link.top-news-btn {
  width: var(--index-news-btn-width, 6.4cm) !important;
  min-width: var(--index-news-btn-width, 6.4cm) !important;
  max-width: var(--index-news-btn-width, 6.4cm) !important;
  inline-size: var(--index-news-btn-width, 6.4cm) !important;
  height: var(--index-news-btn-height, 1.3cm) !important;
  min-height: var(--index-news-btn-height, 1.3cm) !important;
  max-height: var(--index-news-btn-height, 1.3cm) !important;
  block-size: var(--index-news-btn-height, 1.3cm) !important;
  flex: 0 0 var(--index-news-btn-width, 6.4cm) !important;
  padding: 0 0.32cm !important;
  margin: 0 !important;
  border: none !important;
  border-radius: var(--index-news-btn-radius, 14px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.12 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: var(--site-stable-header-blue-gradient, linear-gradient(135deg, #143844 0%, #1e5a6e 38%, #2a8aad 72%, #5ec4d8 100%)) !important;
  background-image: var(--site-stable-header-blue-gradient, linear-gradient(135deg, #143844 0%, #1e5a6e 38%, #2a8aad 72%, #5ec4d8 100%)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform var(--m-dur, 0.2s) var(--m-ease, ease), background var(--m-dur, 0.2s) var(--m-ease, ease), box-shadow var(--m-dur, 0.2s) var(--m-ease, ease) !important;
  box-shadow: var(--site-stable-header-blue-shadow, 0 8px 32px rgba(42, 138, 173, 0.28)) !important;
  filter: none !important;
  transform: none !important;
  position: static !important;
  overflow: visible !important;
  isolation: auto !important;
}

html body.page-positions .site-header .header-actions .home-link.top-news-btn::before,
html body.page-positions .site-header .header-actions .home-link.top-news-btn::after {
  display: none !important;
  content: none !important;
}

html body.page-positions .site-header .header-actions .home-link.top-news-btn:hover,
html body.page-positions .site-header .header-actions .home-link.top-news-btn:focus-visible,
html body.page-positions .site-header .header-actions .home-link.top-news-btn:active {
  background: var(--site-stable-header-blue-gradient-hover, linear-gradient(135deg, #0f2d36 0%, #184e60 38%, #247a96 72%, #52b4c8 100%)) !important;
  background-image: var(--site-stable-header-blue-gradient-hover, linear-gradient(135deg, #0f2d36 0%, #184e60 38%, #247a96 72%, #52b4c8 100%)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: var(--site-stable-header-blue-shadow-hover, 0 12px 40px rgba(42, 138, 173, 0.38)) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
}

html body.page-positions .site-header .logo .logo-link {
  display: inline-block !important;
  transition: transform var(--m-dur, 0.2s) var(--m-ease, ease), opacity var(--m-dur, 0.2s) var(--m-ease, ease) !important;
}

html body.page-positions .site-header .logo .logo-link:hover,
html body.page-positions .site-header .logo .logo-link:focus-visible {
  transform: translateY(-2px) !important;
}

html body.page-positions .site-header .header-actions .burger {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  padding: 0 !important;
  gap: 6px !important;
  border-radius: 14px !important;
  border: none !important;
  background: var(--site-stable-header-blue-gradient, linear-gradient(135deg, #143844 0%, #1e5a6e 38%, #2a8aad 72%, #5ec4d8 100%)) !important;
  background-image: var(--site-stable-header-blue-gradient, linear-gradient(135deg, #143844 0%, #1e5a6e 38%, #2a8aad 72%, #5ec4d8 100%)) !important;
  box-shadow: var(--site-stable-header-blue-shadow, 0 8px 32px rgba(42, 138, 173, 0.28)) !important;
  transition: transform var(--m-dur, 0.2s) var(--m-ease, ease), background var(--m-dur, 0.2s) var(--m-ease, ease), box-shadow var(--m-dur, 0.2s) var(--m-ease, ease) !important;
}

html body.page-positions .site-header .header-actions .burger:hover,
html body.page-positions .site-header .header-actions .burger:focus-visible {
  background: var(--site-stable-header-blue-gradient-hover, linear-gradient(135deg, #0f2d36 0%, #184e60 38%, #247a96 72%, #52b4c8 100%)) !important;
  background-image: var(--site-stable-header-blue-gradient-hover, linear-gradient(135deg, #0f2d36 0%, #184e60 38%, #247a96 72%, #52b4c8 100%)) !important;
  box-shadow: var(--site-stable-header-blue-shadow-hover, 0 12px 40px rgba(42, 138, 173, 0.38)) !important;
  transform: translateY(-2px) !important;
}

html body.page-positions .site-header .header-actions .burger span {
  width: 22px !important;
  height: 3px !important;
  background: #ffffff !important;
}

@media (max-width: 768px) {
  html body.page-positions .site-header .header-inner .header-actions > .home-link.top-news-btn,
  html body.page-positions .site-header .header-inner .header-actions > a.home-link.top-news-btn {
    flex: 1 1 0 !important;
    flex-basis: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    inline-size: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    block-size: 48px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  html body.page-positions .site-header .header-actions .home-link.top-news-btn:first-child {
    display: inline-flex !important;
  }

  html body.page-positions .site-header .header-inner .burger {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
  }
}
