.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.toc-fade-enter-active,.toc-fade-leave-active{transition:all .4s cubic-bezier(.4,0,.2,1)}.toc-fade-enter-from,.toc-fade-leave-to{opacity:0;transform:translateY(-10px)}.toc-fade-move{transition:transform .4s cubic-bezier(.4,0,.2,1)}.article-content{direction:rtl;font-size:1rem;line-height:1.7;color:#374151;font-family:Inter,Vazirmatn,sans-serif;background-color:#fff;padding:2rem;border-radius:1rem;box-shadow:0 4px 6px #0000001a}.article-content h1{font-size:2rem;font-weight:700;color:#111827;margin:2.5rem 0 1.25rem;line-height:1.3;position:relative;padding-bottom:.75rem}.article-content h1:after{content:"";position:absolute;bottom:0;right:0;width:3rem;height:3px;background:linear-gradient(90deg,#5e58ee,#8b7cf6);border-radius:2px}.article-content h2{font-size:1.5rem;font-weight:600;color:#1f2937;margin:2rem 0 1rem;line-height:1.4;position:relative;padding-right:1.25rem}.article-content h2:before{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:3px;height:1.5rem;background:#5e58ee;border-radius:2px}.article-content h3{font-size:1.25rem;font-weight:600;color:#374151;margin:1.75rem 0 .75rem;line-height:1.4;border-bottom:2px solid #e5e7eb;padding-bottom:.375rem}.article-content h4{font-size:1.125rem;font-weight:600;color:#4b5563;margin:1.5rem 0 .625rem;line-height:1.4}.article-content h5{font-size:1rem;font-weight:600;color:#6b7280;margin:1.25rem 0 .5rem;line-height:1.4}.article-content h6{font-size:.875rem;font-weight:600;color:#9ca3af;margin:1rem 0 .375rem;line-height:1.4;text-transform:uppercase;letter-spacing:.05em}.article-content p{margin-bottom:1.5rem;line-height:1.7;color:#374151;text-align:justify}.article-content p:last-child{margin-bottom:0}.article-content a{color:#5e58ee!important;text-decoration:none;font-weight:500;border-bottom:1px solid transparent;transition:all .3s ease;position:relative}.article-content a strong{color:#5e58ee!important}.article-content a:hover{color:#4338ca;border-bottom-color:#5e58ee}.article-content a:before{content:"";position:absolute;bottom:-1px;right:0;width:0;height:2px;background:linear-gradient(90deg,#5e58ee,#8b7cf6);transition:width .3s ease}.article-content a:hover:before{width:100%}.article-content strong,.article-content b{font-weight:700;color:#111827}.article-content em,.article-content i{font-style:italic;color:#4b5563}.article-content mark{background:linear-gradient(90deg,#5e58ee1a,#8b7cf61a);padding:.125rem .25rem;border-radius:.25rem;color:#5e58ee;font-weight:500}.article-content ul{list-style:none}.article-content ul,.article-content ol{margin:1.5rem 0;padding-right:1.75rem;position:relative}.article-content ul li{margin-bottom:.75rem;line-height:1.7;position:relative;padding-right:1rem}.article-content ul li:before{content:"";position:absolute;right:-.5rem;top:.7rem;width:6px;height:6px;background:#5e58ee;border-radius:50%;transform:translateY(-50%)}.article-content ol li{margin-bottom:.75rem;line-height:1.7;counter-increment:step-counter;position:relative;padding-right:2rem}.article-content ol{counter-reset:step-counter}.article-content ol li:before{content:counter(step-counter);position:absolute;right:0;background:#5e58ee;color:#fff;font-size:.875rem;font-weight:600;width:1.5rem;height:1.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center}.article-content blockquote{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-right:4px solid #5e58ee;border-radius:0 .75rem .75rem 0;padding:1.5rem;margin:2rem 0;position:relative;font-style:italic;font-size:1rem;color:#4b5563;box-shadow:0 4px 6px -1px #0000001a}.article-content blockquote:before{content:'"';position:absolute;top:-.5rem;right:1rem;font-size:4rem;color:#5e58ee;font-family:Georgia,serif;opacity:.3}.article-content blockquote p{margin:0;position:relative;z-index:1}.article-content blockquote cite{display:block;margin-top:1rem;font-size:.9rem;color:#6b7280;font-style:normal;font-weight:500}.article-content blockquote cite:before{content:"— ";color:#5e58ee}.article-content code{background:#5e58ee1a;color:#5e58ee;padding:.25rem .5rem;border-radius:.375rem;font-size:.9em;font-family:Fira Code,JetBrains Mono,monospace;font-weight:500;border:1px solid rgba(94,88,238,.2)}.article-content pre{direction:ltr;background:#1e293b;color:#e2e8f0;padding:1.5rem;border-radius:.75rem;margin:2rem 0;overflow-x:unset;position:relative;box-shadow:0 6px 20px #00000026;border:1px solid #334155;min-height:10rem}.article-content pre:before{content:"";position:absolute;top:.75rem;left:.75rem;width:10px;height:10px;background:#ef4444;border-radius:50%;box-shadow:16px 0 #f59e0b,32px 0 #10b981}.article-content pre code{background:none;color:inherit;padding:0;border:none;font-size:.9rem;line-height:1.6}.article-content img{width:100%;height:auto;margin:2rem auto;border-radius:.75rem;box-shadow:0 10px 25px #0000001a;transition:transform .3s ease,box-shadow .3s ease;cursor:zoom-in}.article-content img:hover{transform:scale(1.02);box-shadow:0 25px 50px #0003}.article-content figure{margin:2rem 0;text-align:center}.article-content figcaption{margin-top:1rem;font-size:.9rem;color:#6b7280;font-style:italic;text-align:center}.article-content table{width:100%;margin:2rem 0;border-collapse:collapse;background:#fff;border:2px solid #e5e7eb;font-size:.9rem}.article-content th{background:#f8fafc;color:#374151;font-weight:600;padding:1rem;text-align:right;border-bottom:2px solid #d1d5db;border-right:1px solid #e5e7eb;vertical-align:middle}.article-content th:last-child{border-right:none}.article-content td{padding:.875rem 1rem;border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;text-align:right;vertical-align:top;line-height:1.5}.article-content td:last-child{border-left:none}.article-content tr:last-child td{border-bottom:none}.article-content tbody tr:nth-child(2n){background:#f9fafb}.article-content tbody tr:hover{background:#f3f4f6}.article-content hr{margin:2rem 0;border:none;height:1px;background:linear-gradient(90deg,transparent,#5e58ee,transparent);position:relative}.article-content hr:before{content:"✦";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;color:#5e58ee;padding:0 1rem;font-size:1.2rem}.article-content ul ul,.article-content ol ol,.article-content ul ol,.article-content ol ul{margin:.5rem 0;padding-right:1.5rem}.article-content ul ul li:before{background:#8b7cf6;width:4px;height:4px}.article-content pre::-webkit-scrollbar{height:8px}.article-content pre::-webkit-scrollbar-track{background:#334155;border-radius:4px}.article-content pre::-webkit-scrollbar-thumb{background:#5e58ee;border-radius:4px}.article-content pre::-webkit-scrollbar-thumb:hover{background:#4338ca}.copy-code-btn{position:absolute;top:.75rem;right:.75rem;background:#1e293bcc;color:#e2e8f0;border:1px solid #475569;border-radius:.25rem;padding:.25rem .5rem;font-size:.7rem;font-weight:500;display:flex;align-items:center;gap:.25rem;cursor:pointer;transition:all .2s ease;backdrop-filter:blur(4px);z-index:10;height:auto;min-height:auto}.copy-code-btn:hover{background:#1e293be6;border-color:#64748b;transform:translateY(-1px)}.copy-code-btn:active{transform:translateY(0)}.copy-code-btn svg{width:12px;height:12px}html{scroll-behavior:smooth}.table-of-contents{position:sticky;top:2rem;max-height:calc(100vh - 4rem);overflow-y:auto}.table-of-contents::-webkit-scrollbar{width:4px}.table-of-contents::-webkit-scrollbar-track{background:#f1f5f9}.table-of-contents::-webkit-scrollbar-thumb{background:#5e58ee;border-radius:2px}.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6{scroll-margin-top:2rem}@media (max-width: 768px){.article-content{font-size:.9rem}.article-content h1{font-size:1.75rem}.article-content h2{font-size:1.25rem}.article-content h3{font-size:1.125rem}.article-content pre{padding:1rem;font-size:.8rem}.article-content table{font-size:.8rem}.article-content th,.article-content td{padding:.625rem .5rem}.copy-code-btn{top:.5rem;right:.5rem;padding:.2rem .4rem;font-size:.65rem}.copy-code-btn svg{width:10px;height:10px}.article-content pre:before{top:.5rem;left:.5rem;width:8px;height:8px;box-shadow:12px 0 #f59e0b,24px 0 #10b981}}
