
/* ========================================
   QUBAHAN TECHNO JOURNAL
   OJS / MATERIAL THEME
   ORIGINAL STYLE + HOMEPAGE FIX
======================================== */


/* ===== GENERAL ===== */

body {
  background: #f4f7fb !important;
  color: #1f2937 !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  line-height: 1.7;
}

a {
  color: #062b63 !important;
  transition: all .25s ease;
}

a:hover {
  color: #0b4fa3 !important;
  text-decoration: none !important;
}


/* ===== ORIGINAL HEADER ===== */

.pkp_structure_head,
.pkp_head_wrapper {
  background: #06172f !important;
  min-height: 170px !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.22);
}

.pkp_site_name img,
.pkp_site_name_wrapper img,
.pkp_site_name .is_img img {
  max-height: 160px !important;
  width: auto !important;
}

.pkp_site_name a,
.pkp_site_name_wrapper a {
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: 900 !important;
}


/* ===== ORIGINAL NAVIGATION ===== */

.pkp_navigation_primary > li > a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.pkp_navigation_primary > li > a:hover {
  color: #dbeafe !important;
}


/* ===== CONTENT ===== */

.pkp_structure_content {
  padding-top: 35px !important;
}

.pkp_structure_main {
  background: transparent !important;
}


/* ========================================
   HOMEPAGE HEADING FIX
   ONLY EXISTING OJS CLASSES
======================================== */

/* General headings: no horizontal line */

.page_index_journal h1,
.page_index_journal h2,
.issue-toc-section h2 {
  color: #062b63 !important;
  font-weight: 900 !important;
  border-bottom: none !important;
  padding-bottom: 8px;
  margin-bottom: 22px;
}


/* Journal description */

.page_index_journal .additional_content,
.page_index_journal .homepage_about {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
  float: none !important;
}


/* Current Issue container only */

.page_index_journal .current_issue {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
  float: none !important;
  margin-top: 30px !important;
}


/* Current Issue heading only */

.page_index_journal .current_issue h2 {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;

  color: #062b63 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;

  border-bottom: 3px solid #0b4fa3 !important;
  padding-bottom: 8px !important;
  margin-bottom: 22px !important;
}


/* ===== ARTICLE CARDS ===== */

.obj_article_summary,
.cmp_article_list > li,
.obj_issue_summary {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin-bottom: 24px !important;

  box-shadow: 0 8px 24px
    rgba(15,23,42,0.08);

  transition: all .25s ease;
}

.obj_article_summary:hover,
.cmp_article_list > li:hover,
.obj_issue_summary:hover {
  transform: translateY(-3px);

  box-shadow: 0 14px 34px
    rgba(15,23,42,0.13);
}


/* ===== PAPER TITLES ===== */

