/* =========================================================
   CURRENT ISSUE - MINIMALIST ARTICLE LIST
   ========================================================= */

/* Article row */
.obj_issue_toc .articles > li {
	margin: 0;
	padding: 18px 8px 20px 8px;

	background: transparent !important;

	border: 0;
	border-bottom: 1px solid #e1e8ec;

	border-radius: 0;

	box-shadow: none;

	transition: background-color 0.15s ease;
}


/* Subtle hover */
.obj_issue_toc .articles > li:hover {
	background-color: #fafcfd !important;
}


/* Last article: no bottom separator */
.obj_issue_toc .articles > li:last-child {
	border-bottom: 0;
}


/* =========================================================
   ARTICLE TITLE
   ========================================================= */

.obj_issue_toc .articles .title {
	margin: 0 75px 5px 0;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}


.obj_issue_toc .articles .title a {
	color: #327491;
	text-decoration: none;
}


.obj_issue_toc .articles .title a:hover {
	color: #00619f;
	text-decoration: underline;
}


/* =========================================================
   AUTHORS
   ========================================================= */

.obj_issue_toc .articles .authors {
	margin: 0 75px 10px 0;

	color: #333333;

	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}


/* =========================================================
   PAGE NUMBERS
   ========================================================= */

.obj_issue_toc .articles .pages {
	color: #777777;

	font-size: 12px;
	font-weight: 400;

	white-space: nowrap;
}


/* =========================================================
   PDF / GALLEY BUTTON
   ========================================================= */

.obj_issue_toc .articles .galleys_links {
	margin-top: 8px;
}


.obj_issue_toc .articles .galleys_links a,
.obj_issue_toc .articles .galleys a {

	display: inline-flex;

	align-items: center;

	padding: 5px 9px;

	background: transparent;

	border: 1px solid #b9d2df;

	border-radius: 4px;

	box-shadow: none;

	color: #00619f;

	font-size: 11.5px;

	font-weight: 700;

	line-height: 1.2;

	text-decoration: none;

	transition:
		background-color 0.15s ease,
		border-color 0.15s ease;
}


.obj_issue_toc .articles .galleys_links a:hover,
.obj_issue_toc .articles .galleys a:hover {

	background: #f1f7fa;

	border-color: #8eb7cb;

	color: #005282;

	text-decoration: none;
}


/* =========================================================
   RESPONSIVE ARTICLE LIST
   ========================================================= */

@media (max-width: 768px) {

	.obj_issue_toc .articles > li {
		padding: 15px 4px 17px 4px;
	}

	.obj_issue_toc .articles .title {
		margin-right: 0;
		font-size: 14px;
	}

	.obj_issue_toc .articles .authors {
		margin-right: 0;
	}

	.obj_issue_toc .articles .pages {
		display: block;
		margin-top: 4px;
		margin-bottom: 7px;
	}

}


/* =========================================================
   HEADER
   ========================================================= */

.pkp_site_name_wrapper,
.pkp_navigation_primary_row {
	padding-left: 0px;
	padding-right: 0px;
}


.pkp_site_name {
	padding-top: 0;
	padding-bottom: 0px;
}


.pkp_site_name > a {
	padding-top: 0px;
	padding-bottom: 0px;
}


.pkp_navigation_primary_row {
	background: #fff;
	padding: 10px;
}


.pkp_site_name .is_img {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}


.pkp_site_name .is_img img {
	display: block;
	max-height: 200px;
	max-width: 100%;
	width: 100%;
	height: auto;
}


.pkp_navigation_user > li:last-child > a {
	padding-right: 10px;
	color: #959191;
}


.pkp_site_name,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user,
.pkp_structure_content,
.pkp_structure_footer {

	position: relative;

	width: 100%;

	margin: 0 auto;

	margin-top: 0px;
	margin-bottom: 0px;

	padding-left: 0px;
	padding-right: 0px;
}


.has_site_logo .pkp_head_wrapper {

	position: relative;

	width: 100%;

	margin: 0 auto;

	padding-left: 0px;
	padding-right: 0px;
}


/* =========================================================
   ARTICLE DETAILS
   ========================================================= */

.obj_article_details .item {
	text-align: justify;
}

/* =========================================================
   HOMEPAGE IMAGE - CACHE BUSTING WORKAROUND
   ========================================================= */

