/*
 * OJS 3.3.0.21 — Modern Blue Journal UI
 * Scope: frontend + best-effort backend selectors
 * Install: upload this file as the journal's Custom CSS.
 *
 * Palette: navy #123B72, blue #2563EB, pale blue #DBEAFE,
 *          background #F5F9FF, white #FFFFFF.
 *
 * Note: Custom CSS uploaded through journal appearance settings is usually
 * loaded on the public frontend only. Backend selectors below take effect
 * only if this stylesheet is also loaded in the dashboard/admin interface.
 */

/* ========== Design tokens / safe defaults ========== */
:root {
  --journal-navy: #123b72;
  --journal-blue: #2563eb;
  --journal-blue-hover: #1d4ed8;
  --journal-sky: #dbeafe;
  --journal-pale: #f5f9ff;
  --journal-white: #ffffff;
  --journal-text: #1f2937;
  --journal-muted: #64748b;
  --journal-border: #e5edf7;
  --journal-shadow: 0 8px 24px rgba(18, 59, 114, 0.07);
  --journal-radius: 12px;
  --journal-radius-sm: 8px;
  --journal-content-width: 1440px;
}

html {
  scroll-behavior: smooth;
}

body,
.pkp_structure_page {
  background: var(--journal-pale);
  color: var(--journal-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--journal-blue);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a:hover,
a:focus {
  color: var(--journal-blue-hover);
}

/* User request: paragraphs justified across the site. */
p {
  text-align: justify;
  text-justify: inter-word;
  overflow-wrap: anywhere;
}

/* Keep headings, navigation, labels and short metadata naturally aligned. */
h1, h2, h3, h4, h5, h6,
.pkp_navigation_primary a,
.pkp_navigation_user a,
.pkp_block .title,
.obj_article_summary .pages,
.obj_article_summary .pub_date,
.obj_article_summary .doi,
label,
button {
  text-align: initial;
}

/* ========== Main page frame / full-width layout ========== */
.pkp_structure_page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  overflow-wrap: break-word;
}

.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_footer,
.pkp_head_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user_wrapper {
  min-width: 0;
}

.pkp_structure_content {
  width: 100%;
  max-width: var(--journal-content-width);
  margin: 0 auto;
  padding: 28px clamp(16px, 2.5vw, 36px) 44px;
}

/* Stable main/sidebar grid: no overlap, shifting, or separator line. */
.pkp_structure_main {
  float: left;
  width: 72%;
  min-width: 0;
  padding: 0 28px 0 0;
  border: 0 !important;
  box-shadow: none !important;
}

.pkp_structure_sidebar {
  float: right;
  width: 28%;
  min-width: 0;
  padding: 0 0 0 16px;
  border: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
}

.pkp_structure_content::after {
  content: "";
  display: table;
  clear: both;
}

/* Remove theme-generated vertical rules and pseudo separators. */
.pkp_structure_main::before,
.pkp_structure_main::after,
.pkp_structure_sidebar::before,
.pkp_structure_sidebar::after,
.pkp_structure_content::before {
  border: 0 !important;
  box-shadow: none !important;
}

