/* 
Theme Name: Hello Child
Theme URI: https://elementor-site.ir/
Description: 
Author: Elementor Site
Author URI: https://elementor-site.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
*/

 
/* سایه و گوشه گرد برای تصاویر webp داخل محتوای اصلی */
html body .entry-content img[src*=".webp"] {
    border-radius: 8px !important;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) !important;
    /* کدهای جدید برای فیت کردن */
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* سایه و گوشه گرد برای تصاویر webp داخل ویجت‌ها و بخش‌های المنتور */
.elementor img[src*=".webp"] {
    border-radius: 8px !important;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4) !important;
    /* کدهای جدید برای فیت کردن در المنتور (احتمالا نیاز نباشد) */
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.comments-area {
    max-width: 1140px !important; /* عرض دلخواه خود را اینجا وارد کنید */
    margin: 0 auto !important; /* برای وسط‌چین کردن بخش نظرات */
    padding: 20px; /* فاصله داخلی از اطراف - اختیاری */
}


/* اعمال فونت ایران سنس به تمام المنت‌ها */
body, .elementor * {
  font-family: 'IRANSans', sans-serif !important;
}

@font-face {
    font-family: 'IRANSans';
    src: url('https://ratselpet.ir/wp-content/uploads/my-fonts/IRANSansWeb.woff2') format('woff2'),
         url('https://ratselpet.ir/wp-content/uploads/my-fonts/IRANSansWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSans';
    src: url('https://ratselpet.ir/wp-content/uploads/my-fonts/IRANSansWeb_Bold.woff2') format('woff2'),
         url('https://ratselpet.ir/wp-content/uploads/my-fonts/IRANSansWeb_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* می‌توانید برای سایر وزن‌ها و استایل‌ها هم @font-face تعریف کنید */

body, .elementor * {
    font-family: 'IRANSans', sans-serif !important;
}