/* ================================================================
   UJPICR — UMYU Journal of Pure and Industrial Chemical Research
   Custom Journal Stylesheet for OJS 3.5
   Upload via: Settings > Website > Appearance > Advanced > Journal style sheet
   ================================================================ */


/* ----------------------------------------------------------------
   1. TYPOGRAPHY & BASE
   ---------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Inter:wght@400;500;600&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a2e;
  background: #f8f9fb;
}

h1, h2, h3, h4,
.pkp_structure_head .pkp_site_name,
.page_issue h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}


/* ----------------------------------------------------------------
   2. HEADER — dark navy bar with white text
   ---------------------------------------------------------------- */

.pkp_structure_head {
  background: #0d1b3e !important;
  border-bottom: 3px solid #c8a951;
  padding: 0;
}

.pkp_site_name a,
.pkp_site_name {
  color: #ffffff !important;
  font-size: 1.15rem;
  text-decoration: none;
  font-family: 'Merriweather', serif;
  letter-spacing: 0.01em;
}

.pkp_site_name img {
  max-height: 64px;
}

/* Header logo area padding */
.pkp_structure_head .pkp_navigation_primary_row {
  padding: 10px 0;
}


/* ----------------------------------------------------------------
   3. PRIMARY NAVIGATION
   ---------------------------------------------------------------- */

.pkp_navigation_primary ul li a,
.pkp_navigation_primary > ul > li > a {
  color: #e8e8e8 !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 14px;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 3px solid transparent;
}

.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary > ul > li > a:hover {
  color: #c8a951 !important;
  border-bottom: 3px solid #c8a951;
  text-decoration: none;
}

/* Dropdown menus */
.pkp_navigation_primary .pkp_dropdown ul {
  background: #0d1b3e;
  border: 1px solid #c8a951;
  border-radius: 4px;
  min-width: 220px;
}

.pkp_navigation_primary .pkp_dropdown ul li a {
  color: #e8e8e8 !important;
  font-size: 0.85rem;
  text-transform: none;
  padding: 9px 16px;
  border-bottom: none;
}

.pkp_navigation_primary .pkp_dropdown ul li a:hover {
  background: #162244;
  color: #c8a951 !important;
  border-bottom: none;
}


/* ----------------------------------------------------------------
   4. USER NAV (Register / Login bar)
   ---------------------------------------------------------------- */

.pkp_navigation_user {
  background: #162244;
  border-bottom: 1px solid #1e2f5a;
}

.pkp_navigation_user ul li a {
  color: #b0bcd4 !important;
  font-size: 0.8rem;
  font-weight: 500;
}

.pkp_navigation_user ul li a:hover {
  color: #c8a951 !important;
}


/* ----------------------------------------------------------------
   5. HOMEPAGE HERO / ISSUE COVER
   ---------------------------------------------------------------- */

.pkp_structure_main .homepage_image,
.pkp_structure_main .homepage_image img {
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(13, 27, 62, 0.15);
}

/* Issue description intro text */
.pkp_structure_main .issue_description p {
  font-size: 0.95rem;
  color: #4a5568;
  font-style: italic;
  border-left: 3px solid #c8a951;
  padding-left: 14px;
  margin: 16px 0;
}


/* ----------------------------------------------------------------
   6. ARTICLE LISTINGS
   ---------------------------------------------------------------- */

.obj_article_summary {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0d1b3e;
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: box-shadow 0.2s, border-left-color 0.2s;
}

.obj_article_summary:hover {
  box-shadow: 0 4px 16px rgba(13, 27, 62, 0.1);
  border-left-color: #c8a951;
}

.obj_article_summary .title a {
  color: #0d1b3e !important;
  font-family: 'Merriweather', serif;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.obj_article_summary .title a:hover {
  color: #c8a951 !important;
  text-decoration: underline;
}

.obj_article_summary .authors {
  color: #4a5568;
  font-size: 0.85rem;
  margin-top: 5px;
}

.obj_article_summary .galleys_links a {
  background: #0d1b3e;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: background 0.2s;
}

.obj_article_summary .galleys_links a:hover {
  background: #c8a951;
  color: #0d1b3e !important;
}


/* ----------------------------------------------------------------
   7. SIDEBAR
   ---------------------------------------------------------------- */

.pkp_structure_sidebar {
  font-size: 0.875rem;
}

.pkp_block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 18px;
  overflow: hidden;
}

.pkp_block .title,
.pkp_block h2 {
  background: #0d1b3e;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  margin: 0;
}

