/* Additions for features that did not exist on the WordPress site (comments moderation, captcha). */

/* Honeypot field: hidden from people, visible to naive bots */
#comments .comment-form .comment-form-hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#comments .comment-form .comment-form-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#comments .comment-form .comment-form-captcha .captcha-image {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#comments .comment-form .comment-form-captcha img {
    border-radius: 6px;
    border: 1px solid #dfe3ea;
    background: #f3f6fb;
}

#comments .comment-form .comment-form-captcha .captcha-refresh {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #dfe3ea;
    border-radius: 50%;
    background: #fff;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

#comments .comment-form .comment-form-captcha input {
    flex: 1 1 180px;
    max-width: 260px;
}

#comments .comment-awaiting-moderation {
    padding: 12px 16px;
    border-radius: 6px;
    background: #e9f7ef;
    color: #1e6b3a;
}

#comments .comment-form-errors {
    padding: 12px 16px;
    border-radius: 6px;
    background: #fdecea;
    color: #a12622;
}

#comments .comment-form-errors ul {
    margin: 0;
    padding-left: 18px;
}

/* Initial-letter avatar (replaces Gravatar, which would be an external request) */
#comments .comment-list .avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0d4ea6;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.search-results .page-header .page-title span {
    color: var(--e-global-color-primary, inherit);
}
