@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&display=swap");

/*
 * Jurnal Ilmu Fisika (JIF)
 * Universitas Andalas
 *
 * Custom Journal Style Sheet
 * Visual System: JIF Precision Physics
 *
 * Target:
 * Open Journal Systems 3.3.0.20
 *
 * Website:
 * https://jif.fmipa.unand.ac.id/index.php/jif
 *
 * Version:
 * 1.2.0
 *
 * Based on:
 * JIF_Journal_Style_Sheet_OJS_3.3.0.20_v1.1.0.css
 * (v1.1.0 is based on v1.0.0)
 *
 * 1.2.0 (2026-10-05): closer homepage fidelity to "JIF - 1 - Home" -
 *   full-bleed hero band, icon-free menu, search-field styling, compact
 *   announcement, "View All Issues" beside the heading, metrics column
 *   beside the PDF button, Make a Submission above Manuscript Tools,
 *   taller masthead for the proposed header banner, and section 30
 *   content hooks (.jif-*) for the editor-built sidebar blocks and footer
 *   described in JIF_Panduan_Konten_Mockup_v1.2.0.md.
 *
 * Implementation:
 * CSS only
 *
 * Purpose:
 * Refine the existing JIF stylesheet to match the approved
 * JIF Precision Physics mockups more closely while preserving
 * native OJS behavior and accessibility.
 *
 * Live-audit facts this file is built on (2026-10-05):
 * - Active theme: simpleOJS3 (plugins/themes/simpleOJS3), a child of the
 *   OJS Default theme. Base colour #503c7b. It additionally loads
 *   Bootstrap 5.0.2, Bootstrap Icons 1.8.1 and styles/reset.css.
 * - OJS main.js turns submenus into Bootstrap ".dropdown-menu" (click to
 *   open, "href" of parent items becomes "#") above 992 px.
 * - Bootstrap ".row" and ".dropdown-menu" rules collide with OJS markup;
 *   both are neutralised in sections 04 and 13.
 * - The Default theme styles the menu with ID selectors
 *   (#navigationPrimary ...); overrides use the same ID to win.
 *
 * The Google Fonts @import is optional: if removed or blocked, the font
 * stacks fall back to Georgia / system sans-serif.
 * No factual journal content is generated with CSS "content".
 */

/* ==========================================================
   01. DESIGN TOKENS
   ========================================================== */
:root {
  --jif-navy-950: #071d33;
  --jif-navy-900: #0b2d4f;
  --jif-navy-800: #123e68;

  --jif-blue-700: #0f5f99;
  --jif-blue-600: #1478b8;
  --jif-blue-500: #1789c8;

  --jif-cyan-500: #19a8cb;
  --jif-cyan-300: #7dd7e8;

  --jif-purple-700: #52367f;
  --jif-purple-600: #67459a;
  --jif-purple-100: #f1ecf8;

  --jif-text: #243440;
  --jif-text-strong: #112c48;
  --jif-muted: #5d6d79;
  --jif-muted-2: #87949d;

  --jif-border: #d9e4ec;
  --jif-border-strong: #c7d7e3;

  --jif-surface: #f6f9fb;
  --jif-surface-blue: #eef6fb;
  --jif-white: #ffffff;

  --jif-success: #257a58;
  --jif-warning: #a66b17;
  --jif-danger: #a84444;

  --jif-radius-sm: 4px;
  --jif-radius: 7px;

  --jif-shadow: 0 2px 10px rgba(8, 45, 79, 0.06);
  --jif-shadow-hover: 0 8px 24px rgba(8, 45, 79, 0.10);

  --jif-serif: "Source Serif 4", "Source Serif Pro", Georgia, Cambria, "Times New Roman", serif;
  --jif-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --jif-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --jif-container: 1180px;
  --jif-gutter: 20px;
  --jif-sidebar: 292px;
  --jif-gap: 34px;
  --jif-transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

/* ==========================================================
   02. GLOBAL / TYPOGRAPHY
   ========================================================== */
/* simpleOJS3 reset.css paints a patterned body background (cdn.dribbble.com);
   the mockups use a plain white page. */
html {
  background: var(--jif-white);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--jif-white);
  color: var(--jif-text);
  font-family: var(--jif-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Default theme: boxed 1160 px page with shadow. Mockups: full width. */
.pkp_structure_page {
  max-width: none;
  margin: 0;
  background: var(--jif-white);
  box-shadow: none;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--jif-blue-700);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.16em;
  transition: var(--jif-transition);
}

a:hover,
a:focus {
  color: var(--jif-navy-900);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(25, 168, 203, 0.45);
  outline-offset: 2px;
}

::selection {
  background: rgba(25, 168, 203, 0.24);
  color: var(--jif-navy-950);
}

/* Reading text uses the serif; UI components set the sans explicitly. */
.pkp_structure_main {
  font-family: var(--jif-serif);
  overflow-wrap: break-word;
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4 {
  color: var(--jif-text-strong);
  font-family: var(--jif-serif);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.pkp_structure_main p,
.pkp_structure_main li {
  line-height: 1.7;
}

.pkp_structure_main code,
.pkp_structure_main pre,
.pkp_structure_main kbd,
.pkp_structure_main samp {
  font-family: var(--jif-mono);
}

.pkp_structure_main pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem 1.1rem;
  background: #f3f6f8;
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
}

/* Long scientific identifiers and URLs must never break the layout
   (also plain-text URLs inside <u> in the Author Guidelines). */
.pub_id,
.item.doi,
.item.doi a,
.doi_link,
.obj_article_summary a,
.entry_details a {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Table cells and underlined plain-text URLs: "break-word" wraps long
   strings without shrinking a table's minimum width (tables scroll on
   mobile instead of collapsing to one character per line). */
.pkp_structure_main td,
.pkp_structure_main th,
.pkp_structure_main u {
  overflow-wrap: break-word;
  word-break: normal;
}

/* Physics / mathematics safety (unchanged from v1.0.0) */
.MathJax,
.MathJax_Display,
.mjx-container,
math,
.equation,
.formula {
  max-width: 100%;
}

.MathJax_Display,
.mjx-container[display="true"],
.equation,
.formula {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.25rem;
}

.pkp_structure_main sup,
.pkp_structure_main sub {
  line-height: 0;
}

/* ==========================================================
   03. HEADER / MASTHEAD
   ========================================================== */
.pkp_structure_head {
  position: relative;
  background: var(--jif-white);
  border: 0;
  border-top: 4px solid var(--jif-navy-950);
  box-shadow: none;
}

.pkp_structure_head .pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.pkp_site_name_wrapper {
  width: calc(100% - (var(--jif-gutter) * 2));
  max-width: var(--jif-container);
  height: auto;
  margin: 0 auto;
  padding: 18px 0;
  background: transparent;
}

.pkp_site_name,
.has_site_logo .pkp_site_name {
  position: static;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--jif-navy-900);
  white-space: normal;
  overflow: visible;
}

.pkp_site_name .is_img {
  display: block;
  margin: 0;
}

/* Composite Page Header Logo (1233 x 357 at audit time): keep the
   intrinsic ratio; never stretch, crop or scale with transforms. */
.pkp_site_name .is_img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 176px;
  object-fit: contain;
  object-position: left center;
  border-radius: var(--jif-radius-sm);
}

.pkp_site_name .is_text {
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
}

/* User navigation: only painted when OJS renders items (JIF keeps
   Register/Login in the primary "User" menu, so it is usually empty). */
@media (min-width: 992px) {
  .pkp_navigation_user_wrapper {
    top: 0;
    right: max(var(--jif-gutter), calc((100% - var(--jif-container)) / 2));
    left: auto;
    width: auto;
    padding: 0;
    transform: none;
  }

  .pkp_navigation_user_wrapper .pkp_navigation_user {
    display: flex;
    margin: 0;
    padding: 0 4px;
    background: var(--jif-navy-950);
    border-radius: 0 0 var(--jif-radius-sm) var(--jif-radius-sm);
  }

  .pkp_navigation_user > li > a,
  .pkp_navigation_user_wrapper a {
    padding: 0 10px;
    color: #eaf3f8;
    font-family: var(--jif-sans);
    font-size: 13px;
    line-height: 30px;
  }

  .pkp_navigation_user > li > a:hover,
  .pkp_navigation_user > li > a:focus {
    background: rgba(255, 255, 255, 0.08);
    color: var(--jif-white);
  }
}

/* ==========================================================
   04. PRIMARY NAVIGATION
   ========================================================== */
