/*
 * Journal of Pathways Education and Research
 * Existing journal stylesheet plus issue/editorial spacing adjustment
 */

.pkp_block {
  border-radius: 5px;
  border: 1px solid rgb(206, 206, 206);
  margin: 1rem;
  padding: 0;
}

.pkp_block h2.title {
  background-color: rgb(232, 230, 230);
  margin: 0;
  padding: 1rem;
  font-weight: normal;
  color: rgb(99, 99, 99);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.pkp_block .content {
  padding: 2rem;
}

a.block_make_submission_link {
  background-color: rgb(253, 180, 72);
  border-color: rgb(253, 180, 72);
  color: rgb(51, 51, 51);
  font-size: medium;
  padding: 0.5rem;
  width: 100%;
  text-align: center;
  font-weight: normal;
}

/*
 * Reduce the large gaps around the Current Issue and Editorial blocks.
 * These rules apply only to the journal homepage at tablet/desktop widths.
 */
@media (min-width: 768px) {
  .pkp_page_index .obj_issue_toc > .heading .cover,
  .pkp_page_issue.pkp_op_view .obj_issue_toc > .heading .cover {
    margin-bottom: 0;
  }

  .pkp_page_index .obj_issue_toc > .sections:not(:first-child),
  .pkp_page_issue.pkp_op_view .obj_issue_toc > .sections:not(:first-child) {
    margin-top: 0;
  }

  .pkp_page_index .obj_issue_toc > .sections > .section,
  .pkp_page_issue.pkp_op_view .obj_issue_toc > .sections > .section {
    margin-top: 0;
    margin-bottom: 0;
  }

  .pkp_page_index .obj_issue_toc .obj_article_summary .cover,
  .pkp_page_issue.pkp_op_view .obj_issue_toc .obj_article_summary .cover {
    margin-bottom: 0;
  }

  /*
   * Remove the remaining 60 px below the Editorial item:
   * 30 px from its final list item and 30 px from the section padding.
   */
  .pkp_page_index .obj_issue_toc > .sections > .section:first-child,
  .pkp_page_issue.pkp_op_view
    .obj_issue_toc > .sections > .section:first-child {
    padding-bottom: 0;
  }

  .pkp_page_index .obj_issue_toc > .sections > .section:first-child
    .cmp_article_list > li:last-child,
  .pkp_page_issue.pkp_op_view
    .obj_issue_toc > .sections > .section:first-child
    .cmp_article_list > li:last-child {
    margin-bottom: 0;
  }
}
