/**
* Theme Name: Atlas Child
* Description: This is a child theme of Atlas.
* Author: tmrwstudio
* Template: atlas
* Version: 1.0
*/


/* -----------------------------
   فونت متغیر اصلی
----------------------------- */
@font-face {
    font-family: 'IRANSansXV';
    src: url("fonts/IRANSansX/IRANSansXV.woff") format("woff-variations"),
         url("fonts/IRANSansX/IRANSansXV.woff") format("woff");
    font-weight: 100 900;
    font-display: swap;
}

/* -----------------------------
   فونت‌های ثابت برای پشتیبانی
----------------------------- */
@font-face {
    font-family: 'IRANSansX';
    src: url("fonts/IRANSansX/IRANSansX-Regular.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: 'IRANSansX';
    src: url("fonts/IRANSansX/IRANSansX-Bold.woff") format("woff");
    font-weight: 700;
}

/* -----------------------------
   تنظیمات پیش‌فرض صفحه
----------------------------- */
body {
    font-family: 'IRANSansXV', 'IRANSansX', Tahoma, sans-serif;
    font-weight: 400;
    font-variation-settings: "wght" 400;
    font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    overflow-x: hidden;
    line-height: 1.6;
    color: #222;
}

/* -----------------------------
   اعداد انگلیسی
----------------------------- */
.enNumbers {
    font-feature-settings: normal;
    -webkit-font-feature-settings: normal;
}

/* -----------------------------
   تیترها H1 تا H6
----------------------------- */
h1, .h1 { font-family: inherit; font-size: 48px; font-variation-settings: "wght" 500; line-height: 80px; letter-spacing: -1.5px; }
h2, .h2 { font-family: inherit; font-size: 40px; font-variation-settings: "wght" 500; line-height: 64px; letter-spacing: -1px; }
h3, .h3 { font-family: inherit; font-size: 32px; font-variation-settings: "wght" 500; line-height: 48px; letter-spacing: -1px; }
h4, .h4 { font-family: inherit; font-size: 24px; font-variation-settings: "wght" 500; line-height: 48px; letter-spacing: -0.5px; }
h5, .h5 { font-family: inherit; font-size: 18px; font-variation-settings: "wght" 500; line-height: 32px; letter-spacing: -0.5px; }
h6, .h6 { font-family: inherit; font-size: 16px; font-variation-settings: "wght" 500; line-height: 32px; letter-spacing: -0.5px; }

/* -----------------------------
   پاراگراف‌ها و متن‌های عمومی
----------------------------- */
p, .p, li, .text {
    font-family: inherit;
    font-size: 18px;
    font-variation-settings: "wght" 400;
    line-height: 36px;
    letter-spacing: 0;
    margin-bottom: 1em;
}

/* -----------------------------
   ریسپانسیو موبایل
----------------------------- */
@media (max-width: 768px) {
    p, .p, li, .text {
        font-size: 15px;
        line-height: 30px;
    }
    
     h1, .h1 { font-size: 21px; line-height: 40px; font-variation-settings: "wght" 500 }
    h2, .h2, h3, .h3 { font-size: 18px; line-height: 32px; font-variation-settings: "wght" 500 }
    
    .container{
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* -----------------------------
   لینک‌ها
----------------------------- */
a {
    font-variation-settings: "wght" 500;
}

.single-content a{
    color: #e4002b;
}

/* -----------------------------
   دکمه‌ها
----------------------------- */
button, .btn {
    font-family: inherit;
    font-variation-settings: "wght" 500;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

/* -----------------------------
   لیست‌ها
----------------------------- */
ul, ol {
    font-size: 16px;
    font-variation-settings: "wght" 400;
    line-height: 28px;
    margin: 0;
    padding-right: 20px;
}

/* -----------------------------
   کپشن‌ها و متن کوچک
----------------------------- */
small, .small, caption {
    font-size: 14px;
    font-variation-settings: "wght" 400;
    line-height: 20px;
}

/* -----------------------------
   بلاک‌کوت و نقل قول‌ها
----------------------------- */
blockquote {
    font-size: 18px;
    font-variation-settings: "wght" 400;
    line-height: 32px;
    padding-left: 1em;
    border-left: 4px solid #ccc;
    color: #555;
    margin: 1em 0;
}

/* -----------------------------
   کلاس‌های سفارشی
----------------------------- */
.title, .sticky-post-title{
    font-family: inherit !important;
}

.mob_header-section {
    background: #f7f9fd;
}

.wp-block-table .has-fixed-layout {
    table-layout: fixed;
    width: 100%;
    overflow-x: auto;
    display: block;
}

th, .wp-block-table th, table td:first-child{
    font-variation-settings: "wght" 700;
}

.single-content p{
    text-align: justify;
}