@media (min-width: 992px) {
  .pkp_site_nav_menu {
    background: transparent;
  }

  .pkp_navigation_primary_row {
    padding: 0;
    background: var(--jif-navy-900);
    border-top: 1px solid var(--jif-navy-950);
    border-bottom: 3px solid var(--jif-navy-950);
  }

  .pkp_navigation_primary_wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: calc(100% - (var(--jif-gutter) * 2));
    max-width: var(--jif-container);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
  }

  .pkp_navigation_primary_wrapper::before,
  .pkp_navigation_primary_wrapper::after {
    display: none;
  }

  #navigationPrimary,
  .pkp_navigation_primary.pkp_nav_list {
    display: flex;
    flex-wrap: wrap;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  /* Same ID selector as the Default theme (#navigationPrimary a) */
  #navigationPrimary > li > a,
  #navigationPrimary > li:first-child > a,
  #navigationPrimary > li:last-child > a {
    display: block;
    margin: 0;
    padding: 14px 16px 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #eff7fb;
    font-family: var(--jif-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 21px;
    text-transform: none;
  }

  #navigationPrimary > li > a:hover,
  #navigationPrimary > li > a:focus,
  #navigationPrimary > li:hover > a,
  #navigationPrimary > li:focus-within > a,
  #navigationPrimary > li > a[aria-expanded="true"] {
    background: rgba(23, 137, 200, 0.22);
    border-bottom-color: var(--jif-cyan-500);
    color: var(--jif-white);
    outline: 0;
  }

  #navigationPrimary > li > a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--jif-cyan-300);
  }

  /* Bootstrap Icons typed into the menu titles are decorative <i>
     elements; the mockup menu has none. */
  #navigationPrimary .bi {
    display: none;
  }

  .pkp_nav_list [aria-haspopup]::after {
    margin-left: 0.4em;
    border-top-color: currentColor;
    opacity: 0.8;
  }

  /* Active section. OJS 3.3 marks no current item, and OJS JS rewrites
     parent hrefs to "#", so parents are found through their submenu links
     (:has). Without :has() support no item is highlighted. */
  .pkp_page_index #navigationPrimary > li:not(:has(ul)) > a[href$="/jif/"],
  .pkp_page_announcement #navigationPrimary > li > a[href$="/announcement"],
  .pkp_page_about.pkp_op_contact #navigationPrimary > li > a[href$="/about/contact"],
  .pkp_page_issue #navigationPrimary > li:has(> ul a[href$="/issue/archive"]) > a,
  .pkp_page_article #navigationPrimary > li:has(> ul a[href$="/issue/archive"]) > a,
  .pkp_page_about:not(.pkp_op_contact) #navigationPrimary > li:has(> ul a[href$="/about/editorialTeam"]) > a,
  .pkp_page_focus_scope #navigationPrimary > li:has(> ul a[href$="/focus_scope"]) > a,
  .pkp_page_sponsor #navigationPrimary > li:has(> ul a[href$="/sponsor"]) > a,
  .pkp_page_indexing #navigationPrimary > li:has(> ul a[href$="/indexing"]) > a,
  .pkp_page_charge #navigationPrimary > li:has(> ul a[href$="/charge"]) > a,
  .pkp_page_rights #navigationPrimary > li:has(> ul a[href$="/rights"]) > a,
  .pkp_page_refman #navigationPrimary > li:has(> ul a[href$="/refman"]) > a,
  .pkp_page_pe #navigationPrimary > li:has(> ul a[href$="/pe"]) > a,
  .pkp_page_postpub #navigationPrimary > li:has(> ul a[href$="/postpub"]) > a,
  .pkp_page_peerreview #navigationPrimary > li:has(> ul a[href$="/peerreview"]) > a,
  body[class*="pkp_page_policy"] #navigationPrimary > li:has(> ul a[href*="/policy"]) > a,
  .pkp_page_login #navigationPrimary > li:has(> ul a[href$="/login"]) > a,
  .pkp_page_user.pkp_op_register #navigationPrimary > li:has(> ul a[href$="/user/register"]) > a {
    background: var(--jif-blue-600);
    border-bottom-color: var(--jif-cyan-300);
    color: var(--jif-white);
  }

  /* Dropdowns. Bootstrap 5 hides ".dropdown-menu" (display:none) and OJS
     JS opens it with ".show" on click; hover and keyboard focus are kept
     as well. The long Policies menu scrolls instead of leaving the screen. */
  #navigationPrimary ul,
  #navigationPrimary .dropdown-menu,
  .pkp_nav_list ul {
    width: 272px;
    min-width: 0;
    /* The JIF masthead puts the menu bar ~265 px from the top (2200x320 banner) */
    max-height: max(280px, calc(100vh - 300px));
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--jif-white);
    border: 1px solid var(--jif-border);
    border-top: 3px solid var(--jif-cyan-500);
    border-radius: 0 0 var(--jif-radius) var(--jif-radius);
    box-shadow: var(--jif-shadow-hover);
  }

  #navigationPrimary > li:hover > ul,
  #navigationPrimary > li:focus-within > ul,
  #navigationPrimary > li > ul.show {
    display: block;
    left: 0;
  }

  #navigationPrimary > li:has(> ul a[href*="/policy"]) > ul {
    width: 320px;
  }

  #navigationPrimary ul a,
  .pkp_nav_list ul a {
    display: block;
    padding: 8px 14px;
    border-left: 3px solid transparent;
    color: var(--jif-text);
    font-family: var(--jif-sans);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
    white-space: normal;
  }

  #navigationPrimary ul a:hover,
  #navigationPrimary ul a:focus,
  .pkp_nav_list ul a:hover,
  .pkp_nav_list ul a:focus {
    background: var(--jif-surface-blue);
    border-left-color: var(--jif-cyan-500);
    color: var(--jif-navy-900);
  }

  /* Default theme sets outline:0 on submenu focus; restore a visible ring */
  #navigationPrimary ul a:focus-visible,
  .pkp_nav_list ul a:focus-visible {
    outline: 2px solid var(--jif-cyan-500);
    outline-offset: -2px;
  }

  .pkp_nav_list ul li:first-child a,
  .pkp_nav_list ul li:last-child a {
    border-radius: 0;
  }

  /* Search: the DOM provides a link, not an input; styled as a compact
     outlined control at the right of the bar. */
  .pkp_navigation_search_wrapper {
    display: flex;
    float: none;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  /* Styled as a search field (mockup); it stays a link to the OJS
     Search page, where the actual query field is. */
  .pkp_navigation_search_wrapper a,
  .pkp_navigation_search_wrapper a.pkp_search {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    justify-content: space-between;
    width: 240px;
    height: 34px;
    margin: 0;
    padding: 0 0 0 12px;
    overflow: hidden;
    background: var(--jif-white);
    border: 1px solid var(--jif-white);
    border-radius: var(--jif-radius-sm);
    color: var(--jif-muted);
    font-family: var(--jif-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 32px;
    text-transform: none;
  }

  .pkp_navigation_search_wrapper a .fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    margin: 0;
    background: var(--jif-cyan-500);
    color: var(--jif-white);
    font-size: 15px;
  }

  .pkp_navigation_search_wrapper a:hover,
  .pkp_navigation_search_wrapper a:focus,
  .pkp_page_search .pkp_navigation_search_wrapper a {
    background: var(--jif-white);
    border-color: var(--jif-cyan-300);
    color: var(--jif-text);
    box-shadow: 0 0 0 3px rgba(25, 168, 203, 0.35);
  }

  .pkp_navigation_search_wrapper a:hover .fa,
  .pkp_navigation_search_wrapper a:focus .fa {
    background: var(--jif-blue-600);
  }
}

/* ==========================================================
   05. MOBILE NAVIGATION
   ========================================================== */
@media (max-width: 991px) {
  .pkp_site_name_wrapper {
    width: 100%;
    padding: 58px 14px 14px;
  }

  /* Decorative navy band that carries the native OJS toggle */
  .pkp_site_name_wrapper::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    background: var(--jif-navy-900);
    border-bottom: 3px solid var(--jif-cyan-500);
  }

  .pkp_site_name .is_img img {
    max-height: none;
    width: 100%;
    object-fit: contain;
  }

  .pkp_site_nav_toggle {
    top: 0;
    left: 0;
    width: 54px;
    height: 46px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .pkp_site_nav_toggle > span {
    border-bottom-color: var(--jif-white);
  }

  .pkp_site_nav_toggle > span::before,
  .pkp_site_nav_toggle > span::after {
    background: var(--jif-white);
  }

  .pkp_site_nav_toggle:focus-visible {
    outline: 2px solid var(--jif-cyan-300);
    outline-offset: -4px;
  }

  .pkp_site_nav_menu {
    top: 46px;
    padding: 8px 18px 18px;
    background: var(--jif-navy-950);
    box-shadow: var(--jif-shadow-hover);
  }

  #navigationPrimary a,
  .pkp_site_nav_menu a {
    display: block;
    min-height: 44px;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: #edf6fb;
    font-family: var(--jif-sans);
    font-size: 15.5px;
    font-weight: 600;
    text-transform: none;
  }

  #navigationPrimary > li > a {
    border-bottom-width: 1px;
  }

  #navigationPrimary ul a,
  .pkp_site_nav_menu ul ul a {
    font-weight: 400;
  }

  .pkp_site_nav_menu ul ul {
    margin: 0 0 6px 6px;
    padding-left: 12px;
    border-left: 2px solid rgba(125, 215, 232, 0.35);
  }

  .pkp_site_nav_menu a:hover,
  .pkp_site_nav_menu a:focus {
    color: var(--jif-cyan-300);
    text-decoration: none;
  }

  #navigationPrimary .bi {
    display: none;
  }

  .pkp_navigation_search_wrapper,
  .pkp_navigation_user.pkp_navigation_user {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
  }
}

/* ==========================================================
   06. GLOBAL LAYOUT
   ========================================================== */
.pkp_structure_content {
  width: 100%;
  padding: 22px 16px 0;
  background: var(--jif-white);
}