.obj_article_summary .title,
.obj_article_summary .title a,
.cmp_article_list .title,
.cmp_article_list .title a,
h3.title,
h3.title a,
h4.title,
h4.title a {
  color: #062b63 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.obj_article_summary .title a:hover,
.cmp_article_list .title a:hover,
h3.title a:hover,
h4.title a:hover {
  color: #0b4fa3 !important;
}


/* ===== AUTHORS ===== */

.obj_article_summary .authors,
.obj_article_summary .meta .authors,
.cmp_article_list .authors {
  color: #374151 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 8px !important;
}


/* ===== METADATA ===== */

.obj_article_summary .pages,
.obj_article_summary .meta,
.obj_article_summary .subtitle {
  color: #6b7280 !important;
  font-size: 14px !important;
}


/* ===== ORIGINAL BUTTONS ===== */

.obj_galley_link,
.cmp_button,
.pkp_button,
a.read_more {
  background: yellow !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 9px 16px !important;
  font-weight: 800 !important;
  text-decoration: none !important;

  box-shadow: 0 4px 12px
    rgba(6,43,99,0.25);
}

.obj_galley_link:hover,
.cmp_button:hover,
.pkp_button:hover,
a.read_more:hover {
  background: #0b4fa3 !important;
  color: #ffffff !important;
}


/* ===== SIDEBAR ===== */

.pkp_structure_sidebar .pkp_block {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 20px !important;
  margin-bottom: 20px !important;

  box-shadow: 0 6px 18px
    rgba(15,23,42,0.07);
}

.pkp_structure_sidebar .title {
  color: #062b63 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}


/* ===== HOMEPAGE IMAGES ===== */

.page_index_journal img,
.homepage_image img,
.pkp_page_index img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px;
}


/* ===== ARTICLE PAGE ===== */
/* DOI before downloads */

.page_article .entry_details,
.page_article .article_details,
.page_article .main_entry {
  display: flex !important;
  flex-direction: column !important;
}

.page_article .item.doi {
  order: 10 !important;
}

.page_article .item.galleys,
.page_article .item.downloads,
.page_article .item.download {
  order: 11 !important;
}


/* ===== ORIGINAL FOOTER ===== */

.pkp_structure_footer_wrapper,
.pkp_structure_footer,
footer {
  background: #062b63 !important;
  color: #ffffff !important;
}

.pkp_structure_footer_wrapper a,
.pkp_structure_footer a,
footer a {
  color: #ffffff !important;
}


/* ===== HIDE OJS / PKP CREDITS ===== */

.pkp_brand_footer,
.pkp_brand_footer *,
.pkp_structure_footer_wrapper .pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer,
.pkp_structure_footer_wrapper a[href*="pkp.sfu.ca"],
.pkp_structure_footer_wrapper a[href*="publicknowledgeproject.org"],
.pkp_structure_footer_wrapper a[href*="openjournalsystems.com"],
.pkp_structure_footer a[href*="pkp.sfu.ca"],
.pkp_structure_footer a[href*="publicknowledgeproject.org"],
.pkp_structure_footer a[href*="openjournalsystems.com"] {
  display: none !important;
  visibility: hidden !important;
}


/* ===== HIDE FULL CREDIT LINE ===== */

.pkp_structure_footer_wrapper div:has(a[href*="pkp.sfu.ca"]),
.pkp_structure_footer_wrapper div:has(a[href*="publicknowledgeproject.org"]),
.pkp_structure_footer_wrapper div:has(a[href*="openjournalsystems.com"]),
.pkp_structure_footer div:has(a[href*="pkp.sfu.ca"]),
.pkp_structure_footer div:has(a[href*="publicknowledgeproject.org"]),
.pkp_structure_footer div:has(a[href*="openjournalsystems.com"]) {
  display: none !important;
}


/* ===== MOBILE ===== */

@media (max-width: 768px) {

  .pkp_structure_head,
  .pkp_head_wrapper {
    min-height: 125px !important;
  }

  .pkp_site_name img,
  .pkp_site_name_wrapper img,
  .pkp_site_name .is_img img {
    max-height: 105px !important;
  }

  .pkp_site_name a,
  .pkp_site_name_wrapper a {
    font-size: 22px !important;
  }

  .obj_article_summary .title,
  .obj_article_summary .title a,
  h3.title a,
  h4.title a {
    font-size: 22px !important;
  }

  .obj_article_summary,
  .cmp_article_list > li,
  .obj_issue_summary {
    padding: 16px !important;
  }

  .page_index_journal .current_issue {
    width: 100% !important;
    clear: both !important;
  }

  .page_index_journal .current_issue h2 {
    font-size: 24px !important;
  }
}


/* ===== ORIGINAL NAVBAR LOGO ===== */

.navbar-logo {
  height: 190px;
  width: 100%;
  max-width: 100%;
  max-height: 190px;
}

.navbar-brand-logo img {
  max-height: 70px;
}

.navbar-logo img {
  height: 190px;
  width: 100%;
  border-bottom: 2px outset #34495e;
  max-width: 100%;
  max-height: 320px;
}
