/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Enhanced Typography - Professional Academic Look */
body {
  font-family: 'Source Sans Pro', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: #2d3748;
  background-color: #f7fafc;
  font-size: 16px;
  font-weight: 400;
}

/* Headings with Academic Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1e40af;
  margin: 1.5em 0 0.75em 0;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  margin: 1.25em 0 0.5em 0;
}

/* Paragraph Spacing and Typography */
p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #374151;
  font-size: 1.5rem;
}

/* Journal Description and Content */
.journal_description,
.about_journal {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  margin-bottom: 30px;
  border-left: 5px solid #3b82f6;
  font-size: 1.05rem;
  line-height: 1.8;
}

.journal_description p,
.about_journal p {
  color: #4a5568;
  margin-bottom: 1.2em;
}

/* Issue and Volume Typography */
.issue_title,
.volume_title {
  font-family: 'Libre Baskerville', 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5em;
  letter-spacing: -0.02em;
}

.issue_description {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4a5568;
}

/* Enhanced Link Styling */
a {
  color: #2563eb;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Academic Paper Title Links */
.article_title a,
.obj_article_summary h3 a {
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.article_title a:hover,
.obj_article_summary h3 a:hover {
  color: #3730a3;
  text-decoration: none;
}

/* Author Names Styling */
.authors,
.article_authors {
  color: #047857;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.75em;
}

.authors a,
.article_authors a {
  color: inherit;
  text-decoration: none;
}

.authors a:hover,
.article_authors a:hover {
  color: #065f46;
  text-decoration: underline;
}

/* Publication Date and Meta */
.published_date,
.publication_meta {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1em;
}

/* Abstract and Summary Text */
.abstract,
.article_summary .summary {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.75;
  margin: 1em 0;
  text-align: justify;
}

/* Keywords and Tags */
.keywords,
.article_keywords {
  margin-top: 1.5em;
  padding-top: 1em;
  border-top: 1px solid #e2e8f0;
}

.keywords strong,
.article_keywords strong {
  color: #374151;
  font-weight: 600;
}

.keyword,
.tag {
  display: inline-block;
  background: #eff6ff;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 15px;
  margin: 2px 4px 2px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Professional Button Styling */
.download_button,
.pdf_button {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.3);
  font-size: 0.95rem;
}

.download_button:hover,
.pdf_button:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(220, 38, 38, 0.4);
  color: white;
}

/* Bootstrap 3 Container Overrides for Full Width */
.container,
.container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin: 0 !important;
}