/* ========== Header / masthead ========== */
.pkp_structure_head {
  background: linear-gradient(135deg, var(--journal-navy), #1d4ed8);
  color: var(--journal-white);
  border: 0;
  box-shadow: 0 4px 18px rgba(18, 59, 114, .15);
}

.pkp_head_wrapper {
  max-width: var(--journal-content-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 36px);
}

.pkp_site_name_wrapper {
  padding-top: 24px;
  padding-bottom: 22px;
}

.pkp_site_name {
  margin: 0;
}

.pkp_site_name a,
.pkp_site_name a:hover,
.pkp_site_name a:focus {
  color: var(--journal-white);
  text-decoration: none;
}

.pkp_site_name .is_img img {
  display: block;
  max-height: 100px;
  width: auto;
  max-width: min(100%, 520px);
  object-fit: contain;
  object-position: left center;
}

/* ========== Primary navigation ========== */
.pkp_navigation_primary_wrapper {
  background: rgba(8, 31, 68, .28);
  border: 0;
}

.pkp_navigation_primary {
  max-width: var(--journal-content-width);
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.pkp_navigation_primary > li > a {
  color: rgba(255,255,255,.96);
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li > a[aria-current="page"] {
  background: rgba(255,255,255,.16);
  color: #fff;
}

.pkp_navigation_primary ul {
  background: #fff;
  border: 1px solid var(--journal-border);
  border-radius: var(--journal-radius-sm);
  box-shadow: var(--journal-shadow);
  overflow: hidden;
}

.pkp_navigation_primary ul a {
  color: var(--journal-navy);
  padding: 10px 14px;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus {
  background: var(--journal-pale);
  color: var(--journal-blue);
}

.pkp_navigation_user_wrapper {
  background: transparent;
  border: 0;
}

.pkp_navigation_user {
  max-width: var(--journal-content-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 36px);
  text-align: right;
}

.pkp_navigation_user > li > a {
  color: #fff;
  padding: 8px 12px;
  font-size: .92rem;
  border-radius: 7px;
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ========== Headings and content typography ========== */
h1, h2, h3, h4, h5, h6 {
  color: var(--journal-navy);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(1.7rem, 2.5vw, 2.35rem); }
h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
h3 { font-size: 1.2rem; }

.pkp_page_index .current_issue h2,
.pkp_page_index .current_issue_title,
.current_issue h2 {
  margin: 0 0 18px;
  color: var(--journal-navy);
}

.pkp_page_index .homepage_about,
.pkp_page_index .current_issue,
.pkp_page_index .additional_content,
.pkp_page_index .announcements {
  margin-bottom: 28px;
}

/* ========== Current issue on homepage ========== */
.pkp_page_index .current_issue {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.pkp_page_index .current_issue .current_issue_title,
.pkp_page_index .current_issue h2 {
  margin-bottom: 18px;
}

.pkp_page_index .current_issue .read_more,
.pkp_page_index .current_issue .view_all,
.pkp_page_index .current_issue a.read_more,
.pkp_page_index .current_issue a {
  text-decoration: none;
}

.pkp_page_index .current_issue .read_more,
.pkp_page_index .current_issue .view_all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 16px;
  background: var(--journal-blue);
  color: #fff !important;
  border: 1px solid var(--journal-blue);
  border-radius: 8px;
  font-weight: 700;
}

.pkp_page_index .current_issue .read_more:hover,
.pkp_page_index .current_issue .view_all:hover {
  background: var(--journal-blue-hover);
  color: #fff !important;
}

/* Requested white text for the "View All Issues" control. */
.pkp_page_index .current_issue .read_more a,
.pkp_page_index .current_issue .view_all a,
.pkp_page_index .current_issue a.read_more,
.pkp_page_index .current_issue a.view_all {
  color: #fff !important;
}

/* ========== Article summaries: archive, issue, search results ========== */
/* Card appearance without side table borders or oversized gaps. */
.obj_issue_toc .sections,
.obj_issue_toc .section,
.pkp_page_issue .sections,
.pkp_page_issue .section {
  border: 0;
}

.obj_article_summary {
  position: relative;
  display: block;
  margin: 0 0 12px !important;
  padding: 20px 22px !important;
  background: var(--journal-white);
  border: 1px solid var(--journal-border) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: var(--journal-radius) !important;
  box-shadow: 0 3px 12px rgba(18, 59, 114, .045);
  overflow: hidden;
  min-width: 0;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.obj_article_summary:hover {
  border-color: #c7dcf8 !important;
  box-shadow: var(--journal-shadow);
  transform: translateY(-1px);
}

/* Do not let legacy theme separators appear around each card. */
.obj_issue_toc .articles > li,
.obj_issue_toc .articles > .obj_article_summary,
.pkp_page_issue .obj_article_summary,
.pkp_page_issue .articles > li {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* Article title */
.obj_article_summary .title,
.obj_article_summary h3,
.obj_article_summary h4 {
  margin: 0 0 8px;
  color: var(--journal-navy);
  font-size: 1.08rem;
  line-height: 1.5;
  font-weight: 700;
}

.obj_article_summary .title a,
.obj_article_summary h3 a,
.obj_article_summary h4 a {
  color: var(--journal-navy);
  text-decoration: none;
}

.obj_article_summary .title a:hover,
.obj_article_summary h3 a:hover,
.obj_article_summary h4 a:hover {
  color: var(--journal-blue);
}

/* Authors / affiliation / publication metadata */
.obj_article_summary .authors,
.obj_article_summary .author,
.obj_article_summary .meta,
.obj_article_summary .item {
  color: var(--journal-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.obj_article_summary .authors {
  margin: 0 0 6px;
}

.obj_article_summary .pages,
.obj_article_summary .pub_date,
.obj_article_summary .doi {
  color: var(--journal-muted);
  font-size: .85rem;
}

/* Keep title and metadata from colliding with page/PDF information. */
.obj_article_summary > * {
  min-width: 0;
  max-width: 100%;
}

.obj_article_summary .galleys,
.obj_article_summary .item_galleys,
.obj_article_summary .pdf,
.obj_article_summary .obj_galley_link {
  margin-top: 12px;
}

.obj_article_summary .galleys a,
.obj_article_summary .item_galleys a,
.obj_article_summary a.obj_galley_link,
.obj_article_summary .pdf a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 12px;
  color: var(--journal-blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.obj_article_summary .galleys a:hover,
.obj_article_summary .item_galleys a:hover,
.obj_article_summary a.obj_galley_link:hover,
.obj_article_summary .pdf a:hover {
  background: var(--journal-blue);
  border-color: var(--journal-blue);
  color: #fff;
}

/* Section labels */
.obj_issue_toc .section h2,
.obj_issue_toc .section h3,
.pkp_page_issue .section h2,
.pkp_page_issue .section h3 {
  margin: 28px 0 14px;
  padding-bottom: 10px;
  color: var(--journal-navy);
  border-bottom: 1px solid var(--journal-border);
  font-size: 1.15rem;
}

/* ========== Issue cover and issue/archive pages ========== */
.obj_issue_toc,
.obj_issue_summary,
.obj_issue_summary .description,
.obj_issue_summary .cover,
.pkp_page_issue .issue_toc {
  min-width: 0;
}

.obj_issue_summary {
  padding: 20px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--journal-border);
  border-radius: var(--journal-radius);
  box-shadow: 0 3px 12px rgba(18, 59, 114, .04);
}

.obj_issue_summary .title a {
  color: var(--journal-navy);
}

.obj_issue_summary .description,
.obj_issue_summary .published {
  color: var(--journal-muted);
}

.pkp_page_issue_archive .issues_archive,
.pkp_page_issue_archive .obj_issue_summary {
  border-color: var(--journal-border);
}

.pkp_page_issue_archive .obj_issue_summary:hover {
  box-shadow: var(--journal-shadow);
}

.pkp_page_issue_archive .obj_issue_summary .title {
  font-weight: 700;
}

/* ========== Search form and search results ========== */
.cmp_search,
.pkp_search,
.pkp_page_search .search-form,
.pkp_page_search form {
  max-width: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
  max-width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--journal-text);
  background: #fff;
  border: 1px solid #d7e2f0;
  border-radius: 8px;
  box-shadow: none;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

textarea {
  min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.cmp_search button,
.pkp_search button,
button,
input[type="submit"],
.pkp_button,
a.pkp_button,
.obj_galley_link {
  border-radius: 8px;
}

button,
input[type="submit"],
.pkp_button,
a.pkp_button {
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pkp_page_search .search_results,
.pkp_page_search .obj_article_summary {
  min-width: 0;
}

/* ========== Sidebar blocks ========== */
.pkp_structure_sidebar .pkp_block {
  margin: 0 0 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--journal-border);
  border-radius: var(--journal-radius);
  box-shadow: 0 3px 12px rgba(18, 59, 114, .035);
  min-width: 0;
}

.pkp_structure_sidebar .pkp_block .title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  color: var(--journal-navy);
  border-bottom: 1px solid var(--journal-border);
  font-size: 1rem;
  font-weight: 750;
}

.pkp_structure_sidebar .pkp_block p {
  margin: 0 0 10px;
  color: var(--journal-text);
}

.pkp_structure_sidebar ul,
.pkp_structure_sidebar ol {
  padding-left: 20px;
}

.pkp_structure_sidebar li {
  margin-bottom: 7px;
}

.pkp_structure_sidebar img {
  border-radius: 6px;
}

/* ========== Login / registration / profile pages ========== */
.pkp_page_login .pkp_form,
.pkp_page_register .pkp_form,
.pkp_page_lost_password .pkp_form,
.pkp_page_user .pkp_form {
  max-width: 640px;
  margin: 24px auto;
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--journal-border);
  border-radius: 16px;
  box-shadow: var(--journal-shadow);
}

.pkp_page_login label,
.pkp_page_register label,
.pkp_page_lost_password label {
  color: var(--journal-navy);
  font-weight: 600;
}

.pkp_page_login button,
.pkp_page_login input[type="submit"],
.pkp_page_register button,
.pkp_page_register input[type="submit"],
.pkp_page_lost_password button,
.pkp_page_lost_password input[type="submit"] {
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  background: var(--journal-blue);
  border: 1px solid var(--journal-blue);
  border-radius: 8px;
  font-weight: 700;
}

.pkp_page_login button:hover,
.pkp_page_login input[type="submit"]:hover,
.pkp_page_register button:hover,
.pkp_page_register input[type="submit"]:hover,
.pkp_page_lost_password button:hover,
.pkp_page_lost_password input[type="submit"]:hover {
  background: var(--journal-blue-hover);
  border-color: var(--journal-blue-hover);
}

/* ========== Footer ========== */
.pkp_structure_footer_wrapper {
  margin-top: 28px;
  background: var(--journal-navy);
  border: 0;
}

.pkp_structure_footer {
  max-width: var(--journal-content-width);
  margin: 0 auto;
  padding: 30px clamp(16px, 2.5vw, 36px);
  color: rgba(255,255,255,.88);
}

.pkp_structure_footer,
.pkp_structure_footer p,
.pkp_structure_footer li {
  color: rgba(255,255,255,.88);
}

.pkp_structure_footer a {
  color: #bfdbfe;
}

.pkp_structure_footer a:hover {
  color: #fff;
}

/* ========== Buttons, notices, pagination, tables ========== */
.cmp_pagination a,
.cmp_pagination .current,
ul.pkp_pagination a,
ul.pkp_pagination .current {
  border-radius: 7px;
}

.cmp_pagination .current,
ul.pkp_pagination .current {
  background: var(--journal-blue);
  border-color: var(--journal-blue);
  color: #fff;
}

.pkp_page_content .cmp_notification,
.pkp_notification,
.pkp_form_error {
  border-radius: 8px;
}

.pkp_page_content table,
.pkp_page_issue table {
  max-width: 100%;
  border-collapse: collapse;
}

.pkp_page_content th,
.pkp_page_content td {
  padding: 10px 12px;
  border-color: var(--journal-border);
}

/* ========== Backend: best effort if stylesheet is loaded there ========== */
.pkp_controller_dashboard,
.pkp_op,
.pkp_page_dashboard,
#pkp_content_main,
.pkp_structure_main {
  min-width: 0;
}

.pkp_op .pkp_structure_head,
.pkp_controller_dashboard .pkp_structure_head {
  background: var(--journal-navy);
}

.pkp_op .pkp_structure_sidebar,
.pkp_controller_dashboard .pkp_structure_sidebar {
  border: 0 !important;
}

.pkp_op .pkp_structure_sidebar .pkp_block,
.pkp_controller_dashboard .pkp_structure_sidebar .pkp_block {
  background: #fff;
  border: 1px solid var(--journal-border);
  border-radius: var(--journal-radius);
}

.pkp_op .pkp_button,
.pkp_op button,
.pkp_op input[type="submit"],
.pkp_controller_dashboard .pkp_button {
  border-radius: 7px;
}

.pkp_op input,
.pkp_op select,
.pkp_op textarea {
  border-radius: 7px;
}

/* ========== Responsive behavior ========== */
@media (max-width: 1000px) {
  .pkp_structure_content {
    padding: 22px 18px 34px;
  }

  .pkp_structure_main {
    width: 68%;
    padding-right: 18px;
  }

  .pkp_structure_sidebar {
    width: 32%;
    padding-left: 10px;
  }

  .obj_article_summary {
    padding: 18px !important;
  }
}

@media (max-width: 768px) {
  .pkp_structure_content {
    padding: 18px 14px 28px;
  }

  .pkp_structure_main,
  .pkp_structure_sidebar {
    float: none;
    width: 100%;
    padding: 0;
    border: 0 !important;
  }

  .pkp_structure_sidebar {
    margin-top: 24px;
  }

  .pkp_navigation_primary {
    display: flex;
    gap: 2px;
  }

  .pkp_navigation_primary > li > a {
    padding: 10px 12px;
  }

  .pkp_navigation_user {
    padding: 4px 14px;
  }

  .obj_article_summary {
    margin-bottom: 10px !important;
    padding: 16px !important;
    border-radius: 10px !important;
  }

  .pkp_structure_footer {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .pkp_site_name_wrapper {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .pkp_site_name .is_img img {
    max-height: 72px;
  }

  .obj_article_summary .title,
  .obj_article_summary h3,
  .obj_article_summary h4 {
    font-size: 1rem;
  }

  .pkp_page_login .pkp_form,
  .pkp_page_register .pkp_form,
  .pkp_page_lost_password .pkp_form {
    margin: 16px 0;
    padding: 18px;
  }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ==========================================================
   V2 POLISH — remove residual rules, modernize sidebar/cards
   Append after the original stylesheet.
   ========================================================== */

/* Remove theme column rules, separators, outlines and shadows. */
html body .pkp_structure_content,
html body .pkp_structure_content::before,
html body .pkp_structure_content::after,
html body .pkp_structure_main,
html body .pkp_structure_main::before,
html body .pkp_structure_main::after,
html body .pkp_structure_sidebar,
html body .pkp_structure_sidebar::before,
html body .pkp_structure_sidebar::after,
html body .pkp_structure_main > *,
html body .pkp_structure_sidebar > * {
  border-left: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Some OJS themes draw the divider on the content wrapper or columns. */
html body .pkp_structure_content,
html body .pkp_structure_main,
html body .pkp_structure_sidebar {
  background-image: none !important;
}

/* Refine the full-width canvas and keep columns aligned. */
html body .pkp_structure_content {
  display: flow-root;
  width: 100%;
  max-width: 1500px;
  padding: 28px clamp(18px, 3vw, 44px) 48px;
  margin-inline: auto;
  background: transparent;
}

html body .pkp_structure_main {
  width: 70%;
  padding: 0 30px 0 0 !important;
  margin: 0;
  border: 0 !important;
}

html body .pkp_structure_sidebar {
  width: 30%;
  padding: 0 0 0 8px !important;
  margin: 0;
  border: 0 !important;
}

/* Make homepage journal description a clean, readable panel. */
.pkp_page_index .homepage_about,
.pkp_page_index .additional_content,
.pkp_page_index .announcements {
  padding: clamp(20px, 2.5vw, 34px);
  background: #fff;
  border: 1px solid #e8eff8 !important;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(18, 59, 114, .045) !important;
}

/* If the large VOLTA artwork is the homepage image, contain it neatly. */
.pkp_page_index .homepage_image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px;
  margin: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eff8 !important;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(18, 59, 114, .045) !important;
}

.pkp_page_index .homepage_image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto;
}

/* Sidebar: remove the boxed blue menu rows and replace with soft links. */
html body .pkp_structure_sidebar .pkp_block {
  margin: 0 0 18px !important;
  padding: 20px !important;
  background: #fff !important;
  border: 1px solid #e8eff8 !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 22px rgba(18, 59, 114, .055) !important;
}

html body .pkp_structure_sidebar .pkp_block .title {
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f9 !important;
  color: #123b72 !important;
  font-size: 1rem;
  font-weight: 750;
}

html body .pkp_structure_sidebar .pkp_block ul,
html body .pkp_structure_sidebar .pkp_block ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .pkp_structure_sidebar .pkp_block li {
  margin: 0 0 7px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .pkp_structure_sidebar .pkp_block li:last-child {
  margin-bottom: 0 !important;
}

html body .pkp_structure_sidebar .pkp_block li a {
  display: block;
  width: 100%;
  padding: 10px 12px !important;
  color: #244a7c !important;
  background: #f4f8ff !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  font-size: .94rem;
  line-height: 1.4;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

html body .pkp_structure_sidebar .pkp_block li a:hover,
html body .pkp_structure_sidebar .pkp_block li a:focus {
  color: #1748a0 !important;
  background: #e8f1ff !important;
  border-color: #d8e7ff !important;
  transform: translateX(2px);
}

/* Sidebar custom blocks sometimes use tables or direct anchors. */
html body .pkp_structure_sidebar .pkp_block table,
html body .pkp_structure_sidebar .pkp_block tr,
html body .pkp_structure_sidebar .pkp_block td,
html body .pkp_structure_sidebar .pkp_block th {
  border: 0 !important;
  box-shadow: none !important;
}

html body .pkp_structure_sidebar .pkp_block hr {
  display: none !important;
}

html body .pkp_structure_sidebar .pkp_block > a {
  display: inline-block;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
}

/* Remove unwanted borders from homepage and issue containers, but preserve
   the soft card boundary on individual article summaries. */
.pkp_page_index .current_issue,
.pkp_page_index .current_issue > *,
.obj_issue_toc,
.obj_issue_toc .galleys,
.obj_issue_toc .section,
.obj_issue_toc .sections,
.pkp_page_issue .issue_toc {
  border: 0 !important;
  box-shadow: none !important;
}

/* Article cards: no vertical table edges; gentle outline only. */
html body .obj_article_summary {
  margin: 0 0 12px !important;
  padding: 20px 22px !important;
  background: #fff !important;
  border: 1px solid #e8eff8 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(18, 59, 114, .045) !important;
}

html body .obj_article_summary:hover {
  border-color: #c9ddfb !important;
  box-shadow: 0 10px 26px rgba(18, 59, 114, .09) !important;
}

/* View All Issues: solid blue button with guaranteed white text. */
.pkp_page_index .current_issue .read_more,
.pkp_page_index .current_issue .view_all,
.pkp_page_index .current_issue a.read_more,
.pkp_page_index .current_issue a.view_all,
.pkp_page_index .current_issue a[href*="issue/archive"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px !important;
  color: #fff !important;
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  border-radius: 9px !important;
  font-weight: 700;
  text-decoration: none !important;
}

.pkp_page_index .current_issue .read_more:hover,
.pkp_page_index .current_issue .view_all:hover,
.pkp_page_index .current_issue a.read_more:hover,
.pkp_page_index .current_issue a.view_all:hover,
.pkp_page_index .current_issue a[href*="issue/archive"]:hover {
  color: #fff !important;
  background: #1d4ed8 !important;
}

/* Prevent content from pushing or overlapping the sidebar. */
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_main > *,
.pkp_structure_sidebar > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  html body .pkp_structure_main {
    width: 66%;
    padding-right: 20px !important;
  }
  html body .pkp_structure_sidebar {
    width: 34%;
    padding-left: 0 !important;
  }
}

@media (max-width: 768px) {
  html body .pkp_structure_main,
  html body .pkp_structure_sidebar {
    float: none;
    width: 100%;
    padding: 0 !important;
  }
  html body .pkp_structure_sidebar {
    margin-top: 24px !important;
  }
  .pkp_page_index .homepage_image {
    padding: 14px;
  }
  .pkp_page_index .homepage_image img {
    max-height: 180px;
  }
}

/* Paragraph alignment requested by the journal administrator. */
html body p {
  text-align: justify !important;
  text-justify: inter-word;
}
