.admin-btn-wrap{
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid #e5e7eb;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.admin-link-btn{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    padding:9px 14px;
    border-radius:8px;
    font-size:14px;
    font-weight:700;
}

.admin-link-btn.danger{
    background:#dc2626;
}

.comment-box h3{
    margin:0 0 18px;
    font-size:22px;
}

.comment-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:25px;
}

.comment-item{
    padding:15px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
}

.comment-meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:8px;
    font-size:14px;
    flex-wrap:wrap;
}

.comment-profile-img{
    width:38px;
    height:38px;
    border-radius:50%;
    object-fit:cover;
    background:#e5e7eb;
    flex-shrink:0;
}

.comment-user-info{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.comment-user-info strong{
    font-size:14px;
    color:#111827;
}

.comment-user-info span{
    color:#777;
    font-size:13px;
}

.comment-meta em{
    font-style:normal;
    color:#2563eb;
    background:#eff6ff;
    padding:3px 7px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.comment-delete-form{
    margin-left:auto;
}

.comment-delete-form button{
    border:0;
    background:#fee2e2;
    color:#991b1b;
    border-radius:6px;
    padding:4px 8px;
    font-size:12px;
    cursor:pointer;
}

.comment-content{
    color:#333;
    line-height:1.7;
    font-size:15px;
    padding-left:48px;
}

.no-comment,
.login-required{
    color:#666;
    line-height:1.7;
}

.comment-write{
    padding-top:20px;
    border-top:1px solid #e5e7eb;
}

.comment-write h4{
    margin:0 0 12px;
    font-size:18px;
}

.comment-write textarea,
.reply-form textarea{
    width:100%;
    min-height:100px;
    padding:12px;
    border:1px solid #d1d5db;
    border-radius:10px;
    resize:vertical;
    font-size:15px;
    box-sizing:border-box;
}

.secret-check{
    display:block;
    margin:10px 0;
    font-size:14px;
    color:#333;
}

.captcha-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin:12px 0;
    flex-wrap:wrap;
}

.captcha-row input{
    width:100px;
    padding:9px;
    border:1px solid #d1d5db;
    border-radius:8px;
}

.comment-write button,
.reply-form button{
    background:#2563eb;
    color:#fff;
    border:0;
    padding:10px 16px;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}

.comment-error{
    background:#fee2e2;
    color:#991b1b;
    padding:10px 12px;
    border-radius:8px;
    margin-bottom:12px;
    font-size:14px;
}

.reply-toggle{
    margin-top:10px;
    margin-left:48px;
    border:0;
    background:#eef2ff;
    color:#2563eb;
    padding:6px 10px;
    border-radius:7px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.reply-form{
    margin-top:12px;
    margin-left:48px;
    padding-top:12px;
    border-top:1px dashed #d1d5db;
}

.bottom-post-box h3{
    margin:0 0 16px;
    font-size:20px;
}

.bottom-post-list{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
}

.bottom-post-item{
    display:block;
    padding:15px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    text-decoration:none;
    color:#111827;
    background:#fff;
}

.bottom-post-item:hover{
    border-color:#2563eb;
    background:#f8fbff;
}

.bottom-post-item strong{
    display:block;
    font-size:16px;
    line-height:1.45;
    margin-bottom:8px;
}

.bottom-post-item span{
    display:block;
    color:#777;
    font-size:13px;
    margin-bottom:8px;
}

.bottom-post-item p{
    margin:0;
    color:#555;
    font-size:14px;
    line-height:1.55;
}

.side-search-form {
    display: flex;
    gap: 8px;
}

.side-search-input {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.side-search-btn {
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.side-search-btn:hover {
    background: #1d4ed8;
}



@media(max-width:768px){
    .bottom-post-list{
        grid-template-columns:1fr;
    }

    .comment-item{
        /* margin-left:0 !important; */
    }

    .comment-content,
    .reply-toggle,
    .reply-form{
        margin-left:0;
        padding-left:0;
    }

    .comment-delete-form{
        margin-left:0;
        width:100%;
    }
}