@font-face {
    font-family: 'IRANYekanXVF';
    src: url('../fonts/IRANYekanXVF.woff') format('woff-variations'),
        /* will be the standard and works in Safari now */
        url('../fonts/IRANYekanXVF.woff') format('woff');
    /* for the other supporting browsers */
    font-weight: 100 1000;
    font-display: swap;

}

@font-face {
    font-family: 'IRANYekanXVF';
    src: url('../fonts/IRANYekanXVF.woff2') format('woff-variations'),
        /* will be the standard and works in Safari now */
        url('../fonts/IRANYekanXVF.woff2') format('woff2');
    /* for the other supporting browsers */
    font-weight: 100 1000;
    font-display: swap;
    font-variation-settings: "dots" 1;


}

* {
    font-family: 'IRANYekanXVF', sans-serif !important;
}



/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for timeline look */
.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    right: 15px;
    height: 100%;
    width: 2px;
    background: #e2e8f0;
}




/* انیمیشن بی‌انتها از راست به چپ */
@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }

    /* برای RTL از مقدار مثبت استفاده می‌کنیم */
}

.animate-infinite-scroll {
    /* زمان انیمیشن بسته به تعداد لوگوها می‌تواند تغییر کند */
    animation: infinite-scroll 40s linear infinite;
}

/* توقف اسکرول در حالت هاور برای تمرکز کاربر */
.group:hover .animate-infinite-scroll {
    animation-play-state: paused;
}

/* جهت دهی مناسب برای مرورگرهای مختلف */
[dir="rtl"] .animate-infinite-scroll {
    animation-direction: normal;
}



/* انیمیشن جریان نور در کل مسیر از راست به چپ */
@keyframes flow-rtl {
    0% {
        right: -30%;
    }

    100% {
        right: 100%;
    }
}

.animate-flow-rtl {
    animation: flow-rtl 4s linear infinite;
}

/* انیمیشن ظهور ترتیبی کارت‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* مخفی سازی اسکرول‌بار */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}




/* Custom Content Styling for WordPress */
.wp-content {
    line-height: 1.9;
    color: #334155;
    /* slate-700 */
    font-size: 1.125rem;
}

/* عناوین داخل متن */
.wp-content h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    border-right: 4px solid #0ea5e9;
    padding-right: 1rem;
}

.wp-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* پاراگراف‌ها و فواصل */
.wp-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* استایل تصاویر ارسالی از وردپرس */
.wp-content img {
    border-radius: 1.5rem;
    margin: 2rem auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* استایل نقل‌قول (Blockquote) */
.wp-content blockquote {
    background-color: #f0f9ff;
    border-right: 4px solid #0284c7;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem 1rem 1rem 0.5rem;
    font-style: italic;
    color: #0369a1;
}

/* لیست‌ها */
.wp-content ul {
    list-style-type: disc;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.wp-content li {
    margin-bottom: 0.5rem;
}

/* استایل کدها (مناسب برای مقالات فنی پچیم) */
.wp-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    font-family: monospace;
    color: #e11d48;
}

.wp-content pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    direction: ltr;
    margin-bottom: 1.5rem;
}

        .prose h2 {
            font-size: 1.75rem;
            font-weight: 800;
            margin-top: 3rem;
            margin-bottom: 1.5rem;
            color: #0f172a;
        }

        .prose p {
            margin-bottom: 1.5rem;
            color: #475569;
            text-align: justify;
            font-size: 1.1rem;
        }



        .black-ar{
            color: #0f172a !important;
        }