body:not(.single-topic):not(.single-forum) h1.entry-title {
    display: none !important;
}

body.single-topic h1.entry-title,
body.single-forum h1.entry-title {
    display: block !important;
    color: #fff5f5 !important;
}

/* Dark styling for EazyDocs article pages only */
body.single-docs {
    /* Main backgrounds */
    --body_bg: transparent;
    --bs-white: #321919;

    /* Main text and headings */
    --p_color: #eadfdf;
    --secondary_color: #f7eeee;

    /* EazyDocs' grayscale palette, remapped for a dark page */
    --black_25: #301919;
    --black_50: #4a2929;
    --black_75: #563333;
    --black_100: #684545;
    --black_150: #7d5a5a;
    --black_200: #987777;
    --black_300: #b79d9d;
    --black_350: #c3adad;
    --black_400: #cfbebe;
    --black_500: #d9cccc;
    --black_600: #e2d8d8;
    --black_700: #ebe4e4;
    --black_750: #f0eaea;
    --black_800: #f5f0f0;
    --black_900: #ffffff;

    --border_on_white: #765151;
}

/* Article body */
body.single-docs .doc-post-content,
body.single-docs .doc-scrollable {
    color: #eadfdf !important;
}

/* Article title and headings */
body.single-docs .doc-middle-content h1,
body.single-docs .doc-middle-content h2,
body.single-docs .doc-middle-content h3,
body.single-docs .doc-middle-content h4,
body.single-docs .doc-middle-content h5,
body.single-docs .doc-middle-content h6 {
    color: #fff5f5 !important;
}

/* Paragraphs and lists */
body.single-docs .doc-post-content p,
body.single-docs .doc-post-content li {
    color: #eadfdf !important;
}

/* Links */
body.single-docs .doc-post-content a {
    color: #df685b !important;
}

/* Reading time, view count, and other metadata */
body.single-docs .doc-meta,
body.single-docs .ezd-meta {
    color: #cbbaba !important;
}

/* =========================================
   EazyDocs archive / documentation cards
   ========================================= */

.eazydocs_shortcode .categories_guide_item {
    background: rgba(49, 24, 24, 0.94) !important;
    border: 1px solid #765151 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}

/* Documentation title */
.eazydocs_shortcode .doc_tag_title .title {
    color: #fff5f5 !important;
}

/* Topic-count badge */
.eazydocs_shortcode .ezd-badge {
    background: #6c3b3b !important;
    color: #f7eeee !important;
		align-content: center !important;
}

/* Article names */
.eazydocs_shortcode .article_list li,
.eazydocs_shortcode .article_list a {
    color: #eadfdf !important;
}

/* Article links on hover */
.eazydocs_shortcode .article_list a:hover {
    color: #df685b !important;
}

/* Small document icons beside the article names */
.eazydocs_shortcode .article_list li::before {
    color: #e3c764 !important;
}

/* View Details button */
.eazydocs_shortcode .doc_border_btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: #765151 !important;
    color: #e58b82 !important;
}

.eazydocs_shortcode .doc_border_btn:hover {
    background: #8f352b !important;
    border-color: #8f352b !important;
    color: #ffffff !important;
}

/* =========================================
   EazyDocs child-document featured images
   ========================================= */

body.single-docs .documentation_item .icon {
    width: 100px;
    height: 100px;
    flex: 0 0 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: transparent;
}

/* Center and contain the actual image */
body.single-docs .documentation_item .icon img {
    display: block;
    width: 100px !important;
    height: 100px !important;
    max-width: 100% !important;

    object-fit: contain;
    object-position: center;

    margin: 0 auto !important;
}

.eazydocs_shortcode .doc-top {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
}

.eazydocs_shortcode .doc-top > img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 18px !important;
}

/* ==================================================
   EazyDocs featured images — final sizing/alignment
   ================================================== */


/* ----------------------------------
   1. IMAGE ON THE DOCS ARCHIVE CARD
   ---------------------------------- */

