.elementor-29372 .elementor-element.elementor-element-6db1076{--display:flex;}/* Start custom CSS for post-comments, class: .elementor-element-dd210d3 *//* استایل عناوین و توضیحات */
.comment-notes {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
    padding: 10px;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-right: 4px solid #4dabf7;
}

.required-field-message {
    display: block;
    margin-top: 8px;
}

.required {
    color: #e03131;
}

/* استایل آیتم‌های فرم */
.comment-form p {
    margin-bottom: 25px;
    position: relative;
}

/* استایل لیبل‌ها */
.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    transition: color 0.3s;
}

.comment-form label:hover {
    color: #228be6;
}

/* استایل فیلدهای ورودی */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f8f9fa;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #4dabf7;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.2);
}

/* استایل تکست‌اریا */
.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* استایل چک‌باکس */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 5px;
    transform: scale(1.2);
}

.comment-form-cookies-consent label {
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.5;
}

/* استایل کپچا */
.aiowps-captcha {
    margin-bottom: 15px;
}

.aiowps-captcha-equation {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed #adb5bd;
    margin-bottom: 20px;
}

.aiowps-captcha-equation strong {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.aiowps-captcha-answer {
    width: 60px !important;
    text-align: center;
}

/* استایل دکمه ارسال */
.form-submit {
    text-align: left;
}

.submit {
    background: linear-gradient(135deg, #228be6 0%, #1c7ed6 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(34, 139, 230, 0.2);
}

.submit:hover {
    background: linear-gradient(135deg, #1c7ed6 0%, #1971c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(34, 139, 230, 0.3);
}

.submit:active {
    transform: translateY(0);
}

/* استایل ریسپانسیو */
@media (max-width: 600px) {
    .comment-form-cookies-consent {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .aiowps-captcha-equation strong {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* استایل لیست نظرات */
.comment-list {
list-style: none;
padding: 0;
margin: 30px 0;
}

.comment-list li {
background: #fff;
border-radius: 12px;
margin-bottom: 25px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
border: 1px solid #f0f0f0;
}

.comment-list li:hover {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
transform: translateY(-2px);
}

.comment-body {
padding: 25px;
position: relative;
}

/* استایل کامنت‌های فرزند */
.comment-list .children {
list-style: none;
padding-right: 30px;
margin-top: 20px;
border-right: 3px solid #e9ecef;
}

.comment-list .children li {
background: #f8f9fa;
border-radius: 10px;
}

.comment-list .children .comment-body {
padding: 20px;
}

/* استایل هدر کامنت */
.comment-meta {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 15px;
flex-wrap: wrap;
gap: 15px;
}

.comment-author {
display: flex;
align-items: center;
gap: 12px;
}

.comment-author .avatar {
border-radius: 50%;
border: 3px solid #e9ecef;
transition: all 0.3s ease;
}

.comment-author .avatar:hover {
border-color: #4dabf7;
transform: scale(1.05);
}

.comment-author .fn {
font-size: 1.1rem;
color: #2b2d42;
font-weight: 700;
}

.comment-author .fn a {
color: inherit;
text-decoration: none;
transition: color 0.3s;
}

.comment-author .fn a:hover {
color: #228be6;
}

.comment-author .says {
color: #666;
font-size: 0.9rem;
font-weight: normal;
}

/* استایل متادیتا */
.comment-metadata {
display: flex;
align-items: center;
gap: 10px;
}

.comment-metadata a {
color: #666;
text-decoration: none;
font-size: 0.85rem;
transition: color 0.3s;
}

.comment-metadata a:hover {
color: #228be6;
}

/* استایل محتوای کامنت */
.comment-content {
margin: 20px 0;
line-height: 1.7;
color: #495057;
}

.comment-content p {
margin-bottom: 0;
font-size: 1rem;
}

/* استایل دکمه پاسخ */
.reply {
margin-top: 15px;
text-align: left;
}

.comment-reply-link {
display: inline-block;
background: #f8f9fa;
color: #495057;
text-decoration: none;
padding: 8px 16px;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
transition: all 0.3s ease;
border: 1px solid #e9ecef;
}

.comment-reply-link:hover {
background: #228be6;
color: white;
border-color: #228be6;
transform: translateY(-1px);
}

/* استایل کامنت نویسنده پست */
.bypostauthor {
background: linear-gradient(135deg, #fff9db 0%, #fff3bf 100%);
border-right: 4px solid #f59f00;
}

.bypostauthor .comment-author .fn {
color: #e67700;
}

.bypostauthor .comment-author .fn a {
color: #e67700;
}

/* استایل ریسپانسیو */
@media (max-width: 768px) {
.comment-meta {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}

.comment-list .children {
padding-right: 20px;
}

.comment-body {
padding: 20px;
}

.comment-author {
flex-wrap: wrap;
}
}

@media (max-width: 480px) {
.comment-list .children {
padding-right: 15px;
}

.comment-body {
padding: 15px;
}

.comment-author .avatar {
width: 36px;
height: 36px;
}

.comment-author .fn {
font-size: 1rem;
}
}/* End custom CSS */