/* Comments Styles */

.comments-area {
    margin-top: 60px;
    padding: 40px 0;
    background-color: #f8f9fa;
}

.comments-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.comments-title span {
    color: #007bff;
}


/* Comment List */

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

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

.comment-list li {
    margin-bottom: 30px;
}

.comment {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-body {
    position: relative;
}

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

.comment-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #e9ecef;
}

.comment-author .fn {
    font-weight: 600;
    color: #333;
    font-style: normal;
    text-decoration: none;
}

.comment-author .fn:hover {
    color: #007bff;
}

.comment-meta {
    margin-left: auto;
}

.comment-meta .comment-metadata {
    font-size: 12px;
    color: #666;
}

.comment-meta .comment-metadata a {
    color: #666;
    text-decoration: none;
}

.comment-meta .comment-metadata a:hover {
    color: #007bff;
}

.comment-content {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.comment-content p {
    margin-bottom: 10px;
}

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

.reply {
    text-align: right;
}

.reply .comment-reply-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reply .comment-reply-link:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}


/* Comment Navigation */

.comment-navigation {
    margin-bottom: 30px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    display: inline-block;
    margin: 0 10px;
}

.comment-navigation a {
    padding: 8px 16px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.comment-navigation a:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}


/* Comment Form */

.comment-respond {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.comment-reply-title small {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

.comment-reply-title small a {
    color: #007bff;
    text-decoration: none;
}

.comment-reply-title small a:hover {
    text-decoration: underline;
}

.comment-notes {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.comment-notes .required {
    color: #dc3545;
    font-weight: 600;
}


/* Form Fields */

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #007bff;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #007bff;
}


/* Submit Button */

.form-submit {
    text-align: center;
}

.form-submit input[type="submit"] {
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}


/* No Comments */

.no-comments {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Pingbacks and Trackbacks */

.pingback {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.pingback .comment-author {
    margin-bottom: 10px;
}

.pingback .comment-author .fn {
    font-weight: 600;
    color: #007bff;
}

.pingback .comment-content {
    margin-bottom: 10px;
    font-style: italic;
    color: #666;
}


/* Responsive Design */

@media (max-width: 768px) {
    .comments-area {
        margin-top: 40px;
        padding: 30px 0;
    }
    .comment {
        padding: 20px;
    }
    .comment-respond {
        padding: 25px;
    }
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }
    .comment-author .avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .comment-meta {
        margin-left: 0;
        margin-top: 10px;
    }
    .reply {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .comments-title {
        font-size: 20px;
    }
    .comment-reply-title {
        font-size: 18px;
    }
    .comment,
    .comment-respond {
        padding: 15px;
    }
    .comment-form-author input,
    .comment-form-email input,
    .comment-form-url input,
    .comment-form-comment textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    .form-submit input[type="submit"] {
        width: 100%;
        padding: 15px;
    }
}