/* Start custom CSS for html, class: .elementor-element-e74d927 *//* =======================
   فونت و پایه مقاله
======================= */
.article-template {
  font-family: 'Noto Sans Arabic', sans-serif;
  color: #333;
  background-color: #f9f9f9;
  padding: 25px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: justify;
}

.article-template a {
  color: #ff6a00;
  text-decoration: none;
}

.article-template a:hover {
  text-decoration: underline;
}

/* =======================
   تیترها
======================= */
.article-template h1 {
  font-size: 36px;
  color: #ff6a00;
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-template h2 {
  font-size: 28px;
  color: #ff6a00;
  margin: 25px 0 15px;
  border-bottom: 2px solid #ff6a00;
  padding-bottom: 5px;
}

.article-template h3 {
  font-size: 22px;
  color: #333;
  margin: 20px 0 10px;
}

/* =======================
   فهرست مطالب
======================= */
.toc {
  background-color: #fff8f0;
  border-left: 5px solid #ff6a00;
  padding: 20px;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.toc h2 {
  color: #ff6a00;
  font-size: 24px;
  margin-bottom: 15px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 10px;
}

.toc a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.toc a:hover {
  background-color: #ff6a00;
  color: #fff;
  transform: translateX(5px);
}

.toc li a::before {
  content: "•";
  color: #ff6a00;
  display: inline-block;
  width: 15px;
  margin-left: 5px;
}

/* =======================
   تصاویر و شکل‌ها
======================= */
figure {
  margin: 20px 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  text-align: center;
}

/* =======================
   جداول
======================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  text-align: center;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
}

table th {
  background-color: #ff6a00;
  color: #fff;
}

table tr:nth-child(even) {
  background-color: #f7f7f7;
}

/* =======================
   بلوک‌های نکته، هشدار، موفقیت
======================= */
.highlight {
  padding: 15px 20px;
  border-left: 5px solid;
  margin: 20px 0;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.highlight.info {
  border-color: #1e90ff;
  background-color: #e6f0ff;
}

.highlight.success {
  border-color: #28a745;
  background-color: #e6f9ee;
}

.highlight.warning {
  border-color: #dc3545;
  background-color: #fde6e6;
}

/* =======================
   لینک بازگشت به فهرست
======================= */
.back-to-toc {
  display: inline-block;
  margin-top: 15px;
  color: #ff6a00;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-to-toc:hover {
  text-decoration: underline;
  transform: translateY(-2px);
}

/* =======================
   واکنش‌گرایی موبایل
======================= */
@media screen and (max-width: 768px) {
  .article-template {
    padding: 15px;
  }
  
  .toc h2 {
    font-size: 20px;
  }
  
  .toc a {
    padding: 6px 10px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  table th, table td {
    font-size: 12px;
    padding: 6px;
  }
}
.article-template h1 {
  font-size: 44px; /* برجسته و چشم‌گیر */
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  text-align: center; /* وسط‌چین برای جذابیت */
  position: relative;
  z-index: 1;

  /* گرادیانت صنعتی فلزی/استیل */
  background: linear-gradient(90deg, #555555, #aaaaaa, #777777, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* سایه و عمق صنعتی */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2), 4px 4px 8px rgba(0,0,0,0.1);

  /* فاصله و حاشیه بهتر */
  padding: 5px 0;

  /* افکت موجی آرام روی گرادیانت */
  background-size: 200% 200%;
  animation: gradientWaveIndustrial 6s ease infinite;

  /* انتقال نرم روی هاور */
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* افکت هاور جذاب */
.article-template h1:hover {
  transform: scale(1.08);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.25), 4px 4px 12px rgba(0,0,0,0.15);
}

/* انیمیشن موجی گرادیانت صنعتی */
@keyframes gradientWaveIndustrial {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}/* End custom CSS */