.hubr-list {
  padding: 40px 24px 80px;
  background-color: #f9f7f2;
  min-height: 60vh;
}

.hubr-list__inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Filtros */
.hubr-list__filters {
  display: grid;
  gap: 24px;
  align-items: end;
}

@media (min-width: 900px) {
  .hubr-list__filters {
    grid-template-columns: 1fr minmax(140px, 180px) minmax(140px, 180px) auto;
    gap: 12px;
  }
}

.hubr-list__search-wrap {
  position: relative;
}

.hubr-list__search {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #727372;
  border-radius: 999px;
  background-color: transparent;
  color: #374151;
  font-size: 16px;
  padding: 12px 48px 12px 20px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hubr-list__search::-webkit-search-decoration,
.hubr-list__search::-webkit-search-cancel-button,
.hubr-list__search::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
}

.hubr-list__search:focus {
  border-color: #e95e0b;
  box-shadow: 0 0 0 1px rgba(233, 94, 11, 0.2);
  background-color: transparent;
}

.hubr-list__search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
  display: flex;
}

.hubr-list__filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hubr-list__filter-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.hubr-list__required {
  color: #e95e0b;
}

.hubr-list__select {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #727372;
  border-radius: 999px;
  color: #374151;
  font-size: 15px;
  padding: 12px 36px 12px 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, #727372 50%), linear-gradient(135deg, #727372 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hubr-list__select:focus {
  border-color: #e95e0b;
  box-shadow: 0 0 0 1px rgba(233, 94, 11, 0.2);
  background-color: transparent;
}

.hubr-list__select:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hubr-list__filter-btn {
  border: 1.5px solid #1f2937;
  border-radius: 999px;
  background-color: transparent;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 70px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  justify-self: start;
}

@media (min-width: 900px) {
  .hubr-list__filter-btn {
    justify-self: auto;
  }
}

.hubr-list__filter-btn:hover {
  background: #1f2937;
  color: #fff;
}

/* Status */
.hubr-list__status {
  background: #fff;
  border: 1px solid #eceae4;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: #555755;
}

.hubr-list__status--plain {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
}

.hubr-list__status--error {
  color: #b91c1c;
}

.hubr-list__retry {
  margin-top: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.hubr-list__empty {
  text-align: center;
  color: #6b7280;
  margin: 0;
  padding: 24px;
}

/* Grid */
.hubr-list__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hubr-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hubr-list__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

/* Card */
.hubr-card {
  background: #fff;
  border: 1px solid #eceae4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hubr-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.hubr-card__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-sizing: border-box;
}

.hubr-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hubr-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}

.hubr-card__logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16a34a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hubr-card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

.hubr-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hubr-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.hubr-card__badge-icon {
  display: flex;
  flex-shrink: 0;
}

.hubr-card__badge--tipo_de_iniciativa {
  background: #f3f4f6;
  color: #374151;
}

.hubr-card__badge--categoria {
  background: #dcfce7;
  color: #166534;
}

.hubr-card__badge--tipo_de_residuo {
  background: #fce7f3;
  color: #9d174d;
}

.hubr-card__badge--overflow {
  background: #f3f4f6;
  color: #6b7280;
  padding-inline: 8px;
  min-width: 32px;
  justify-content: center;
}

.hubr-card__badge--overflow .hubr-card__badge-label {
  font-weight: 600;
}

.hubr-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
  flex: 1;
}

.hubr-card__location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.hubr-card__location-icon {
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  color: #9ca3af;
}

/* Carregar mais */
.hubr-list__more-wrap {
  display: none;
  justify-content: center;
  padding-top: 8px;
}

.hubr-list__more-wrap.is-visible {
  display: flex !important;
}

.hubr-list.is-loading .hubr-list__more-wrap {
  display: none !important;
}

.hubr-list__grid[hidden],
.hubr-list__empty[hidden],
#hubr-list-loading[hidden],
#hubr-list-error[hidden] {
  display: none !important;
}

.hubr-list__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #1f2937;
  border-radius: 999px;
  background-color: transparent;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.hubr-list__more-btn:hover:not(:disabled) {
  background-color: #1f2937;
  color: #fff;
}

.hubr-list__more-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hubr-list__more-icon {
  display: flex;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
