/*
    |--------------------------------------------------------------------------
    | RATING STORY
    |--------------------------------------------------------------------------
*/

.tk-story-rating{
    margin-top:40px;
    padding:24px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.tk-story-rating textarea{
    width:100%;
    min-height:120px;
    margin:12px 0;
    padding:14px;
    border-radius:12px;
}

.tk-story-rating button{
    padding:10px 20px;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

.tk-comment{
    margin-top:18px;
    padding:14px;
    border-bottom:1px solid #eee;
}

/* =====================================================
   COMMENTS
===================================================== */

.comments-area{
    margin-top:40px;
    padding:25px;
    background:#fff;
    border-radius:12px;
}

.comments-title{
    font-size:24px;
    font-weight:700;
    margin-bottom:25px;
}

/* FORM */

.comment-respond{
    margin-bottom:40px;
}

.comment-reply-title{
    font-size:22px;
    margin-bottom:15px;
}

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

.comment-form label{
    display:block;
    font-weight:600;
    margin-bottom:6px;
}

.comment-form textarea{
    width:100%;
    min-height:180px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    resize:vertical;
}

.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:10px;
}

.comment-form input:focus,
.comment-form textarea:focus{
    outline:none;
    border-color:#2196f3;
}

/* BUTTON */

.comment-form input[type=submit]{
    padding:12px 25px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
}

/* COMMENT LIST */

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

.comment-list li{
    list-style:none;
}

/* COMMENT ITEM */

.comment-body{
    padding:20px;
    margin-bottom:15px;
    border-radius:12px;
}

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

.comment-author img{
    border-radius:50%;
}

.comment-author .fn{
    font-style:normal;
    font-weight:700;
}

.comment-metadata{
    margin-top:5px;
    font-size:13px;
}

.comment-content{
    margin-top:15px;
    line-height:1.8;
}

/* REPLY */

.reply{
    margin-top:15px;
}

.comment-reply-link{
    display:inline-block;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

/* CHILD COMMENT */

.children{
    margin-top:15px;
    margin-left:40px;
    padding-left:20px;
}

/* MOBILE */

@media(max-width:768px){

    .comments-area{
        padding:15px;
    }

    .children{
        margin-left:15px;
        padding-left:10px;
    }

}
/* =====================================================
COMMENTS
===================================================== */

.tk-comments{
    max-width:1000px;
    margin:50px auto;
    padding:20px;
}

.tk-comments h2{
    margin-bottom:25px;
    font-size:24px;
    font-weight:700;
}

/* =====================
FORM
===================== */

.comment-respond{
    margin-bottom:40px;
    padding:20px;
    border:1px solid #ddd;
    border-radius:12px;
}

.comment-reply-title{
    margin-bottom:15px;
}

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

.comment-form label{
    display:block;
    margin-bottom:5px;
    font-weight:600;
}

.comment-form textarea{
    width:100%;
    min-height:180px;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    resize:vertical;
}

.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:10px;
}

.comment-form input[type=submit]{
    border:none;
    padding:12px 20px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

/* =====================
LIST
===================== */

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

.tk-comment-item{
    margin-bottom:20px;
    list-style:none;
}

/* =====================
ITEM
===================== */

.tk-comment-wrap{
    display:flex;
    gap:15px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
}

.tk-comment-avatar{
    width:60px;
    flex-shrink:0;
}

.tk-comment-avatar img{
    width:60px;
    height:60px;
    border-radius:50%;
    display:block;
}

.tk-comment-main{
    flex:1;
}

.tk-comment-header{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}

.tk-comment-author{
    font-size:16px;
    font-weight:700;
}

.tk-comment-date{
    font-size:13px;
    opacity:.7;
}

.tk-comment-id{
    display:inline-block;
    padding:2px 8px;
    border-radius:6px;
    font-size:12px;
    margin-bottom:10px;
    opacity:.8;
}

.tk-comment-content{
    line-height:1.8;
    margin-bottom:12px;
    word-break:break-word;
}

.tk-comment-content p{
    margin:0 0 10px;
}

/* =====================
REPLY
===================== */

.tk-comment-reply{
    display:flex;
    gap:10px;
}

.tk-comment-reply a,
.tk-show-replies{
    text-decoration:none;
    border:none;
    background:none;
    cursor:pointer;
    font-weight:600;
    padding:0;
}

/* =====================
CHILD COMMENTS
===================== */

.children{
    display:none;
    margin:15px 0 0 0;
    padding:0;
    list-style:none;
}

.children .tk-comment-wrap{
    margin-top:10px;
}

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

@media(max-width:768px){

    .tk-comments{
        padding:10px;
    }

    .tk-comment-wrap{
        gap:10px;
        padding:12px;
    }

    .tk-comment-avatar{
        width:45px;
    }

    .tk-comment-avatar img{
        width:45px;
        height:45px;
    }

    .tk-comment-author{
        font-size:15px;
    }

}