.elementor-472 .elementor-element.elementor-element-8ccaf57{--display:flex;--min-height:1440px;}/* Start custom CSS for html, class: .elementor-element-643b213 *//* ==========================================================================
   ۱. تنظیمات ریشه و متغیرهای رنگی (Color Palette & Variables)
   ========================================================================== */
:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --primary-light: #34d399;
    --accent-color: #991b1b;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-paragraph: #374151;
    --text-muted: #6b7280;
    --border-light: #e2e8f0;
    
    --font-base: 'Vazirmatn', Tahoma, Arial, sans-serif;
    --font-title: 'Lalezar', cursive;
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   ۲. ریست کردن استایل‌های پیش‌فرض و بهینه‌سازی لمس
   ========================================================================== */
.article-container-isolate * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* حذف افکت رنگی لمس در موبایل */
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    direction: rtl;
    font-family: var(--font-base);
    overflow-x: hidden; /* جلوگیری کامل از اسکرول افقی ناخواسته در کل صفحه */
}

/* کلاس کمکی برای قفل کردن اسکرول هنگام باز بودن منو */
.body-lock {
    overflow: hidden !important;
}

/* مخفی کردن هدر و فوتر پیش‌فرض برای اجرای فول‌اسکرین این مقاله */
header#masthead, footer#colophon, .site-header, .site-footer {
    display: none !important;
}

/* رفع مشکل رنگ آیکون‌ها هنگام تبدیل توسط JS فونت‌آوسام */
svg.svg-inline--fa {
    color: inherit;
}

/* ==========================================================================
   ۳. نوار پیشرفت مطالعه (Reading Progress Bar)
   ========================================================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    width: 0%;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.6);
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   ۴. هدر مینیمال مقاله و منوی همبرگری (Navbar & Mobile Menu)
   ========================================================================== */
.article-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    z-index: 9990;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.article-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-logo {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.desktop-menu {
    display: flex;
    align-items: center;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--bg-page);
    color: var(--text-main);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.btn-back-home:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

/* استایل‌های دکمه همبرگری و منوی کشویی */
.hamburger-btn {
    display: none; /* در دسکتاپ مخفی است */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 5px;
}

.hamburger-btn:hover {
    color: var(--primary-color);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 80vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 9999;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-light);
}

.drawer-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--text-main);
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-drawer-btn:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.drawer-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-btn {
    width: 100%;
    justify-content: center;
}

.drawer-divider {
    border: none;
    border-top: 1px dashed var(--border-light);
    margin: 15px 0;
}

.drawer-footer-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   ۵. بنر اصلی مقاله (Hero Header)
   ========================================================================== */
.article-hero-section {
    position: relative;
    height: 75vh;
    min-height: 550px;
    margin-top: 70px;
    display: flex;
    align-items: flex-end;
    background-image: url('http://isarinn.ir/wp-content/uploads/2026/01/47de21b8-abfe-4571-b407-0d33401c76d7-min.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.article-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 5%;
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.hero-title {
    font-family: var(--font-title);
    /* استفاده از clamp برای تنظیم روان سایز فونت در رزولوشن‌های مختلف */
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    color: #cbd5e1;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 800px;
}

.hero-meta-data {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    color: #94a3b8;
    font-size: 0.95rem;
}

.meta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-badge i, .meta-badge svg { color: var(--primary-light); font-size: 1.1rem; }

/* ==========================================================================
   ۶. ساختار شبکه‌ای بدنه (Grid Layout)
   ========================================================================== */
.article-main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

/* ==========================================================================
   ۷. استایل‌های حرفه‌ای محتوای متنی (Typography & Content)
   ========================================================================== */
.content-body {
    background: var(--bg-card);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-light);
    width: 100%;
    box-sizing: border-box;
}

.content-body p {
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--text-paragraph);
    margin-bottom: 30px;
    text-align: justify;
}

.lead-text {
    font-size: 1.4rem !important;
    font-weight: 700;
    color: var(--text-main) !important;
    line-height: 2.3 !important;
    padding-right: 25px;
    border-right: 5px solid var(--primary-color);
    margin-bottom: 50px !important;
    background: linear-gradient(90deg, transparent, rgba(5,150,105,0.03));
    padding-block: 15px;
}