@media (min-width: 768px) {
  .pkp_structure_content {
    width: calc(100% - (var(--jif-gutter) * 2));
    max-width: var(--jif-container);
    padding: 30px 0 0;
  }
}

.pkp_structure_main {
  padding: 0 0 48px;
}

.pkp_structure_main::before,
.pkp_structure_main::after,
.pkp_structure_sidebar::before {
  display: none;
}

@media (min-width: 992px) {
  .pkp_structure_content {
    display: flex;
    align-items: flex-start;
    gap: var(--jif-gap);
  }

  /* Clearfix pseudo-elements would become empty flex items */
  .pkp_structure_content::before,
  .pkp_structure_content::after {
    display: none;
  }

  .pkp_structure_main,
  body[dir="rtl"] .pkp_structure_main {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 0 0 72px;
  }

  .pkp_structure_sidebar,
  .pkp_structure_sidebar.left,
  body[dir="rtl"] .pkp_structure_sidebar {
    float: none;
    flex: 0 0 var(--jif-sidebar);
    width: var(--jif-sidebar);
    padding-bottom: 48px;
  }

  .pkp_structure_main:first-child:last-child {
    max-width: 900px;
    margin: 0 auto;
  }
}

/* ==========================================================
   07. HOMEPAGE HERO
   ========================================================== */
/* Standard OJS homepage image (Settings > Website > Appearance >
   Homepage Image). Not configured at audit time; tested with
   JIF_Homepage_Hero_Matter_Energy_Fields_3x1.png. Kept inside the main
   column (no 100vw breakout). */
.pkp_page_index .homepage_image {
  position: relative;
  margin: 0 0 30px;
  overflow: hidden;
  background: var(--jif-navy-950);
  border-radius: var(--jif-radius);
}

.pkp_page_index .homepage_image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center center;
}

/* Desktop: full-bleed band directly under the menu, as in the mockup.
   Only where :has() is supported, because the sidebar must move down by
   the same height; older browsers keep the in-column 3:1 image above.
   .pkp_structure_page clips the horizontal bleed (overflow-x: clip). */
.pkp_structure_page {
  overflow-x: clip;
}

@supports selector(:has(*)) {
  @media (min-width: 992px) {
    :root {
      --jif-hero-h: clamp(220px, 19vw, 300px);
    }

    .pkp_page_index .page_index_journal > .homepage_image:first-child {
      width: 100vw;
      margin: -30px 0 30px calc((min(var(--jif-container), 100vw - (var(--jif-gutter) * 2)) - 100vw) / 2);
      border-radius: 0;
    }

    .pkp_page_index .page_index_journal > .homepage_image:first-child img {
      height: var(--jif-hero-h);
      aspect-ratio: auto;
    }

    .pkp_page_index .pkp_structure_content:has(.page_index_journal > .homepage_image:first-child) > .pkp_structure_sidebar {
      margin-top: var(--jif-hero-h);
    }

    .pkp_page_index .pkp_structure_head:has(~ .pkp_structure_content .homepage_image) .pkp_navigation_primary_row {
      border-bottom-color: var(--jif-cyan-500);
    }
  }
}

@media (max-width: 640px) {
  .pkp_page_index .homepage_image {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }

  .pkp_page_index .homepage_image img {
    aspect-ratio: 16 / 7;
    object-position: 45% 50%;
  }
}

/* ==========================================================
   08. BREADCRUMBS / PAGE TITLES
   ========================================================== */
.cmp_breadcrumbs {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
  text-transform: none;
}

.cmp_breadcrumbs ol,
.cmp_breadcrumbs > ol {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 13.5px;
  line-height: 1.5;
}

.cmp_breadcrumbs a {
  color: var(--jif-blue-700);
  text-decoration: none;
}

.cmp_breadcrumbs a:hover,
.cmp_breadcrumbs a:focus {
  text-decoration: underline;
}

.cmp_breadcrumbs .separator {
  padding: 0 0.4em;
  color: var(--jif-muted-2);
  opacity: 1;
}

.cmp_breadcrumbs .current {
  color: var(--jif-muted);
}

/* Major page titles: serif navy, thin full-width rule + short cyan accent */
.pkp_structure_main .page > h1,
.pkp_structure_main .page > h1.page_title,
.pkp_structure_main .page > section > h1 {
  position: relative;
  margin: 0 0 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--jif-border);
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
}

.pkp_structure_main .page > h1::after,
.pkp_structure_main .page > h1.page_title::after,
.pkp_structure_main .page > section > h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--jif-cyan-500);
}

/* ==========================================================
   09. BUTTONS / FORMS
   ========================================================== */
.cmp_button,
.cmp_form .buttons button,
.page_search .submit button,
.page_lost_password .buttons button,
.pkp_button {
  display: inline-block;
  min-height: 42px;
  padding: 0 18px;
  background: var(--jif-blue-700);
  border: 1px solid var(--jif-blue-700);
  border-radius: var(--jif-radius-sm);
  box-shadow: none;
  color: var(--jif-white);
  font-family: var(--jif-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 40px;
  text-decoration: none;
  text-transform: none;
}

.cmp_button:hover,
.cmp_button:focus,
.cmp_form .buttons button:hover,
.cmp_form .buttons button:focus,
.page_search .submit button:hover,
.page_search .submit button:focus,
.pkp_button:hover,
.pkp_button:focus {
  background: var(--jif-navy-800);
  border-color: var(--jif-navy-800);
  box-shadow: none;
  color: var(--jif-white);
}

/* Secondary */
.cmp_button_wire {
  background: var(--jif-white);
  border: 1px solid var(--jif-blue-600);
  border-radius: var(--jif-radius-sm);
  color: var(--jif-blue-700);
  font-family: var(--jif-sans);
  font-weight: 600;
}

.cmp_button_wire:hover,
.cmp_button_wire:focus {
  background: var(--jif-blue-700);
  color: var(--jif-white);
}

/* PDF / galley: physics-blue filled action (native icon kept) */
.obj_galley_link,
.obj_galley_link.pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 34px;
  padding: 0 13px;
  background: var(--jif-blue-700);
  border: 1px solid var(--jif-blue-700);
  border-radius: var(--jif-radius-sm);
  color: var(--jif-white);
  font-family: var(--jif-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.obj_galley_link:hover,
.obj_galley_link:focus,
.obj_galley_link.pdf:hover,
.obj_galley_link.pdf:focus {
  background: var(--jif-navy-800);
  border-color: var(--jif-navy-800);
  color: var(--jif-white);
}

.obj_galley_link::before {
  margin-right: 0.45em;
}

.obj_galley_link.restricted {
  background: var(--jif-white);
  border-color: var(--jif-danger);
  color: var(--jif-danger);
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="tel"],
.cmp_form select,
.cmp_form textarea {
  min-height: 42px;
  padding: 8px 11px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border-strong);
  border-radius: 5px;
  color: var(--jif-text);
  font-family: var(--jif-sans);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: inset 0 1px 2px rgba(11, 45, 79, 0.03);
}

.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus {
  border-color: var(--jif-cyan-500);
  box-shadow: 0 0 0 3px rgba(25, 168, 203, 0.18);
  outline: 0;
}

.cmp_form .label,
.cmp_form legend,
.cmp_form label {
  color: var(--jif-text-strong);
  font-family: var(--jif-sans);
}

.cmp_form .required {
  color: var(--jif-danger);
}

/* ==========================================================
   10. HOMEPAGE
   ========================================================== */
.page_index_journal .homepage_about {
  margin: 0 0 32px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--jif-border);
}

.page_index_journal .homepage_about h2,
.page_index_journal .current_issue > h2,
.page_index_journal .cmp_announcements > h2,
.page_index_journal .additional_content > h2 {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--jif-border);
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.page_index_journal .homepage_about h2::after,
.page_index_journal .current_issue > h2::after,
.page_index_journal .cmp_announcements > h2::after,
.page_index_journal .additional_content > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--jif-cyan-500);
}

.page_index_journal .homepage_about p {
  max-width: 80ch;
  color: #33454f;
  font-size: 16.5px;
}

/* Announcements heading is screen-reader-only in the Default theme
   (clip + position:absolute !important); the mockup shows it. */
.pkp_page_index .cmp_announcements > h2 {
  position: relative !important;
  left: auto;
  clip: auto;
}

.page_index_journal .cmp_announcements {
  margin: 0 0 34px;
  padding: 0;
  border: 0;
}

.page_index_journal .cmp_announcements::before,
.page_index_journal .cmp_announcements::after {
  display: none;
}

.pkp_page_index .cmp_announcements > .obj_announcement_summary,
.pkp_page_index .cmp_announcements .more {
  float: none;
  width: auto;
}

.pkp_page_index .cmp_announcements > .obj_announcement_summary::before,
.pkp_page_index .cmp_announcements .more::before {
  display: none;
}

/* Newest announcement: compact editorial panel. The Default theme adds
   80 px vertical padding via ".cmp_announcements h2 + .obj_announcement_summary". */
.pkp_page_index .cmp_announcements > .obj_announcement_summary,
.pkp_page_index .cmp_announcements h2 + .obj_announcement_summary {
  padding: 16px 20px;
  background: var(--jif-surface-blue);
  border: 1px solid var(--jif-border);
  border-left: 4px solid var(--jif-blue-600);
  border-radius: var(--jif-radius);
}

