/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
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
*/

/* Add your custom styles here */


/* =====================================
   Fix Anjoman Variable Font slant in Safari (and others)
   Apply only where font-family includes "Anjoman"
   ===================================== */

/* 1) اگر Anjoman مستقیم روی خود عنصر ست شده باشد */
*[style*="font-family:Anjoman"],
*[style*="font-family: Anjoman"],
*[style*="font-family:'Anjoman'"],
*[style*='font-family:"Anjoman"'],
*[style*="font-family: 'Anjoman'"],
*[style*='font-family: "Anjoman"'] {
  font-variation-settings: "slnt" 0 !important;
}

/* 2) اگر Elementor/Theme روی کلاس‌ها font-family را اعمال کرده باشد (حالت رایج)
   این بخش با selectorهای عمومی‌تر، عناصر با فونت Anjoman را پوشش می‌دهد. */
.elementor * {
  font-variation-settings: "slnt" 0;
}

/* 3) اما برای اینکه روی فونت دوم اثر نگذارد، فقط وقتی خود عنصر/والد Anjoman دارد override کن */
.elementor [class*="anjoman" i],
.elementor [class*="Anjoman" i] {
  font-variation-settings: "slnt" 0 !important;
}
