/* Start custom CSS for html, class: .elementor-element-0e7921d *//* =======================
   فونت و پایه مقاله
======================= */
.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: 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%; }
}

.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);
}

/* =======================
   بخش FAQ
======================= */
.faq-section h2 { text-align: center; margin-bottom: 25px; }
.faq-section h3 { color: #ff6a00; margin-top: 20px; margin-bottom: 10px; }

.faq-item {
  background: #fff;
  border-left: 5px solid #ff6a00;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-item p { margin: 10px 0; line-height: 1.6; }

.faq-question {
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding: 15px 20px;
  background-color: #fff;
  transition: background 0.3s ease;
}

.faq-question:hover { background-color: #fff3e0; }

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item input:checked + .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item input:checked ~ .faq-answer {
  max-height: 1000px; /* ارتفاع کافی برای محتوای طولانی */
  padding: 15px 20px;
}

/* =======================
   واکنش‌گرایی موبایل
======================= */
@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; }
  .faq-question { font-size: 16px; padding: 12px 15px; }
  .faq-answer { font-size: 14px; }
}
.article-template img { width: 100%; /* تصویر کل عرض بخش خودش را بگیرد */ max-width: 600px; /* حداکثر عرض استاندارد */ height: auto; /* نسبت تصویر حفظ شود */ max-height: 400px; /* حداکثر ارتفاع */ display: block; margin: 15px auto; /* مرکزچین کردن تصویر */ border-radius: 0; /* حذف هرگونه گوشه گرد */ box-shadow: none; /* حذف سایه و قاب */ object-fit: contain; /* تصویر داخل محدوده ارتفاع و عرض حفظ شود */ } /* برای استیکرها و آیکون‌های کوچک */ .article-template img.small-icon { width: auto; max-width: none; height: auto; max-height: none; margin: 0; box-shadow: none; }/* End custom CSS */