/* Ensure comments section sits above sticky column overflow on desktop */
.videos-bottom .comments-area,
.videos-bottom .jws-Reviews {
    position: relative;
    z-index: 2;
}


/* ── Comment cards ─────────────────────────────────────────────────────── */
.comments-area .comment_top .comment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comments-area .comment_top .comment-list > li,
.comments-area .comment_top .comment-list li .children > li {
    list-style: none;
    background: var(--background-item);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 14px 16px;
    transition: border-color 0.2s;
}

.comments-area .comment_top .comment-list > li:hover,
.comments-area .comment_top .comment-list li .children > li:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* ── Nested / threaded replies ─────────────────────────────────────────── */
.comments-area .comment_top .comment-list li .children {
    list-style: none;
    padding-left: 48px;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comments-area .comment_top .comment-list li .children li {
    list-style: none;
    /* slightly more inset feel — lighter border, no extra lift */
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

/* ── Reply link ────────────────────────────────────────────────────────── */
.comments-area .comment_top .comment-list li .comment-body .comment-info .comment-reply-link {
    position: relative !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 0;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    pointer-events: auto !important;
    cursor: pointer;
}

.comments-area .comment_top .comment-list li .comment-body .comment-info .comment-reply-link:hover {
    border-color: var(--main);
    color: var(--main);
}

/* ── Delete link ───────────────────────────────────────────────────────── */
.comments-area .comment_top .comment-list li .comment-body .comment-info .comment-delete-link {
    position: relative !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 0;
    padding: 3px 10px;
    border: 1px solid rgba(220, 60, 60, 0.7);
    border-radius: 4px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgb(220, 60, 60);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    pointer-events: auto !important;
    cursor: pointer;
}

.comments-area .comment_top .comment-list li .comment-body .comment-info .comment-delete-link::before {
    content: "\f2ed";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 11px;
}

.comments-area .comment_top .comment-list li .comment-body .comment-info .comment-delete-link:hover {
    border-color: rgb(220, 60, 60);
    background: rgba(220, 60, 60, 0.12);
    color: rgb(255, 80, 80);
}

/* ── Reply link container — pinned bottom-right of card ───────────────── */
.comments-area .comment_top .comment-list li .comment-body .comment-info .comment-reply {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: auto;
}