.pkp_block .content,
.pkp_block ul {
  padding: 12px 14px;
  margin: 0;
}

.pkp_block ul li {
  list-style: none;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pkp_block ul li:last-child {
  border-bottom: none;
}

.pkp_block ul li a {
  color: #0d1b3e !important;
  text-decoration: none;
  font-size: 0.85rem;
}

.pkp_block ul li a:hover {
  color: #c8a951 !important;
  text-decoration: underline;
}

/* ---- Journal Info sidebar block (custom HTML block) ----------- */

.ujpicr-info-block {
  font-size: 0.83rem;
  line-height: 1.8;
  color: #2d3748;
}

.ujpicr-info-block strong {
  color: #0d1b3e;
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #718096;
  margin-top: 10px;
}

.ujpicr-info-block .issn-row {
  font-family: 'Inter', monospace;
  font-size: 0.82rem;
  color: #1a1a2e;
}

/* Badge row for indexing logos */
.ujpicr-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid #e2e8f0;
}

.ujpicr-badge-row img {
  height: 28px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.ujpicr-badge-row img:hover {
  opacity: 1;
}

/* Review timeline block */
.ujpicr-timeline {
  font-size: 0.83rem;
  padding: 12px 14px;
}

.ujpicr-timeline-item {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f4f8;
  align-items: flex-start;
}

.ujpicr-timeline-item:last-child {
  border-bottom: none;
}

.ujpicr-timeline-dot {
  width: 8px;
  height: 8px;
  background: #c8a951;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.ujpicr-timeline-label {
  color: #4a5568;
  flex: 1;
  line-height: 1.5;
}

.ujpicr-timeline-time {
  color: #0d1b3e;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.8rem;
}


/* ----------------------------------------------------------------
   8. ARTICLE DETAIL PAGE
   ---------------------------------------------------------------- */

.obj_article_details .page_title,
.obj_article_details h1 {
  font-family: 'Merriweather', serif;
  font-size: 1.45rem;
  color: #0d1b3e;
  line-height: 1.4;
  margin-bottom: 16px;
}

.obj_article_details .authors {
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.obj_article_details .doi {
  font-size: 0.83rem;
  color: #718096;
  margin-bottom: 16px;
}

.obj_article_details .doi a {
  color: #2b6cb0 !important;
}

.obj_article_details .abstract {
  background: #f7faff;
  border-left: 4px solid #0d1b3e;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
  color: #2d3748;
  line-height: 1.75;
  margin: 20px 0;
}

.obj_article_details .keywords {
  font-size: 0.83rem;
  color: #4a5568;
}

.obj_article_details .keywords .label {
  font-weight: 600;
  color: #0d1b3e;
}

/* Galley download button on article page */
.obj_galley_link a,
.obj_galley_link .label {
  background: #0d1b3e !important;
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s;
}

.obj_galley_link a:hover,
.obj_galley_link .label:hover {
  background: #c8a951 !important;
  color: #0d1b3e !important;
}


/* ----------------------------------------------------------------
   9. BREADCRUMBS
   ---------------------------------------------------------------- */

.pkp_structure_main nav.pkp_breadcrumbs ol,
.cmp_breadcrumbs ol {
  background: transparent;
  padding: 8px 0 4px;
  font-size: 0.8rem;
}

.cmp_breadcrumbs ol li a {
  color: #2b6cb0 !important;
}

.cmp_breadcrumbs ol li.current {
  color: #718096;
}


/* ----------------------------------------------------------------
   10. SECTION HEADINGS ON ISSUE PAGE
   ---------------------------------------------------------------- */

.pkp_structure_main h2.pkp_screen_reader,
.pkp_structure_main .section h2 {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #0d1b3e;
  border-bottom: 2px solid #c8a951;
  padding-bottom: 6px;
  margin: 28px 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ----------------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------------- */

.pkp_structure_footer {
  background: #0d1b3e;
  color: #8899bb;
  font-size: 0.8rem;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 3px solid #c8a951;
}

.pkp_structure_footer a {
  color: #c8a951 !important;
}

.pkp_structure_footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}


/* ----------------------------------------------------------------
   12. BUTTONS & FORMS
   ---------------------------------------------------------------- */

.pkp_button,
button.pkp_button,
a.pkp_button {
  background: #0d1b3e !important;
  color: #ffffff !important;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.pkp_button:hover,
button.pkp_button:hover,
a.pkp_button:hover {
  background: #c8a951 !important;
  color: #0d1b3e !important;
}

input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0d1b3e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.12);
}


/* ----------------------------------------------------------------
   13. ANNOUNCEMENT / NOTICE BANNER
   ---------------------------------------------------------------- */

.pkp_block_information .content,
.pkp_block.block_information .content {
  background: #fffbea;
  border: 1px solid #c8a951;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: #744210;
}


/* ----------------------------------------------------------------
   14. EDITORIAL BOARD PAGE
   ---------------------------------------------------------------- */

.pkp_structure_main table td,
.pkp_structure_main table th {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
  vertical-align: top;
}

.pkp_structure_main table th {
  background: #0d1b3e;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}


/* ----------------------------------------------------------------
   15. RESPONSIVE ADJUSTMENTS
   ---------------------------------------------------------------- */

@media (max-width: 768px) {
  .pkp_site_name a {
    font-size: 0.95rem;
  }

  .obj_article_details .page_title,
  .obj_article_details h1 {
    font-size: 1.15rem;
  }

  .pkp_structure_sidebar {
    margin-top: 24px;
  }

  .ujpicr-badge-row {
    justify-content: center;
  }
}


/* ================================================================
   SIDEBAR CUSTOM BLOCKS — paste the HTML below into OJS
   Settings > Website > Setup > Sidebar > Add Block (Custom HTML)
   ================================================================

BLOCK 1 — Journal Information (paste as Custom HTML block):

<div class="pkp_block">
  <h2 class="title">Journal Information</h2>
  <div class="content ujpicr-info-block">
    <strong>Publisher</strong>
    Dept. of Pure &amp; Industrial Chemistry, UMYU, Katsina, Nigeria
    <strong>Frequency</strong>
    Biannual &mdash; June &amp; December
    <strong>Print ISSN</strong>
    <span class="issn-row">2814-1636</span>
    <strong>Online ISSN</strong>
    <span class="issn-row">2814-1628</span>
    <strong>DOI Prefix</strong>
    <span class="issn-row">10.55688 (Crossref)</span>
    <strong>License</strong>
    CC BY 4.0 Open Access
    <strong>Editor-in-Chief</strong>
    Prof. Ibrahim Sada
  </div>
</div>

BLOCK 2 — Review Timeline (paste as Custom HTML block):

<div class="pkp_block">
  <h2 class="title">Review Timeline</h2>
  <div class="ujpicr-timeline">
    <div class="ujpicr-timeline-item">
      <div class="ujpicr-timeline-dot"></div>
      <div class="ujpicr-timeline-label">Submission acknowledgement</div>
      <div class="ujpicr-timeline-time">48 hrs</div>
    </div>
    <div class="ujpicr-timeline-item">
      <div class="ujpicr-timeline-dot"></div>
      <div class="ujpicr-timeline-label">Editorial screening</div>
      <div class="ujpicr-timeline-time">2 weeks</div>
    </div>
    <div class="ujpicr-timeline-item">
      <div class="ujpicr-timeline-dot"></div>
      <div class="ujpicr-timeline-label">Peer review</div>
      <div class="ujpicr-timeline-time">4&ndash;6 weeks</div>
    </div>
    <div class="ujpicr-timeline-item">
      <div class="ujpicr-timeline-dot"></div>
      <div class="ujpicr-timeline-label">Author decision</div>
      <div class="ujpicr-timeline-time">8 weeks</div>
    </div>
    <div class="ujpicr-timeline-item">
      <div class="ujpicr-timeline-dot"></div>
      <div class="ujpicr-timeline-label">Revision turnaround</div>
      <div class="ujpicr-timeline-time">4 weeks</div>
    </div>
  </div>
</div>

BLOCK 3 — Indexing (paste as Custom HTML block, add badge images after getting them):

<div class="pkp_block">
  <h2 class="title">Indexing &amp; Abstracting</h2>
  <div class="content ujpicr-info-block">
    <strong>Registered</strong>
    Crossref &bull; Google Scholar &bull; PKP Index
    <strong>Applications in Progress</strong>
    DOAJ &bull; AJOL
    <strong>Planned (2027)</strong>
    Scopus &bull; Web of Science
  </div>
  <div class="ujpicr-badge-row">
    <a href="https://search.crossref.org/?q=10.55688" target="_blank">
      <img src="https://assets.crossref.org/logo/crossref-logo-100.png" alt="Crossref" style="height:24px;">
    </a>
  </div>
</div>

================================================================ */
