.boletins-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
  font-family: "Exo 2", system-ui, sans-serif;
}

.boletins-topo h1 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.45rem;
}

.boletins-topo p {
  margin: 0.25rem 0;
  opacity: 0.9;
}

.boletins-aviso {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.boletins-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: flex-end;
  margin: 1.25rem 0;
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.boletins-filtros label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.boletins-filtros label.grow {
  flex: 1 1 180px;
}

.boletins-filtros input,
.boletins-filtros select {
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}

.boletins-lista {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.boletim-card {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.boletim-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.boletim-card p {
  margin: 0.15rem 0;
  font-size: 0.88rem;
  opacity: 0.92;
}

.boletim-card small {
  opacity: 0.75;
}

.boletim-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.boletim-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
  background: rgba(46, 204, 113, 0.2);
}

body.light-theme .boletim-card,
body.light-theme .boletins-filtros {
  background: #fff;
  border-color: #e2e8f0;
}

body.light-theme .boletins-filtros input,
body.light-theme .boletins-filtros select {
  background: #fff;
  border-color: #cbd5e1;
  color: #0f172a;
}
