/*
==========================================
Comments
==========================================
*/

.comments-area{
    margin:60px 0;
}

.comments-header{
    margin-bottom:30px;
}

.comments-title{
    margin:0;
    font-size:30px;
    font-weight:700;
    color:#222;
}

/*
==========================================
Comment List
==========================================
*/

.comment-list{
    margin:0;
    padding:0;
    list-style:none;
}

.comment-list .comment{
    margin-bottom:30px;
    padding:25px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
}

.comment-list .children{
    margin-top:25px;
    margin-left:40px;
    padding-left:25px;
    border-left:2px solid #e5e7eb;
    list-style:none;
}

/*
==========================================
Comment Body
==========================================
*/

.comment-body{
    position:relative;
}

.comment-author{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.comment-author img{
    width:60px;
    height:60px;
    border-radius:50%;
}

.comment-author .fn{
    font-style:normal;
    font-weight:700;
    color:#222;
}

.comment-author .says{
    display:none;
}

/*
==========================================
Comment Meta
==========================================
*/

.comment-meta{
    margin-bottom:15px;
    font-size:14px;
    color:#777;
}

.comment-meta a{
    color:#777;
    text-decoration:none;
    transition:.3s ease;
}

.comment-meta a:hover{
    color:#d50000;
}

/*
==========================================
Comment Content
==========================================
*/

.comment-content{
    color:#555;
    line-height:1.8;
}

.comment-content p:last-child{
    margin-bottom:0;
}

/*
==========================================
Reply & Edit
==========================================
*/

.reply,
.comment-edit-link{
    margin-top:15px;
}

.reply a,
.comment-edit-link{
    display:inline-block;
    color:#d50000;
    font-weight:600;
    text-decoration:none;
    transition:.3s ease;
}

.reply a:hover,
.comment-edit-link:hover{
    color:#a00000;
}

/*
==========================================
Comment Form
==========================================
*/

.comment-form-wrapper{
    margin-top:60px;
    padding:30px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
}

.comment-reply-title{
    margin:0 0 25px;
    font-size:28px;
}

.comment-form p{
    margin-bottom:20px;
}

.comment-form label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#333;
}

.comment-form input,
.comment-form textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:16px;
    transition:.3s ease;
    background:#fff;
}

.comment-form textarea{
    resize:vertical;
    min-height:180px;
}

.comment-form input:focus,
.comment-form textarea:focus{
    outline:none;
    border-color:#d50000;
    box-shadow:0 0 0 3px rgba(213,0,0,.10);
}

/*
==========================================
Submit Button
==========================================
*/

.comment-form .submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 30px;
    border:none;
    border-radius:8px;
    background:#d50000;
    color:#fff;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s ease;
}

.comment-form .submit:hover{
    background:#b00000;
    transform:translateY(-2px);
}

/*
==========================================
Accessibility
==========================================
*/

.comment-form input:focus-visible,
.comment-form textarea:focus-visible,
.comment-form .submit:focus-visible,
.reply a:focus-visible,
.comment-meta a:focus-visible{
    outline:2px solid #d50000;
    outline-offset:3px;
}

/*
==========================================
Navigation
==========================================
*/

.comment-navigation{
    margin:30px 0;
}

.comment-navigation .nav-links{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.comment-navigation a{
    color:#d50000;
    text-decoration:none;
    font-weight:600;
}

.comment-navigation a:hover{
    color:#a00000;
}

/*
==========================================
Responsive
==========================================
*/

@media (max-width:768px){

    .comment-list .children{
        margin-left:20px;
        padding-left:15px;
    }

    .comment-author{
        align-items:flex-start;
    }

    .comment-form-wrapper{
        padding:20px;
    }

}

@media (max-width:576px){

    .comments-title{
        font-size:24px;
    }

    .comment-list .comment{
        padding:20px;
    }

    .comment-author{
        flex-direction:column;
        align-items:flex-start;
    }

    .comment-author img{
        width:50px;
        height:50px;
    }

    .comment-navigation .nav-links{
        flex-direction:column;
    }

    .comment-form .submit{
        width:100%;
    }

}