#filterPanel {
  top: 1rem;
}

@media (min-width: 992px) {
  #filterPanel {
    position: sticky;
  }
}

.newsp-card {
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.newsp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.object-fit-cover {
  object-fit: cover;
  object-position: top;
}

.btn-publica {
  display: block;
  width: 100%;
  padding: 0.125rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #28a745, #218838);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.btn-publica:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-2px);
}

#countyFilter {
  scrollbar-width: thin;
}

#countyFilter::-webkit-scrollbar {
  width: 6px;
}

#countyFilter::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

#resetFilters {
  text-transform: uppercase;
  font-size: 0.85rem;
}

.img-wrapper {
  position: relative;
  overflow: hidden;
}

.county-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 0.25rem;
  pointer-events: none;
}
.no-results {
  color: #6c757d;
}

@media only screen and (max-width: 768px) {
  .listas {
    max-height: 200px;
    overflow-y: auto;
  }
}