/* Compact like the mockup: decorative bullhorn glyph, title, date and the
   first paragraph (3 lines). The full text stays one click away via the
   existing "Read More" link and on the Announcements page. */
.pkp_page_index .cmp_announcements > .obj_announcement_summary,
.pkp_page_index .cmp_announcements h2 + .obj_announcement_summary {
  position: relative;
  padding-left: 66px;
}

.pkp_page_index .cmp_announcements > .obj_announcement_summary::before {
  content: "\f0a1";
  display: block;
  position: absolute;
  top: 18px;
  left: 20px;
  right: auto;
  width: auto;
  height: auto;
  border: 0;
  color: var(--jif-navy-900);
  font: normal normal normal 26px/1 FontAwesome;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary .summary > p:not(:first-of-type) {
  display: none;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary .summary > p:first-of-type {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary h3 {
  font-size: 1.12rem;
}

/* Older announcements: compact list */
.pkp_page_index .cmp_announcements .more,
.pkp_page_index .cmp_announcements h2 + .obj_announcement_summary + .more {
  margin-top: 8px;
  padding: 0;
}

.pkp_page_index .cmp_announcements .more .obj_announcement_summary {
  padding: 10px 2px;
  border-bottom: 1px solid var(--jif-border);
}

.pkp_page_index .cmp_announcements .more .obj_announcement_summary:last-child {
  border-bottom: 0;
}

.page_index_journal .current_issue {
  padding-top: 0;
}

.page_index_journal .current_issue_title {
  margin: 0 0 16px;
  color: var(--jif-purple-700);
  font-family: var(--jif-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .pkp_page_index .current_issue {
    position: relative;
  }

  .pkp_page_index .current_issue > .read_more {
    position: absolute;
    top: 8px;
    right: 0;
    margin: 0;
  }
}

.pkp_page_index .current_issue .read_more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--jif-blue-700);
  font-family: var(--jif-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
}

.pkp_page_index .current_issue .read_more::after {
  position: static;
  width: auto;
  height: auto;
  content: "\2192";
  font: inherit;
  line-height: inherit;
  transform: none;
}

/* ==========================================================
   11. CURRENT / FORTHCOMING ISSUE
   ========================================================== */
/* Issue header: cover | issue information. ("Forthcoming" exists only as
   title text, so no status badge is generated.) */
.obj_issue_toc .heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-auto-rows: min-content;
  column-gap: 24px;
  align-items: start;
  margin: 0 0 28px;
  padding: 18px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
}

.obj_issue_toc .heading::before,
.obj_issue_toc .heading::after {
  display: none;
}

.obj_issue_toc .heading > * {
  grid-column: 2;
}

.obj_issue_toc .heading > .cover {
  grid-column: 1;
  grid-row: 1 / span 6;
  float: none;
  width: 170px;
  margin: 0;
}

/* No cover (e.g. Forthcoming issue): single column */
.obj_issue_toc .heading:not(:has(> .cover)) {
  grid-template-columns: minmax(0, 1fr);
}

.obj_issue_toc .heading:not(:has(> .cover)) > * {
  grid-column: 1;
}

.obj_issue_toc .cover img {
  display: block;
  width: 100%;
  max-height: none;
  border: 1px solid var(--jif-border);
  border-radius: 3px;
  box-shadow: var(--jif-shadow-hover);
}

.obj_issue_toc .description {
  color: #41525e;
  font-size: 16px;
  line-height: 1.7;
}

.obj_issue_toc .description p:first-child {
  margin-top: 0;
}

.obj_issue_toc .description img {
  width: auto;
  height: 24px;
  vertical-align: middle;
}

.obj_issue_toc .pub_id,
.obj_issue_toc .published,
.obj_issue_toc .heading .pub_id,
.obj_issue_toc .heading .published {
  margin: 8px 0 0;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 14.5px;
}

.obj_issue_toc .pub_id .type,
.obj_issue_toc .published .label,
.obj_issue_toc .heading .published .label {
  color: var(--jif-text-strong);
  font-weight: 700;
  text-transform: none;
}

.obj_issue_toc .sections:not(:first-child) {
  margin-top: 0;
}

.obj_issue_toc .galleys,
.obj_issue_toc .section {
  position: static;
  margin: 0 0 24px;
  padding: 0;
}

.obj_issue_toc .section::before,
.obj_issue_toc .galleys::before {
  display: none;
}

/* Section heading ("Research Article"): serif, no uppercase, cyan rule.
   simpleOJS3 also sets .obj_issue_toc h3 {clear:both; width:100%}. */
.obj_issue_toc .section > h2,
.obj_issue_toc .section > h3,
.obj_issue_toc .galleys > h2,
.obj_issue_toc .galleys > h3,
.pkp_structure_main .obj_issue_toc .section > h2,
.pkp_structure_main .obj_issue_toc .section > h3 {
  position: relative;
  left: 0;
  display: block;
  margin: 0 0 4px;
  padding: 0 0 8px;
  background: transparent;
  border-bottom: 2px solid var(--jif-cyan-300);
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.obj_issue_toc .articles,
.obj_issue_toc .cmp_article_list {
  margin: 0;
}

/* Shared article rows (homepage, issue, search). simpleOJS3 markup:
   h3.title, .meta (.authors .pages .published), .galley_list,
   .doi_container, .article_statistic. Grid replaces its floats. */
.cmp_article_list > li,
.obj_issue_toc .articles > li,
.page_search .search_results > li {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--jif-border);
}

.cmp_article_list > li:last-child,
.page_search .search_results > li:last-child {
  border-bottom: 0;
}

.obj_article_summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title galley"
    "meta  galley"
    "doi   galley"
    "stats galley";
  column-gap: 20px;
  align-items: start;
}

/* Mockup: metrics sit between the text and the PDF button */
@media (min-width: 768px) {
  .obj_article_summary:has(> .article_statistic) {
    grid-template-columns: minmax(0, 1fr) 150px auto;
    grid-template-areas:
      "title stats galley"
      "meta  stats galley"
      "doi   stats galley";
  }

  .obj_article_summary > .article_statistic {
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
    padding-left: 14px;
    border-left: 1px solid var(--jif-border);
  }
}

.obj_article_summary > .cover {
  display: none;
}

.obj_article_summary > .title,
.pkp_structure_main .obj_article_summary > .title {
  grid-area: title;
  margin: 0 0 6px;
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.34;
  text-transform: none;
}

.obj_article_summary > .title a {
  color: var(--jif-navy-900);
  text-decoration: none;
}

.obj_article_summary > .title a:hover,
.obj_article_summary > .title a:focus {
  color: var(--jif-blue-600);
  text-decoration: underline;
}

.obj_article_summary .subtitle {
  display: block;
  color: var(--jif-muted);
  font-weight: 400;
}

.obj_article_summary > .meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  position: relative;
  padding-top: 0;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
  line-height: 1.5;
}

.obj_article_summary .authors {
  flex: 1 1 100%;
  padding-right: 0;
  color: #4f606c;
}

/* simpleOJS3 page badge: bordered pill -> quiet metadata */
.obj_article_summary .pages,
.obj_article_summary .published {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--jif-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.obj_article_summary .pages .fa {
  margin-right: 4px;
  color: var(--jif-blue-600);
}

.obj_article_summary .galley_list,
.obj_article_summary > .galleys_links {
  grid-area: galley;
  float: none;
  width: auto;
  margin: 2px 0 0;
}

.obj_article_summary .galleys_links {
  margin: 0;
}

.obj_article_summary .galleys_links li {
  display: block;
  margin: 0 0 6px;
}

.obj_article_summary .doi_container,
.obj_article_summary > .doiInSummary {
  grid-area: doi;
  float: none;
  width: auto;
  margin: 4px 0 0;
  padding: 0;
  text-align: left;
  font-family: var(--jif-sans);
  font-size: 13.5px;
}

/* The theme's DOI icon is requested over http (blocked as mixed content);
   the link text already reads "DOI : ...". */
.doi_link {
  padding: 0;
  background-image: none;
  color: var(--jif-blue-700);
  font-size: 13.5px;
}

.doi_logo:empty {
  display: none;
}

.obj_article_summary .article_statistic {
  grid-area: stats;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin-top: 4px;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 12.5px;
}

.obj_article_summary .abstract_count,
.obj_article_summary .pdf_count {
  float: none;
  width: auto;
  text-align: left;
}

.obj_article_summary .article_statistic .fa {
  margin-right: 4px;
  color: var(--jif-cyan-500);
}

/* Generic statistic class fragments kept from v1.0.0 (other plugins) */
.obj_article_summary .stat,
.obj_article_summary .stats,
.obj_article_summary .views,
.obj_article_summary .downloads {
  color: var(--jif-muted);
  font-size: 12.5px;
}

.page_issue > h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.3rem);
}

/* ==========================================================
   12. ARCHIVES
   ========================================================== */
