body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background-color: #eef2f6;
}
.dark body {
    background-color: #0b1320;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: #1b365d; border-radius: 4px; }

.submenu-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.submenu-box.active {
    max-height: 1200px;
}
/* حذف نقطه‌های پیش‌فرض مرورگر از آیتم‌های منوی هدر (li بدون ul والد) */
.chobar-topnav li {
    list-style: none;
    display: contents;
}

/* نوار متحرک (رونده) سرخط خبرها */
.chobar-ticker-mask { -webkit-mask-image: linear-gradient(to left, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to left, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.chobar-ticker-track {
    width: max-content;
    animation: chobar-ticker-scroll 28s linear infinite;
}
.chobar-ticker-viewport:hover .chobar-ticker-track,
.chobar-ticker-viewport:focus-within .chobar-ticker-track {
    animation-play-state: paused;
}
@keyframes chobar-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .chobar-ticker-track { animation: none; }
}

/* اسلایدر افقی جعبه «مسئولان سایت»: اسکرول‌بار را مخفی می‌کند، خودِ اسکرول (با موس/لمس/دکمه‌ها) کار می‌کند */
.chobar-team-slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.chobar-team-slider::-webkit-scrollbar {
    display: none;
}

.header-pattern {
    background: linear-gradient(135deg, #112236 0%, #1b365d 50%, #005580 100%);
}

/* نمایش صحیح آرم سایت (از بخش «شخصی‌سازی > هویت سایت > آرم») داخل کادر دایره‌ای هدر */
.custom-logo-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.custom-logo-link .custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* محتوای تولید شده در ادیتور وردپرس (the_content) */
.entry-content img { max-width: 100%; height: auto; border-radius: 0.75rem; }
.entry-content a { color: #006699; text-decoration: underline; }
.dark .entry-content a { color: #38bdf8; }
.entry-content blockquote {
    background: #f0f9ff;
    border-right: 4px solid #006699;
    padding: 1rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 1rem 0;
    font-weight: 600;
    color: #1b365d;
}
.dark .entry-content blockquote { background: rgba(15,23,42,.5); color: #7dd3fc; }
.entry-content ul { list-style: disc; padding-right: 1.25rem; }
.entry-content ol { list-style: decimal; padding-right: 1.25rem; }

/* نمایش درختی پاسخ‌های دیدگاه (نقل‌قول/پاسخ به دیدگاه) */
.chobar-comment-list .children {
    list-style: none;
    margin: 0.75rem 0 0;
    padding-right: 1.25rem;
    border-right: 2px solid #e2e8f0;
}
.dark .chobar-comment-list .children { border-right-color: #334155; }
.chobar-comment-list .children > li { margin-top: 0.75rem; }
.chobar-comment-list > li + li { margin-top: 1rem; }
#cancel-comment-reply-link {
    display: inline-block;
    margin-right: 8px;
    font-size: 11px;
    color: #e11d48;
}

@media print {
    header, aside, footer, .no-print { display: none !important; }
    main, section { width: 100% !important; margin: 0 !important; padding: 0 !important; }
    /* شکستن گرید سه‌ستونه در چاپ، تا ستون وسط (محتوای خبر) کل عرض صفحه را بگیرد */
    main > div { display: block !important; }
    main .space-y-5 > * + * { margin-top: 1rem !important; }
    article { border: 0 !important; box-shadow: none !important; }
}
