/* MILLATI stylesheet: original custom CSS preserved, page frame and shadow added. */
.vertical-menu {
width: 100%; /* lebar dari menu, saran saya tidak perlu di ubah */
}

.vertical-menu a {
background-color: #f2a11a; /* Warna pada bagian body menu */
color: black; /* Warna tulisan */
display: block;
padding: 12px;
text-decoration: none;
font-family: arial; /*Jenis font*/
}

.vertical-menu a:hover {
background-color: #ccc; /* Warna efek yang keluar ketika di arahkan mouse */
}

.vertical-menu a.active {
background-color: #f28b1a; /* Warna pada header menu */
color: white; /*Warna font*/
font-family: arial; /*Jenis font*/
}

pkp_structure_head {
  background: #f28b1a;
}
body {
  font-family: tahoma,geneva,sans-serif;
}
.obj_article_details .abstract {
    text-align: justify;
}
.pkp_footer_content {
  float: left;
  width: 70%;  padding-top: 10px;
  padding-bottom:10px;
}
.pkp_brand_footer {
  float: right;
  width: 30%;
  padding-bottom:10px;
  padding-top: 10px;
}
.pkp_structure_footer_wrapper {
	background: #e8ebef;
	border-bottom:@double solid; 
	border-bottom-color:#595959;
}
.pkp_site_name .is_img img {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
}
/* =========================================================
   MILLATI — OJS 3.3.0.11
   Page frame inspired by the Quran Tafsir journal reference.
   - Removes the full-viewport horizontal line below the header.
   - Adds subtle vertical edges and a raised shadow around the page.
   - Keeps the existing main/sidebar divider.
   - Does not alter navigation positioning or click areas.
   ========================================================= */

html,
body {
    background-color: #f7f7f7;
}

/* The OJS header border normally stretches across the entire viewport. */
.pkp_structure_head {
    border-bottom: none !important;
}

/* Frame the whole journal page so the edges align with the header. */
.pkp_structure_page {
    width: calc(100% - 24px);
    max-width: 1240px;
    margin: 20px auto !important;
    background-color: #ffffff;
    border-left: 1px solid #e3e6e8;
    border-right: 1px solid #e3e6e8;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
}

/* The new page-frame border replaces the Default Theme's left column line.
   Keep ::after because it separates the main article column from the sidebar. */
@media screen and (min-width: 768px) {
    .pkp_structure_main::before {
        display: none !important;
    }
}

/* Keep the page flush and shadow-free on small mobile screens. */
@media screen and (max-width: 767px) {
    .pkp_structure_page {
        width: 100%;
        margin: 0 auto !important;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }
}

/* === BEGIN: Journal Profile grey layout (About the Journal only) === */
/* ===============================================================
   MILLATI — Journal Profile, OJS 3.3 Default Theme
   APPEND this block to the END of the EXISTING Journal Style Sheet.
   Do not upload this snippet by itself as a replacement stylesheet.
   Works with OJS-permitted <dl>, <dt>, <dd> in the Masthead About field.
   Applies ONLY to the public About the Journal page.
   =============================================================== */

.pkp_structure_main .page_about dl {
    display: grid;
    grid-template-columns: minmax(165px, 32%) minmax(0, 1fr);
    gap: 0;
    margin: 18px 0 24px;
    padding: 0;
    background: #f0f0f0;
    border: 1px solid #e4e7eb;
    border-radius: 3px;
    overflow: hidden;
    box-sizing: border-box;
}

