.site-main.with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.content-area {
  flex: 2;
  min-width: 0;
}

.sidebar-home {
  display: none; /*provvisorio da rimuovere quando avremo articoli*/
  flex: 1;
  max-width: 320px;
  padding: 0 1rem 0 0;
}

.sidebar-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: #0a3a4a;
}

/* Menu sidebar */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 0.5rem;
}

.sidebar-menu a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #111827;
}

.sidebar-menu a:hover {
  text-decoration: underline;
}

/* Notizie hot */
.hot-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hot-news-item {
  margin-bottom: 0.75rem;
}

.hot-news-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.hot-news-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.hot-news-date {
  font-size: 0.8rem;
  color: #6b7280;
}

.hot-news-link:hover .hot-news-title {
  text-decoration: underline;
}

.hot-news-empty {
  font-size: 0.9rem;
  color: #6b7280;
}

/* ===== LAYOUT ARTICOLO + SIDEBAR ===== */

.layout-with-sidebar .layout-main-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2.5rem;
}

.layout-main-sidebar__content {
  min-width: 0; /* per evitare overflow con contenuti larghi */
}

/* Stile base articolo */
.single-article__header {
  margin-bottom: 1.5rem;
}

.single-article__title {
  margin: 0 0 0.25rem;
  color: var(--color-primary);
}

.single-article__meta {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
}

.single-article__content {
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Responsive: sidebar sotto al contenuto */
@media (max-width: 900px) {
  .layout-with-sidebar .layout-main-sidebar {
    grid-template-columns: 1fr;
  }
}
