.elementor-1042 .elementor-element.elementor-element-c2ee47a{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-1042 .elementor-element.elementor-element-c2ee47a > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1042 .elementor-element.elementor-element-a33dc3b .elementor-heading-title{font-family:"Estedad", Sans-serif;font-weight:600;color:#000000;}.elementor-widget-theme-post-featured-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1042 .elementor-element.elementor-element-e47cec4{text-align:justify;color:#141414;font-family:"Gandom", Sans-serif;font-weight:400;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:767px){.elementor-1042 .elementor-element.elementor-element-a33dc3b > .elementor-widget-container{padding:9px 9px 9px 9px;}.elementor-1042 .elementor-element.elementor-element-a33dc3b{text-align:center;}.elementor-1042 .elementor-element.elementor-element-a33dc3b .elementor-heading-title{font-size:21px;line-height:1.7em;}}@media(min-width:768px){.elementor-1042 .elementor-element.elementor-element-7175435{width:20%;}.elementor-1042 .elementor-element.elementor-element-bcf7425{width:60%;}.elementor-1042 .elementor-element.elementor-element-feadade{width:19.666%;}}/* Start custom CSS for theme-post-content, class: .elementor-element-e47cec4 *//* ==========================================================================
   پوسته اختصاصی خبری/مجله‌ای برای بخش محتوا (#matn)
   ========================================================================== */

/* استایل کلی و خوانایی متن */
#matn {
  line-height: 1.95;
  font-size: 16.5px;
  color: #2c3e50; /* رنگ تیره با تناژ ملایم سرمه‌ای برای خوانایی بهتر */
  font-family: inherit;
}

/* ==========================================================================
   گرافیک پیشرفته و افکت هاور تعاملی پاراگراف‌ها
   ========================================================================== */
#matn p {
  margin: 0 0 24px 0;
  padding: 18px 24px;
  
  /* رنگ پس‌زمینه متمایز از بدنه اصلی سایت */
  background-color: #f8f9fa; 
  
  /* حاشیه راست شکیل و منعطف */
  border-right: 5px solid #c0392b; 
  border-top: 1px solid #eef0f2;
  border-left: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
  border-radius: 0 12px 12px 0;
  
  /* سایه نرم سه‌بعدی */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-align: justify;
  
  /* انیمیشن نرم برای تمامی تغییرات حالتها */
  transition: 
    font-size 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    font-weight 0.3s ease,
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-right-color 0.3s ease;
  
  will-change: transform, font-size;
}

/* افکت فوق‌العاده هاور (عبور ماوس روی پاراگراف) */
#matn p:hover {
  /* ۱. بزرگتر، ضخیم‌تر و خواناتر شدن فونت */
  font-size: 17.5px; 
  font-weight: 500;
  color: #111111; /* تیره تر شدن متن برای کنتراست فوق‌العاده */

  /* ۲. پویایی حرکتی و سه‌بعدی (کمی جلو آمدن و حرکت به سمت بالا) */
  transform: translateY(-4px) scale(1.005);
  
  /* ۳. تغییر رنگ پس‌زمینه به سفید خالص جهت درخشش بیشتر روی پس‌زمینه تیره برگه */
  background-color: #ffffff;
  
  /* ۴. تغییر رنگ حاشیه به قرمز روشن‌تر مجله‌ای */
  border-right-color: #e74c3c;
  
  /* ۵. سایه عمیق‌تر و واقعی‌تر برای القای حس شناور بودن */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

/* تیترهای خبری با خط زیرین مجله‌ای */
#matn h1,
#matn h2,
#matn h3,
#matn h4,
#matn h5,
#matn h6 {
  color: #111111;
  font-weight: 700;
  margin: 38px 0 20px 0;
  line-height: 1.5;
}

#matn h2 {
  font-size: 24px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f2f6;
}

#matn h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 60px;
  height: 2px;
  background-color: #c0392b;
}

#matn h3 {
  font-size: 20px;
  border-right: 4px solid #c0392b;
  padding-right: 12px;
}

/* لینک‌های داخل متن */
#matn a {
  color: #c0392b;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed #c0392b;
  transition: all 0.2s ease;
}

#matn a:hover {
  color: #e74c3c;
  border-bottom-style: solid;
}

/* ==========================================================================
   بخش تصاویر تکی (همراه با زوم و سایه پویا)
   ========================================================================== */
#matn figure {
  margin: 30px 0;
  overflow: hidden;
  border-radius: 12px;
}

#matn img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  cursor: zoom-in;
}

#matn img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* کپشن زیر تصاویر */
#matn figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   گالری تصاویر (مجموعه عکس‌ها در کنار هم)
   ========================================================================== */
#matn .gallery,
#matn .wp-block-gallery,
#matn .elementor-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 35px 0;
  padding: 0;
}

#matn .gallery-item,
#matn .wp-block-gallery .blocks-gallery-item,
#matn .elementor-gallery-item {
  margin: 0 !important;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
}

#matn .gallery-item img,
#matn .wp-block-gallery img,
#matn .elementor-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
  opacity: 0.92;
  cursor: zoom-in;
}

#matn .gallery-item img:hover,
#matn .wp-block-gallery img:hover,
#matn .elementor-gallery-item img:hover {
  transform: scale(1.08);
  opacity: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   باکس نقل قول (نقل قول‌های خبری برجسته)
   ========================================================================== */
#matn blockquote {
  position: relative;
  margin: 35px 0;
  padding: 24px 32px 24px 24px;
  background: #fdfefe;
  border-right: 5px solid #c0392b;
  border-left: 1px solid #eef0f2;
  border-top: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
  border-radius: 4px 14px 14px 4px;
  font-size: 18px;
  color: #444;
  line-height: 1.85;
}

#matn blockquote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  color: rgba(192, 57, 43, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ==========================================================================
   لیست‌های مرتب و نامرتب خبری
   ========================================================================== */
#matn ul,
#matn ol {
  padding-right: 25px;
  margin: 22px 0;
}

#matn li {
  margin-bottom: 12px;
}

#matn ul li::marker {
  color: #c0392b;
}

/* ==========================================================================
   ریسبانسیو و بهینه‌سازی نسخه موبایل
   ========================================================================== */
@media (max-width: 768px) {
  #matn {
    font-size: 15.5px;
  }
  
  #matn p {
    padding: 14px 18px;
    margin-bottom: 18px;
  }
  
  #matn p:hover {
    font-size: 16px; /* بزرگ‌نمایی ملایم‌تر در موبایل برای جلوگیری از به هم ریختگی قالب */
    transform: translateY(-2px) scale(1.002);
  }

  #matn h2 {
    font-size: 20px;
  }

  #matn .gallery,
  #matn .wp-block-gallery,
  #matn .elementor-image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
}/* End custom CSS */