/* Nabanje Journal of Science and Technology - External CSS Stylesheet */

/* ========== GLOBAL STYLES ========== */
:root {
  --primary-color: #2c5aa0;
  --secondary-color: #1e3d72;
  --accent-color: #4a90a4;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --border-light: #e0e0e0;
  --success-color: #28a745;
  --warning-color: #ffc107;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

/* ========== HEADER STYLES ========== */
.pkp_structure_head {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pkp_head_wrapper {
  padding: 20px 0;
}

.pkp_site_name {
  color: var(--white) !important;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}

.pkp_site_name a {
  color: var(--white) !important;
  text-decoration: none;
}

.context_description {
  color: rgba(255,255,255,0.9) !important;
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 600px;
}

/* ========== NAVIGATION STYLES ========== */
.pkp_navigation_primary {
  background-color: var(--white) !important;
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pkp_navigation_primary_row {
  padding: 0;
}

.pkp_navigation_primary .pkp_nav_list,
.pkp_nav_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_navigation_primary .pkp_nav_list li,
.pkp_nav_list li {
  display: inline-block;
  margin: 0;
}

.pkp_navigation_primary .pkp_nav_list li a,
.pkp_nav_list li a,
.pkp_navigation_primary a,
nav a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark) !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.pkp_navigation_primary .pkp_nav_list li a:hover,
.pkp_navigation_primary .pkp_nav_list li.current a,
.pkp_nav_list li a:hover,
.pkp_nav_list li.current a,
.pkp_navigation_primary a:hover,
nav a:hover {
  background-color: var(--background-light) !important;
  border-bottom-color: var(--primary-color);
  color: var(--primary-color) !important;
}

/* Additional navigation selectors for different OJS versions */
.navigation-primary,
.navbar-nav,
.main-navigation {
  background-color: var(--white) !important;
}

.navigation-primary a,
.navbar-nav a,
.main-navigation a {
  color: var(--text-dark) !important;
  padding: 15px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navigation-primary a:hover,
.navbar-nav a:hover,
.main-navigation a:hover {
  background-color: var(--background-light) !important;
  color: var(--primary-color) !important;
}

/* ========== MAIN CONTENT STYLES ========== */
.pkp_structure_main {
  padding: 1px 0;
  background-color: var(--white);
}

.pkp_structure_content {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
}

/* ========== HEADINGS ========== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

h2 {
  font-size: 2rem;
  margin-top: 30px;
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* ========== ARTICLE STYLES ========== */
.obj_article_summary {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.obj_article_summary:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.obj_article_summary h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.obj_article_summary h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.obj_article_summary h3 a:hover {
  color: var(--secondary-color);
}

.obj_article_summary .authors {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.obj_article_summary .abstract {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ========== BUTTONS ========== */
.pkp_button,
.btn,
button[type="submit"] {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pkp_button:hover,
.btn:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
  color: var(--white);
  text-decoration: none;
}

/* ========== FORMS ========== */
.pkp_form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pkp_form .section {
  margin-bottom: 25px;
}

.pkp_form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

.pkp_form input[type="text"],
.pkp_form input[type="email"],
.pkp_form input[type="password"],
.pkp_form textarea,
.pkp_form select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.pkp_form input:focus,
.pkp_form textarea:focus,
.pkp_form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* ========== SIDEBAR STYLES ========== */
.pkp_structure_sidebar {
  background-color: var(--background-light);
  padding: 30px 20px;
}

.pkp_block {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pkp_block h2 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-color);
}

/* ========== FOOTER STYLES ========== */
.pkp_structure_footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 50px;
}

.pkp_structure_footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pkp_structure_footer a:hover {
  color: var(--white);
}

/* ========== ISSUE ARCHIVE STYLES ========== */
.issues_archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.issue_summary {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.issue_summary:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* ========== BREADCRUMBS ========== */
.cmp_breadcrumbs {
  background-color: var(--background-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
}

.cmp_breadcrumbs ol {
  margin: 0;
  padding: 0;
}

.cmp_breadcrumbs li {
  display: inline-block;
  color: var(--text-light);
}

.cmp_breadcrumbs li::after {
  content: " > ";
  margin: 0 8px;
  color: var(--text-light);
}

.cmp_breadcrumbs li:last-child::after {
  display: none;
}

.cmp_breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
}

.cmp_breadcrumbs a:hover {
  text-decoration: underline;
}

/* ========== ANNOUNCEMENTS ========== */
.obj_announcement {
  background-color: var(--white);
  border-left: 4px solid var(--accent-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .pkp_site_name {
    font-size: 1.8rem;
  }
  
  .context_description {
    font-size: 1rem;
  }
  
  .pkp_navigation_primary .pkp_nav_list li {
    display: block;
  }
  
  .pkp_navigation_primary .pkp_nav_list li a {
    border-bottom: 1px solid var(--border-light);
    border-left: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .pkp_structure_content {
    padding: 20px;
  }
  
  .issues_archive {
    grid-template-columns: 1fr;
  }
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Focus indicators */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
  .pkp_navigation_primary,
  .pkp_structure_sidebar,
  .pkp_structure_footer {
    display: none;
  }
  
  .pkp_structure_main {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* ========== CUSTOM ENHANCEMENTS ========== */
.journal-highlight {
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(74, 144, 164, 0.1) 100%);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid var(--primary-color);
}

.open-access-badge {
  background-color: var(--success-color);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.policy-section {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 25px;
  margin: 25px 0;
  border: 1px solid var(--border-light);
}

/* ========== JOURNAL ABOUT SECTION ========== */
.journal-about-section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.lead-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 400;
}

.journal-stats {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.stat-item {
  color: var(--white);
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ========== OPEN ACCESS SECTION ========== */
.open-access-section {
  border-left: 5px solid var(--success-color);
}

.policy-highlight {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.statement-text {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 25px;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.feature-list li:last-child {
  border-bottom: none;
}

.licensing-section {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  border: 2px solid var(--border-light);
}

.license-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cc-license-badge {
  background-color: var(--success-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* ========== PLAGIARISM SECTION ========== */
.plagiarism-section {
  border-left: 5px solid var(--warning-color);
}

.policy-commitment {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.commitment-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

.plagiarism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.plagiarism-type {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}

.plagiarism-type:hover {
  border-color: var(--warning-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plagiarism-type h4 {
  color: var(--warning-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.method-list {
  margin: 20px 0;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: var(--white);
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--border-light);
}

.method-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.consequence-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.consequence {
  border-radius: 8px;
  padding: 20px;
  border: 2px solid;
}

.consequence.minor {
  border-color: var(--success-color);
  background-color: rgba(40, 167, 69, 0.05);
}

.consequence.moderate {
  border-color: var(--warning-color);
  background-color: rgba(255, 193, 7, 0.05);
}

.consequence.severe {
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.05);
}

.consequence h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.guideline-list {
  list-style: none;
  padding: 0;
}

.guideline-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.guideline-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ========== REPOSITORY SECTION ========== */
.repository-section {
  border-left: 5px solid var(--accent-color);
}

.repository-policies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.policy-type {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  border: 2px solid var(--border-light);
}

.policy-type h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.repository-list {
  list-style: none;
  padding: 0;
}

.repository-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.repo-type {
  font-weight: 600;
  color: var(--primary-color);
}

.mandate-support {
  margin: 20px 0;
}

.mandate-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: var(--white);
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--border-light);
}

.mandate-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.info-checklist {
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: default;
}

.checklist-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.prohibited-list {
  list-style: none;
  padding: 0;
}

.prohibited-list li {
  padding: 10px;
  margin-bottom: 8px;
  background-color: rgba(220, 53, 69, 0.05);
  border-radius: 6px;
  border-left: 4px solid #dc3545;
}

/* ========== AIMS AND SCOPE SECTION ========== */
.aims-scope-section {
  background-color: var(--white);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 500;
  text-align: center;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1), rgba(74, 144, 164, 0.1));
  padding: 25px;
  border-radius: 8px;
  margin: 20px 0;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.objective-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 20px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}

.objective-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .pkp_structure_sidebar:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 261px;
        border-left: 1px solid #ddd;
    }
}

@media (min-width: 992px) {
    .pkp_structure_sidebar {
        float: right;
        width: 228px;
    }
}


.journal-sidebar-container * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .journal-sidebar-container {
            font-family: 'Arial', sans-serif;
            background-color: #f5f5f5;
            padding: 9px;
        }

        .journal-sidebar-container .side-menu {
            width: 169px;
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            border-left: 4px solid #2563eb;
        }

        .journal-sidebar-container .menu-header {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            color: white;
            padding: 10px;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        .journal-sidebar-container .menu-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .journal-sidebar-container .menu-item {
            border-bottom: 1px solid #e5e7eb;
        }

        .journal-sidebar-container .menu-item:last-child {
            border-bottom: none;
        }

        .journal-sidebar-container .menu-link {
            display: block;
            padding: 16px 20px;
            color: #374151;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            background: white;
        }

        .journal-sidebar-container .menu-link:hover {
            background: #f3f4f6;
            color: #2563eb;
            padding-left: 28px;
        }

        .journal-sidebar-container .menu-link:hover::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: #2563eb;
        }

        .journal-sidebar-container .menu-link:active {
            background: #e5e7eb;
            transform: translateX(2px);
        }

        /* Icon styling - you can replace with actual icons */
        .journal-sidebar-container .menu-link::after {
            content: '▸';
            float: right;
            color: #9ca3af;
            font-size: 12px;
            transition: all 0.3s ease;
            opacity: 0;
        }

        .journal-sidebar-container .menu-link:hover::after {
            opacity: 1;
            transform: translateX(4px);
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .journal-sidebar-container .side-menu {
                width: 100%;
                max-width: 320px;
            }
        }

@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 148px;
    }
}


@media (min-width: 992px) {
    .pkp_site_name {
        width: 75%;
        margin-left: 0;
        padding-top: 1.071rem;
        padding-bottom: 0.2rem;
    }
}

@media (max-width: 900px) {
  .pkp_site_name .is_img img {
      display: block;
      max-height: 5.143rem;
      max-width: 100%;
      width: auto;
      height: auto;
  }
}