.elementor-1480 .elementor-element.elementor-element-4e7cbd17{--display:flex;--border-radius:6px 6px 6px 6px;}.elementor-1480 .elementor-element.elementor-element-51d6979a > .elementor-widget-container{padding:0px 0px 0px 0px;}/* Start custom CSS for post-comments, class: .elementor-element-51d6979a */.comments-area {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 25px;
   
}

.comments-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 0px solid #1976D2;
    padding-bottom: 10px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
   
}

.comment .comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment .comment-author img {
    border-radius: 50%;
    margin-right: 10px;
    width: 50px;
    height: 50px;
}

.comment .comment-author .fn {
    font-weight: bold;
    color: #1976D2;
}

.comment .comment-metadata {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.comment .comment-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.comment .reply {
    margin-top: 10px;
}

.comment .reply a {
    background-color: #1976D2;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
}

.comment .reply a:hover {
    background-color: #1565C0;
}

.comment-respond {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    
}

.comment-respond .comment-reply-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.comment-respond .comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.comment-respond .comment-form input[type="text"],
.comment-respond .comment-form input[type="email"],
.comment-respond .comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #6C5BED;
    border-radius: 5px;
    font-size: 14px;
}

.comment-respond .comment-form textarea {
    height: 150px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    background-image: linear-gradient(to right, #8A2BE2, #DA70D6);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-image: linear-gradient(to right, #DA70D6, #8A2BE2);
}

.comment-form-cookies-consent {
    margin-bottom: 15px;
}

.comment-form-cookies-consent label {
    font-size: 14px;
    color: #555;
}

.comment-form-author,
.comment-form-email {
    display: inline-block;
    width: 48.5%;
    margin-right: 0%;
    box-sizing: border-box;
}

.comment-form-email {
    margin-right: 2.5%;
}

@media (max-width: 768px) {
    .comment-form-author,
    .comment-form-email {
        width: 100%;
        margin-right: 0;
    }
}

.comment-notes,
#url,
.comment-form-url,
.comment-form-cookies-consent {
    display: none !important;
}


.comment-form label .required {
    color: #fff; 
    background-color: #8A2BE2;
    font-size: 12px;
    padding: 2px 5px; 
    border-radius: 3px; 
    margin-left: 5px; 
    font-weight: normal; 
    display: inline-block; 
}


/* اضافه کردن کلمه "ضروری" */
.comment-form label .required::after {
    content: "ضروری"; 
}

.comment-form-author,
.comment-form-email,
.comment-form-comment {
    position: relative;
    margin-bottom: 20px;
}

.comment-form label {
    position: absolute;
    right: 10px;
    top: -6px;
    font-size: 14px;
    color: #777;
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: #fff;
    padding: 0 5px;
}

.comment-form-author {
    position: relative;
    margin-bottom: 20px;
}/* End custom CSS */