/* 
 * Pakistan Journal of Clinical Research (PJCR) - Homepage Article Block & Justification
 * Version: 1.4
 * Description: Displays "Full Open Access" text in orange above the top-left side of every article title.
 *              Justified all text. Excludes custom blocks. Removed background block shades.
 *              Updated: Removed uppercase forcing to keep title-case display.
 */

/* ---------- JUSTIFIED TEXT (EXCLUDING CUSTOM BLOCKS) ---------- */
p:not(.custom-block p, .alert p),
.article p:not(.custom-block p, .alert p),
.item p:not(.custom-block p, .alert p),
.section p:not(.custom-block p, .alert p),
main p:not(.custom-block p, .alert p),
.entry-content p:not(.custom-block p, .alert p),
.page-content p:not(.custom-block p, .alert p),
[class*="article"] p:not(.custom-block p, .alert p),
.abstract:not(.custom-block, .alert),
.article-abstract:not(.custom-block, .alert),
[class*="abstract"]:not(.custom-block, .alert),
.references:not(.custom-block, .alert),
.ref-list:not(.custom-block, .alert),
.bibliography:not(.custom-block, .alert),
.citation-list:not(.custom-block, .alert),
[class*="reference"]:not(.custom-block, .alert) {
    text-align: justify;
}

/* ---------- HOMEPAGE ARTICLE SUMMARY LAYOUT ---------- */
/* Standard layout spacing without background color styling */
.obj_article_summary:not(.custom-block, .alert),
.article_summary:not(.custom-block, .alert),
.toc_article:not(.custom-block, .alert),
.item.article:not(.custom-block, .alert),
.articles .obj_article_summary:not(.custom-block, .alert) {
    padding: 0.5rem 0;
    margin-bottom: 2rem;
}

/* ---------- ARTICLE TITLE & OPEN ACCESS TEXT ---------- */
/* Injects "Full Open Access" text slightly above the top left side of the title */
.obj_article_summary .title:not(.custom-block, .alert)::before,
.article_summary .title:not(.custom-block, .alert)::before,
.toc_article .title:not(.custom-block, .alert)::before {
    content: "Full Open Access";
    display: block;
    color: #f3702b; /* Professional Open Access orange */
    font-size: 11px; /* Decreased by 2px from 13px */
    font-weight: normal; /* Removed bold styling */
    letter-spacing: 0.8px;
    margin-bottom: 0.3rem;
}

.obj_article_summary .title:not(.custom-block, .alert),
.article_summary .title:not(.custom-block, .alert),
.toc_article .title:not(.custom-block, .alert) {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* ---------- DOI INSIDE THE BLOCK (No extra styling) ---------- */
.obj_article_summary .doi:not(.custom-block, .alert),
.article_summary .doi:not(.custom-block, .alert),
.toc_article .doi:not(.custom-block, .alert) {
    margin: 0.3rem 0;
}

/* ---------- AUTHOR INSIDE THE BLOCK (No extra styling) ---------- */
.obj_article_summary .authors:not(.custom-block, .alert),
.article_summary .authors:not(.custom-block, .alert),
.toc_article .authors:not(.custom-block, .alert) {
    margin: 0.3rem 0;
    font-style: normal;
}