/*==================================================
PROGRESNEWS THEME
Comments Module
Version : 1.0
==================================================*/

.comments-title,
.comment-reply-title{
    margin:0 0 20px;
    font-size:24px;
    line-height:1.3;
    color:#1b1b1b;
}

.comment-metadata{
    margin-bottom:12px;
    font-size:13px;
    color:#777;
}

.comment-content{
    font-size:15px;
    line-height:1.7;
    color:#333;
}

.comment-reply-link{
    display:inline-block;
    margin-top:10px;
    font-size:13px;
    font-weight:700;
    color:#1647c8;
}

.comment-respond{
    margin-top:30px;
    padding:24px;
    border-radius:8px;
    background:#f7f8fb;
}

/*==================================================
COMMENTS AREA
==================================================*/
.comments-area{
    clear:both;
    margin:40px 0 0;
    padding:30px 0 0;
    border-top:1px solid #e5e7eb;
}

.comments-area .comments-title,
.comments-area .comment-reply-title{
    margin:0 0 12px;
    font-size:24px;
    line-height:1.3;
    font-weight:700;
    color:#1d1d1d;
}

.comments-area .logged-in-as,
.comments-area .comment-notes{
    margin:0 0 20px;
    font-size:14px;
    line-height:1.6;
    color:#666;
}

.comments-area .logged-in-as a,
.comments-area .comment-notes a{
    color:#1647c8;
    text-decoration:none;
}

.comments-area .comment-respond{
    margin-top:22px;
    padding:24px;
    border:1px solid #e3e7ef;
    border-radius:10px;
    background:#f7f9fc;
}

.comments-area .comment-form{
    margin:0;
}

.comments-area .comment-form p{
    margin:0 0 18px;
}

.comments-area .comment-form label{
    display:block;
    margin:0 0 8px;
    font-size:14px;
    font-weight:700;
    color:#222;
}

.comments-area .comment-form textarea,
.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"]{
    display:block;
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    margin:0;
    padding:12px 14px;
    border:1px solid #cfd6e2;
    border-radius:6px;
    background:#fff;
    color:#222;
    font-family:inherit;
    font-size:15px;
    line-height:1.6;
}

.comments-area .comment-form textarea{
    min-height:150px;
    resize:vertical;
}

.comments-area .comment-form textarea:focus,
.comments-area .comment-form input[type="text"]:focus,
.comments-area .comment-form input[type="email"]:focus,
.comments-area .comment-form input[type="url"]:focus{
    outline:none;
    border-color:#1747c9;
    box-shadow:0 0 0 3px rgba(23, 71, 201, 0.12);
}

.comments-area .form-submit{
    margin:0;
}

.comments-area .comment-form .submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    margin:0;
    padding:0 20px;
    border:0;
    border-radius:6px;
    background: var(--progres-menu-bg, #1747c9);
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    transition:opacity .2s ease;
}

.comments-area .comment-form .submit:hover{
    opacity:.88;
}

.comments-area .comment-list{
    margin:0;
    padding:0;
    list-style:none;
}

.comments-area .comment-list .comment{
    margin:0 0 18px;
    padding:20px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    background:#fff;
}

.comments-area .comment-list .children{
    margin:18px 0 0 22px;
    padding:0;
    list-style:none;
}

.comments-area .comment-author{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
}

.comments-area .comment-author .avatar{
    border-radius:50%;
}

.comments-area .comment-metadata{
    margin:0 0 12px;
    font-size:13px;
    color:#777;
}

.comments-area .comment-content{
    font-size:15px;
    line-height:1.7;
    color:#333;
}

.comments-area .comment-reply-link{
    display:inline-block;
    margin-top:10px;
    color:#1747c9;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

/*==================================================
COMMENT LIST
==================================================*/
.comment-list .comment{
    margin:0 0 20px;
    padding:20px;
    border:1px solid #ececec;
    border-radius:8px;
    background:#fff;
}

.comment-list .children{
    margin:18px 0 0 20px;
    padding:0;
    list-style:none;
}

/*==================================================
COMMENT AUTHOR
==================================================*/
.comment-author{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.comment-author .avatar{
    border-radius:50%;
}

/*==================================================
COMMENT FORM
==================================================*/
.comment-form label{
    display:block;
    margin-bottom:7px;
    font-weight:700;
}

.comment-form input,
.comment-form textarea{
    box-sizing:border-box;
    width:100%;
    padding:11px 12px;
    border:1px solid #d8dce5;
    border-radius:5px;
    font:inherit;
}

.comment-form textarea{
    min-height:140px;
    resize:vertical;
}

/*==================================================
SUBMIT BUTTON
==================================================*/
.comment-form .submit{
    border:0;
    border-radius:5px;
    padding:11px 18px;
    background:#1647c8;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

/*==================================================
RESPONSIVE
==================================================*/
@media (max-width:768px){

    .comments-area{
        margin-top:30px;
        padding-top:24px;
    }

    .comments-title,
    .comment-reply-title{
        font-size:21px;
    }

    .comment-list .comment{
        padding:15px;
    }

    .comment-list .children{
        margin-left:12px;
    }

    .comment-respond{
        padding:18px 15px;
    }

}

@media (max-width:768px){

    .comments-area{
        margin-top:30px;
        padding-top:24px;
    }

    .comments-area .comments-title,
    .comments-area .comment-reply-title{
        font-size:21px;
    }

    .comments-area .comment-respond{
        padding:18px 15px;
    }

    .comments-area .comment-list .comment{
        padding:15px;
    }

    .comments-area .comment-list .children{
        margin-left:12px;
    }

}
