/* SJAIBT 2026 – custom stylesheet for the OJS 3.4 default theme.
   Colours from the SJAIBT shield logo (steel blue #1e6292, navy). One font: IBM Plex Sans. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --sj-navy: #0e2a43;
  --sj-navy-2: #143a5c;
  --sj-blue: #1e6292;
  --sj-blue-2: #2a7ab5;
  --sj-pale: #eef4f9;
  --sj-line: #d6e2ec;
  --sj-text: #1b2733;
  --sj-muted: #5a6b7b;
  --sj-gold: #e0a72e;
}

/* ---------- base ---------- */
html, body, .pkp_structure_page, input, button, select, textarea,
.pkp_structure_page h1, .pkp_structure_page h2, .pkp_structure_page h3, .pkp_structure_page h4 {
  font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}
body { background: #f4f7fa; color: var(--sj-text); font-size: 16px; }
.pkp_structure_page { background: transparent; }
a { color: var(--sj-blue); }
a:hover, a:focus { color: var(--sj-navy); }
.pkp_structure_main p, .pkp_structure_main li { line-height: 1.65; }
.pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3 { color: var(--sj-navy); font-weight: 600; letter-spacing: -0.01em; }
.pkp_structure_main h2 { font-size: 1.3rem; margin-top: 1.6em; }
.pkp_structure_main h3 { font-size: 1.08rem; }
.sj-hidden { display: none !important; }

/* stray PKP branding */
.pkp_brand_footer { display: none !important; }

/* ---------- header ---------- */
.pkp_structure_head { background: var(--sj-navy); border-bottom: 0; }
.pkp_head_wrapper { padding-top: 14px; }
.pkp_site_name_wrapper { min-height: 0; }
.pkp_site_name { padding: 18px 0 14px; }
.pkp_site_name .is_text, .pkp_site_name a.is_text {
  color: #fff !important; font-weight: 600; font-size: 1.55rem; line-height: 1.25; letter-spacing: -0.01em;
}
.pkp_site_name .is_text:hover { text-decoration: none; color: #dbe9f5 !important; }
.pkp_navigation_user_wrapper a, .pkp_navigation_user a { color: #c9dbea !important; font-size: 0.86rem; }
.pkp_navigation_primary_wrapper { border-top: 1px solid rgba(255,255,255,0.14); }
.pkp_navigation_primary > li > a {
  color: #fff !important; font-weight: 500; font-size: 0.95rem; margin: 0 4px 0 0; padding: 12px 10px; border-bottom: 3px solid transparent;
}
.pkp_navigation_primary > li > a:hover, .pkp_navigation_primary > li > a:focus { border-bottom-color: var(--sj-gold); color: #fff !important; text-decoration: none; }
.pkp_navigation_primary ul { border-radius: 0 0 6px 6px; border: 1px solid var(--sj-line); box-shadow: 0 8px 22px rgba(14,42,67,0.14); }
.pkp_navigation_primary ul a { color: var(--sj-text) !important; border-left: 3px solid transparent; }
.pkp_navigation_primary ul a:hover { border-left-color: var(--sj-blue); background: var(--sj-pale); text-decoration: none; }
.pkp_navigation_search_wrapper a { color: #fff !important; border-bottom-color: transparent !important; }

/* facts strip (added by the sj-facts script) */
.sj-facts { background: #fff; border-bottom: 1px solid var(--sj-line); }
.sj-facts-inner { max-width: 1160px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: repeat(6, 1fr); }
.sj-fact { padding: 11px 14px; border-left: 1px solid var(--sj-line); display: flex; flex-direction: column; gap: 2px; }
.sj-fact:first-child { border-left: 0; padding-left: 0; }
.sj-fact-l { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sj-muted); }
.sj-fact-v { font-weight: 600; color: var(--sj-navy); font-size: 0.92rem; }

/* hero (homepage only, added by the sj-hero script) */
.sj-hero {
  background-color: var(--sj-navy-2);
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(120deg, var(--sj-navy) 0%, var(--sj-blue) 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  color: #fff;
}
.sj-hero-inner { max-width: 1160px; margin: 0 auto; padding: 34px 30px; display: flex; gap: 28px; align-items: center; }
.sj-hero-logo { width: 132px; height: auto; background: #fff; border-radius: 12px; padding: 8px; flex: 0 0 auto; }
.sj-hero-k { display: inline-block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #bcd6ea; margin-bottom: 6px; }
.sj-hero-title { font-size: 1.75rem; font-weight: 700; line-height: 1.22; max-width: 760px; }
.sj-hero-tag { color: #dbe9f5; margin: 8px 0 16px; font-size: 1.02rem; }
.sj-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* buttons */
.sj-btn, a.sj-btn {
  display: inline-block; background: var(--sj-blue); color: #fff !important; font-weight: 600; padding: 10px 18px;
  border-radius: 6px; border: 2px solid var(--sj-blue); text-decoration: none !important; line-height: 1.2;
}
.sj-btn:hover { background: var(--sj-navy); border-color: var(--sj-navy); }
.sj-hero .sj-btn { background: var(--sj-gold); border-color: var(--sj-gold); color: var(--sj-navy) !important; }
.sj-hero .sj-btn:hover { background: #f0bd4e; border-color: #f0bd4e; }
.sj-btn-light, a.sj-btn-light, .sj-hero a.sj-btn.sj-btn-light { background: transparent !important; border-color: rgba(255,255,255,0.7) !important; color: #fff !important; }
.sj-hero a.sj-btn.sj-btn-light:hover { background: rgba(255,255,255,0.12) !important; }
.block_custom .sj-btn { display: block; text-align: center; }
#customblock-find-us-at img, .block_custom img { display: block; margin: 8px auto; max-height: 90px; width: auto; }
.sj-btn-ghost, a.sj-btn-ghost { background: #fff; color: var(--sj-blue) !important; }
.sj-btn-ghost:hover { background: var(--sj-pale); color: var(--sj-navy) !important; }
.sj-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- layout ---------- */
.pkp_structure_content { padding-top: 26px; }
.pkp_structure_main {
  background: #fff; border: 1px solid var(--sj-line); border-radius: 10px; padding: 26px 32px 34px !important;
}
.pkp_structure_main:before, .pkp_structure_main:after { display: none !important; }
.cmp_breadcrumbs ol { font-size: 0.85rem; color: var(--sj-muted); }
.cmp_breadcrumbs a { color: var(--sj-blue); }
.page > h1, .page_index_journal h2, .pkp_structure_main .page h1 {
  font-size: 1.7rem; margin: 6px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--sj-blue);
}

/* sidebar blocks */
.pkp_structure_sidebar .pkp_block {
  background: #fff; border: 1px solid var(--sj-line); border-top: 3px solid var(--sj-blue); border-radius: 8px;
  padding: 16px 18px; margin: 0 0 18px;
}
.pkp_structure_sidebar .pkp_block .title {
  color: var(--sj-navy); font-weight: 600; font-size: 0.98rem; text-transform: none; letter-spacing: 0;
  border-bottom: 1px solid var(--sj-line); padding-bottom: 8px; margin-bottom: 10px; display: block;
}
.pkp_structure_sidebar .pkp_block img { max-width: 100%; height: auto; }
.block_make_submission a { background: var(--sj-blue); color: #fff !important; border-radius: 6px; font-weight: 600; text-align: center; }
.block_make_submission a:hover { background: var(--sj-navy); text-decoration: none; }

/* tables in pages */
.sj-table, .pkp_structure_main table { border-collapse: collapse; width: 100%; margin: 10px 0 18px; }
.sj-table th, .sj-table td, .pkp_structure_main table th, .pkp_structure_main table td {
  border-bottom: 1px solid var(--sj-line); padding: 10px 12px; text-align: left; vertical-align: top;
}
.sj-table th { width: 32%; color: var(--sj-navy); font-weight: 600; background: var(--sj-pale); }
.sj-table small, .page_contact .address { color: var(--sj-muted); }
.sj-lead { font-size: 1.06rem; color: var(--sj-muted); }

/* ---------- homepage ---------- */
.page_index_journal .homepage_about { font-size: 1.02rem; }
.page_index_journal .homepage_about h2 { font-size: 1.3rem; }
.sj-more { font-weight: 500; }
.sj-home { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.sj-box { background: var(--sj-pale); border: 1px solid var(--sj-line); border-radius: 10px; padding: 18px 20px; }
.sj-box h2 { margin: 0 0 8px !important; font-size: 1.12rem !important; border: 0 !important; padding: 0 !important; }
.sj-cfp { grid-column: 1 / -1; background: #fff; border-left: 4px solid var(--sj-gold); }
.sj-steps { margin: 0; padding-left: 20px; }
.sj-steps li { margin: 4px 0; }
.sj-eic-name { font-weight: 600; color: var(--sj-navy); font-size: 1.05rem; margin: 0 0 2px; }
.sj-eic p { margin: 4px 0; }
.sj-trust { grid-column: 1 / -1; background: #fff; }
.sj-trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sj-trust-list li { background: var(--sj-pale); border: 1px solid var(--sj-line); border-radius: 999px; padding: 5px 12px; font-size: 0.9rem; color: var(--sj-navy); }
.page_index_journal .current_issue { margin-top: 28px; }
.page_index_journal .current_issue > h2 { font-size: 1.3rem; }
.page_index_journal .current_issue_title { font-weight: 600; color: var(--sj-navy); }
.page_index_journal .read_more { font-weight: 600; }

/* ---------- article lists ---------- */
.obj_issue_toc .sections .section > h2, .obj_issue_toc .sections .section > h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sj-blue); border-bottom: 1px solid var(--sj-line); padding-bottom: 6px;
}
.obj_article_summary { padding: 14px 0 16px; border-bottom: 1px solid var(--sj-line); }
.obj_article_summary .title a { color: var(--sj-navy); font-weight: 600; font-size: 1.05rem; }
.obj_article_summary .title a:hover { color: var(--sj-blue); }
.obj_article_summary .meta { color: var(--sj-muted); font-size: 0.92rem; }
.galleys_links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.galleys_links li { margin: 0 !important; }
/* view and download counters are not shown */
.galleys_links .cmp_button_wire, .obj_galley_link sup, .galleys_links li:has(> .cmp_button_wire) { display: none !important; }
.obj_galley_link, a.obj_galley_link {
  border: 1.5px solid var(--sj-blue); color: var(--sj-blue) !important; border-radius: 6px; padding: 4px 12px; font-weight: 600; background: #fff;
}
.obj_galley_link:hover { background: var(--sj-blue); color: #fff !important; text-decoration: none; }
.doiInSummary { font-size: 0.88rem; color: var(--sj-muted); }

/* issue archive */
.obj_issue_summary { padding: 14px 0; border-bottom: 1px solid var(--sj-line); }
.obj_issue_summary .title { font-weight: 600; color: var(--sj-navy); }
.obj_issue_summary .cover { display: none; }

/* article page */
.obj_article_details .main_entry .item .label, .obj_article_details .entry_details .item .label {
  color: var(--sj-navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.obj_article_details > .page_title { color: var(--sj-navy); }
.obj_article_details .entry_details { border-color: var(--sj-line); }

/* contact page: emails and phones first, the post-only address last and small */
.page_contact .contact_section { display: flex; flex-direction: column; }
.page_contact .contact_section .address { order: 9; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--sj-line); font-size: 14px; }
.page_contact .contact h3 { color: var(--sj-navy); }

/* ---------- footer ---------- */
.pkp_structure_footer_wrapper { background: var(--sj-navy); color: #c9dbea; border-top: 4px solid var(--sj-blue); margin-top: 36px; }
.pkp_structure_footer { padding: 0; }
.pkp_footer_content { padding: 30px 30px 18px; }
.pkp_footer_content a { color: #fff; }
.sj-footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sj-fcol h3 { color: #fff; font-size: 0.95rem; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.sj-fcol ul { list-style: none; margin: 0; padding: 0; }
.sj-fcol li { margin: 5px 0; }
.sj-fcol a { color: #c9dbea !important; text-decoration: none; }
.sj-fcol a:hover { color: #fff !important; text-decoration: underline; }
.sj-fbottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 22px; padding-top: 14px; font-size: 0.85rem; color: #9fb8cc; }
.sj-fbottom a { color: #fff !important; }

/* ---------- phones ---------- */
@media (max-width: 991px) {
  .sj-facts-inner { display: flex; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; }
  .sj-fact { flex: 0 0 auto; scroll-snap-align: start; padding: 9px 14px; }
  .sj-hero-inner { flex-direction: column; align-items: flex-start; padding: 24px 16px; gap: 14px; }
  .sj-hero-logo { width: 84px; }
  .sj-hero-title { font-size: 1.3rem; }
  .pkp_structure_main { padding: 18px 16px 24px !important; border-radius: 0; border-left: 0; border-right: 0; }
  .sj-home { grid-template-columns: 1fr; }
  .sj-footer { grid-template-columns: 1fr; gap: 14px; }
  .pkp_site_name .is_text { font-size: 1.12rem; }
  .pkp_structure_head .pkp_site_nav_menu { background: var(--sj-navy); }
  .pkp_navigation_primary ul a { color: #fff !important; }
  .sj-table th { width: 40%; }
}

/* phones: long journal title must wrap, nothing wider than the screen */
html, body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 991px) {
  .pkp_site_name_wrapper { height: auto !important; padding-left: 52px; padding-right: 12px; }
  .pkp_site_name { padding: 12px 0 !important; position: static !important; white-space: normal !important; overflow: visible !important; }
  .pkp_site_name .is_text { white-space: normal !important; font-size: 1.02rem !important; display: block; line-height: 1.3; }
  .pkp_site_nav_toggle { top: 12px; }
  .pkp_structure_content, .pkp_structure_main, .sj-hero, .sj-facts { max-width: 100vw; box-sizing: border-box; }
  .pkp_structure_main * { max-width: 100%; box-sizing: border-box; }
  .sj-hero-title, .sj-hero-tag { overflow-wrap: anywhere; }
  .sj-actions .sj-btn, .sj-hero-actions .sj-btn { flex: 1 1 auto; text-align: center; }
}

/* ---------- review round 1 (OM) ---------- */
/* Find us at: small logos of one height in a tidy row */
#customblock-find-us-at .content, .block_custom#customblock-find-us-at .content { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
#customblock-find-us-at .content p { margin: 0; }
#customblock-find-us-at img, .block_custom#customblock-find-us-at img { height: 32px !important; width: auto !important; max-width: 120px; margin: 0 !important; display: inline-block !important; object-fit: contain; }
#customblock-issn img.sj-issn-portal, #customblock-issn img { height: 34px !important; width: auto !important; margin: 6px 0 0 !important; }
#customblock-issn p { margin: 0 0 4px; }

/* one submit button style everywhere */
.block_custom .sj-btn, .sj-cfp .sj-btn { min-width: 180px; }
#customblock-call-submission .sj-btn { display: block; width: 100%; text-align: center; padding: 10px 12px; }

/* hero badges */
.sj-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sj-badges span { border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; color: #fff; background: rgba(255,255,255,0.08); }
.sj-hero-tag { margin-bottom: 12px; }

/* editorial board cards */
.sj-people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 10px 0 24px; }
.sj-people-eic { grid-template-columns: 1fr; }
.sj-person { border: 1px solid var(--sj-line); border-left: 4px solid var(--sj-blue); border-radius: 8px; padding: 14px 16px; background: #fff; }
.sj-people-eic .sj-person { background: var(--sj-pale); border-left-color: var(--sj-gold); }
.sj-person p { margin: 0 0 3px !important; line-height: 1.45 !important; }
.sj-p-name { font-weight: 600; color: var(--sj-navy); font-size: 1.04rem; }
.sj-p-role { color: var(--sj-text); }
.sj-p-org { color: var(--sj-text); font-weight: 500; }
.sj-p-place { color: var(--sj-muted); font-size: 0.9rem; }
.sj-p-links { font-size: 0.9rem; margin-top: 6px !important; }
@media (max-width: 991px) { .sj-people { grid-template-columns: 1fr; } }

/* homepage spacing */
.page_index_journal .homepage_about p { margin-bottom: 10px; }
.page_index_journal .current_issue .heading { margin-bottom: 8px; }
.page_index_journal .current_issue .published { color: var(--sj-muted); }
.page_index_journal .cmp_announcements, .page_index_journal .cmp_announcements:empty { margin-top: 24px; }

/* Title band logo: larger, clean cutout in a white rounded card */
.sj-hero-logo { width: 190px !important; height: auto; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 28px rgba(5,20,35,0.35); }
@media (max-width: 991px) { .sj-hero-logo { width: 132px !important; padding: 10px 12px; border-radius: 14px; } }

/* Archives: compact two-column cards, even spacing */
.page_issue_archive .issues_archive { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; margin: 4px 0 0; padding: 0; border: 0; }
.page_issue_archive .issues_archive > li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.page_issue_archive .issues_archive > li:before, .page_issue_archive .issues_archive > li:after { display: none !important; }
.page_issue_archive .obj_issue_summary { margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--sj-line) !important; border-left: 4px solid var(--sj-blue) !important; border-radius: 8px; background: #fff; height: 100%; box-sizing: border-box; }
.page_issue_archive .obj_issue_summary:hover { background: var(--sj-pale); }
.page_issue_archive .obj_issue_summary h2 { margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 1rem !important; line-height: 1.3; }
.page_issue_archive .obj_issue_summary .title { color: var(--sj-navy); font-weight: 600; text-decoration: none; }
.page_issue_archive .obj_issue_summary .series { font-size: 0.86rem; font-weight: 400; color: var(--sj-muted); margin-top: 2px; }
.page_issue_archive .obj_issue_summary .description { display: none; }
.page_issue_archive .cmp_pagination { margin-top: 16px; }
@media (max-width: 600px) { .page_issue_archive .issues_archive { grid-template-columns: 1fr; gap: 10px; } }

/* Contact page: Principal and Support contacts as two cards, post-only address below */
.page_contact .contact_section { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; }
.page_contact .contact_section .contact { margin: 0 !important; padding: 16px 18px; border: 1px solid var(--sj-line); border-left: 4px solid var(--sj-blue); border-radius: 8px; background: #fff; width: auto !important; float: none !important; }
.page_contact .contact_section .contact h3 { margin: 0 0 8px; font-size: 1.05rem; }
.page_contact .contact_section .contact .label { display: none; }
.page_contact .contact_section .address { grid-column: 1 / -1; order: 9; margin-top: 4px !important; }
@media (max-width: 767px) { .page_contact .contact_section { grid-template-columns: 1fr; } }

/* ISSN links: readable on dark backgrounds (title band) and consistent elsewhere */
.sj-hero a.issn-link, .sj-badges a, .sj-hero-text a:not(.sj-btn) { color: #fff !important; text-decoration: underline; text-underline-offset: 2px; }
.sj-fact-v a { color: var(--sj-navy); text-decoration: underline; text-underline-offset: 2px; }
.pkp_footer_content a.issn-link { color: #fff !important; }
/* sidebar boxes: same inner padding and left edge */
.pkp_structure_sidebar .pkp_block .content { padding: 0 !important; margin: 0 !important; }
#customblock-issn .content p, #customblock-find-us-at .content p { text-align: left !important; }
#customblock-issn a { color: var(--sj-navy) !important; font-weight: 600; }

/* OM correction: small shield next to the journal name in the header on every page */
.pkp_site_name .is_text { display: inline-flex !important; align-items: center; gap: 12px; }
.pkp_site_name .is_text::before {
  content: ""; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px;
  background: #fff url("https://sjaibt.org/public/site/images/admin/sjaibt-logo-d4d71f4b96b18373d4d0f27eed1d0200.png") center / 36px auto no-repeat;
}
@media (max-width: 991px) { .pkp_site_name .is_text::before { width: 34px; height: 34px; background-size: 28px auto; } }

/* Page check fixes: long links in references wrap; wide tables scroll inside their box on phones */
.obj_article_details a, .article-details a, .item.references, .references, .article-details .references, .csl-entry { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 767px) {
  .pkp_structure_main table:not(.sj-table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}

.page_contact .contact_section::before, .page_contact .contact_section::after { display: none !important; content: none !important; }

/* OM: logo as is, no box (transparent cutout) */
.sj-hero-logo { background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; width: 200px !important; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25)); }
@media (max-width: 991px) { .sj-hero-logo { width: 130px !important; } }
.pkp_site_name .is_text::before { background-color: transparent !important; border-radius: 0 !important; background-size: contain !important; width: 46px; height: 46px; }
@media (max-width: 991px) { .pkp_site_name .is_text::before { width: 36px; height: 36px; } }

.pkp_site_name .is_text::before { background-image: url("https://sjaibt.org/public/site/images/admin/sjaibt-logo-cutout.png") !important; }

/* Sidebar: Find us at as an even 2x2 grid; ISSN box centred */
.sj-logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sj-logo-cell { display: flex; align-items: center; justify-content: center; height: 56px; border: 1px solid var(--sj-line); border-radius: 8px; background: #fff; padding: 6px; }
.sj-logo-cell a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
#customblock-find-us-at .sj-logo-cell img { height: 38px !important; max-height: 38px; width: auto !important; max-width: 100% !important; object-fit: contain; margin: 0 !important; }
#customblock-issn .content, #customblock-issn .content p { text-align: center !important; }
#customblock-issn .content img { display: block !important; margin: 8px auto 0 !important; height: 38px !important; }

/* Issue pages: no empty gap, clean section headings, author line and pages on one row */
.obj_issue_toc .heading { margin: 0 0 8px !important; padding: 0 !important; min-height: 0 !important; }
.obj_issue_toc .heading .published { margin: 0; color: var(--sj-muted); }
.obj_issue_toc .heading .cover:empty, .obj_issue_toc .heading .description:empty { display: none; }
.obj_issue_toc .sections, .obj_issue_toc .section { margin-top: 10px !important; padding-top: 0 !important; }
.obj_issue_toc .section:before, .obj_issue_toc .section:after, .obj_issue_toc .sections:before { display: none !important; content: none !important; }
.obj_issue_toc .sections .section > h2 { display: block !important; position: static !important; margin: 14px 0 6px !important; padding: 0 0 6px !important; background: transparent !important; border-bottom: 1px solid var(--sj-line) !important; left: auto !important; }
.obj_article_summary .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.obj_article_summary .meta .authors { flex: 1 1 60%; padding: 0 !important; }
.obj_article_summary .meta .pages { position: static !important; float: none !important; flex: 0 0 auto; white-space: nowrap; padding: 0 !important; }

/* One type scale on all content pages: body 16px/1.65; section headings larger than sub-headings, both larger than body */
.pkp_structure_main .page p, .pkp_structure_main .page li, .pkp_structure_main .page td { font-size: 16px; line-height: 1.65; }
.pkp_structure_main .page h2 { font-size: 1.35rem !important; font-weight: 700; color: var(--sj-navy); background: none !important; padding: 0 !important; margin: 1.6em 0 0.6em; }
.pkp_structure_main .page h3 { font-size: 1.15rem !important; font-weight: 600; color: var(--sj-navy); background: none !important; margin: 1.3em 0 0.5em; }
.pkp_structure_main .page h4, .pkp_structure_main .page h5, .pkp_structure_main .page h6 { font-size: 1.08rem !important; font-weight: 600; color: var(--sj-navy); }
/* numbered main points ("1. Journal Guideline") read as headings */
.pkp_structure_main .page > ol > li, .pkp_structure_main .page > div > ol > li { margin-top: 1em; }
.pkp_structure_main .page > ol > li > strong:first-child, .pkp_structure_main .page > div > ol > li > strong:first-child,
.pkp_structure_main .page > ol > li > p:first-child > strong:first-child { font-size: 1.15rem; font-weight: 700; color: var(--sj-navy); }
.pkp_structure_main .page > ol > li::marker, .pkp_structure_main .page > div > ol > li::marker { font-size: 1.15rem; font-weight: 700; color: var(--sj-navy); }
/* anything that sits on a dark background stays light */
.sj-hero, .sj-hero *, .pkp_structure_head, .pkp_structure_footer_wrapper h3, .sj-badges span { color: #fff; }
.sj-btn, .block_make_submission a { color: #fff !important; }

/* Line-box (cubic) pattern behind the white content box on every page */
body, .pkp_structure_page {
  background-color: #eef3f8 !important;
  background-image: linear-gradient(rgba(30,98,146,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30,98,146,0.07) 1px, transparent 1px) !important;
  background-size: 28px 28px !important;
}
.pkp_structure_head, .pkp_structure_footer_wrapper { background-image: none; }
/* sidebar quick links */
.sj-links { list-style: none; margin: 0; padding: 0; }
.sj-links li { padding: 7px 0; border-top: 1px solid var(--sj-line); }
.sj-links li:first-child { border-top: 0; }
#customblock-join-as-a-reviewer .sj-btn { display: block; text-align: center; }
#customblock-peer-review-process ol { padding-left: 18px; margin: 0; }

/* Archive and pagination use the site font */
.page_issue_archive, .page_issue_archive *, .cmp_pagination, .cmp_pagination * { font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important; }

/* Chicago author-date citation format returns a server error: hide that one option */
a[href*="citationstylelanguage/get/chicago-author-date"] { display: none !important; }

/* OM logo v2 (full name, transparent outside, white inside) */
.pkp_site_name .is_text::before { background-image: url("https://sjaibt.org/public/journals/1/journalThumbnail_en.png?v=2") !important; }

/* Issue / homepage article lists: tighter, even spacing */
.cmp_article_list > li { margin: 0 !important; padding: 0 !important; }
.obj_article_summary { padding: 14px 0 14px !important; margin: 0 !important; }
.obj_article_summary > .title { margin: 0 0 4px !important; }
.obj_article_summary .meta { margin: 0 0 6px !important; }
.obj_article_summary .galleys_links { margin: 6px 0 0 !important; padding: 0 !important; }

/* Heading scale in px (theme root size is 14px, so rem sizes came out too small) */
.pkp_structure_main .page h2 { font-size: 22px !important; }
.pkp_structure_main .page h3 { font-size: 19px !important; }
.pkp_structure_main .page h4, .pkp_structure_main .page h5, .pkp_structure_main .page h6 { font-size: 17.5px !important; }
.pkp_structure_main .page > ol > li > strong:first-child, .pkp_structure_main .page > div > ol > li > strong:first-child,
.pkp_structure_main .page > ol > li::marker, .pkp_structure_main .page > div > ol > li::marker { font-size: 19px !important; }
.page_index_journal .sj-box h2 { font-size: 18px !important; }

/* line-box pattern a little stronger so it reads on every page */
body, .pkp_structure_page { background-image: linear-gradient(rgba(30,98,146,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(30,98,146,0.12) 1px, transparent 1px) !important; }