.content-body h2 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    color: var(--text-main);
    margin: 60px 0 30px;
    padding-bottom: 15px;
    position: relative;
    word-wrap: break-word;
}

.content-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.content-body h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 45px 0 20px;
    font-weight: 800;
    word-wrap: break-word;
}

.beautiful-quote {
    margin: 50px 0;
    padding: 50px;
    background: linear-gradient(135deg, rgba(5,150,105,0.06), rgba(5,150,105,0.01));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(5,150,105,0.15);
    text-align: center;
    position: relative;
}

.beautiful-quote::before {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -25px;
    right: 50%;
    transform: translateX(50%);
    background: var(--bg-card);
    color: var(--primary-color);
    font-size: 2.5rem;
    padding: 0 20px;
}

.beautiful-quote p {
    font-size: 1.5rem !important;
    font-style: italic;
    color: var(--text-main) !important;
    margin: 0 !important;
    font-family: var(--font-title);
    line-height: 1.9 !important;
    text-align: center !important;
}

.content-image-wrapper {
    margin: 50px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.content-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
    
.content-image-wrapper:hover img {
    transform: scale(1.03);
}

.image-caption {
    text-align: center !important;
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    padding: 15px;
    background: #f1f5f9;
    font-style: italic;
    margin: 0 !important;
}

.styled-list {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

.styled-list li {
    position: relative;
    padding-right: 45px;
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-paragraph);
    background: #f8fafc;
    padding: 20px 20px 20px 45px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.styled-list li strong {
    color: var(--text-main);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.styled-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 22px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* ==========================================================================
   ۸. سایدبار حرفه‌ای و چسبان (Sticky Sidebar)
   ========================================================================== */
.article-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.sidebar-widget {
    background: var(--bg-card);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.widget-heading {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-light);
}

.widget-heading i, .widget-heading svg { color: var(--accent-color); }

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 15px;
}

.toc-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    display: block;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    border-right: 3px solid transparent;
    font-weight: 600;
}

.toc-link:hover, .toc-link.active-toc {
    color: var(--primary-color);
    background: rgba(5,150,105,0.05);
    border-right-color: var(--primary-color);
    padding-right: 20px;
}

.share-helper-text {
    font-size: 0.95rem; 
    color: var(--text-muted); 
    margin-bottom: 20px;
}

.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition-smooth);
    font-size: 1rem;
    border: none;
    font-family: var(--font-base);
}

.btn-share.telegram { background: #0088cc; }
.btn-share.whatsapp { background: #25D366; }
.btn-share.eitaa { background: #f26f21; }
    
.btn-share.copy-url { 
    background: transparent; 
    color: var(--text-main); 
    border: 2px dashed var(--border-light);
    grid-column: span 2; 
    cursor: pointer;
}

.btn-share:hover { transform: translateY(-3px); filter: brightness(1.1); color: white;}
.btn-share.copy-url:hover { background: var(--bg-page); border-color: var(--primary-color); color: var(--primary-color); }

/* استایل‌های ویجت تبلیغات سایدبار استخراج شده از اینلاین به کلاس‌ها */
.advertisement-widget {
    background: linear-gradient(135deg, var(--bg-card), rgba(5,150,105,0.08)); 
    text-align: center; 
    border: 2px solid var(--primary-light);
}
.ad-logo { width: 80px; margin-bottom: 15px; }
.ad-title { font-size: 1.2rem; color: var(--text-main); margin-bottom: 10px; }
.ad-desc { font-size: 0.95rem; color: var(--text-paragraph); margin-bottom: 20px; }
.ad-btn {
    display: block; 
    padding: 12px; 
    background: var(--primary-color); 
    color: white; 
    text-decoration: none; 
    border-radius: var(--radius-sm); 
    font-weight: bold; 
    transition: 0.3s;
}
.ad-btn:hover { background: var(--primary-dark); }

/* ==========================================================================
   ۹. واکنش‌گرایی برای موبایل و تبلت (Mobile First & Responsive Fixes)
   ========================================================================== */
@media (max-width: 1200px) {
    .article-main-wrapper { grid-template-columns: 1fr 300px; padding: 50px 3%; }
    .content-body { padding: 40px; }
}

@media (max-width: 992px)/* End custom CSS */