/* SUNIVA_HEADER_MENU_ONLY_V5_1_STABLE_20260819 */
/*
 * Stable compact header:
 * - preserve original header space with a spacer
 * - make header fixed only after compact mode starts
 * - hide everything except the original Menu button
 * This avoids layout oscillation when another sticky section (calendar etc.)
 * reaches the top of the viewport.
 */
.sn-live-header-spacer-v5-1[hidden]{
  display:none!important;
}

.sn-live-header.sn-live-header-menu-only-v5-1{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:9900!important;
  height:0!important;
  min-height:0!important;
  overflow:visible!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  pointer-events:none!important;
}

.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-logo,
.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-top>form,
.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-top>nav>a,
.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-main,
.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-place{
  display:none!important;
}

.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-top{
  height:0!important;
  min-height:0!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  display:block!important;
}

.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-top>nav{
  position:fixed!important;
  top:18px!important;
  right:18px!important;
  z-index:10000!important;
  margin:0!important;
  display:block!important;
  pointer-events:auto!important;
}

.sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-open{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}

.sn-sticky-menu-trigger,
.sn-sticky-menu-follow{
  display:none!important;
}

@media(max-width:900px){
  .sn-live-header.sn-live-header-menu-only-v5-1 .sn-live-top>nav{
    top:12px!important;
    right:12px!important;
  }
}