.homepage_image img {
	content: url("https://jurnal.unipasby.ac.id/one4all/journals/43/homepageImage_en.webp?v=20261008-1");
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* =========================================================
   JBTEP HOMEPAGE - ADDITIONAL CONTENT BEFORE CURRENT ISSUE
   Keep the existing homepage image and journal sidebar intact.
   This changes visual order only, not OJS metadata or DOM order.
   ========================================================= */

.page_index_journal {
    display: flex;
    flex-direction: column;
}

.page_index_journal > .additional_content {
    order: 1;
    width: 100%;
    box-sizing: border-box;
}

.page_index_journal > .current_issue {
    order: 2;
    width: 100%;
    box-sizing: border-box;
}


/* ==========================================
   JBTEP - ANNOUNCEMENTS AFTER CURRENT ISSUE
   ========================================== */

.page_index_journal > .cmp_announcements {
    order: 3;
    width: 100%;
    box-sizing: border-box;
}


/* ==========================================
   JBTEP - SHOW ANNOUNCEMENTS SECTION TITLE
   Match Journal Profile & Current Issue
   ========================================== */

/* Restore hidden OJS heading */
.page_index_journal > .cmp_announcements > h2 {

    display: block !important;

    position: static !important;
    width: auto !important;
    height: auto !important;

    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    white-space: normal !important;

    margin: 24px 0 20px 0 !important;
    padding: 0 !important;

    border: none !important;

    font-family: inherit;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;

    color: #777777 !important;
    text-transform: uppercase;

    text-align: left;
    clear: both;
}

/* Blue underline */
.page_index_journal > .cmp_announcements > h2::after {

    content: "";
    display: block;

    width: 196px;
    height: 3px;

    background: #00619f;

    margin-top: 17px;
    padding: 0;
}


/* ==========================================
   JBTEP - ANNOUNCEMENTS HEADING ALIGNMENT
   Align with Journal Profile & Current Issue
   ========================================== */

.page_index_journal > .cmp_announcements > h2 {

    /* Horizontal alignment */
    margin-left: 37px !important;
    padding: 0 !important;

    /* Typography */
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    /* Appearance */
    color: #777777 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1px;

}

/* Blue underline */
.page_index_journal > .cmp_announcements > h2::after {

    content: "";
    display: block;

    width: 196px;
    height: 3px;

    background: #00619f;

    margin-top: 17px;
}

/* Mobile adjustment */
@media (max-width: 768px) {

    .page_index_journal > .cmp_announcements > h2 {
        margin-left: 15px !important;
    }

}


/* ==========================================
   JBTEP - ANNOUNCEMENTS VERTICAL SPACING
   ========================================== */

/* Reduce gap below section heading */
.page_index_journal > .cmp_announcements
> .obj_announcement_summary {

    padding-top: 18px !important;
    margin-top: 0 !important;

}

/* Maintain compact bottom spacing */
.page_index_journal > .cmp_announcements
> .obj_announcement_summary {

    padding-bottom: 24px !important;

}

/* Responsive */
@media (max-width: 768px) {

    .page_index_journal > .cmp_announcements
    > .obj_announcement_summary {

        padding-top: 14px !important;
        padding-bottom: 18px !important;

    }

}

/* ==========================================
   JBTEP - HIDE OJS / PKP FOOTER BRANDING
   ========================================== */

.pkp_brand_footer {
    display: none !important;
}


/* ============================================================
   JURNAL BUANA TEKNOLOGI PENDIDIKAN
   NAVIGATION BUTTONS V3 - BOXED LAYOUT EDITION
   OJS 3.4.0.9 | Journal-specific, additive CSS
   ------------------------------------------------------------
   Scope: guest Register/Login, account contrast, and existing
          primary-nav Submissions link only.
   PRESERVES: 1160px boxed layout, banner width, content/sidebar,
              typography, article layout, and theme styles.
   Append to the END of btep-journal-active.css.
   ============================================================ */

@media screen and (min-width: 992px) {
  /* Reserve a narrow blue toolbar for account actions.
     This prevents Register/Login from sitting over the masthead. */
  body.has_site_logo .pkp_head_wrapper {
    padding-top: 44px !important;
  }

  body.has_site_logo .pkp_navigation_user_wrapper {
    position: absolute;
    top: 4px !important;
    right: 18px !important;
    left: auto !important;
    width: auto !important;
    max-width: calc(100% - 36px);
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    text-align: right;
    z-index: 1001;
  }

  /* Override the journal's dim gray last-item link only in
     the top-level account navigation, not its dropdown. */
  body.has_site_logo #navigationUser > li > a {
    color: #ffffff !important;
    text-decoration: none !important;
  }

  body.has_site_logo #navigationUser > li > a[href$="/register"],
  body.has_site_logo #navigationUser > li > a[href$="/login"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 0 0 7px !important;
    padding: 6px 15px !important;
    border: 1px solid #ffffff !important;
    border-radius: 6px;
    background-color: #ffffff !important;
    color: #00619f !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease;
  }

  /* Login is visually distinct from Register. */
  body.has_site_logo #navigationUser > li > a[href$="/login"] {
    background-color: #e1eef8 !important;
    border-color: #e1eef8 !important;
    color: #124e78 !important;
  }

  body.has_site_logo #navigationUser > li > a[href$="/register"]:hover,
  body.has_site_logo #navigationUser > li > a[href$="/register"]:focus-visible,
  body.has_site_logo #navigationUser > li > a[href$="/login"]:hover,
  body.has_site_logo #navigationUser > li > a[href$="/login"]:focus-visible {
    background-color: #c9e6f6 !important;
    border-color: #c9e6f6 !important;
    color: #003a63 !important;
  }

  /* Style the EXISTING Submissions nav item; href is unchanged.
     This does not create a new URL or alter OJS authentication. */
  body #navigationPrimary > li > a[href$="/about/submissions"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 1px 5px !important;
    padding: 7px 13px !important;
    border: 1px solid #00619f !important;
    border-radius: 6px;
    background-color: #00619f !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 7px rgba(0, 97, 159, .16);
    transition: background-color .15s ease, box-shadow .15s ease;
  }

  body #navigationPrimary > li > a[href$="/about/submissions"]:hover,
  body #navigationPrimary > li > a[href$="/about/submissions"]:focus-visible {
    background-color: #004b7c !important;
    border-color: #004b7c !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 97, 159, .23);
  }
}

