/* 
 * Journal of Social Science Perspectives (JSSP) - Text Justification Stylesheet
 * Version: 1.0
 * Description: Justifies text, abstracts, and references only. Excludes custom blocks.
 */

/* ---------- JUSTIFIED TEXT ---------- */
/* Justify all paragraphs except those inside 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) {
    text-align: justify;
    text-justify: inter-word;
}

/* ---------- JUSTIFIED ABSTRACT ---------- */
/* Justify abstract text except inside custom blocks */
.abstract:not(.custom-block, .alert),
.article-abstract:not(.custom-block, .alert),
[class*="abstract"]:not(.custom-block, .alert) {
    text-align: justify;
    text-justify: inter-word;
}

/* ---------- JUSTIFIED REFERENCES ---------- */
/* Justify references section and all its content except inside custom blocks */
.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;
    text-justify: inter-word;
}

.references p:not(.custom-block p, .alert p),
.ref-list p:not(.custom-block p, .alert p),
.bibliography p:not(.custom-block p, .alert p),
[class*="reference"] p:not(.custom-block p, .alert p),
.references li:not(.custom-block li, .alert li) {
    text-align: justify;
    text-justify: inter-word;
}