.eazydocs_shortcode
.categories_guide_item
.doc-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    text-align: center !important;
}

/* The actual archive-card featured image */
.eazydocs_shortcode
.categories_guide_item
.doc-top > img {
    display: block !important;

    width: 100px !important;
    height: 100px !important;

    min-width: 100px !important;
    max-width: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;

    flex: 0 0 140px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 auto 0px !important;
}

/* Center the title/badge underneath the image */
.eazydocs_shortcode
.categories_guide_item
.doc_tag_title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}


/* -----------------------------------------
   2. MAIN IMAGE ON THE ACTUAL DOC HOME PAGE
   ----------------------------------------- */

body.single-docs
.doc-scrollable.editor-content > img.mb-3,

body.single-docs
.doc-scrollable.editor-content > img.wp-post-image {
    display: block !important;

    width: 160px !important;
    height: 160px !important;

    max-width: 100% !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 45px auto 55px !important;
}


/* ------------------------------------
   3. CHILD DOC TILES / FOLDER REPLACERS
   ------------------------------------ */

body.single-docs
.documentation_item .icon {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;

    flex: 0 0 72px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 8px !important;
}

/*
EazyDocs normally caps these images at 32px,
so max-width must also be overridden.
*/
body.single-docs
.documentation_item .icon img {
    display: block !important;

    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: auto !important;
}

/* ==========================================
   CHANGELoger Release Hub - Dark Theme
   ========================================== */


/* Main plugin wrapper */
.cha-release-hub,
.cha-hub-content,
.cha-hub-panel,
.cha-changelog-container {
    background: transparent !important;
}


/* Individual release cards */
.cha-changelog-container .cha-release-item {
    background: rgba(44, 24, 24, 0.88) !important;

    border-color: #765151 !important;
    color: #eadfdf !important;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
}


/* Main headings inside releases */
.cha-release-item h1,
.cha-release-item h2,
.cha-release-item h3,
.cha-release-item h4,
.cha-release-item h5,
.cha-release-item h6 {
    color: #fff5f5 !important;
}


/* Normal body text */
.cha-release-item p,
.cha-release-item li {
    color: #eadfdf !important;
}


/* Accordion/group headings such as New / Fixes */
.cha-release-item button,
.cha-release-item summary {
    color: #f4eaea !important;
}


/* Links */
.cha-release-item a {
    color: #df786d !important;
}

.cha-release-item a:hover {
    color: #ff9a8f !important;
}


/* Dividing lines */
.cha-release-item hr {
    border-color: #765151 !important;
}

/* ==========================================
   Changeloger - expanded change sections
   ========================================== */

/* Entire New / Fixes / Changes accordion section */
.cha-release-item .cha-change-section {
    background: transparent !important;
    border-color: #765151 !important;
}

/* Clickable "New (9)", "Fixes (3)", etc. row */
.cha-release-item .cha-change-toggle {
    background: transparent !important;
    color: #fff5f5 !important;
    border-color: #765151 !important;
}

/* Expanded contents — THIS is the big white box */
.cha-release-item .cha-change-items {
    background: rgba(35, 18, 18, 0.65) !important;
    color: #eadfdf !important;

    border-color: #765151 !important;
    border-radius: 8px !important;
}

/* Sometimes the UL itself gets a background */
.cha-release-item .cha-change-items ul {
    background: transparent !important;
}

/* Individual changelog entries */
.cha-release-item .cha-change-items li {
    color: #eadfdf !important;
}

/* Little bullet dots */
.cha-release-item .cha-change-items li::before {
    color: var(--changeloger_brand_color) !important;
    background-color: var(--changeloger_brand_color) !important;
}

/* Number next to section title, like (9) */
.cha-release-item .cha-change-toggle span {
    color: #cdbbbb !important;
}

/* Accordion arrow */
.cha-release-item .cha-change-toggle svg,
.cha-release-item .cha-change-toggle i {
    color: #eadfdf !important;
    fill: #eadfdf !important;
}