/* Mobile: leave menu placement to OJS. Only emphasize links. */
@media screen and (max-width: 991px) {
  body #navigationUser > li > a[href$="/register"],
  body #navigationUser > li > a[href$="/login"] {
    display: inline-block;
    padding: 6px 12px !important;
    margin: 4px 6px 4px 0 !important;
    background-color: #ffffff !important;
    color: #00619f !important;
    border: 1px solid #ffffff !important;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
  }

  body #navigationPrimary > li > a[href$="/about/submissions"] {
    display: inline-block;
    margin: 6px 0 !important;
    padding: 8px 12px !important;
    border: 1px solid #ffffff !important;
    border-radius: 6px;
    background-color: #ffffff !important;
    color: #00619f !important;
    font-weight: 700 !important;
    text-transform: none !important;
    text-decoration: none !important;
  }
}

/* Keyboard accessibility without changing the skip link. */
body #navigationPrimary > li > a:focus-visible,
body #navigationUser > li > a:focus-visible {
  outline: 3px solid #72caf5 !important;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body #navigationPrimary > li > a,
  body #navigationUser > li > a {
    transition: none !important;
  }
}
/* END NAVIGATION BUTTONS V3 - BOXED EDITION */


/* ============================================================
   BTEP NAVIGATION V3.1 - MY ACCOUNT LABEL
   Desktop only | Tested in Chrome DevTools with logged-in user
   ------------------------------------------------------------
   Cosmetic label only: does not change OJS username, account data,
   authentication, user dropdown links, or task notification count.
   The original username remains in the HTML and may still be
   announced by assistive technologies.
   ============================================================ */

@media screen and (min-width: 992px) {
  /* Apply only to signed-in account items with a nested dropdown. */
  #navigationUser > li:has(> ul) > a {
    font-size: 0 !important;
  }

  #navigationUser > li:has(> ul) > a::before {
    content: "My Account";
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
  }

  /* Keep the count bubble visible at the original size. */
  #navigationUser > li:has(> ul) > a .task_count {
    font-size: 12px !important;
  }
}

/* END BTEP NAVIGATION V3.1 */
