.painel-resultados {
  /* padding: 0 5rem; */
}

.titulo {
  font-size: 1.6rem;
}

.container__pesquisa {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .container__pesquisa {
    flex-direction: row;
  }
}

.totais {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.totais__col {
  font-size: .85rem;
}

.registrosTotal {
  font-size: 1rem;
  font-family: var(--bs-font-monospace);
}

.registrosTotal kbd {
  color: var(--stfCinzaEscuro);
  background-color: var(--stfCinzaClaro);
  border: 1px solid var(--stfCinzaMedio);
}
                  
.registrosTermo {
  font-size: 1rem;
  font-weight: 600;
}
                  
.registrosGrupo {
  font-size: 1rem;
  background-color: rgba(var(--stfAzulClaroRGB), var(--stfAlpha05));
  color: rgba(var(--stfAzulEscuroRGB), var(--stfAlpha90));
  padding: .3rem;
  border-radius: .5rem;
  border: 1px solid transparent;
}

.registrosGrupo:hover {
  background-color: rgba(var(--stfAzulClaroRGB), var(--stfAlpha10));
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(var(--stfAzulRGB), var(--stfAlpha20));
}

.resultados {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.resultado {
  display: flex;
  flex-direction: column;
}

.resultado__titulo {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1.25px;
  word-wrap: break-word;
}

.resultado__data {
  font-size: .85rem;
  color: var(--stfCinzaMedio);
  margin-bottom: .5rem;
}

.resultado__texto {
  color: var(--stfCinzaEscuro);
  font-size: 1rem;
  word-wrap: break-word;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.resultado__texto .destaque {
  font-weight: 700;
  background-color: var(--stfAmarelo);
  padding: 0 .3rem;
}

.spinner-no-topo .loadingoverlay_element {
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.filtro__pesquisa {
  max-width: max(15rem, 16% - 1rem);
}

.filtro__pesquisa .filtros {
  display: flex;
  gap: 1rem;
}

.filtro__pesquisa .card {
  min-width: 15rem;
}

.titulo__filtro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  padding: .5rem .8rem;
  color: var(--stfAzulMedio);
  background-color: rgba(var(--stfAzulRGB), var(--stfAlpha10));
  border-bottom: 2px solid var(--stfCinzaClaro);
}

.card-conteudo .filtros {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-conteudo .filtros li {
  margin: 0;
}

.filtro__item {
  display: flex;
  justify-content: start;
  gap: .5rem;
}

.filtro__item input {
    width: 1.5rem;
    order: 0;
  }

.filtro__item button {
  color: #fff;
  background-color: var(--stfCinzaMedio);
  border: 2px solid transparent;
  order: 1;
  width: clamp(4rem, calc(80% + 1rem), 9rem);
  display: grid;
  grid-template-columns: 8fr 1fr;
  justify-items: flex-start;
}

.filtro__item button:hover {
  color: var(--stfCinzaMedio);
  background-color: #fff;
  border: 2px solid var(--stfCinzaMedio);
  box-shadow: rgba(var(--stfCinzaEscuroMenuRGB), var(--stfAlpha30)) 0px 2px 5px;
}

.filtro__item button:has(+ input:checked) {
  background-color: var(--stfAzulMedio);
}

.filtro__item button:has(+ input:checked):hover {
  color: var(--stfAzulMedio);
  background-color: #fff;
  border: 2px solid var(--stfAzulMedio);
  /* box-shadow: .15rem .5rem .5rem -.3rem var(--stfAzulCinza); */
}

.filtro__item label {
  color: var(--stfCinzaEscuro);
  background-color: rgba(var(--stfCinzaEscuroMenuRGB), var(--stfAlpha05));
  border: 2px solid transparent;
  order: 1;
  width: clamp(4rem, calc(80% + 1rem), 9rem);
  display: grid;
  grid-template-columns: 8fr 1fr;
  justify-items: flex-start;
}

.filtro__item label:hover {
  color: var(--stfCinzaMedio);
  background-color: #fff;
  border: 2px solid var(--stfCinzaMedio);
  box-shadow: rgba(var(--stfCinzaEscuroMenuRGB), var(--stfAlpha30)) 0px 2px 5px;
}

.filtro__item label:has(input:checked) {
  color: var(--stfAzulMedio);
  background-color: rgba(var(--stfAzulRGB), var(--stfAlpha10));
  border: 2px solid var(--stfAzulMedio);
}

.filtro__item label:has(input:checked):hover {
  /* color: var(--stfAzulMedio); */
  background-color: #fff;
  border: 2px solid rgba(var(--stfAzulRGB), var(--stfAlpha90));
  /* box-shadow: .15rem .5rem .5rem -.3rem var(--stfAzulCinza); */
}

  .filtro__item .badge {
    background-color: var(--stfBranco);
    color: var(--stfAzulMedio);
    top: .5rem;
    margin-left: .3rem;
    height: fit-content;
  }

  .filtro__item button:hover .badge {
    background-color: var(--stfAzulMedio);
    color: var(--stfBranco);
  }

  .filtro__item label:hover .badge {
    background-color: var(--stfAzulMedio);
    color: var(--stfBranco);
  }

  .skeleton-label {
    display: grid;
    grid-template-columns: 8fr 1fr;
    justify-items: flex-start;
    width: clamp(4rem, calc(80% + 1rem), 9rem);
    height: 2.5rem;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #ddd 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    border: 2px solid transparent;
  }

  .filtros-skeleton > li {
    background: linear-gradient(90deg, #f0f0f0 25%, #ddd 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    height: 2.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  @keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
  }

  .resultado.skeleton {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #ddd 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--stfCinzaClaro);
  }
  
  .resultado.skeleton .linha {
    height: 1.2rem;
    border-radius: 4px;
    background-color: #e0e0e0;
    margin-bottom: 0.7rem;
    width: 100%;
  }
  
  .resultado.skeleton .linha.titulo {
    height: 1.5rem;
    width: 80%;
  }
  
  .resultado.skeleton .linha.data {
    width: 30%;
    height: 1rem;
  }
  
  .resultado.skeleton .linha.texto {
    height: 1.1rem;
    width: 100%;
    margin-top: 0.5rem;
  }

  .blocoResultados{
    width: 80%;
  }

  @media (max-width: 992px) {
    .filtro__pesquisa {
      max-width: 100%;
    }

    .filtro__item label {
      width: clamp(4rem, calc(80% + 1rem), 18rem);
    }

    .blocoResultados{
      width: 100%;
    }
  }