/* comments.css - Modern gray-ish comment styling */

/* Comment container */
.comment-list li {
    background: #ffffff; /* light gray background */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

/* Slight hover effect */
.comment-list li:hover {
    transform: translateY(-2px);
}

/* Author avatar */
.comment-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin-right: 12px;
}

/* Comment header (author name + meta) */
.comment-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

/* Author name bold */
.comment-author .fn {
    font-weight: 600;
    color: #333;
}

/* Comment text */
.comment-content p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

/* Reply link */
.comment-reply-link {
    font-size: 0.85rem;
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-reply-link:hover {
    color: #005177;
}

/* Nested comments (replies) */
.comment-list .children {
    margin-left: 40px;
    border-left: 2px solid #e0e0e0;
    padding-left: 15px;
}

/* Form styling (optional) */
.comment-respond {
    margin-top: 30px;
}

.comment-respond textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
}

.comment-respond input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-respond input[type="submit"]:hover {
    background: #005177;
}
