/*==================================
COMENTÁRIOS
==================================*/

.cn-comment{

    display:flex;
    gap:20px;
    padding:30px 0;
    border-bottom:1px solid #ececec;

}

.cn-comment:last-child{

    border-bottom:none;

}

.cn-comment-avatar img{

    width:70px;
    height:70px;
    border-radius:50%;

}

.cn-comment-content{

    flex:1;

}

.cn-comment-author{

    font-size:18px;
    font-weight:700;
    color:#21409a;

}

.cn-comment-date{

    font-size:14px;
    color:#777;
    margin:8px 0 15px;

}

.cn-comment-text{

    font-size:16px;
    line-height:1.8;
    color:#444;

}

.cn-comment-footer{

    margin-top:15px;

}

.cn-comment-footer a{

    text-decoration:none;
    font-weight:600;
    color:#21409a;

}


/*==================================
ÁREA DE LOGIN
==================================*/

.comment-login-box{

    text-align:center;

    padding:40px;

    background:#f8f9fb;

    border:2px dashed #d9d9d9;

    border-radius:12px;

}

.comment-login-box p{

    font-size:18px;

    margin-bottom:25px;

}

.comment-login-button,
.comment-register-button{

    display:inline-block;

    padding:14px 30px;

    border-radius:8px;

    text-decoration:none;

    color:#fff;

    font-weight:700;

    margin:5px;

    transition:.25s;

}

.comment-login-button{

    background:#21409a;

}

.comment-register-button{

    background:#25c25b;

}

.comment-login-button:hover,
.comment-register-button:hover{

    opacity:.9;

    color:#fff;

}


/*==================================
FORMULÁRIO
==================================*/

.comment-form{

    margin-top:20px;

}

.comment-form textarea{

    width:100%;

    min-height:160px;

    border:1px solid #ddd;

    border-radius:10px;

    padding:15px;

    resize:vertical;

    font-size:16px;

    transition:.25s;

}

.comment-form textarea:focus{

    border-color:#21409a;

    outline:none;

    box-shadow:0 0 0 3px rgba(33,64,154,.15);

}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url]{

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:8px;

    margin-bottom:15px;

}

.cn-comment-button{

    background:#21409a;

    color:#fff;

    border:0;

    padding:14px 35px;

    border-radius:8px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

}

.cn-comment-button:hover{

    background:#17327d;

}


/*==================================
LISTA DE COMENTÁRIOS
==================================*/

.comment-list{

    margin-top:40px;

}

.comment{

    display:flex;

    gap:18px;

    padding:25px 0;

    border-bottom:1px solid #ececec;

}

.comment:last-child{

    border-bottom:none;

}

.comment-author img{

    border-radius:50%;

}

.comment-body{

    flex:1;

}

.comment-author{

    font-size:17px;

    font-weight:bold;

    color:#21409a;

}

.comment-meta{

    font-size:14px;

    color:#777;

    margin-bottom:12px;

}

.comment-content{

    font-size:17px;

    color:#444;

    line-height:1.7;

}

.reply{

    margin-top:15px;

}

.reply a{

    color:#21409a;

    text-decoration:none;

    font-weight:bold;

}


/*==================================
RESPONDIDOS
==================================*/

.children{

    margin-left:70px;

    margin-top:20px;

    border-left:3px solid #eee;

    padding-left:20px;

}


/*==================================
MOBILE
==================================*/

@media(max-width:768px){

.cn-comments{

    padding:20px;

}

.comments-title{

    font-size:28px;

}

.comment{

    flex-direction:column;

}

.children{

    margin-left:20px;

}

.comment-login-button,
.comment-register-button{

    width:100%;

}

.cn-comment-button{

    width:100%;

}

}



.comment-author img.avatar{

    width: 60px !important;
    height: 60px !important;

    border-radius: 50%;
    object-fit: cover;

}

.comment img.avatar{

    width: 60px !important;
    height: 60px !important;

    border-radius: 50%;
    object-fit: cover;

}

.avatar{

    width: 60px !important;
    height: 60px !important;

}

/* Comentário */
.comment-body{

    background:#fff;

    padding:20px;

    border-radius:12px;

    margin-bottom:20px;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

/* Avatar */

.comment-author img.avatar{

    width:60px;

    height:60px;

    border-radius:50%;

    object-fit:cover;

    margin-right:15px;

}

/* Nome */

.comment-author{

    font-size:20px;

    font-weight:700;

    color:#1f3d96;

}

/* Data */

.comment-meta{

    font-size:13px;

    color:#777;

    margin-top:5px;

}

/* Texto */

.comment-content{

    margin-top:15px;

    font-size:16px;

    line-height:1.7;

}

/* Responder */

.reply a{

    color:#21409a;

    font-weight:600;

    text-decoration:none;

}

