/* ═══════════ FASE 3 — Mural de Avisos ═══════════ */

.ann-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ann-card {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}
.ann-card:hover { border-color: var(--gold); }
.ann-card.ann-pinned { border-left-color: var(--gold); background: rgba(245, 200, 66, 0.04); }
.ann-card.ann-expired { opacity: 0.55; }

.ann-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.ann-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.ann-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 4px;
}
.ann-body {
  font-size: 0.84rem;
  color: var(--fg);
  line-height: 1.5;
  white-space: pre-wrap;
}
.ann-foot {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.66rem;
  color: var(--muted2);
}

/* Feed compact (usado nos portais aluno/responsável) */
.ann-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ann-feed-item {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 8px 11px;
  position: relative;
}
.ann-feed-item.ann-pinned {
  border-left-color: var(--gold);
  background: rgba(245, 200, 66, 0.04);
}
.ann-feed-pin {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.78rem;
}
.ann-feed-title {
  font-family: 'Fraunces', serif;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--fg);
  padding-right: 18px;
  line-height: 1.25;
}
.ann-feed-body {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 3px;
  white-space: pre-wrap;
}
.ann-feed-foot {
  font-size: 0.64rem;
  color: var(--muted2);
  margin-top: 5px;
}
