/* Comments Styles */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 30px;
}

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

.comment {
    margin-bottom: 30px;
}

.comment-body {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.comment-meta {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #6b7280;
}

.comment-metadata a {
    color: #6b7280;
    text-decoration: none;
}

.comment-content {
    color: #374151;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 15px;
}

.reply a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #00b3e3;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.reply a:hover {
    color: #0099cc;
}

.reply a:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300b3e3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 10h10a8 8 0 018 8v2M3 10l6 6m-6-6l6-6'/%3E%3C/svg%3E");
    background-size: contain;
}

/* Nested Comments */
.children {
    list-style: none;
    padding-left: 40px;
    margin-top: 30px;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-notes {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: grid;
    gap: 5px;
}

.comment-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: white;
    color: #1f2937;
    transition: border-color 0.2s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #00b3e3;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 10px;
}

.form-submit input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #00b3e3;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form-submit input[type="submit"]:hover {
    background: #0099cc;
}

/* Responsive */
@media (max-width: 768px) {
    .children {
        padding-left: 20px;
    }

    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        grid-template-columns: 1fr;
    }
}
