.contenuto-articolo {
  max-width: 40rem;
  margin: 2rem auto;
  padding: 0 1rem;
}
.titolo-articolo { 
  font-size: 1.8rem; 
  margin-top: 16px; 
  margin-bottom: 10px; 
  color: #3b82f6; 
  text-align: center;
}
.svg-area { margin: 1.2rem 0; text-align: center;}
section { margin-bottom: 2.2rem; }
h2 { color: #2563eb; font-size: 1.2rem; margin-bottom: 0.6rem; }

/* تحديث الجداول لتكون متناسقة مع التصميم الجديد */
.scroll-table { 
  overflow-x: auto; 
  margin: 1.7rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  background: #fff;
  /* إزالة الهوامش من هنا لأنها موجودة في scroll-table */
  margin: 0; 
}

th, td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0; /* حدود خفيفة */
  white-space: nowrap;
}

/* أهم جزء: توحيد ألوان الهيدر مع style.css */
th { 
  background-color: #1e3a8a; /* أزرق غامق */
  color: #ffffff; /* نص أبيض */
  font-weight: 600; 
  border-bottom: 2px solid #3b82f6;
}

tr:nth-child(even) td {
  background-color: #f8fafc;
}

@media (max-width: 600px) { 
  table { font-size: 0.95em; } 
}

/* تحسين الهوامش والتصميم للمحتوى - خاص بالأجهزة المحمولة */
body {
  background: #f8fafc;
  padding: 10px;
}

.contenuto-articolo {
  max-width: 720px;
  margin: 1rem auto;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.08);
  box-sizing: border-box;
}

/* تحسين للأجهزة المحمولة */
@media (max-width: 480px) {
  .contenuto-articolo {
    margin: 0.6rem 12px;
    padding: 1rem 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.12);
  }
}