/* Reserve space for the home navigation above the interior page content. */
.header.container-fluid.px-0 {
  position: relative;
}

.header nav a {
  margin-right: 0;
}

body:has(
  #masthead ul.menu li:hover > ul.sub-menu,
  .mobile-nav .main-navigation.toggled #primary-menu li.menu-open > ul.sub-menu
) > #conteudo {
  filter: blur(5px) brightness(.8);
}

.header .main-menu-section {
  background: #111;
}

#masthead .site-title {
  display: none;
}

@media (min-width: 992px) {
  #masthead .right-menu {
    flex: 1;
    min-width: 0;
  }

  #menu-header-right-menu > li {
    margin-left: clamp(8px, 1vw, 16px);
    white-space: nowrap;
  }

  #masthead .right-menu .search_container {
    flex: 0 0 auto;
    width: auto;
    margin-left: 12px;
  }

  #masthead #footer_s {
    width: 92px;
  }
}

.cabecalho-blog .noticebar {
  display: none;
}

@media (max-width: 991px) {
  .cabecalho-blog.desktop-nav .noticebar {
    display: flex;
    position: absolute;
    inset: 0 0 auto auto;
    height: 100%;
    background: transparent;
    pointer-events: none;
  }

  .cabecalho-blog .noticebar .container {
    justify-content: flex-end;
    align-items: center;
  }

  .cabecalho-blog .noticebar .left,
  .cabecalho-blog .noticebar .right {
    display: none;
  }

  .cabecalho-blog .mobile-nav {
    pointer-events: auto;
  }
}

.cabecalho-blog .main-menu-section::before {
  content: none;
}

.cabecalho-blog #masthead {
  background: transparent;
}

@media (min-width: 992px) {
  .cabecalho-blog #masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) minmax(0, 1fr);
    align-items: stretch;
  }

  .cabecalho-blog #masthead .site-branding {
    width: 100%;
    align-self: stretch;
    display: grid;
    align-items: center;
  }

  .cabecalho-blog #masthead :is(.left-menu, .right-menu) {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .cabecalho-blog #masthead .left-menu > .menu {
    margin-left: 0 !important;
  }

  .cabecalho-blog #masthead .left-menu > .menu > #menu-item-864 {
    display: none;
  }

  .cabecalho-blog #masthead :is(.left-menu, .right-menu)::after {
    top: 16px;
    bottom: auto;
    background-color: #765515;
    pointer-events: none;
  }
}

.cabecalho-blog #masthead .right-menu .search_container {
  display: none;
}
