        @font-face {
            font-family: 'IRANSans';
            src: url('fonts/IRANSansWeb.woff2') format('woff2'),
                url('fonts/IRANSansWeb.woff') format('woff'),
                url('fonts/IRANSansWeb.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'IRANSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
        }

        :root {
            --primary: #0A3A60;
            --primary-light: #1E6F9F;
            --primary-dark: #072B48;
            --secondary: #2F4858;
            --accent: #D97706;
            --success: #0F9665;
            --warning: #D97706;
            --error: #E63946;

            --text-primary: #1F2937;
            --text-secondary: #4B5563;
            --text-muted: #9CA3AF;
            --text-light: #F3F4F6;

            --bg-primary: #FFFFFF;
            --bg-secondary: #F0F4F8;
            --bg-tertiary: #E5E7EB;

            --border: #E5E7EB;
            --border-light: #F3F4F6;

            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            --radius-2xl: 20px;
            --radius-full: 9999px;
        }

        body {
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .slide-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .scale-in {
            opacity: 0;
            transform: scale(0.9);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }

        /* Header */
        /* .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }

        .header.scrolled {
            box-shadow: var(--shadow-lg);
            background: rgba(255, 255, 255, 0.98);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-icon {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
            font-size: 1.5rem;
            box-shadow: var(--shadow-md);
        }

        .logo-text {
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--text-primary);
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 2rem;
            list-style: none;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            padding: 0.75rem 1.25rem;
            border-radius: var(--radius-lg);
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary);
            background: rgba(13, 148, 136, 0.1);
            transform: translateY(-2px);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: var(--radius-md);
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle:hover {
            background: rgba(13, 148, 136, 0.1);
            color: var(--primary);
        }
        */

        /* حذف کامل media query های ناقص و کامنت شده */

        /* Breadcrumb */
        .breadcrumb {
            background: var(--bg-secondary);
            padding: 1rem 0;
            margin-top: 80px;
            border-bottom: 1px solid var(--border-light);
            position: static;
        }

        .breadcrumb-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .breadcrumb-list {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            list-style: none;
            font-size: 0.9rem;
        }

        .breadcrumb-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .breadcrumb-link {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumb-link:hover {
            color: var(--primary);
        }

        .breadcrumb-current {
            color: var(--text-primary);
            font-weight: 600;
        }

        .breadcrumb-separator {
            color: var(--text-muted);
            width: 16px;
            height: 16px;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            padding: 4rem 2rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            text-align: right !important; /* تضمین راست‌چین شدن محتوای هیرو */
        }

        .hero-category {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: var(--radius-full);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .hero-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 1.5rem;
        }

        .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            margin-bottom: 2rem;
        }

        .hero-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .btn-download {
            background: white;
            color: var(--primary);
            padding: 1rem 2rem;
            border: none;
            border-radius: var(--radius-xl);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .btn-download:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-share {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            padding: 1rem 2rem;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: var(--radius-xl);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .btn-share:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        /* Main Content */
        .main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 3rem;
            align-items: start;
        }

        /* Content Article */
        .content-article {
            background: var(--bg-primary);
            border-radius: var(--radius-2xl);
            padding: 3rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }

        .article-summary {
            background: var(--bg-secondary);
            border-radius: var(--radius-xl);
            padding: 2rem;
            margin-bottom: 3rem;
            border: 1px solid var(--border-light);
            position: relative;
        }

        .summary-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .summary-icon {
            width: 24px;
            height: 24px;
        }

        .summary-text {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 1.05rem;
        }

        /* Table of Contents */
        .table-of-contents {
            background: var(--bg-tertiary);
            border-radius: var(--radius-xl);
            padding: 2rem;
            margin-bottom: 3rem;
            border: 1px solid var(--border-light);
        }

        .toc-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .toc-list {
            list-style: none;
        }

        .toc-item {
            margin-bottom: 0.75rem;
        }

        .toc-link {
            color: var(--text-secondary);
            text-decoration: none;
            padding: 0.5rem 0.75rem;
            border-radius: var(--radius-lg);
            display: block;
            transition: all 0.3s ease;
            border-right: 3px solid transparent;
        }

        .toc-link:hover,
        .toc-link.active {
            color: var(--primary);
            background: rgba(13, 148, 136, 0.1);
            border-right-color: var(--primary);
            transform: translateX(5px);
        }

        /* Content Sections */
        .content-section {
            margin-bottom: 3rem;
            scroll-margin-top: 120px;
        }

        .section-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            position: relative;

            padding-right: 1rem;
        }

        .section-title::before {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, var(--primary), var(--primary-light));
            border-radius: var(--radius-full);
        }

        .prose {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 1.05rem;
        }

        .prose p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        .prose h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 2rem 0 1rem 0;
        }

        .prose ul {
            list-style: none;
            margin: 1.5rem 0;
        }

        .prose li {
            margin-bottom: 0.75rem;
            position: relative;
            padding-right: 1.5rem;
        }

        .prose li::before {
            content: '';
            position: absolute;
            right: 0;
            top: 0.6rem;
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
        }

        /* Highlight Box */
        .highlight-box {
            background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(20, 184, 166, 0.05));
            border: 1px solid var(--primary-light);
            border-radius: var(--radius-xl);
            padding: 2rem;
            margin: 2rem 0;
            position: relative;
        }

        .highlight-box::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: var(--primary);
            border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
        }

        .highlight-title {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        /* Data Table */
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: var(--bg-primary);
            border-radius: var(--radius-xl);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
        }

        .data-table th {
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-weight: 700;
            padding: 1rem 1.5rem;
            text-align: right;
            border-bottom: 1px solid var(--border);
        }

        .data-table td {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--border-light);
            color: var(--text-secondary);
        }

        .data-table tr:hover {
            background: var(--bg-secondary);
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            position: sticky;
            top: 120px;
            height: fit-content;
        }

        .sidebar-section {
            background: var(--bg-secondary);
            border-radius: var(--radius-2xl);
            padding: 2rem;
            border: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }

        .sidebar-section:hover {
            box-shadow: var(--shadow-md);
        }

        .sidebar-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .sidebar-icon {
            width: 24px;
            height: 24px;
            color: var(--primary);
        }

        /* Share Buttons */
        .share-buttons {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .share-btn {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            background: white;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .share-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .share-btn svg {
            width: 20px;
            height: 20px;
        }

        /* Related Reports */
        .related-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            background: white;
            border-radius: var(--radius-xl);
            margin-bottom: 1rem;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .related-item:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .related-item:last-child {
            margin-bottom: 0;
        }

        .related-thumbnail {
            width: 60px;
            height: 60px;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
        }

        .related-thumbnail svg {
            width: 24px;
            height: 24px;
        }

        .related-content {
            flex: 1;
            min-width: 0;
        }

        .related-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-meta {
            color: var(--text-muted);
            font-size: 0.8rem;
            display: flex;
            gap: 1rem;
        }

        /* Report Meta Info */
        .report-meta {
            background: white;
            border-radius: var(--radius-xl);
            padding: 1.5rem;
            border: 1px solid var(--border);
        }

        .meta-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-light);
        }

        .meta-item:last-child {
            border-bottom: none;
        }

        .meta-label {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .meta-value {
            font-weight: 600;
            color: var(--text-primary);
        }

        /* Custom Report Request */
        .custom-report {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            text-align: center;
        }

        .custom-report .sidebar-title {
            color: white;
        }

        .custom-report .sidebar-icon {
            color: white;
        }

        .custom-report p {
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .btn-custom {
            background: white;
            color: var(--primary);
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: var(--radius-lg);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .sidebar {
                position: static;
            }

            .content-article {
                padding: 2rem;
            }
        }






        /* قانون جدید برای راست‌چین کردن اجباری تمام محتوای گزارش */
.custom-report .report-body {
    text-align: right;
}

.section-title ,
.toc-list,
.toc-link,
.prose,
.report-body h4,
.report-body h5,
.report-body h6,
.report-body div,
.report-body li {
    text-align: right !important;
}