/* notizie.css — Sezione Notizie del blog (si appoggia a sections.css e blog.css) */
.bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.bn-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hub-line, #e5e7eb);
  border-radius: .75rem; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.bn-card:hover { border-color: #0d6efd; box-shadow: 0 4px 14px rgba(13,110,253,.08); }
.bn-card__img { display: block; aspect-ratio: 1200 / 630; background: #eef2f7; }
.bn-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-card__body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1rem; flex: 1; }
.bn-card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hub-muted, #6b7280); font-weight: 600; }
.bn-card__title { font-size: 1.02rem; font-weight: 700; line-height: 1.3; margin: 0; }
.bn-card__title a { color: #0b3d91; text-decoration: none; }
.bn-card__title a:hover { text-decoration: underline; }
.bn-card__title a::after { content: ""; } /* tutta la card resta leggibile, link solo sul titolo */
.bn-card__desc { font-size: .88rem; color: var(--hub-muted, #6b7280); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bn-card__date { font-size: .78rem; color: #9ca3af; margin-top: auto; padding-top: .25rem; }
.bn-figure { margin: 0 0 1rem; }
.bn-figure img { width: 100%; height: auto; border-radius: .75rem; display: block; aspect-ratio: 1200 / 630; object-fit: cover; background: #eef2f7; }
.bn-figure figcaption { font-size: .75rem; color: #9ca3af; text-align: right; margin-top: .3rem; }
.bn-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.bn-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid var(--hub-line, #e5e7eb); background: #fff; color: #1f2937; font-size: .85rem; text-decoration: none; }
.bn-chip:hover, .bn-chip.is-active { background: #0d6efd; border-color: #0d6efd; color: #fff; }
.bn-home { margin: 1.5rem 0 .5rem; }
.bn-home__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.bn-source a { word-break: break-word; }
.bn-side li { margin-bottom: .45rem; line-height: 1.35; }
.bn-side .text-muted { display: block; font-size: .75rem; }
@media (max-width: 575px) { .bn-grid { grid-template-columns: 1fr; } }
