/* =========================================================
   JP TYPOGRAPHY IMPROVEMENT V1
   Scope: Jurnal Penelitian only
   Purpose: Improve readable font sizes
   ========================================================= */

/* Latest Articles: authors and metadata */
body.pkp_page_index.pkp_op_index
.jp-latest-articles-section
.jp-clean-article-authors {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

body.pkp_page_index.pkp_op_index
.jp-latest-articles-section
.jp-clean-article-meta,
body.pkp_page_index.pkp_op_index
.jp-latest-articles-section
.jp-clean-meta-item,
body.pkp_page_index.pkp_op_index
.jp-latest-articles-section
.jp-clean-meta {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Original article metadata */
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .authors,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .meta,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .summary_meta,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .pages,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .published,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .doi,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item [class*="doi"] {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* PDF action */
body.pkp_page_index.pkp_op_index
.jp-latest-articles-section
.jp-clean-pdf,
body.pkp_page_index.pkp_op_index
.jp-latest-article-item .galley-link {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Latest Issue */
body.pkp_page_index.pkp_op_index
.jp-latest-issue-date {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.pkp_page_index.pkp_op_index
.jp-latest-issue-description {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

body.pkp_page_index.pkp_op_index
.jp-latest-issue-actions > a,
body.pkp_page_index.pkp_op_index
.jp-latest-issue-primary,
body.pkp_page_index.pkp_op_index
.jp-section-heading > a {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Journal Profile */
body.pkp_page_index.pkp_op_index
.jp-journal-profile-table {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

body.pkp_page_index.pkp_op_index
.jp-profile-note {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Sidebar text */
body.pkp_page_index.pkp_op_index
#sidebar .pkp_block .content {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

body.pkp_page_index.pkp_op_index
#sidebar #customblock-About a,
body.pkp_page_index.pkp_op_index
#sidebar #customblock-about a {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.pkp_page_index.pkp_op_index
#sidebar .jp-journal-info-label,
body.pkp_page_index.pkp_op_index
#sidebar .jp-journal-info-value,
body.pkp_page_index.pkp_op_index
#sidebar #customblock-ISSN
.jp-journal-info-row:nth-child(3)
.jp-journal-info-value {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Sidebar supporting copy and actions */
body.pkp_page_index.pkp_op_index
#sidebar .block_make_submission .content::before,
body.pkp_page_index.pkp_op_index
#sidebar .block_make_submission_link,
body.pkp_page_index.pkp_op_index
#sidebar #customblock-counter .content,
body.pkp_page_index.pkp_op_index
#sidebar #customblock-counter .content::before,
body.pkp_page_index.pkp_op_index
#sidebar #customblock-counter a,
body.pkp_page_index.pkp_op_index
#sidebar #customblock-ISSN .content::after {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Footer */
.jp-global-footer .jp-footer-text,
.jp-global-footer .jp-footer-copy p,
.jp-global-footer .jp-footer-links a {
    font-size: 14px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
}

/* Mobile: preserve readability and wrapping */
@media (max-width: 700px) {
    body.pkp_page_index.pkp_op_index
    .jp-latest-articles-section
    .jp-clean-article-authors {
        font-size: 15px !important;
    }

    body.pkp_page_index.pkp_op_index
    .jp-latest-articles-section
    .jp-clean-meta,
    body.pkp_page_index.pkp_op_index
    .jp-latest-articles-section
    .jp-clean-meta-item,
    body.pkp_page_index.pkp_op_index
    .jp-latest-articles-section
    .jp-clean-pdf {
        font-size: 14px !important;
    }
}

/* JP TYPOGRAPHY IMPROVEMENT V1 END */

/* SITE-WIDE EXTENSION V2 */

/* ===================================================
   JURNAL PENELITIAN
   SITE-WIDE TYPOGRAPHY V1
   Scope controlled by journal-specific CSS loading
   =================================================== */

/* Core reading typography */
.pkp_structure_main p,
.pkp_structure_main li,
.pkp_structure_main blockquote {
    font-size: 16px;
    line-height: 1.65;
}

/* General page headings */
.pkp_structure_main h1 {
    line-height: 1.3;
}

.pkp_structure_main h2,
.pkp_structure_main h3 {
    line-height: 1.4;
}

/* Journal page textual content */
.page_about,
.page_submissions,
.page_privacy,
.page_contact,
.page_editorial_team,
.page_announcement {
    font-size: 16px;
    line-height: 1.65;
}

/* Article title and summaries */
.article-summary .article_name,
.article-summary .media-heading,
.issue-toc .article-summary h3 {
    font-size: 18px !important;
    line-height: 1.45 !important;
}

/* Article metadata */
.article-summary .authors,
.article-summary .author,
.article-summary .meta,
.article-summary .pages,
.article-summary .published,
.article-summary .doi,
.article-details .doi,
.article-details .authors,
.article-details .date-list {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* Full article detail */
.article-details p,
.article-details li,
.article-abstract,
.article-references,
.article-more-details {
    font-size: 16px;
    line-height: 1.65;
}

/* Tables */
.pkp_structure_main table td,
.pkp_structure_main table th {
    font-size: 15px;
    line-height: 1.55;
}

/* Navigation */
.navbar-nav > li > a,
.dropdown-menu > li > a {
    font-size: 15px;
    line-height: 1.5;
}

/* Forms */
.pkp_structure_main label,
.pkp_structure_main input,
.pkp_structure_main select,
.pkp_structure_main textarea,
.pkp_structure_main button {
    font-size: 15px;
    line-height: 1.5;
}

/* Latest Articles custom layout */
.jp-latest-article-item .jp-clean-article-authors {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.jp-latest-article-item .jp-clean-meta,
.jp-latest-article-item .jp-clean-meta-item,
.jp-latest-article-item .authors,
.jp-latest-article-item .meta,
.jp-latest-article-item .pages,
.jp-latest-article-item .published,
.jp-latest-article-item .doi,
.jp-latest-article-item [class*="doi"] {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.jp-latest-article-item .jp-clean-pdf,
.jp-latest-article-item .galley-link {
    font-size: 14px !important;
}

/* Latest Issue */
.jp-latest-issue-date,
.jp-latest-issue-actions > a,
.jp-latest-issue-primary,
.jp-section-heading > a {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.jp-latest-issue-description {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* Journal Profile */
.jp-journal-profile-table,
.jp-journal-profile-table td,
.jp-journal-profile-table th {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.jp-profile-note {
    font-size: 14px !important;
}

/* Sidebar */
#sidebar .pkp_block .content,
.pkp_structure_sidebar .pkp_block .content {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

#sidebar #customblock-About a,
#sidebar #customblock-about a,
#sidebar .jp-journal-info-label,
#sidebar .jp-journal-info-value,
#sidebar #customblock-ISSN
.jp-journal-info-row:nth-child(3)
.jp-journal-info-value {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

#sidebar .block_make_submission .content::before,
#sidebar .block_make_submission_link,
#sidebar #customblock-counter .content,
#sidebar #customblock-counter .content::before,
#sidebar #customblock-counter a,
#sidebar #customblock-ISSN .content::after {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Footer */
.jp-global-footer .jp-footer-text,
.jp-global-footer .jp-footer-copy p,
.jp-global-footer .jp-footer-links a {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .pkp_structure_main p,
    .pkp_structure_main li {
        font-size: 16px;
        line-height: 1.6;
    }

    .article-summary .article_name,
    .article-summary .media-heading {
        font-size: 17px !important;
    }

    .pkp_structure_main table {
        max-width: 100%;
    }

    .jp-latest-article-item .jp-clean-article-authors {
        font-size: 15px !important;
    }
}

/* JP TYPOGRAPHY SITEWIDE V1 END */
