/* Apenas o estado compacto solicitado; o cabeçalho normal conserva seus blocos. */
.sp-sticky-active > .sp-masthead {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  inset-inline: 0;
  z-index: 1000;
  height: var(--sp-sticky-height);
  margin: 0 !important;
  box-shadow: 0 2px 8px #06121c26;
}
.sp-sticky-active .sp-masthead .sp-header {
  height: 100%;
  padding-block: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.sp-sticky-active .sp-masthead .sp-header > .sp-official-logo {
  width: var(--sp-sticky-logo-width);
  grid-column: 1;
  grid-row: 1;
}
.sp-sticky-active .sp-masthead .sp-header > .wp-block-navigation {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: .82rem;
}
.sp-sticky-active .sp-header .wp-block-navigation__container {
  gap: 1.15rem;
}
.sp-sticky-active .sp-masthead .sp-header > .wp-block-search,
.sp-sticky-active .sp-masthead .sp-header > .sp-header-social {
  display: none !important;
}
.sp-sticky-active .sp-header .wp-block-navigation__responsive-container.is-menu-open {
  z-index: 100001;
  height: 100dvh;
}
@media (max-width: 600px) {
  body.admin-bar .sp-sticky-active > .sp-masthead { top: 0; }
}
