/* Tipografia corpo articoli — condivisa tra editor TinyMCE, blog e guide.
   Selettori con classe per prevalere su styles.css (Urbanist, h2 48px, ecc.). */
.blog-article-content,
.guide-body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #27272a;
}

.blog-article-content h1,
.guide-body h1 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  color: #09090b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.blog-article-content h2,
.guide-body h2 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  color: #2563eb;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 80px;
}

.blog-article-content h3,
.guide-body h3 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  color: #1e293b;
  margin: 1.5rem 0 0.5rem;
}

.blog-article-content h4,
.guide-body h4 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: normal;
  color: #1e293b;
  margin: 1.25rem 0 0.5rem;
}

.blog-article-content a,
.guide-body a {
  color: #ea2b16;
  text-decoration: underline;
}

.blog-article-content img,
.guide-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}

.blog-article-content p,
.blog-article-content ul,
.blog-article-content ol,
.guide-body p,
.guide-body ul,
.guide-body ol {
  margin-bottom: 1rem;
}

.blog-article-content ul,
.blog-article-content ol,
.guide-body ul,
.guide-body ol {
  padding-left: 1.5rem;
}

.blog-article-content li,
.guide-body li {
  margin-bottom: 0.35rem;
}

.blog-article-content table,
.guide-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.blog-article-content th,
.blog-article-content td,
.guide-body th,
.guide-body td {
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
  vertical-align: top;
  text-align: left;
}

.blog-article-content th,
.guide-body th {
  background: #f1f5f9;
  font-weight: 600;
  color: #1d4ed8;
}

.blog-article-content code,
.guide-body code {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9em;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #1d4ed8;
}

.blog-article-content pre,
.guide-body pre {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.blog-article-content blockquote,
.guide-body blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #2563eb;
  background: rgba(37, 99, 235, 0.06);
  color: #334155;
}

.blog-article-content .flow-diagram,
.guide-body .flow-diagram {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9rem;
  white-space: pre;
  line-height: 1.5;
  margin: 1rem 0 1.5rem;
}

.blog-article-content .settings-tip,
.guide-body .settings-tip {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.85rem;
  border-left: 4px solid #0ea5e9;
  background: rgba(14, 165, 233, 0.08);
  font-size: 0.95rem;
}

.blog-article-content .profile-box,
.guide-body .profile-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.blog-article-content .data-table,
.guide-body .data-table {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
