/* PCCM Reports – compact homepage spacing (OJS default theme)
   Scoped to the journal index only; does not modify policy or article pages. */

@media (min-width: 992px) {
  .pkp_page_index .pkp_structure_main:first-child:last-child {
    margin-top: 16px;
  }
}

.pkp_page_index .homepage_about {
  padding-top: 14px;
  padding-bottom: 14px;
}

.pkp_page_index .homepage_about > h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.pkp_page_index .homepage_about p {
  margin-top: 0;
  margin-bottom: 12px;
}

.pkp_page_index .homepage_about p:last-child {
  margin-bottom: 0;
}

.pkp_page_index .current_issue > h2 {
  margin-top: 18px;
  margin-bottom: 14px;
}

.pkp_page_index .current_issue .current_issue_title {
  margin-top: 8px;
  margin-bottom: 14px;
}

/* OJS 3.5 default theme: reduce the large gap between the
   issue's publication date and the first article section.
   Only the journal homepage is affected. */
@media (min-width: 768px) {
  .pkp_page_index .current_issue .obj_issue_toc .published {
    margin-bottom: 8px;
  }

  .pkp_page_index .current_issue .obj_issue_toc .sections:not(:first-child) {
    margin-top: 12px;
  }

  .pkp_page_index .current_issue .obj_issue_toc .section {
    margin-top: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  /* Keep the horizontal rule aligned with the section heading. */
  .pkp_page_index .current_issue .obj_issue_toc .section::before {
    top: 33px;
  }
}
