/* =====================================
   Global Text Justification (OJS Safe)
   ===================================== */
body p,
body div,
body td,
body li {
    text-align: justify;
    unicode-bidi: embed;
}

/* =====================================
   Headings Justification (Except Footer)
   ===================================== */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    text-align: justify;
    font-weight: bold !important;
}

/* =====================================
   H1 Style – Color & Responsive Size
   ===================================== */
h1,
body h1,
.pkp_structure_main h1 {
    color: #147C74 !important;
    font-size: 1.4rem !important; /* approx 14px on base font */
}

/* =====================================
   H2 Style – Color & Responsive Size
   ===================================== */
h2,
body h2,
.pkp_structure_main h2,
.pkp_article_content h2 {
    color: #147C74 !important;
    font-size: 1.2rem !important; /* approx 12px */
}

/* =====================================
   H3 Style – Responsive Size
   ===================================== */
h3,
body h3,
.pkp_structure_main h3,
.pkp_article_content h3 {
    font-size: 1.1rem !important;
}

/* =====================================
   H4 Style – Responsive Size
   ===================================== */
h4,
body h4,
.pkp_structure_main h4,
.pkp_article_content h4 {
    font-size: 1rem !important;
}

/* =====================================
   H5 Style – Responsive Size
   ===================================== */
h5,
body h5,
.pkp_structure_main h5,
.pkp_article_content h5 {
    font-size: 0.95rem !important;
}

/* =====================================
   H6 Style – Responsive Size
   ===================================== */
h6,
body h6,
.pkp_structure_main h6,
.pkp_article_content h6 {
    font-size: 0.9rem !important;
}

/* =====================================
   Exclude Footer from Justification
   ===================================== */
footer,
.pkp_footer {
    text-align: initial;
}