.page_issue_archive .issues_archive {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.page_issue_archive .issues_archive > li {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.obj_issue_summary {
  position: relative;
  display: flow-root;
  min-height: 0;
  padding: 14px 16px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
  transition: var(--jif-transition);
}

.obj_issue_summary:hover,
.obj_issue_summary:focus-within {
  border-color: var(--jif-border-strong);
  box-shadow: var(--jif-shadow);
}

.obj_issue_summary .cover {
  float: left;
  width: 96px;
  margin: 0 18px 0 0;
}

.obj_issue_summary .cover img {
  display: block;
  width: 100%;
  max-height: none;
  border: 1px solid var(--jif-border);
  border-radius: 3px;
}

/* Volume/number/year (.series) leads; the issue title follows */
.obj_issue_summary h2,
.pkp_structure_main .obj_issue_summary h2 {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.obj_issue_summary .series {
  margin: 0;
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.obj_issue_summary .title {
  color: var(--jif-purple-700);
  font-family: var(--jif-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

/* Whole card follows the existing issue link */
.obj_issue_summary .title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.obj_issue_summary:hover .series {
  color: var(--jif-blue-700);
}

.obj_issue_summary .description {
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
  line-height: 1.55;
}

.obj_issue_summary .description p {
  margin: 0 0 4px;
}

.obj_issue_summary .description img {
  width: auto;
  height: 20px;
  vertical-align: middle;
}

/* ==========================================================
   13. ARTICLE DETAIL
   ========================================================== */
.obj_article_details > .page_title,
.pkp_structure_main .obj_article_details > .page_title {
  margin: 4px 0 0;
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: clamp(1.85rem, 2.9vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-transform: none;
}

.obj_article_details > .subtitle {
  margin-top: 8px;
  color: var(--jif-muted);
  font-family: var(--jif-serif);
  font-size: 1.15rem;
  line-height: 1.45;
}

/* Bootstrap 5 ".row" (flex, 100% children, negative margins) collides
   with the OJS article ".row"; an explicit grid replaces it. */
.obj_article_details .row {
  display: block;
  margin: 22px 0 0;
  border: 0;
}

.obj_article_details .row > * {
  width: auto;
  max-width: none;
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.obj_article_details .main_entry,
.obj_article_details .entry_details {
  float: none;
  width: auto;
  margin: 0;
  border: 0;
}

@media (min-width: 992px) {
  .obj_article_details .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 30px;
    align-items: start;
  }

  .obj_article_details .row::before,
  .obj_article_details .row::after {
    display: none;
  }
}

.obj_article_details .main_entry .item {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--jif-border);
}

.obj_article_details .main_entry .item:last-child {
  border-bottom: 0;
}

.obj_article_details .main_entry .item .label,
.pkp_structure_main .obj_article_details .main_entry .item .label {
  display: block;
  position: relative;
  margin: 0 0 12px;
  padding: 0 0 8px;
  border: 0;
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.obj_article_details .main_entry .item.abstract .label::after,
.obj_article_details .main_entry .item.references .label::after,
.obj_article_details .main_entry .item.author_bios .label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--jif-cyan-500);
}

/* Authors / affiliations / ORCID */
.obj_article_details .item.authors .authors li {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
}

.obj_article_details .authors .name {
  color: var(--jif-text-strong);
  font-family: var(--jif-sans);
  font-size: 16px;
  font-weight: 700;
}

.obj_article_details .authors .affiliation {
  display: block;
  margin-top: 1px;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
  line-height: 1.45;
}

.obj_article_details .authors .orcid {
  margin-top: 2px;
  font-family: var(--jif-sans);
  font-size: 12.5px;
}

.obj_article_details .authors .orcid a {
  color: var(--jif-success);
}

/* DOI strip */
.obj_article_details .main_entry .item.doi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 14px;
  background: var(--jif-surface-blue);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
  font-family: var(--jif-sans);
  font-size: 15px;
}

.obj_article_details .main_entry .item.doi .label,
.pkp_structure_main .obj_article_details .main_entry .item.doi .label {
  display: inline-block;
  margin: 0;
  padding: 1px 7px;
  background: var(--jif-navy-900);
  border-radius: 3px;
  color: var(--jif-white);
  font-family: var(--jif-sans);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.obj_article_details .main_entry .item.doi a {
  overflow-wrap: anywhere;
}

/* Keywords */
.obj_article_details .main_entry .item.keywords {
  font-family: var(--jif-sans);
  font-size: 15px;
}

.obj_article_details .main_entry .item.keywords .label,
.pkp_structure_main .obj_article_details .main_entry .item.keywords .label {
  display: inline;
  margin: 0 6px 0 0;
  padding: 0;
  font-family: var(--jif-sans);
  font-size: 15px;
}

/* Abstract: left aligned (simpleOJS3 .abstrak justifies) */
.obj_article_details .item.abstract,
.obj_article_details .item.references,
.obj_article_details .author_bios {
  color: #334653;
}

.obj_article_details .abstrak,
.obj_article_details .item.abstract p {
  max-width: 80ch;
  font-size: 16.5px;
  line-height: 1.76;
  text-align: left;
}

.obj_article_details .item.references .value p {
  margin: 0 0 9px;
  padding-left: 24px;
  text-indent: -24px;
  font-size: 14.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.obj_article_details .downloads_chart .label {
  font-family: var(--jif-sans);
}

.usageStatsUnavailable {
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
}

.obj_article_details .author_bios .sub_item {
  padding: 14px 0;
  border-top: 1px solid var(--jif-border);
}

/* ==========================================================
   14. ARTICLE METADATA / CITATION / METRICS
   ========================================================== */
.obj_article_details .entry_details {
  background: transparent;
  font-family: var(--jif-sans);
}

.obj_article_details .entry_details .item {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
  box-shadow: none;
  font-size: 14px;
  line-height: 1.55;
}

.obj_article_details .entry_details .item:last-child {
  border-bottom: 1px solid var(--jif-border);
}

.obj_article_details .entry_details .item .label,
.obj_article_details .entry_details .sub_item .label,
.obj_article_details .entry_details .item > .label,
.obj_article_details .entry_details .sub_item:first-child > .label,
.obj_article_details .entry_details .sub_item:not(:first-child) .label,
.pkp_structure_main .obj_article_details .entry_details .item .label {
  display: block;
  margin: 0 0 8px;
  padding: 0 0 6px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--jif-border);
  border-radius: 0;
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.obj_article_details .entry_details .item > .value,
.obj_article_details .entry_details .sub_item .value {
  padding: 0;
  color: var(--jif-text);
  font-size: 14px;
  line-height: 1.55;
}

.obj_article_details .entry_details .sub_item + .sub_item {
  margin-top: 14px;
}

/* Issue cover keeps the JIF purple identity */
.obj_article_details .entry_details .item.cover_image {
  padding: 12px;
  background: var(--jif-purple-100);
  border-color: #ddd2ee;
}

.obj_article_details .entry_details .item.cover_image img {
  display: block;
  max-width: 170px;
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: var(--jif-shadow);
}

/* PDF: the main action */
.obj_article_details .entry_details .item.galleys {
  padding: 0;
  background: transparent;
  border: 0;
}

.obj_article_details .entry_details .galleys_links li {
  margin: 0 0 8px;
}

.obj_article_details .entry_details .obj_galley_link {
  display: flex;
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.obj_article_details .citation_display .value,
.obj_article_details .citation_display .csl-entry {
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.obj_article_details .citation_formats {
  margin-top: 10px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border-strong);
  border-radius: var(--jif-radius-sm);
}

.obj_article_details .citation_formats_button {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  background: var(--jif-white);
  border: 0;
  border-radius: var(--jif-radius-sm);
  color: var(--jif-blue-700);
  font-size: 14px;
  font-weight: 600;
  line-height: 38px;
  text-align: left;
}

.obj_article_details .citation_formats_button:hover,
.obj_article_details .citation_formats_button:focus,
.obj_article_details .citation_formats_styles a:focus,
.obj_article_details .citation_formats_styles a:hover {
  background: var(--jif-surface-blue);
  color: var(--jif-navy-900);
}

.obj_article_details .citation_formats_list {
  padding: 4px 12px 10px;
  font-size: 14px;
}

.obj_article_details .copyright p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
}

.obj_article_details .copyright ul {
  padding-left: 18px;
  font-size: 13px;
}

.obj_article_details .copyright img,
.obj_article_details a[rel="license"] img {
  max-width: 110px;
}

/* Dimensions badge ("Citation Check") */
.obj_article_details .__dimensions_badge_embed__ {
  min-height: 0;
}

/* ==========================================================
   15. STATIC / ABOUT / SCOPE
   ========================================================== */
.pkp_structure_main .page {
  font-size: 16.5px;
}

.pkp_structure_main .page > p,
.pkp_structure_main .page > ul,
.pkp_structure_main .page > ol,
.pkp_structure_main .page > section > p,
.pkp_structure_main .page > section > ul,
.pkp_structure_main .page > section > ol {
  max-width: 82ch;
}

.pkp_structure_main .page h2 {
  margin: 32px 0 12px;
  color: var(--jif-navy-900);
  font-size: 1.45rem;
  line-height: 1.28;
}

.pkp_structure_main .page h3 {
  margin: 26px 0 10px;
  color: var(--jif-blue-700);
  font-size: 1.18rem;
  line-height: 1.35;
}

.pkp_structure_main .page h4 {
  margin: 24px 0 8px;
  color: var(--jif-navy-900);
  font-size: 1.1rem;
  line-height: 1.35;
}

.pkp_structure_main .page ul:not([class]) > li::marker,
.pkp_structure_main .page ol:not([class]) > li::marker {
  color: var(--jif-blue-600);
}

.pkp_structure_main .page blockquote {
  margin: 24px 0;
  padding: 13px 18px;
  background: var(--jif-surface-blue);
  border-left: 4px solid var(--jif-cyan-500);
  color: #425562;
}

.pkp_structure_main .page hr {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: var(--jif-border);
}

/* ==========================================================
   16. POLICY PAGES
   ========================================================== */
/* Static policy pages (pkp_page_pe, pkp_page_policy*, ...) use h2/h4
   headings, sometimes inside <section>. */
.pkp_structure_main .page:not([class*="page_"]) h2,
.pkp_structure_main .page:not([class*="page_"]) > section > h2 {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--jif-border);
}

.pkp_structure_main .page:not([class*="page_"]) h4 a {
  color: var(--jif-navy-900);
  text-decoration: none;
}

.pkp_structure_main .page:not([class*="page_"]) h4 a:hover,
.pkp_structure_main .page:not([class*="page_"]) h4 a:focus {
  color: var(--jif-blue-600);
  text-decoration: underline;
}

.pkp_structure_main .page:not([class*="page_"]) h4 {
  padding-top: 14px;
  border-top: 1px solid var(--jif-border);
}

.pkp_structure_main .page:not([class*="page_"]) > h1 + p + h4,
.pkp_structure_main .page:not([class*="page_"]) > h1 + h4 {
  padding-top: 0;
  border-top: 0;
}

/* ==========================================================
   17. EDITORIAL TEAM
   ========================================================== */
/* Live markup: #group > p > strong (role) + ul > li (linked name,
   institution, country). Names link to Scopus profiles. */
.page_editorial_team p > strong:only-child {
  color: var(--jif-navy-900);
}

.page_editorial_team p:has(> strong:only-child) {
  position: relative;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--jif-border);
  font-family: var(--jif-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.page_editorial_team p:has(> strong:only-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--jif-cyan-500);
}

.page_editorial_team p:not(:has(*)) {
  margin: 0;
}

.page_editorial_team ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .page_editorial_team ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* A single person (Editor in Chief) spans the row */
  .page_editorial_team ul > li:only-child {
    grid-column: 1 / -1;
  }
}

.page_editorial_team ul > li {
  margin: 0;
  padding: 10px 14px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-left: 3px solid var(--jif-blue-600);
  border-radius: var(--jif-radius-sm);
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 14.5px;
  line-height: 1.5;
}

.page_editorial_team ul > li > a {
  color: var(--jif-text-strong);
  font-weight: 700;
  text-decoration: none;
}

.page_editorial_team ul > li > a:hover,
.page_editorial_team ul > li > a:focus {
  color: var(--jif-blue-700);
  text-decoration: underline;
}

/* ==========================================================
   18. SUBMISSIONS / AUTHOR GUIDELINES
   ========================================================== */
.page_submissions > .cmp_notification {
  margin-bottom: 28px;
}

.page_submissions .submission_checklist,
.page_submissions .author_guidelines,
.page_submissions .section_policy,
.page_submissions .copyright_notice,
.page_submissions .privacy_statement {
  margin-top: 30px;
}

.pkp_structure_main .page_submissions h2 {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--jif-border);
  font-size: 1.5rem;
}

.pkp_structure_main .page_submissions h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--jif-cyan-500);
}

.page_submissions .submission_checklist {
  padding: 18px 20px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
  font-family: var(--jif-sans);
  font-size: 15px;
  line-height: 1.6;
}

.page_submissions .submission_checklist > ul,
.page_submissions .submission_checklist ul {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  list-style: none;
  font-size: 15px;
}

.page_submissions .submission_checklist > ul > li,
.page_submissions .submission_checklist ul li {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 12px 10px 44px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
  line-height: 1.5;
}

.page_submissions .submission_checklist .fa-check,
.page_submissions .submission_checklist ul li .fa {
  position: absolute;
  top: 11px;
  left: 13px;
  width: 20px;
  height: 20px;
  background: var(--jif-blue-600);
  border-radius: 4px;
  color: var(--jif-white);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  transform: none;
}

.page_submissions .author_guidelines > p > strong:only-child {
  color: var(--jif-navy-900);
  font-size: 1.08em;
}

.page_submissions .author_guidelines img,
.page_submissions .section_policy img {
  height: auto;
}

/* ==========================================================
   19. ANNOUNCEMENTS
   ========================================================== */
.page_announcements .cmp_announcements,
.cmp_announcements {
  margin-left: 0;
  margin-right: 0;
}

.page_announcements .cmp_announcements > li {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.page_announcements .obj_announcement_summary,
.obj_announcement_full {
  padding: 18px 20px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-left: 4px solid var(--jif-blue-600);
  border-radius: var(--jif-radius);
}

.obj_announcement_summary h2,
.obj_announcement_summary h3,
.obj_announcement_summary h4,
.pkp_structure_main .obj_announcement_summary h2,
.pkp_structure_main .obj_announcement_summary h3 {
  margin: 0 0 4px;
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.22rem;
  line-height: 1.35;
}

.obj_announcement_summary h2 a,
.obj_announcement_summary h3 a,
.obj_announcement_summary h4 a {
  color: var(--jif-navy-900);
  text-decoration: none;
}

.obj_announcement_summary h2 a:hover,
.obj_announcement_summary h3 a:hover,
.obj_announcement_summary h4 a:hover {
  color: var(--jif-blue-600);
  text-decoration: underline;
}

.obj_announcement_summary .date,
.obj_announcement_full .date {
  margin: 0 0 8px;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
}

.obj_announcement_summary .date::before {
  color: var(--jif-blue-600);
}

.obj_announcement_summary .summary p {
  margin: 0 0 8px;
  font-size: 15.5px;
}

.obj_announcement_summary .read_more {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 4px 12px;
  background: var(--jif-surface-blue);
  border-radius: var(--jif-radius-sm);
  color: var(--jif-blue-700);
  font-family: var(--jif-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
}

.obj_announcement_summary .read_more::after {
  position: static;
  width: auto;
  height: auto;
  margin-left: 6px;
  content: "\2192";
  font: inherit;
  line-height: inherit;
  transform: none;
}

.obj_announcement_summary .read_more:hover,
.obj_announcement_summary .read_more:focus {
  background: var(--jif-blue-700);
  color: var(--jif-white);
}

/* ==========================================================
   20. SEARCH
   ========================================================== */
.page_search .cmp_form {
  margin-bottom: 26px;
  padding: 18px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
}

.page_search .search_input {
  margin-bottom: 12px;
}

.page_search .search_input .query {
  width: 100%;
  max-width: none;
  height: 48px;
  font-family: var(--jif-sans);
  font-size: 17px;
}

.page_search .search_advanced {
  margin: 0 0 12px;
  padding: 0 16px 14px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
}

.page_search .search_advanced > legend {
  padding: 0 6px;
  color: var(--jif-navy-900);
  font-family: var(--jif-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.page_search .search_advanced fieldset {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}

.page_search .search_advanced fieldset legend {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.page_search .search_advanced label {
  margin: 0 4px 0 0;
  color: var(--jif-muted);
  font-size: 13.5px;
}

.page_search .search_advanced select {
  width: auto;
  min-height: 36px;
  margin: 0 8px 6px 0;
  padding: 4px 6px;
}

.page_search .search_advanced .author input {
  max-width: 100%;
}

/* Search button: theme draws its icon in ::after */
.page_search .submit button {
  min-width: 140px;
  padding: 0 20px 0 46px;
  line-height: 42px;
}

.page_search .submit button::after {
  top: 0;
  bottom: 0;
  left: 0;
  width: 38px;
  height: auto;
  background: var(--jif-navy-800);
  border: 0;
  border-radius: var(--jif-radius-sm) 0 0 var(--jif-radius-sm);
  box-shadow: none;
  color: var(--jif-white);
  line-height: 42px;
}

.page_search .submit button:hover::after,
.page_search .submit button:focus::after {
  background: var(--jif-navy-950);
  box-shadow: none;
}

.page_search .search_results {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--jif-cyan-300);
  list-style: none;
}

.page_search .obj_article_summary .published::before {
  content: "\00b7\00a0";
}

.cmp_pagination {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--jif-border);
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 14px;
}

.cmp_pagination a,
.cmp_pagination strong {
  display: inline-block;
  min-width: 34px;
  margin-left: 4px;
  padding: 0 9px;
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
  line-height: 32px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}

.cmp_pagination strong {
  background: var(--jif-blue-700);
  border-color: var(--jif-blue-700);
  color: var(--jif-white);
}

.cmp_pagination a {
  color: var(--jif-blue-700);
  font-weight: 650;
}

.cmp_pagination a:hover,
.cmp_pagination a:focus {
  background: var(--jif-surface-blue);
}

/* ==========================================================
   21. CONTACT / USER PAGES
   ========================================================== */
.page_contact .contact_section {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
}

@media (min-width: 768px) {
  .page_contact .contact_section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page_contact .contact_section .address {
    grid-column: 1 / -1;
  }
}

.page_contact .contact_section .address,
.page_contact .contact_section .contact,
.page_contact .contact_section .contact.primary,
.page_contact .contact_section .contact.support {
  float: none;
  width: auto;
  margin: 0;
  padding: 16px 18px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
  font-family: var(--jif-sans);
  font-size: 15px;
  line-height: 1.6;
}

.page_contact .contact_section .address {
  border-left: 4px solid var(--jif-blue-600);
}

.page_contact .contact_section .address p {
  margin: 0 0 4px;
}

.page_contact .contact h3,
.pkp_structure_main .page_contact .contact_section h3 {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--jif-border);
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.1rem;
}

.page_contact .contact_section .name {
  color: var(--jif-text-strong);
  font-weight: 700;
}

.page_contact .contact_section .label {
  margin-right: 0.35em;
  font-weight: 700;
}

.page_contact .contact_section .email:empty {
  display: none;
}

.page_login .cmp_form,
.page_register .cmp_form,
.page_lost_password .cmp_form,
.page_reset_password .cmp_form {
  max-width: 620px;
  padding: 20px 22px;
  background: var(--jif-surface);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
  font-family: var(--jif-sans);
}

.page_login .cmp_form input[type="text"],
.page_login .cmp_form input[type="password"],
.page_register .cmp_form input[type="text"],
.page_register .cmp_form input[type="email"],
.page_register .cmp_form input[type="password"],
.page_register .cmp_form select {
  max-width: 100%;
}

.page_login .buttons,
.page_register .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ==========================================================
   22. SIDEBAR BLOCKS
   ========================================================== */
.pkp_structure_sidebar {
  font-family: var(--jif-sans);
}

.pkp_structure_sidebar .pkp_block,
.pkp_block {
  margin: 0 0 18px;
  padding: 0 16px 16px;
  overflow: hidden;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius);
  box-shadow: var(--jif-shadow);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Title bars: real block titles, and simpleOJS3 custom blocks whose
   visible title is <span class="title"> inside the first paragraph */
.pkp_block > .title:not(.pkp_screen_reader),
.pkp_block .content > p:first-child > span.title {
  display: block;
  position: relative;
  margin: 0 -16px 12px;
  padding: 10px 16px 9px;
  background: var(--jif-surface-blue);
  border: 0;
  border-bottom: 1px solid var(--jif-border);
  color: var(--jif-navy-900);
  font-family: var(--jif-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.pkp_block .content > p:first-child {
  margin-top: 0;
}

.pkp_block > .title:not(.pkp_screen_reader) + .content {
  padding-top: 0;
}

/* Blocks without a visible title still get top breathing room */
.pkp_block .content > :first-child:not(p),
.pkp_block .content > p:first-child:not(:has(> span.title)) {
  margin-top: 16px;
}

.pkp_block .content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_block .content li {
  padding: 7px 0;
  border-bottom: 1px solid #edf2f5;
}

.pkp_block .content li:last-child {
  border-bottom: 0;
}

.pkp_block a {
  color: var(--jif-blue-700);
}

.pkp_block a:hover,
.pkp_block a:focus {
  color: var(--jif-navy-900);
}

/* Logo links (Manuscript Tools): official images, normalised as tiles */
.pkp_block .content > p > a:has(> img[src]) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 10px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
}

.pkp_block .content > p > a:has(> img[src]):hover,
.pkp_block .content > p > a:has(> img[src]):focus {
  border-color: var(--jif-border-strong);
  box-shadow: var(--jif-shadow);
}

.pkp_block .content img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.pkp_block .content > p > a > img {
  width: auto;
  max-height: 34px;
}

.pkp_block table img,
.pkp_block .logos img,
.pkp_block .indexing img,
.pkp_block [class*="logo"] img {
  width: auto;
  max-height: 46px;
  margin: 4px 6px;
}

.pkp_block center {
  font-size: 13.5px;
  line-height: 1.6;
}

/* Make a Submission: JIF heritage purple CTA. simpleOJS3 forces padding
   and display with !important on .block_make_submission_link. */
.pkp_structure_sidebar .pkp_block.block_make_submission,
.block_make_submission {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.block_make_submission a,
.pkp_structure_sidebar .block_make_submission a.block_make_submission_link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 14px 18px !important;
  background: var(--jif-purple-700);
  border: 1px solid var(--jif-purple-700);
  border-radius: var(--jif-radius);
  box-shadow: var(--jif-shadow) !important;
  color: var(--jif-white);
  font-family: var(--jif-sans);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}

.block_make_submission a::before {
  content: "\f1d8";
  font: normal normal normal 22px/1 FontAwesome;
}

.block_make_submission a::after {
  content: "\2192";
  font-weight: 700;
}

.block_make_submission a:hover,
.block_make_submission a:focus,
.pkp_structure_sidebar .block_make_submission a.block_make_submission_link:hover,
.pkp_structure_sidebar .block_make_submission a.block_make_submission_link:focus {
  background: var(--jif-purple-600);
  border-color: var(--jif-purple-600);
  color: var(--jif-white);
}

.block_make_submission a:focus-visible {
  outline: 3px solid var(--jif-cyan-300);
  outline-offset: 2px;
}

/* ==========================================================
   23. TABLES / NOTICES / MISC
   ========================================================== */
.pkp_structure_main .page table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: var(--jif-sans);
  font-size: 15px;
}

.pkp_structure_main .page table th,
.pkp_structure_main .page table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--jif-border);
  vertical-align: top;
  text-align: left;
}

.pkp_structure_main .page table th {
  background: var(--jif-surface-blue);
  color: var(--jif-navy-900);
  font-weight: 700;
}

.pkp_structure_main figure {
  margin: 28px auto;
}

.pkp_structure_main figure img {
  display: block;
  margin: 0 auto;
}

.pkp_structure_main figcaption {
  margin-top: 8px;
  color: var(--jif-muted);
  font-family: var(--jif-sans);
  font-size: 13.5px;
  line-height: 1.5;
}

.cmp_notification {
  padding: 14px 17px;
  background: var(--jif-surface-blue);
  border: 1px solid var(--jif-border);
  border-left: 4px solid var(--jif-blue-600);
  border-radius: var(--jif-radius-sm);
  color: var(--jif-text);
  font-family: var(--jif-sans);
  font-size: 15px;
}

.cmp_notification a {
  font-weight: 700;
}

.cmp_notification.warning,
.cmp_notification.notice {
  border-left-color: var(--jif-warning);
}

.cmp_notification.error,
.cmp_notification.no {
  border-left-color: var(--jif-danger);
}

/* ==========================================================
   24. FOOTER
   ========================================================== */
.pkp_structure_footer_wrapper {
  margin-top: 30px;
  background: var(--jif-navy-950);
  border-top: 3px solid var(--jif-blue-600);
  border-bottom: 0;  /* theme: 1.43rem purple bar */
  color: #dceaf2;
  font-family: var(--jif-sans);
}

.pkp_structure_footer {
  width: 100%;
  padding: 26px 16px 22px;
  text-align: left;
}

@media (min-width: 768px) {
  .pkp_structure_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 30px;
    width: calc(100% - (var(--jif-gutter) * 2));
    max-width: var(--jif-container);
    padding: 30px 0 26px;
  }

  .pkp_structure_footer::before,
  .pkp_structure_footer::after {
    display: none;
  }

  .pkp_footer_content {
    flex: 1 1 480px;
  }
}