/* Bootstrap 3 Grid System Override */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Header Styles - Bootstrap 3 Compatible */
.pkp_structure_head,
header.navbar {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

.navbar-header {
  width: 100%;
  padding: 0 15px;
}

.navbar-brand,
.pkp_site_name {
  color: white !important;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 20px 0;
  transition: all 0.3s ease;
  height: auto !important;
}

.navbar-brand:hover,
.pkp_site_name:hover {
  color: #fbbf24 !important;
  transform: translateY(-2px);
}

/* Bootstrap 3 Navigation Override */
.navbar-nav {
  background: white;
  margin: 0 !important;
  width: 100%;
  border-top: 1px solid #e2e8f0;
}

.navbar-nav > li {
  float: none !important;
  display: inline-block;
}

.navbar-nav > li > a {
  color: #374151 !important;
  text-decoration: none;
  font-weight: 500;
  padding: 15px 20px !important;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  line-height: 20px !important;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: #1e40af !important;
  background-color: #eff6ff !important;
  transform: translateY(-1px);
}

/* Main Content Area - Bootstrap 3 Layout */
.pkp_structure_main,
main {
  width: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
  background: transparent;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

/* Content and Sidebar Layout - Default Desktop */
.pkp_structure_content,
.col-md-8,
.col-sm-8 {
  background: white;
  padding: 40px 30px;
  min-height: 600px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  margin-bottom: 20px;
}

.pkp_structure_sidebar,
.col-md-4,
.col-sm-4 {
  background: #f8fafc;
  padding: 30px;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Bootstrap 3 Panel Styling for Blocks */
.panel,
.pkp_block {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.panel-heading,
.pkp_block h2 {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e40af;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  padding: 15px 20px;
  border-bottom: 2px solid #3b82f6;
  border-radius: 8px 8px 0 0;
}

.panel-body {
  padding: 20px;
}

/* Container wrapper for controlled width */
.pkp_page_wrapper,
.pkp_structure_page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Sidebar Styles */
.pkp_structure_sidebar {
  background: #f8fafc;
  padding: 30px;
  border-left: 1px solid #e2e8f0;
  border-radius: 8px;
}

.pkp_block {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.pkp_block h2 {
  color: #1e40af;
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 8px;
}

/* Current Issue and Article Display Styling */
.page_issue .pkp_structure_content,
.page_article .pkp_structure_content {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* Current Issue Header */
.current_issue_title,
.issue_title h1 {
  color: #1e40af;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 15px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Issue Information */
.issue_description,
.issue_summary {
  background: #f8fafc;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid #3b82f6;
}

.issue_description h2,
.issue_summary h2 {
  color: #1e40af;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.issue_description .published,
.issue_summary .published {
  color: #059669;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: block;
}

/* Articles Section */
.articles_section,
.issue_toc {
  margin-top: 40px;
}

.articles_section h3,
.issue_toc h3 {
  color: #1e40af;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Individual Article Styling */
.article_summary,
.obj_article_summary {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.article_summary:hover,
.obj_article_summary:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-3px);
  border-color: #3b82f6;
}

.article_summary::before,
.obj_article_summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 10px 0 0 10px;
}

/* Article Title */
.article_summary h3,
.obj_article_summary h3 {
  color: #1e40af;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.article_summary h3 a,
.obj_article_summary h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article_summary h3 a:hover,
.obj_article_summary h3 a:hover {
  color: #3b82f6;
}

/* Article Authors */
.article_summary .authors,
.obj_article_summary .authors {
  color: #059669;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.article_summary .authors a,
.obj_article_summary .authors a {
  color: inherit;
  text-decoration: none;
}

.article_summary .authors a:hover,
.obj_article_summary .authors a:hover {
  text-decoration: underline;
}

/* Article Abstract/Summary */
.article_summary .summary,
.obj_article_summary .summary {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 1rem;
}

/* Article Meta Information */
.article_summary .published,
.obj_article_summary .published {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Article Actions (PDF, etc.) */
.article_summary .galleys,
.obj_article_summary .galleys {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.article_summary .galleys .btn,
.obj_article_summary .galleys .btn,
.article_summary .galleys a,
.obj_article_summary .galleys a {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-right: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.article_summary .galleys .btn:hover,
.obj_article_summary .galleys .btn:hover,
.article_summary .galleys a:hover,
.obj_article_summary .galleys a:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
}

/* View All Issues Button */
.view_issues_link,
.view_all_issues {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.view_issues_link:hover,
.view_all_issues:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

/* Typography Overrides */
h1 {
  color: #1e40af;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  font-family: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
}

h2 {
  color: #1e40af;
  font-size: 2rem;
  font-weight: 600;
  margin: 30px 0 20px 0;
  line-height: 1.3;
  font-family: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
}

h3 {
  color: #374151;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 25px 0 15px 0;
  font-family: 'Libre Baskerville', 'Georgia', 'Times New Roman', serif;
}

/* Button Styles - Bootstrap 3 Override */
.btn,
.pkp_button,
button,
input[type="submit"] {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn:hover,
.pkp_button:hover,
button:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  text-decoration: none !important;
}

/* Bootstrap 3 Form Controls Override */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0 !important;
  border-radius: 6px !important;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  background: white;
  box-shadow: none !important;
  height: auto !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  outline: none;
}

/* Footer Styles */
.pkp_structure_footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 40px 0 20px 0;
  margin-top: 60px;
}

.pkp_structure_footer .wrapper {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 20px;
  text-align: center;
}

.pkp_structure_footer a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pkp_structure_footer a:hover {
  color: #93c5fd;
}

/* Responsive Design - Dynamic Sidebar Layout */
@media (max-width: 768px) {
  .pkp_structure_content {
    padding: 20px 15px;
  }
  
  /* Mobile: Single column layout */
  .pkp_structure_main {
    flex-direction: column;
    gap: 15px;
  }
  
  .pkp_structure_content,
  .col-md-8,
  .col-sm-8 {
    flex: 1;
    max-width: 100%;
  }
  
  .pkp_structure_sidebar,
  .col-md-4,
  .col-sm-4 {
    flex: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
    gap: 15px;
  }
  
  .pkp_structure_sidebar .pkp_block,
  .pkp_structure_sidebar .panel {
    flex-basis: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
  }
  
  .pkp_navigation_primary ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .pkp_site_name {
    font-size: 1.5rem;
    padding: 15px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Mobile search filters stack */
  .filter_row,
  .advanced_filters .row {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter_row .form-group,
  .advanced_filters .col-md-6 {
    min-width: 100%;
  }
  
  /* Mobile login/register forms */
  .page_login .pkp_structure_content,
  .page_register .pkp_structure_content {
    margin: 20px 15px;
    padding: 30px 20px;
  }
  
  /* Mobile: Keep full width */
  .pkp_structure_main,
  .pkp_page_wrapper,
  .pkp_structure_page,
  .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet: Flexbox layout (keeping original proportions) */
  .pkp_structure_main {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 15px;
  }
  
  .pkp_structure_content,
  .col-md-8,
  .col-sm-8 {
    flex: 0 0 calc(70% - 10px);
    max-width: calc(70% - 10px);
  }
  
  .pkp_structure_sidebar,
  .col-md-4,
  .col-sm-4 {
    flex: 0 0 calc(30% - 10px);
    max-width: calc(30% - 10px);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  /* Force smaller minimum width on tablets */
  .pkp_structure_sidebar .pkp_block,
  .pkp_structure_sidebar .panel {
    min-width: 200px;
  }
}

@media (min-width: 1025px) {
  /* Desktop: Force side-by-side layout with consistent proportions */
  .pkp_structure_main {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
  }
  
  /* Desktop: 66.66% width for main content */
  .pkp_structure_content,
  .col-md-8,
  .col-sm-8 {
    flex: 0 0 70% !important;
    max-width: 70% !important;
    margin-bottom: 0 !important;
  }
  
  /* Desktop: 33.33% width for sidebar */
  .pkp_structure_sidebar,
  .col-md-4,
  .col-sm-4 {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0 !important;
  }
  
  /* Ensure sidebar blocks stack vertically */
  .pkp_structure_sidebar .pkp_block,
  .pkp_structure_sidebar .panel {
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  
  /* Header and container remain full width */
  .pkp_structure_head,
  header.navbar,
  .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

/* Alternative CSS Grid approach for modern browsers */
@supports (display: grid) {
  @media (min-width: 769px) {
    .pkp_structure_sidebar {
      display: grid;
      grid-template-columns: 1fr;
      grid-gap: 20px;
    }
    
    .pkp_structure_sidebar .pkp_block,
    .pkp_structure_sidebar .panel {
      flex-basis: auto;
      min-width: auto;
    }
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Search Page Specific Styling */
.page_search .pkp_structure_content {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page_search h1 {
  color: #1e40af;
  font-size: 2.5rem;
  margin-bottom: 30px;
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 15px;
}

/* Search Form Styling */
.cmp_search,
.search_form {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.search_form .form-group {
  margin-bottom: 20px;
}

.search_form label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: block;
}

.search_form input[type="text"],
.search_form input[type="search"],
.search_form select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.search_form input:focus,
.search_form select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* Search Button */
.search_form button,
.search_form input[type="submit"] {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.search_form button:hover,
.search_form input[type="submit"]:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Advanced Filters Section */
.advanced_filters,
.search_advanced {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
}

.advanced_filters h3,
.search_advanced h3 {
  color: #1e40af;
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 8px;
}

/* Side by Side Filter Layout */
.filter_row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter_row .form-group {
  flex: 1;
  min-width: 250px;
}

/* Published After and By Author side by side */
.advanced_filters .row,
.search_filters {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.advanced_filters .col-md-6,
.filter_column {
  flex: 1;
  min-width: 300px;
}

/* Issue Archive Styling */
.obj_issue_summary {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid #3b82f6;
  transition: all 0.3s ease;
}

.obj_issue_summary:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateX(5px);
}

/* Badge Styles */
.badge {
  background: #eff6ff;
  color: #1e40af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-right: 8px;
}

/* Login/Register Page Styling */
.page_login .pkp_structure_content,
.page_register .pkp_structure_content,
.page_user .pkp_structure_content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 500px;
  margin: 40px auto;
}

.page_login h1,
.page_register h1,
.page_user h1 {
  text-align: center;
  color: #1e40af;
  margin-bottom: 30px;
  font-size: 2rem;
}

/* Login Form Styling */
.login_form,
.register_form,
.user_form {
  padding: 0;
}

.login_form .form-group,
.register_form .form-group,
.user_form .form-group {
  margin-bottom: 25px;
}

.login_form label,
.register_form label,
.user_form label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.login_form input,
.register_form input,
.user_form input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.login_form input:focus,
.register_form input:focus,
.user_form input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Login/Register Buttons */
.login_form button,
.register_form button,
.user_form button {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login_form button:hover,
.register_form button:hover,
.user_form button:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Login/Register Links */
.login_form .forgot_link,
.register_form .login_link {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.login_form .forgot_link a,
.register_form .login_link a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.login_form .forgot_link a:hover,
.register_form .login_link a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Manuscript Child Theme Specific Overrides */
.bootstrap3 .pkp_structure_main,
.bootstrap3 .pkp_page_wrapper,
.bootstrap3 .pkp_structure_page,
.bootstrap3 .container,
.bootstrap3 .container-fluid,
.bootstrap3 .row {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Bootstrap 3 Navbar Collapse Override */
.navbar-collapse {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.navbar-toggle {
  background: rgba(255,255,255,0.1) !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  margin-top: 20px;
  margin-bottom: 20px;
}

.navbar-toggle .icon-bar {
  background-color: white !important;
}

.navbar-collapse.in,
.navbar-collapse.collapsing {
  background: white;
  margin-top: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Bootstrap 3 Responsive Navigation */
@media (max-width: 767px) {
  .navbar-nav {
    margin: 0;
    background: transparent;
  }
  
  .navbar-nav > li {
    float: none;
    display: block;
    width: 100%;
  }
  
  .navbar-nav > li > a {
    padding: 15px 20px !important;
    border-bottom: 1px solid #f0f0f0;
  }
}

/* Page Full Width Extension to pkp_structure_main */
.page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure page extends to match pkp_structure_main width */
.page,
.page .pkp_structure_main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Alternative approach if you need the page to inherit pkp_structure_main styling */
.page {
  width: inherit;
  max-width: inherit;
  margin: inherit;
  padding: inherit;
}

.editorial-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 500px) {
  .editorial-board {
    grid-template-columns: 1fr; /* Always single column on small screens */
  }
}

.editor-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.editor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.editor-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #002060; 
  margin-bottom: 0.25rem;
}

.editor-affiliation {
  font-size: 1.3rem;
  color: #777;
  line-height: 1.5;
}

.navbar-default .nav>li>a, .header_view .nav>li>a {
    color: #fff;
}

.issue-title {
  font-size: 14px;
  font-weight: bold;
  color: #0047ab;
  margin-bottom: 8px;
text-align: center;
margin-top: 5px;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 20px 0;
}

.issue-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  margin-bottom: 20px;
  padding: 1rem;
}



.issue-card:hover {
  transform: translateY(-3px);
}

.issue-card img {
  width: 100%;
  height: auto;
  display: block;
}

details {
  border-top: 1px solid #eee;
  background: none;   /* No background until open */
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 10px;
  font-weight: 600;
  color: #003366;
  list-style: none;
  background: #fff;   /* Only the summary bar is white */
}

summary::marker {
  display: none;
}

summary::after {
  content: " ▼";
  font-size: 12px;
}

details[open] summary::after {
  content: " ▲";
}

.details-content {
  display: none;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  background: #f9f9f9;   /* Background only when expanded */
}

details[open] .details-content {
  display: block;
}

.pkp_page_special-issues .pkp_structure_sidebar {
    display: none !important;
}

.pkp_page_special-issues .pkp_structure_main {
    max-width: 100% !important;
}

.pkp_page_archives .pkp_structure_sidebar {
    display: none !important;
}

.pkp_page_archives .pkp_structure_main {
    max-width: 100% !important;
}

.pkp_page_editorial-board .pkp_structure_sidebar {
    display: none !important;
}

.pkp_page_editorial-board .pkp_structure_main {
    max-width: 100% !important;
}

.pkp_page_article .pkp_structure_sidebar {
    display: none !important;
}

.pkp_page_article .pkp_structure_main {
    max-width: 100% !important;
}

.pkp_page_issue .pkp_structure_sidebar {
    display: none !important;
}

.pkp_page_issue .pkp_structure_main {
    max-width: 100% !important;
}



.article-author-affiliation {
    color: #555;
}

.ojs-accordion details {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin: 10px 0;
  background: #fff;
  overflow: hidden;
}

.ojs-accordion details li {
  margin-left: 15px;
}

.ojs-accordion summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.ojs-accordion summary::-webkit-details-marker { display: none; }
.ojs-accordion summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  transition: transform .2s ease;
}
.ojs-accordion details[open] summary::after { content: "–"; }
.ojs-accordion .acc-body { padding: 0 16px 14px; }


.button-main {
     background: #f9f9f9;
    color: #002060;
    border: none !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    width: 100%;
    margin-bottom: 20px;
}

.media {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.media-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .media-list {
    grid-template-columns: 1fr; /* Always single column on small screens */
  }
}

@media (max-width: 767px) {
    .navbar-form {
        margin: 0px 1px;
    }
}

    .journal-info {
      max-width: 100%;
      margin: 16px auto;
      padding: clamp(14px, 2.5vw, 28px);
      background: #fff;
      border: 1px solid #e6e6e8;
      border-radius: 12px;
      box-shadow: 0 1px 10px rgba(0,0,0,.04);
    }
    .info-row {
      display: grid;
      grid-template-columns: minmax(140px, 220px) 1fr;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid #eee;
      align-items: start;
    }

    .info-label {
      font-weight: 600;
      color: #222;
    }

    .info-value {
      color: #444;
      word-break: break-word; /* long URLs won’t overflow */
    }

    .info-value a {
      color: #0a66c2;
      text-decoration: none;
    }
    .info-value a:hover { text-decoration: underline; }

    .no-border { border-bottom: none; }

    @media (max-width: 640px) {
      .journal-info {
        margin: 10px;
        padding: 18px;
      }
      .info-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px 0;
      }
      .info-label {
        font-size: 15px;
        color: #111;
      }
      .info-value {
        font-size: 15px;
      }
    }


.pull-right, .header_view .download {
    display: none;
}

.scroll-text {
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}