/* INNO OJS custom.css (clean version)
   Goal:
   1) Hide section headers in Current Issue / Issue TOC (but keep articles)
   2) Remove thin divider lines between articles/sections
*/

/* 1) Hide section headings (e.g., "Raw Materials for the Wood Industry") */
.pkp_page_index .obj_issue_toc .section > h1,
.pkp_page_index .obj_issue_toc .section > h2,
.pkp_page_index .obj_issue_toc .section > h3,
.pkp_page_index .obj_issue_toc .section > h4,
.pkp_page_issue .obj_issue_toc .section > h1,
.pkp_page_issue .obj_issue_toc .section > h2,
.pkp_page_issue .obj_issue_toc .section > h3,
.pkp_page_issue .obj_issue_toc .section > h4,
.pkp_page_index .obj_issue_toc .section > .title,
.pkp_page_issue .obj_issue_toc .section > .title,
.pkp_page_index .obj_issue_toc .section > .tocSectionTitle,
.pkp_page_issue .obj_issue_toc .section > .tocSectionTitle,
.pkp_page_index .obj_issue_toc .section > .toc_section_title,
.pkp_page_issue .obj_issue_toc .section > .toc_section_title {
  display: none !important;
}

/* 2) Remove separators drawn via pseudo-elements (these often create the thin lines) */
.pkp_page_index .obj_issue_toc .section::before,
.pkp_page_issue .obj_issue_toc .section::before,
.pkp_page_index .obj_issue_toc .obj_article_summary::before,
.pkp_page_issue .obj_issue_toc .obj_article_summary::before,
.pkp_page_index .obj_issue_toc .obj_article_summary::after,
.pkp_page_issue .obj_issue_toc .obj_article_summary::after,
.pkp_page_index .obj_issue_toc .cmp_article_list.articles > li::before,
.pkp_page_issue .obj_issue_toc .cmp_article_list.articles > li::before,
.pkp_page_index .obj_issue_toc .cmp_article_list.articles > li::after,
.pkp_page_issue .obj_issue_toc .cmp_article_list.articles > li::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

/* 3) Remove borders/shadows/background lines that some themes use as dividers */
.pkp_page_index .obj_issue_toc hr,
.pkp_page_issue .obj_issue_toc hr {
  display: none !important;
  border: 0 !important;
}

/* If the divider is on the list item */
.pkp_page_index .obj_issue_toc .cmp_article_list > li,
.pkp_page_issue .obj_issue_toc .cmp_article_list > li,
.pkp_page_index .obj_issue_toc .cmp_article_list.articles > li,
.pkp_page_issue .obj_issue_toc .cmp_article_list.articles > li {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* If the divider is on the article summary wrapper */
.pkp_page_index .obj_issue_toc .obj_article_summary,
.pkp_page_issue .obj_issue_toc .obj_article_summary {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Optional: reduce extra spacing between (now-hidden) sections */
.pkp_page_index .obj_issue_toc .section,
.pkp_page_issue .obj_issue_toc .section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
