/* ==================== SECTION BODY (per sezioni con body diretto) ==================== */
.section-body {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  line-height: 1.8;
  column-count: 2;
  column-gap: 2rem;
}

.section-body p {
  margin-bottom: 1rem;
}

.section-body strong {
  color: var(--black);
  font-weight: 600;
}

.section-body a {
  color: var(--link);
  text-decoration: none;
}

.section-body a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.section-sources {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  column-span: all;
}

.section-sources h5 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.section-sources ul {
  list-style: none;
  font-size: 0.85rem;
  column-count: 2;
  column-gap: 2rem;
}

.section-sources li {
  margin-bottom: 0.4rem;
  break-inside: avoid;
}

.section-sources a {
  color: var(--link);
  text-decoration: none;
}

.section-sources a:hover {
  text-decoration: underline;
  color: var(--accent);
}

@media (max-width: 768px) {
  .section-body {
    column-count: 1;
  }
  
  .section-sources ul {
    column-count: 1;
  }
}


/* ===================== THREATS LAYOUT OVERRIDES =====================
   The site uses a 2-column container (news sidebar + main).
   Threats needs a full-width canvas for the chart.
   We switch the whole page into a single-column layout only for threats.
*/

body.threats-mode .container{
  grid-template-columns: 1fr !important;
}

body.threats-mode .news-sidebar{
  display: none !important;
}

body.threats-mode #articles-container{
  grid-column: 1 / -1 !important;
}

/* If the main area is a 3-column grid, force it to 1 column on threats */
body.threats-mode .articles-grid{
  grid-template-columns: 1fr !important;
}

/* Make sure the Threats block spans any parent grid */
body.threats-mode .threats-page{
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 1600px;
  margin: 0 auto;
}

/* Fix global chart SVG rules that cap height */
#th-svg,
.threats-map svg{
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  display: block !important;
}
