/* DCR · OJS Default Theme · 2026-08-28
   Public frontend only. Upload through Appearance > Advanced.
   Keep native OJS sidebar, navigation, workflow and issue rendering. */
:root {
  --dcr-slate: #455d70;
  --dcr-action: #354b5d;
  --dcr-ink: #171d20;
  --dcr-paper: #fffdfa;
  --dcr-bg: #f4f6f8;
  --dcr-line: #d6dde2;
  --dcr-muted: #6b7d8c;
}
body { background: var(--dcr-bg); color: var(--dcr-ink); }
.pkp_structure_page { max-width: 1500px; margin: 0 auto; background: var(--dcr-paper); }
.pkp_structure_head, .pkp_head_wrapper, .pkp_site_name_wrapper,
.pkp_navigation_primary_row { background: var(--dcr-paper); }
.pkp_structure_head { border-bottom: 1px solid var(--dcr-line); }
.pkp_head_wrapper { padding-top: 0; }
.pkp_site_name { padding-top: 18px; padding-bottom: 22px; }
.pkp_site_name .is_img { display: block; max-width: 850px; }
.pkp_site_name .is_img img {
  display: block; width: 100%; max-width: 850px; height: auto;
  max-height: none; object-fit: contain; object-position: left center;
}
.pkp_navigation_primary_row { border-top: 1px solid var(--dcr-line); border-bottom: 4px solid var(--dcr-slate); }
.pkp_navigation_primary > li > a {
  color: var(--dcr-ink); font-weight: 700; letter-spacing: .02em;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus { color: var(--dcr-action); }
.pkp_navigation_primary .dropdown-menu a { color: var(--dcr-ink); }
.pkp_navigation_user > li > a, .pkp_head_wrapper .pkp_search .search_prompt {
  color: var(--dcr-ink);
}
.pkp_structure_page a { color: var(--dcr-action); }
.pkp_structure_page a:hover { color: #354b5d; }
.pkp_structure_page a:focus-visible, .pkp_structure_page button:focus-visible {
  outline: 3px solid var(--dcr-action); outline-offset: 4px;
}
.pkp_structure_content { padding-top: 32px; }
.page_index_journal .additional_content,
.page_index_journal .about_journal,
.page_index_journal .current_issue {
  background: #fff; border: 1px solid var(--dcr-line);
  padding: 28px; margin-bottom: 28px; border-radius: 2px;
}
.page_index_journal .additional_content { padding-top: 32px; }
.dcr-home-about, .dcr-resources { margin: 0 0 36px; }
.dcr-home-about p, .dcr-resources p { line-height: 1.75; }
.dcr-home-about h2, .dcr-resources h2 {
  color: var(--dcr-ink); font-size: 1.35rem; line-height: 1.4; margin: 0 0 24px;
}
.dcr-home-about h2::after, .dcr-resources h2::after {
  content: ""; display: block; width: 72px; height: 4px;
  margin-top: 15px; background: var(--dcr-slate);
}
.dcr-facts { width: 100%; margin: 26px 0 0; border-collapse: collapse; background: var(--dcr-paper); }
.dcr-facts th, .dcr-facts td {
  border: 1px solid var(--dcr-line); padding: 12px 16px;
  text-align: left; vertical-align: top; overflow-wrap: anywhere; line-height: 1.6;
}
.dcr-facts th { width: 34%; color: var(--dcr-muted); font-size: .86rem; }
.dcr-facts td { font-size: .9rem; }
.dcr-disclaimer, .dcr-resource-names { color: var(--dcr-muted); font-size: .88rem; line-height: 1.7; }
.dcr-resource-image {
  margin: 20px 0 12px; background: #fff; border: 1px solid var(--dcr-line); padding: 12px;
}
.dcr-resource-image p { margin: 0; }
.dcr-resource-image img, .dcr-resources img {
  display: block; width: 100%; max-width: 100%; height: auto; background: #fff;
}
.dcr-resource-names { font-size: .78rem; }
.dcr-submission-cta { padding: 28px; background: var(--dcr-action); color: #fff; }
.dcr-submission-cta h2 { margin-top: 0; color: #fff; font-size: 1.35rem; line-height: 1.4; }
.dcr-submission-cta p { line-height: 1.7; }
.pkp_structure_page .dcr-cta-link {
  display: inline-block; padding: 10px 16px; border: 1px solid #fff;
  color: #fff; font-weight: 700; text-decoration: none;
}
.pkp_structure_page .dcr-cta-link:hover { background: #fff; color: var(--dcr-action); }
.pkp_block { padding: 22px; margin-bottom: 18px; }
.pkp_block:has(.dcr-quick-access),
.pkp_block:has(.dcr-for-authors) {
  background: #fff; border: 1px solid var(--dcr-line); border-radius: 2px;
}
.dcr-quick-access { margin: -22px; }
.dcr-quick-access h2 {
  margin: 0; padding: 17px 18px; background: var(--dcr-ink);
  color: #fff; font-size: 1rem; line-height: 1.4;
}
.pkp_structure_page .dcr-quick-access ul { list-style: none; padding: 0; margin: 0; }
.pkp_structure_page .dcr-quick-access li { list-style: none; margin: 0; padding: 0; }
.dcr-quick-access li a {
  position: relative; display: block; padding: 14px 36px 14px 18px;
  border-bottom: 1px solid var(--dcr-line); font-size: .9rem;
  font-weight: 700; color: var(--dcr-ink); text-decoration: none;
}
.dcr-quick-access a span { position: absolute; right: 18px; }
.dcr-quick-access li a:hover { background: #edf1f4; }
.pkp_structure_page .dcr-submit-button {
  position: relative; display: block; margin-top: 12px; padding: 16px 36px 16px 18px;
  background: var(--dcr-action); color: #fff; font-size: .88rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .035em; text-decoration: none;
}
.pkp_structure_page .dcr-submit-button:hover { background: #354b5d; color: #fff; }
.dcr-for-authors h2 { margin-top: 0; font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; }
.dcr-for-authors p { font-size: .85rem; line-height: 1.75; }
.dcr-for-authors a { font-weight: 700; }
.pkp_structure_page .cmp_button, .pkp_structure_page .block_make_submission a {
  background: var(--dcr-action); border-color: var(--dcr-action); color: #fff;
  text-shadow: none;
}
.pkp_structure_footer_wrapper { background: var(--dcr-ink); color: #fff; border-top: 7px solid var(--dcr-slate); }
.pkp_structure_footer_wrapper a { color: #c8d2da; }
.pkp_structure_footer_wrapper a:hover { color: #fff; }
.dcr-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; padding: 10px 0 28px; }
.dcr-footer-grid h2 { color: #fff; font-size: 1.6rem; margin: 0 0 20px; }
.dcr-footer-grid h3 { color: #c8d2da; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 20px; }
.dcr-footer-grid p, .dcr-footer-note { color: #d6dde2; font-size: .84rem; line-height: 1.8; }
.dcr-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.dcr-footer-grid li { list-style: none; padding: 0; margin: 0 0 8px; font-size: .84rem; }
.dcr-footer-note { border-top: 1px solid #6b7d8c; padding-top: 18px; }
.pkp_brand_footer img { max-width: 130px; height: auto; filter: grayscale(1) invert(1); opacity: .85; }
.pkp_structure_footer_wrapper a:focus-visible, .dcr-submission-cta a:focus-visible { outline-color: #fff; }
@media (max-width: 991px) {
  .pkp_site_name .is_img { max-width: 720px; }
  .dcr-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pkp_site_name { padding-top: 12px; padding-bottom: 12px; }
  .pkp_site_name .is_img img { max-width: 100%; max-height: none; }
  .pkp_structure_content { padding-top: 20px; }
  .page_index_journal .additional_content,
  .page_index_journal .about_journal,
  .page_index_journal .current_issue { padding: 20px; }
  .dcr-facts, .dcr-facts tbody, .dcr-facts tr,
  .dcr-facts th, .dcr-facts td { display: block; width: 100%; box-sizing: border-box; }
  .dcr-facts th { border-bottom: 0; padding-bottom: 2px; }
  .dcr-facts td { border-top: 0; padding-top: 3px; }
  .dcr-facts tr + tr th { border-top: 0; }
  .dcr-submission-cta { padding: 22px; }
  .dcr-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 991px) {
  .pkp_site_name { padding-top: 0; padding-bottom: 0; }
  .pkp_site_name .is_img { display: block; width: auto; max-width: 260px; margin: 0 auto; }
  .pkp_site_name .is_img img {
    display: block; width: auto; max-width: 100%; height: auto;
    max-height: 44px; margin: 0 auto; object-fit: contain;
  }
}