/* simpleOJS3 forces .pkp_footer_content {width:80% !important;
   float:left !important}; overridden for the flex/stacked footer. */
.pkp_structure_footer .pkp_footer_content {
  width: auto !important;
  float: none !important;
}

.pkp_footer_content {
  padding: 0;
  color: #dceaf2;
  font-size: 14.5px;
  line-height: 1.6;
}

.pkp_footer_content p {
  margin: 0 0 10px;
}

.pkp_footer_content h2,
.pkp_footer_content h3,
.pkp_footer_content h4,
.pkp_footer_content strong {
  color: var(--jif-white);
}

.pkp_footer_content a {
  color: #d9f4fb;
}

.pkp_footer_content a:hover,
.pkp_footer_content a:focus {
  color: var(--jif-white);
}

/* OJS/PKP brand stays visible. simpleOJS3 forces
   .pkp_brand_footer {width:20% !important; float:right !important} and
   img {width:70% !important}; overridden so it stacks on phones. */
.pkp_structure_footer .pkp_brand_footer {
  width: auto !important;
  float: none !important;
  padding: 0;
}

@media (max-width: 767px) {
  .pkp_structure_footer .pkp_brand_footer {
    margin-top: 18px;
  }
}

.pkp_brand_footer a {
  float: none;
  display: block;
  opacity: 0.85;
}

