/* Bioscientia Medicina — editorial, reviewer, navigation and sidebar refinements */

/* Prevent long policy labels from colliding with neighbouring elements. */
.pkp_structure_main,
.pkp_structure_sidebar,
.bsm-blk,
.bsm-blk__links,
.bsm-blk__links li {
  min-width: 0;
}

.bsm-blk {
  overflow: hidden;
}

.bsm-blk__links a,
.pkp_navigation_primary ul a {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.4;
}

.pkp_navigation_primary ul {
  min-width: 310px;
  max-width: min(410px, 92vw);
}

/* Keep the publisher statement in the theme-generated footer consistent. */
.bsm-footer-bottom > div:first-child {
  font-size: 0;
}

.bsm-footer-bottom > div:first-child::after {
  content: "© 2026 Bioscientia Medicina · Website content and journal branding only · Copyright in individual articles remains with the authors";
  display: inline;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: normal;
}

.bsm-footer-bottom > div:last-child {
  font-size: 0;
}

.bsm-footer-bottom > div:last-child::after {
  content: "e-ISSN 2598-0580 · Published by HM Publisher in collaboration with CMHC Research Center";
  display: inline;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: normal;
}

/* Editorial Board — card presentation inspired by SJE. */
.pkp_page_editorial-board .page > p:has(em strong) {
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #c6a43b;
  color: #123f63;
  font-family: Lora, Georgia, serif;
  font-size: 1.05rem;
}

.pkp_page_editorial-board .page > p:not(:has(em)) {
  position: relative;
  margin: 0 0 0.9rem;
  padding: 1rem 1.1rem 1rem 1.35rem;
  border: 1px solid #dce5eb;
  border-left: 4px solid #12557e;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(14, 66, 101, 0.08);
  color: #50616e;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pkp_page_editorial-board .page > p:not(:has(em)) > a:first-child {
  display: block;
  width: fit-content;
  margin-bottom: 0.3rem;
  color: #123f63;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
}

/* Peer reviewers — responsive two-column cards with profile badges. */
.pkp_page_Reviewer .page > p:first-of-type {
  margin: 0 0 1rem;
  color: #50616e;
}

.pkp_page_Reviewer .page > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_page_Reviewer .page > ol > li {
  min-width: 0;
  margin: 0;
  padding: 1rem 1.1rem 1rem 1.35rem;
  border: 1px solid #dce5eb;
  border-left: 4px solid #12557e;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(14, 66, 101, 0.08);
  color: #50616e;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pkp_page_Reviewer .page > ol > li > a:first-child {
  display: block;
  width: fit-content;
  margin-bottom: 0.3rem;
  color: #123f63;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.pkp_page_editorial-board .page p a[href*="orcid.org"]::after,
.pkp_page_Reviewer .page li a[href*="orcid.org"]::after {
  content: "ORCID";
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: #a6ce39;
  color: #17320b;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: 0.12rem;
}

.pkp_page_editorial-board .page p a[href*="scopus.com"]::after,
.pkp_page_Reviewer .page li a[href*="scopus.com"]::after {
  content: "SCOPUS";
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: #ef6c33;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: 0.12rem;
}

.pkp_page_Reviewer .page li a[href*="scholar.google"]::after {
  content: "SCHOLAR";
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: #3f78c5;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: 0.12rem;
}

@media (max-width: 800px) {
  .pkp_page_Reviewer .page > ol {
    grid-template-columns: 1fr;
  }

  .pkp_navigation_primary ul {
    min-width: 0;
    max-width: 100%;
  }
}
