/* ================================================
   nam-news.css — pagine news pubbliche + blocco home
   ================================================ */

/* ── Pagina lista / articolo ── */
.news-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.news-header {
  padding-bottom: 16px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--red-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: .35em;
  color: var(--white);
  font-weight: 400;
  margin: 0;
}

.news-back {
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--grey);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .15s;
}
.news-back:hover { color: var(--red); }

.news-empty {
  color: var(--grey);
  font-size: .8rem;
  letter-spacing: .1em;
}

/* ── Lista card ── */
.news-list { display: flex; flex-direction: column; gap: 2px; }

.news-card {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.news-card-meta { margin-bottom: 8px; }

.news-card-date {
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--red);
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.news-card-title a {
  color: var(--white);
  text-decoration: none;
  transition: color .15s;
}
.news-card-title a:hover { color: var(--red); }

.news-card-body {
  font-size: .98rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 12px;
}

.news-card-more {
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--grey);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .15s;
}
.news-card-more:hover { color: var(--red); }

/* ── Articolo singolo ── */
.news-article-meta { margin-bottom: 12px; }

.news-article-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 24px;
}

.news-article-body {
  font-size: .98rem;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
}

/* ── Blocco news in home ── */
.home-news-block {
  margin-top: 32px;
  border-top: 1px solid rgba(200,0,0,.3);
  padding-top: 20px;
  width: 100%;
  max-width: 560px;
}

.home-news-item {
  margin-bottom: 20px;
}

.home-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.home-news-date {
  font-size: .78rem;
  letter-spacing: .15em;
  color: var(--red);
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
}

.home-news-label {
  font-size: .52rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.2);
  font-family: 'Share Tech Mono', monospace;
  border: 1px solid rgba(255,255,255,.1);
  padding: 1px 5px;
}

.home-news-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.home-news-body {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 10px;
}

.home-news-more,
.home-news-archive {
  display: inline-block;
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--grey);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .15s;
  margin-right: 16px;
}
.home-news-more:hover,
.home-news-archive:hover { color: var(--red); }

/* ── Responsive ── */
@media (max-width: 700px) {
  .news-main { padding: 24px 16px 60px; }
}
