/* 
Theme Name: Hello Child
Theme URI: https://t.me/Toptech_ir
Description: 
Author: پیمان ثریا
Author URI: https://t.me/Toptech_ir
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* ============================
   استایل مقاله (بدون فهرست مطالب)
   ساختار هدف: <article class="post-content" ...> ... </article>
   ============================ */

/* پایه */
.post-content {
  direction: rtl;
  line-height: 1.9;
  color: #222230;
  font-size: 16px;
}

/* پاراگراف مقدمه */
.post-content .intro {
  font-weight: 500;
  margin: 0 0 20px 0;
}

/* هدینگ‌ها */
.post-content h1,
.post-content h2 {
  scroll-margin-top: 100px; /* برای پرش به انکر (اگر جایی لینک شد) */
  margin-top: 32px;
  margin-bottom: 16px;
}

.post-content h1 {
  font-size: 22px;
  font-weight: 700;
}

.post-content h2 {
  font-size: 22px;
  font-weight: 700;
}

.post-content h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* فهرست‌ها */
.post-content ul,
.post-content ol {
  padding-right: 20px;
  margin: 0 0 14px 0;
}
.post-content li { margin-bottom: 6px; }

/* لینک‌ها در متن (در صورت وجود) */
.post-content a {
  color: #5021D8;
  text-decoration: none;
  transition: color .25s ease;
}
.post-content a:hover { color: #3b17a6; }

/* جدول مقایسه */
.post-content .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  table-layout: auto;
}

.post-content .compare-table th,
.post-content .compare-table td {
  border: 1px solid #EAEDF0;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.post-content .compare-table thead th {
  background: #F7F8FA;
  font-weight: 600;
}

/* FAQ */
.post-content #faq h3 {
  font-size: 17px;
  margin-top: 18px;
  color: #F46F27;
}

/* CTA جمع‌بندی */
.post-content .cta {
  background: #F7F8FA;
  border: 1px solid #EAEDF0;
  padding: 20px;
  border-radius: 8px;
  margin-top: 32px;
}
.post-content .cta strong { color: #222230; }

/* شکل/تصویر (اگر بعداً فعال شد) */
.post-content figure {
  margin: 20px 0;
  text-align: center;
}
.post-content figcaption {
  font-size: 14px;
  color: #666a73;
  margin-top: 8px;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1024px) {
  .post-content { font-size: 15.5px; }
  .post-content h1 { font-size: 20px; font-weight:700; }
  .post-content h2 { font-size: 21px; }
  .post-content h3 { font-size: 17px; }
}

@media (max-width: 767px) {
  .post-content { font-size: 15px; }
  .post-content h1 { font-size: 18px; font-weight:700; }
  .post-content h2 { font-size:16px; }
  .post-content h3 { font-size: 15.5px; }

  /* اسکرول افقی نرم برای جدول‌ها در موبایل */
  .post-content .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .post-content .compare-table thead,
  .post-content .compare-table tbody,
  .post-content .compare-table tr,
  .post-content .compare-table th,
  .post-content .compare-table td {
    white-space: nowrap;
  }
}

 