.pkp_brand_footer img {
  display: block;
  width: auto !important;
  max-width: 140px;
  max-height: 48px;
  filter: brightness(0) invert(1);
}

/* ==========================================================
   25. TABLET
   ========================================================== */
@media (min-width: 768px) and (max-width: 991px) {
  .pkp_structure_sidebar {
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--jif-border);
  }

  .obj_article_details > .page_title {
    font-size: 2.1rem;
  }
}

/* ==========================================================
   26. MOBILE
   ========================================================== */
@media (max-width: 767px) {
  body {
    font-size: 15.5px;
  }

  .pkp_structure_sidebar {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--jif-border);
  }

  .pkp_structure_main .page > h1,
  .pkp_structure_main .page > h1.page_title,
  .obj_article_details > .page_title,
  .pkp_structure_main .obj_article_details > .page_title {
    font-size: 1.75rem;
  }

  .page_index_journal .homepage_about h2,
  .page_index_journal .current_issue > h2,
  .page_index_journal .cmp_announcements > h2 {
    font-size: 1.5rem;
  }

  /* Article rows: PDF moves below the metadata */
  .obj_article_summary {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "meta"
      "doi"
      "stats"
      "galley";
  }

  .obj_article_summary .galley_list,
  .obj_article_summary > .galleys_links {
    margin-top: 10px;
  }

  .obj_article_summary .galleys_links li {
    display: inline-block;
    margin: 0 8px 0 0;
  }

  .obj_galley_link {
    min-height: 42px;
  }

  .obj_issue_toc .heading {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
  }

  .obj_issue_toc .heading > *,
  .obj_issue_toc .heading > .cover {
    grid-column: 1;
    grid-row: auto;
  }

  .obj_issue_toc .heading > .cover {
    width: 140px;
    margin-bottom: 12px;
  }

  .obj_issue_summary .cover {
    width: 72px;
    margin-right: 14px;
  }

  .obj_issue_summary .series {
    font-size: 1.1rem;
  }

  .obj_article_details .entry_details {
    margin-top: 8px;
  }

  .page_search .cmp_form {
    padding: 14px;
  }

  .page_search .date_range,
  .page_search .author {
    float: none;
    width: 100%;
  }

  .page_search .submit {
    text-align: left;
  }

  .page_search .submit button {
    width: 100%;
    min-height: 44px;
  }

  .pkp_structure_main table,
  .pkp_structure_main .cmp_table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pkp_block {
    margin-bottom: 14px;
  }
}

