/* font.html — шапка как на sila-zhit.html / index.html */

html body.page-font .site-header .logo .logo-brand,
html body.page-font .site-header .logo .logo-brand-primary,
html body.page-font .site-header .logo .logo-brand-secondary,
html body.page-font .site-header .logo-link:hover .logo-brand,
html body.page-font .site-header .logo-link:focus-visible .logo-brand,
html body.page-font .site-header .logo-link:active .logo-brand,
html body.page-font .site-header .logo .logo-separator,
html body.page-font .site-header .logo:hover .logo-separator,
html body.page-font .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-font .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;
  z-index: 30000 !important;
}

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

html body.page-font .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-font .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-font .site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

/* «ГЛАВНАЯ» и «НОВОСТИ» — как кнопка «НОВОСТИ» на index.html */
html body.page-font .site-header .header-actions .home-link.top-news-btn,
html body.page-font .site-header .header-actions > .home-link.top-news-btn,
html body.page-font .site-header .header-actions > a.home-link.top-news-btn {
  width: var(--site-fund-btn-width, 240px) !important;
  min-width: var(--site-fund-btn-width, 240px) !important;
  max-width: var(--site-fund-btn-width, 240px) !important;
  inline-size: var(--site-fund-btn-width, 240px) !important;
  height: 1.3cm !important;
  min-height: 1.3cm !important;
  max-height: 1.3cm !important;
  flex: 0 0 var(--site-fund-btn-width, 240px) !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: var(--site-fund-btn-radius, 14px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: 16px !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: normal !important;
  background: var(--site-picture-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  background-image: var(--site-picture-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 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-picture-blue-shadow, 0 12px 30px rgba(37, 84, 100, 0.28)) !important;
  filter: none !important;
  transform: none !important;
  position: static !important;
  overflow: visible !important;
  isolation: auto !important;
}

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

html body.page-font .site-header .header-actions .home-link.top-news-btn:hover,
html body.page-font .site-header .header-actions .home-link.top-news-btn:focus-visible,
html body.page-font .site-header .header-actions .home-link.top-news-btn:active {
  background: var(--site-picture-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  background-image: var(--site-picture-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: var(--site-picture-blue-shadow-hover, 0 16px 36px rgba(37, 84, 100, 0.36)) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
}

html body.page-font .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-font .site-header .logo .logo-link:hover,
html body.page-font .site-header .logo .logo-link:focus-visible {
  transform: translateY(-2px) !important;
}

html body.page-font .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;
  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-font .site-header .header-actions .burger:hover,
html body.page-font .site-header .header-actions .burger:focus-visible {
  transform: translateY(-2px) !important;
}

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

@media (max-width: 768px) {
  html body.page-font .site-header .header-inner .header-actions > .home-link.top-news-btn,
  html body.page-font .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-font .site-header .header-actions .home-link.top-news-btn:first-child {
    display: inline-flex !important;
  }

  html body.page-font .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;
  }
}

/* «ОТПРАВИТЬ ЗАЯВКУ» — цвет как у «НОВОСТИ» в шапке (page-font) */
html body.page-font #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn {
  background: var(--site-picture-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  background-image: var(--site-picture-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  background-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: none !important;
  border-color: transparent !important;
  border-radius: var(--site-fund-btn-radius, 14px) !important;
  box-shadow: var(--site-picture-blue-shadow, 0 12px 30px rgba(37, 84, 100, 0.28)) !important;
  filter: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 800 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body.page-font #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn:hover,
html body.page-font #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn:focus-visible,
html body.page-font #officeFeedbackModal#officeFeedbackModal button#officeFeedbackSubmitBtn.social-legal-submit-btn:active {
  background: var(--site-picture-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  background-image: var(--site-picture-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  background-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: var(--site-picture-blue-shadow-hover, 0 16px 36px rgba(37, 84, 100, 0.36)) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
}

/* novosti-sayta.html — «ВОЙТИ» в админ-панели как «НОВОСТИ» в шапке */
html body.page-novosti-sayta #newsAdminLoginForm .reviews-admin-login-btn,
html body.page-novosti-sayta .reviews-admin-login .reviews-admin-login-btn,
html body.page-novosti-sayta .news-admin-panel .reviews-admin-login-btn {
  width: var(--site-fund-btn-width, 240px) !important;
  min-width: var(--site-fund-btn-width, 240px) !important;
  max-width: var(--site-fund-btn-width, 240px) !important;
  inline-size: var(--site-fund-btn-width, 240px) !important;
  height: 1.3cm !important;
  min-height: 1.3cm !important;
  max-height: 1.3cm !important;
  flex: 0 0 var(--site-fund-btn-width, 240px) !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: var(--site-fund-btn-radius, 14px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: 16px !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: normal !important;
  background: var(--site-picture-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  background-image: var(--site-picture-blue-gradient, linear-gradient(135deg, #2f7085 0%, #3f93ad 52%, #92cbdb 100%)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: var(--site-picture-blue-shadow, 0 12px 30px rgba(37, 84, 100, 0.28)) !important;
  filter: none !important;
  transform: none !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-novosti-sayta #newsAdminLoginForm .reviews-admin-login-btn:hover,
html body.page-novosti-sayta #newsAdminLoginForm .reviews-admin-login-btn:focus-visible,
html body.page-novosti-sayta .reviews-admin-login .reviews-admin-login-btn:hover,
html body.page-novosti-sayta .reviews-admin-login .reviews-admin-login-btn:focus-visible,
html body.page-novosti-sayta .news-admin-panel .reviews-admin-login-btn:hover,
html body.page-novosti-sayta .news-admin-panel .reviews-admin-login-btn:focus-visible {
  background: var(--site-picture-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  background-image: var(--site-picture-blue-gradient-hover, linear-gradient(135deg, #1f4b5b 0%, #2f7892 52%, #75adbc 100%)) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: var(--site-picture-blue-shadow-hover, 0 16px 36px rgba(37, 84, 100, 0.36)) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
}

@media (max-width: 768px) {
  html body.page-novosti-sayta #newsAdminLoginForm .reviews-admin-login-btn,
  html body.page-novosti-sayta .reviews-admin-login .reviews-admin-login-btn,
  html body.page-novosti-sayta .news-admin-panel .reviews-admin-login-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    flex: 1 1 100% !important;
    height: 1.3cm !important;
    min-height: 1.3cm !important;
    max-height: 1.3cm !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    border-radius: var(--site-fund-btn-radius, 14px) !important;
  }
}
