/* --- SESSÃO DE COMENTÁRIOS --- */
#comments {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid var(--border);
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.comment-meta img {
    border-radius: 50%; /* Avatar redondo */
    width: 50px;
    height: 50px;
}

.comment-author b {
    font-size: 1rem;
    color: var(--text-main);
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-content {
    color: var(--text-main);
    line-height: 1.6;
}

.reply {
    margin-top: 10px;
    text-align: right;
}

.comment-reply-link {
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
}

/* --- FORMULÁRIO DE COMENTÁRIO --- */
#respond {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--border);
    margin-top: 40px;
}

#reply-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.comment-form input, 
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.comment-form textarea {
    height: 120px;
}

.submit {
    background: var(--text-main);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.submit:hover {
    opacity: 0.8;
}

/* Ajuste para respostas (filhos) */
.children {
    list-style: none;
    margin-left: 40px; /* Recuo para respostas */
}