@media (max-width: 430px) {
  .pkp_structure_content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .obj_article_summary > .title {
    font-size: 1.02rem;
  }

  .pkp_page_index .homepage_image {
    margin-left: -14px;
    margin-right: -14px;
  }
}

/* ==========================================================
   27. ACCESSIBILITY / REDUCED MOTION
   ========================================================== */
.cmp_skip_to_content a:focus {
  background: var(--jif-navy-900);
  color: var(--jif-white);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================
   28. PRINT
   ========================================================== */
@media print {
  body {
    background: #fff;
    color: #000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11pt;
    line-height: 1.45;
  }

  .pkp_structure_head,
  .pkp_structure_sidebar,
  .pkp_structure_footer_wrapper,
  .cmp_breadcrumbs,
  .block_make_submission,
  .galleys_links,
  .galley_list,
  .article_statistic,
  .pkp_navigation_search_wrapper,
  .cmp_pagination,
  .homepage_image {
    display: none !important;
  }

  .pkp_structure_content,
  .pkp_structure_main,
  .obj_article_details .row,
  .obj_article_details .main_entry,
  .obj_article_details .entry_details {
    display: block;
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ==========================================================
   29. OJS 3.3.0.20 COMPATIBILITY FIXES
   ========================================================== */
/* Bootstrap 5 sets ul/ol padding-left: 2rem globally. This is kept for
   content lists; component lists (checklist, editorial directory, sidebar,
   article lists) reset it in their own sections. */

/* Bootstrap 5 "button { border-radius: 0 }" on the citation toggle and
   OJS buttons is replaced by the radii above; Bootstrap ".collapse" is
   not used by OJS markup. */

/* simpleOJS3 .article_statistic inline style="clear:both" is harmless
   inside the grid row. */

/* ==========================================================
   30. CONTENT HOOKS FOR EDITOR-BUILT BLOCKS AND FOOTER (v1.2.0)
   ----------------------------------------------------------
   Used by the HTML in JIF_Panduan_Konten_Mockup_v1.2.0.md.
   They only style text typed into OJS. Icons below are
   decorative FontAwesome 4.7 glyphs (already loaded by OJS),
   chosen by link target; no journal facts are generated.
   ========================================================== */

/* Link list with icon + chevron: <ul class="jif-links"> */
.pkp_block .content ul.jif-links,
ul.jif-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.jif-links > li,
.pkp_block .content ul.jif-links > li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #edf2f5;
}

ul.jif-links > li:last-child {
  border-bottom: 0;
}

ul.jif-links > li > a {
  display: block;
  position: relative;
  padding: 8px 22px 8px 28px;
  color: var(--jif-text);
  font-size: 14.5px;
  line-height: 1.35;
  text-decoration: none;
}

ul.jif-links > li > a small {
  display: block;
  color: var(--jif-muted);
  font-size: 12.5px;
}

ul.jif-links > li > a::before {
  content: "\f105";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 16px;
  color: var(--jif-navy-900);
  font: normal normal normal 15px/1 FontAwesome;
  text-align: center;
}

ul.jif-links > li > a::after {
  content: "\203A";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-55%);
  color: var(--jif-muted-2);
  font-size: 19px;
}

ul.jif-links > li > a:hover,
ul.jif-links > li > a:focus {
  background: var(--jif-surface-blue);
  color: var(--jif-navy-900);
  box-shadow: inset 3px 0 0 var(--jif-cyan-500);
}

/* Decorative icons by destination */
ul.jif-links a[href$="/focus_scope"]::before { content: "\f05b"; }
ul.jif-links a[href$="/about/editorialTeam"]::before { content: "\f0c0"; }
ul.jif-links a[href$="/reviewer"]::before { content: "\f007"; }
ul.jif-links a[href$="/about"]::before { content: "\f073"; }
ul.jif-links a[href$="/policyoa"]::before { content: "\f09c"; }
ul.jif-links a[href$="/policyap"]::before { content: "\f187"; }
ul.jif-links a[href$="/indexing"]::before { content: "\f002"; }
ul.jif-links a[href$="/about/contact"]::before { content: "\f017"; }
ul.jif-links a[href$="/charge"]::before { content: "\f15c"; }

/* Policy list variant: chevrons only (mockup "Publication Ethics") */
ul.jif-links.jif-links--plain > li > a::before {
  content: "\f105";
}

/* Card title with a leading decorative icon: <span class="title jif-icon-ethics"> */
.pkp_block .content > p:first-child > span.title.jif-icon-ethics::before,
.pkp_block .content > p:first-child > span.title.jif-icon-apc::before {
  margin-right: 10px;
  color: var(--jif-navy-900);
  font: normal normal normal 20px/1 FontAwesome;
}

.pkp_block .content > p:first-child > span.title.jif-icon-ethics::before { content: "\f24e"; }
.pkp_block .content > p:first-child > span.title.jif-icon-apc::before { content: "\f15c"; }

/* Official logo grid: <div class="jif-logos"><a href><img></a>...</div>
   Uses the logo files already on the JIF server; never redrawn. */
.jif-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.jif-logos > a,
.jif-logos > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 6px 8px;
  background: var(--jif-white);
  border: 1px solid var(--jif-border);
  border-radius: var(--jif-radius-sm);
}

.jif-logos > a:hover,
.jif-logos > a:focus {
  border-color: var(--jif-border-strong);
  box-shadow: var(--jif-shadow);
}

.jif-logos img {
  width: auto !important;  /* TinyMCE writes width/height attributes */
  height: auto !important;
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
}

/* Homepage "Additional Content" logo rows (live site): even alignment */
.pkp_page_index .additional_content {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--jif-border);
  font-family: var(--jif-sans);
}

.pkp_page_index .additional_content p:has(> a > img) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.pkp_page_index .additional_content img {
  width: auto;
  max-height: 34px;
  object-fit: contain;
}

/* Indexing services as text chips (official logos can replace them
   later as <a><img></a>; images are then tiled by section 22) */
.jif-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_block .content .jif-index > li,
.jif-index > li {
  margin: 0;
  padding: 0;
  border: 0;
}

.jif-index a {
  display: inline-block;
  padding: 4px 10px;
  background: var(--jif-surface-blue);
  border: 1px solid var(--jif-border);
  border-radius: 999px;
  color: var(--jif-navy-900);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.jif-index a:hover,
.jif-index a:focus {
  background: var(--jif-blue-700);
  border-color: var(--jif-blue-700);
  color: var(--jif-white);
}

/* APC summary: <p class="jif-note"> + <a class="jif-more"> */
.jif-note {
  margin: 0 0 8px;
  color: var(--jif-text);
  font-size: 14px;
  line-height: 1.5;
}

a.jif-more,
.pkp_block a.jif-more,
.pkp_structure_main a.jif-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--jif-surface-blue);
  border-radius: var(--jif-radius-sm);
  color: var(--jif-blue-700);
  font-family: var(--jif-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

a.jif-more::after {
  content: "\2192";
}

a.jif-more:hover,
a.jif-more:focus {
  background: var(--jif-blue-700);
  color: var(--jif-white);
}

/* Footer: <div class="jif-footer"> with three .jif-footer__col */
.pkp_footer_content .jif-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px 0;
}

.jif-footer__col {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.jif-footer__col:first-child {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 0;
  border-left: 0;
}

.jif-footer__col p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}

.jif-footer__col img {
  flex: 0 0 auto;
  width: 64px !important;  /* TinyMCE writes width/height attributes */
  height: auto !important;
}

.jif-footer__title {
  margin: 0 0 8px;
  color: var(--jif-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jif-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jif-footer li {
  margin: 0 0 4px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .pkp_footer_content:has(.jif-footer) {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .pkp_footer_content .jif-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .jif-footer__col {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .jif-footer__col:first-child {
    padding-top: 0;
    border-top: 0;
  }
}
