/**
 * wpDiscuz — intégration layout thème (articles / tests).
 */

body.single-post .single-article-page .single-article .single-article-comments,
body.single-review .single-review-comments,
body.single-post .play4geek-wpdiscuz-surface,
body.single-review .play4geek-wpdiscuz-surface {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.single-post .single-article-page .single-article .single-article-comments #comments,
body.single-post .single-article-page .single-article .single-article-comments #comments #wpdcom,
body.single-review .single-review-comments #comments,
body.single-review .single-review-comments #comments #wpdcom,
body.single-post .play4geek-wpdiscuz-surface #wpdcom,
body.single-review .play4geek-wpdiscuz-surface #wpdcom {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.single-post .single-article-page .single-article .single-article-comments #comments {
    margin: 1rem 0 2rem !important;
}

.single-article-page .single-article .single-article-comments .comments-area,
.single-article-page .single-article .single-article-comments #comments,
.single-article-page .single-article .single-article-comments #wpdcom,
.single-article-page .single-article .single-article-comments .wpdiscuz_unauth,
.single-article-page .single-article .single-article-comments .wpd-thread-wrapper,
.single-article-page .single-article .single-article-comments .wpd-comment-form-wrap,
.single-article-page .single-article .single-article-comments .wpd-form-wrapper,
.single-article-page .single-article .single-article-comments .wpd-thread-list,
.single-review-page .single-review-comments .comments-area,
.single-review-page .single-review-comments #comments,
.single-review-page .single-review-comments #wpdcom,
.single-review-page .single-review-comments .wpd-form-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.single-article-page .single-article .single-article-comments .wpdiscuz-textarea-wrap textarea,
.single-review-page .single-review-comments .wpdiscuz-textarea-wrap textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#wpdcom [id^="wpd-editor-wraper-"] {
    display: block !important;
    visibility: visible !important;
    min-height: 120px;
}

#wpdcom [id^="wpd-editor-wraper-"] [id^="wpd-editor-toolbar-"],
#wpdcom [id^="wpd-editor-wraper-"] .ql-toolbar.ql-snow {
    display: block !important;
    visibility: visible !important;
}

#wpdcom [id^="wpd-editor-wraper-"]:has(.ql-editor) textarea.wc_comment.wpd-field {
    display: none;
}

#wpdcom .ql-toolbar.ql-snow button,
#wpdcom [id^="wpd-editor-toolbar-"] button {
    width: auto;
    min-width: 28px;
    min-height: 28px;
}

#wpdcom .ql-toolbar.ql-snow button svg,
#wpdcom [id^="wpd-editor-toolbar-"] button svg {
    display: inline-block;
    width: 18px;
    height: 18px;
}

/* FA5 wpDiscuz (.fas) — isolé de FA6 (header .fa-solid) */
#wpdcom .fa,
#wpdcom .fas,
#wpdcom .far,
#wpdcom .fab,
#wpdcom .fad,
#wpdcom .fal,
#wpdcom i[class*="fa-"] {
    font-family: "Font Awesome 5 Free" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

#wpdcom .far,
#wpdcom .fab {
    font-weight: 400 !important;
}

#wpdcom .fab {
    font-family: "Font Awesome 5 Brands" !important;
}

#wpdcom .fa,
#wpdcom .fas,
#wpdcom .fad,
#wpdcom .fal {
    font-weight: 900 !important;
}
