/* ==========================================================================
   ACADEMIC TEXT JUSTIFICATION & TYPOGRAPHY SYSTEM
   ========================================================================== */

/* 1. Global Justification for Core Article/Journal Elements */
.obj_journal_summary .description,
.obj_article_summary .description,
.journal-card p,
.main-content-area p,
.pkp_block p {
  text-align: justify !important;
  text-justify: inter-word !important; /* Spaced evenly by words instead of letters */
  line-height: 1.65 !important;        /* Prevents dense, overlapping text blocks */
  hyphens: auto;                       /* Auto-hyphenates long technical words if needed */
}

/* 2. Fix for Abstract Pages (Ensuring full paragraph alignment) */
.page_article .abstract,
.article-abstract {
  text-align: justify !important;
  text-justify: inter-word !important;
  margin-bottom: 20px;
}

/* 3. Mobile Fluid Word Wrapping (Prevents broken layout gaps) */
@media (max-width: 768px) {
  .obj_journal_summary .description,
  .obj_article_summary .description,
  .abstract {
    text-align: justify !important;
    word-break: break-word; /* Soft breaks words on small screens to keep layout uniform */
  }
}