.elementor-802 .elementor-element.elementor-element-c073b24{--display:flex;}/* Start custom CSS for single_post, class: .elementor-element-7df0612 *//* ═══════════ استایل بخش نظرات ═══════════ */

/* کانتینر اصلی نظرات */
.bps-sp-comments-section {
    margin-top: 48px;
    padding: 40px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: var(--radius, 16px);
    border: 1px solid #f3f4f6;
}

/* عنوان بخش نظرات */
.bps-sp-comments-section .comments-title,
.bps-sp-comments-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--title);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent);
}

.bps-sp-comments-section .comments-title::before,
.bps-sp-comments-section h2::before {
    content: '';
    width: 8px;
    height: 28px;
    background: var(--accent);
    border-radius: 4px;
}

/* لیست نظرات */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* آیتم نظر */
.comment-list .comment {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: var(--radius, 12px);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.comment-list .comment:hover {
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* نظرات تو در تو (children) */
.children {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.children .comment {
    background: #f9fafb;
    border-color: #e5e7eb;
    padding: 20px;
}

/* هدر هر نظر (آواتار و اطلاعات) */
.comment .comment-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comment .comment-author {
    flex-shrink: 0;
}

.comment .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

/* اطلاعات نویسنده نظر */
.comment .comment-metadata {
    flex: 1;
    min-width: 0;
}

.comment .fn {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--title);
    margin-bottom: 4px;
}

.comment .says {
    display: none;
}

.comment .comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.comment .comment-date,
.comment time {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment .comment-date::before,
.comment time::before {
    content: '\F163';
    font-family: 'remixicon';
    font-size: 14px;
    color: var(--accent);
}

/* لینک پاسخ */
.comment .reply {
    margin-right: auto;
}

.comment .reply a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.08);
    color: var(--accent);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.comment .reply a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* محتوای نظر */
.comment .comment-content {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
}

/* در انتظار بررسی */
.comment-awaiting-moderation {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
}

/* ═══════════ فرم ارسال نظر ═══════════ */

.comment-form {
    margin-top: 40px;
    background: white;
    padding: 32px;
    border-radius: var(--radius, 16px);
    border: 2px solid #f3f4f6;
}

.comment-form h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--title);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form h3::before {
    content: '\F134';
    font-family: 'remixicon';
    color: var(--accent);
    font-size: 22px;
}

/* پاراگراف‌های فرم */
.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--title);
    margin-bottom: 8px;
}

.comment-form .required {
    color: var(--accent);
    font-weight: 700;
}

/* فیلدهای ورودی */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s ease;
    background: #f9fafb;
    color: var(--text);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.8;
}

/* استایل placeholder */
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #9ca3af;
}

/* دکمه ارسال نظر */
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), #b91c1c);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

.comment-form .submit:active {
    transform: translateY(-1px);
}

.comment-form .submit i {
    font-size: 18px;
}

/* یادداشت‌های فرم */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.comment-form-cookies-consent label {
    margin: 0;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    line-height: 1.6;
}

/* تظیمات اضافی برای ریسپانسیو */
@media (max-width: 768px) {
    .bps-sp-comments-section {
        padding: 24px;
    }
    
    .comment {
        padding: 16px;
    }
    
    .children {
        margin-right: 20px;
    }
    
    .comment .avatar {
        width: 44px;
        height: 44px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 12px 14px;
    }
    
    .comment-form .submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .comment .comment-body {
        flex-direction: column;
        gap: 12px;
    }
    
    .comment .reply {
        margin-right: 0;
        margin-top: 12px;
    }
    
    .children {
        margin-right: 0;
    }
}

/* انیمیشن برای لود شدن نظرات */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-list .comment {
    animation: fadeInUp 0.4s ease;
}

/* هایلایت نظر جدید */
.comment-new {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0%, 100% {
        background: white;
    }
    50% {
        background: rgba(220, 38, 38, 0.05);
    }
}/* End custom CSS */