.pkp_structure_main .page_about dl > dt,
.pkp_structure_main .page_about dl > dd {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 11px 14px;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.55;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.pkp_structure_main .page_about dl > dt {
    font-weight: 500;
    color: #222;
}

.pkp_structure_main .page_about dl > dd {
    font-weight: 600;
    color: #222;
}

.pkp_structure_main .page_about dl > dt:last-of-type,
.pkp_structure_main .page_about dl > dd:last-of-type {
    border-bottom: 0;
}

/* Use a single column for comfortable reading on phones. */
@media screen and (max-width: 650px) {
    .pkp_structure_main .page_about dl {
        grid-template-columns: minmax(0, 1fr);
    }
    .pkp_structure_main .page_about dl > dt {
        padding-bottom: 1px;
        border-bottom: 0;
    }
    .pkp_structure_main .page_about dl > dd {
        padding-top: 2px;
        padding-bottom: 13px;
    }
}
/* === END: Journal Profile grey layout === */


/* ================================================================
   MILLATI — Homepage Journal Summary refinements (OJS 3.3.0.11)
   - Hide the visual "About the Journal" heading on the HOMEPAGE only.
   - Preserve the heading for screen-reader navigation.
   - Justify ONLY the homepage Journal Summary paragraphs on wider screens.
   - Do not affect the separate About page, Journal Profile, navigation,
     header, sidebar, issue/article pages, or mobile paragraph alignment.
   Official OJS 3.3 template: .page_index_journal .homepage_about > h2
   ================================================================ */

.page_index_journal .homepage_about > h2 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Keep natural spacing when the visible heading is absent. */
.page_index_journal .homepage_about {
    padding-top: 22px;
}

/* Improve readability, without changing article or About-page text. */
.page_index_journal .homepage_about p {
    line-height: 1.7;
}

/* Justification looks better on wider columns than narrow phone screens. */
@media screen and (min-width: 768px) {
    .page_index_journal .homepage_about p {
        text-align: justify;
        text-justify: inter-word;
    }
}

/* Prevent large word gaps on small mobile screens. */
@media screen and (max-width: 767px) {
    .page_index_journal .homepage_about p {
        text-align: left;
    }
}

/* ==============================================================
   MILLATI — Privacy Statement paragraph alignment
   OJS 3.3.0.11 Default Theme
   OJS's built-in privacy.tpl wraps the policy in .page_privacy.
   This rule ONLY changes Privacy Statement body paragraphs;
   it does not touch headings, lists, menus, articles or other pages.
   ================================================================ */

.page_privacy p {
    line-height: 1.75;
    overflow-wrap: break-word;
}

@media screen and (min-width: 768px) {
    .page_privacy p {
        text-align: justify;
        text-justify: inter-word;
    }
}

@media screen and (max-width: 767px) {
    .page_privacy p {
        text-align: left;
    }
}

/* ====================================================================
   MILLATI — SITE-WIDE CONTENT PARAGRAPH JUSTIFICATION
   OJS 3.3.0.11 | Default Theme | October 2026

   Apply one consistent rule to substantive paragraphs inside the
   public journal main-content column. Covers About pages, policies,
   submissions, homepage summaries, issue descriptions, and article
   abstracts when rendered as HTML paragraphs.

   Not applied to the menu/header, sidebar, footer, dashboard/editor,
   or PDF content. Mobile stays left aligned to avoid large word gaps.
   ==================================================================== */

/* Desktop and tablets: align the reading paragraphs to both margins. */
@media screen and (min-width: 768px) {
    .pkp_structure_main p,
    .pkp_structure_main .obj_article_details .abstract {
        text-align: justify !important;
        text-justify: inter-word;
        overflow-wrap: break-word;
    }
}

/* Phones: left alignment is more legible on narrow columns. */
@media screen and (max-width: 767px) {
    .pkp_structure_main p,
    .pkp_structure_main .obj_article_details .abstract {
        text-align: left !important;
        overflow-wrap: break-word;
    }
}

/* Harmonize paragraph line spacing throughout the public content. */
.pkp_structure_main p {
    line-height: 1.7;
}

/* ====================================================================
   MILLATI — FOR AUTHORS SIDEBAR
   OJS 3.3.0.11
   Compact typography | Sky-blue panels | Orange icons and arrows
   Append-only section: original master CSS above is preserved.
   ==================================================================== */

.millati-author-panel {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin: 0 0 20px;
    background: #ffffff;
    border: 1px solid #dce8ed;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 120, 170, 0.05);
    font-family: Arial, Helvetica, sans-serif;
}

/* Compact sky-blue heading */
.millati-author-panel .millati-author-panel__header {
    box-sizing: border-box;
    padding: 14px 13px;
    margin: 0 0 5px;
    background: #eaf8ff;
    border: 1px solid #d7f0fc;
    border-radius: 11px;
}

.millati-author-panel .millati-author-panel__header h3 {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #153f53 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3;
    text-transform: uppercase;
    border: 0 !important;
}

.millati-author-panel .millati-author-panel__header p {
    margin: 0 !important;
    color: #596b75 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11.5px !important;
    line-height: 1.5;
}

/* Link rows */
.millati-author-panel .millati-author-panel__item {
    display: flex;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    padding: 13px 3px;
    margin: 0;
    color: #173b4c !important;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    border-bottom: 1px solid #e8eef1;
    border-radius: 6px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.millati-author-panel .millati-author-panel__item:last-child {
    border-bottom: 0;
}

/* Icons are generated with Unicode glyphs so they work even when
   Font Awesome is unavailable or stripped by the OJS editor. */
.millati-author-panel .millati-author-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
    width: 21px;
    color: #f58220 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.millati-author-panel .millati-author-panel__icon--scope::before {
    content: "\25CE"; /* target */
}

.millati-author-panel .millati-author-panel__icon--guidelines::before {
    content: "\25A4"; /* document */
}

.millati-author-panel .millati-author-panel__icon--review::before {
    content: "\21C4"; /* exchange / review process */
}

.millati-author-panel .millati-author-panel__icon--submit::before {
    content: "\27A4"; /* submit arrow */
}

/* Link title and supporting information */
.millati-author-panel .millati-author-panel__text {
    flex: 1 1 auto;
    min-width: 0;
}

.millati-author-panel .millati-author-panel__text strong {
    display: block;
    margin: 0 0 4px;
    color: #173b4c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.millati-author-panel .millati-author-panel__text small {
    display: block;
    margin: 0;
    color: #65717a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}

/* Orange chevron */
.millati-author-panel .millati-author-panel__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 12px;
    width: 12px;
    color: #f58220 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.millati-author-panel .millati-author-panel__arrow::before {
    content: "\203A";
}

/* Hover and keyboard focus */
.millati-author-panel .millati-author-panel__item:hover,
.millati-author-panel .millati-author-panel__item:focus-visible {
    background: #f2faff;
    color: #007eaf !important;
    text-decoration: none !important;
}

.millati-author-panel .millati-author-panel__item:hover
.millati-author-panel__text strong {
    color: #007eaf;
}

.millati-author-panel .millati-author-panel__item:focus-visible {
    outline: 2px solid #00a8e8;
    outline-offset: 2px;
}

/* Submit Article — highlighted, but kept compact */
.millati-author-panel .millati-author-panel__submit {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 11px;
    color: #173b4c !important;
    background: #eaf8ff;
    border: 1px solid #d2eefb;
    border-radius: 11px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.millati-author-panel .millati-author-panel__submit .millati-author-panel__icon {
    margin-top: 1px;
    font-size: 18px;
}

.millati-author-panel .millati-author-panel__submit strong {
    display: block;
    margin: 0 0 4px;
    color: #173b4c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
}

.millati-author-panel .millati-author-panel__submit small {
    display: block;
    margin: 0;
    color: #65717a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}

.millati-author-panel .millati-author-panel__submit:hover,
.millati-author-panel .millati-author-panel__submit:focus-visible {
    background: #ddf4ff;
    border-color: #00a8e8;
    text-decoration: none !important;
}

.millati-author-panel .millati-author-panel__submit:focus-visible {
    outline: 2px solid #00a8e8;
    outline-offset: 2px;
}

/* Responsive spacing for narrow sidebars and phones */
@media screen and (max-width: 768px) {
    .millati-author-panel {
        padding: 9px;
        border-radius: 14px;
    }

    .millati-author-panel .millati-author-panel__header {
        padding: 12px;
    }

    .millati-author-panel .millati-author-panel__header h3 {
        font-size: 17px !important;
    }

    .millati-author-panel .millati-author-panel__header p {
        font-size: 11px !important;
    }

    .millati-author-panel .millati-author-panel__item {
        gap: 8px;
        padding: 12px 2px;
    }

    .millati-author-panel .millati-author-panel__text strong,
    .millati-author-panel .millati-author-panel__submit strong {
        font-size: 12.5px;
    }

    .millati-author-panel .millati-author-panel__text small,
    .millati-author-panel .millati-author-panel__submit small {
        font-size: 10.5px;
    }

    .millati-author-panel .millati-author-panel__submit {
        gap: 8px;
        padding: 11px 9px;
    }
}

/* MILLATI — sidebar icon and layout correction */

.millati-author-panel .millati-author-panel__icon::before,
.millati-author-panel .millati-author-panel__arrow::before {
    content: none !important;
}

.millati-author-panel .millati-author-panel__icon {
    color: #f58220 !important;
    flex: 0 0 25px;
    width: 25px;
    font-size: 19px;
    text-align: center;
}

.millati-author-panel .millati-author-panel__arrow {
    color: #f58220 !important;
    font-size: 25px;
    flex: 0 0 12px;
}

.millati-author-panel .millati-author-panel__submit
.millati-author-panel__text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.millati-author-panel .millati-author-panel__submit strong,
.millati-author-panel .millati-author-panel__submit small {
    display: block;
}
