/* Complete Custom OJS Theme with Logo Optimization */

/* Root Variables */
:root {
  --primary-color: #1a365d;      /* Deep navy blue from logo */
  --secondary-color: #3d5a80;    /* Medium blue */
  --accent-color: #98c1d9;       /* Light blue */
  --text-color: #2b2d42;         /* Dark gray */
  --background-light: #f7f9fc;   /* Light background */
  --success-color: #2ecc71;      /* Green */
  --warning-color: #f1c40f;      /* Yellow */
  --error-color: #e74c3c;        /* Red */
}

/* Reset Theme Constraints */
.pkp_structure_page {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Header and Logo Styling */
.pkp_head_wrapper {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.pkp_structure_head {
  background: white !important;
  width: 100% !important;
}

.pkp_site_name_wrapper {
  padding: 0 !important;
  background: white;
  margin: 0 !important;
}

.pkp_site_name {
  padding: 0 !important;
}

.is_img img {
  width: 100% !important;
  height: 375px !important;
  object-fit: fill !important;
  max-width: 2500px !important;
}

/* Navigation Styling */
.pkp_navigation_primary_wrapper {
  background: var(--primary-color);
  width: 100%;
  padding: 0;
}

.pkp_navigation_primary {
  text-align: center;
  padding: 0;
}

.pkp_navigation_primary > li {
  display: inline-block;
  position: relative;
}

.pkp_navigation_primary > li > a {
  color: white;
  padding: 1rem 1.5rem;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pkp_navigation_primary > li > a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Dropdown Menus */
.pkp_navigation_primary > li > ul {
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: none;
  min-width: 200px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.pkp_structure_main p{
  text-align: justify;
}

.pkp_navigation_primary > li:hover > ul {
  display: block;
}

.pkp_navigation_primary > li > ul > li > a {
  color: var(--text-color);
  padding: 0.75rem 1rem;
  display: block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pkp_navigation_primary > li > ul > li > a:hover {
  background: var(--background-light);
  color: var(--primary-color);
}

/* Main Content Area */
.pkp_structure_main {
  background: white;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 2500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border-radius: 8px;
}

/* Article Styling */
.obj_article_summary {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--background-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.obj_article_summary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.obj_article_summary .title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Issue TOC */
.obj_issue_toc {
  margin-top: 2rem;
}

.obj_issue_toc .cover {
  margin-bottom: 1.5rem;
}

.obj_issue_toc .cover img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Buttons and Forms */
.pkp_button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pkp_button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Form Elements */
.pkp_form input[type="text"],
.pkp_form input[type="email"],
.pkp_form input[type="password"],
.pkp_form select,
.pkp_form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e5f0;
  border-radius: 4px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.pkp_form input[type="text"]:focus,
.pkp_form input[type="email"]:focus,
.pkp_form input[type="password"]:focus,
.pkp_form select:focus,
.pkp_form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(152,193,217,0.3);
  outline: none;
}

/* Sidebar */
.pkp_structure_sidebar {
  padding: 1.3rem;
  background: var(--background-light);
  border-radius: 8px;
}

.pkp_structure_sidebar .block {
  margin-bottom: 2rem;
}

.pkp_structure_sidebar .title {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Footer */
.pkp_structure_footer_wrapper {
  background: var(--primary-color);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.pkp_structure_footer {
  max-width: 2500px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 2500px) {
  .is_img img {
    width: 100%;
    height: auto !important;
  }
}

@media (max-width: 992px) {
  .pkp_structure_main {
    padding: 1rem;
  }
  
  .pkp_navigation_primary > li > a {
    padding: 0.75rem 1rem;
  }

  .is_img img {
    width: 100%;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .pkp_navigation_primary {
    display: flex;
    flex-direction: column;
  }
  
  .pkp_navigation_primary > li {
    width: 100%;
  }

  .pkp_site_name .is_img img {
        max-height: 146px;
  }
  
  .pkp_navigation_primary > li > ul {
    width: 100%;
    position: static;
  }
}

@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 146px;
    }

    .pkp_nav_list a {
      color: #2f2c97;
    }
}

/* Accessibility */
:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


/*Editorial Team*/
.editorial-team {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
}

.editor-group {
    margin-bottom: 40px;
}

.editor-group h2 {
    color: #1a365d;
    border-bottom: 2px solid #98c1d9;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.editor-chief {
    color: #1a365d;
    border-bottom: 3px solid #1a365d !important;
}

.editor-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7f9fc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.editor-info:hover {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.editor-info strong {
    color: #2b2d42;
    display: block;
    margin-bottom: 5px;
}

.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .editorial-team {
        padding: 10px;
    }
    
    .board-members {
        grid-template-columns: 1fr;
    }
}

/*Journal Summary*/
.journal-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2b2d42;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #1a365d;
    border-bottom: 2px solid #98c1d9;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

h3 {
    color: #3d5a80;
    margin: 25px 0 15px;
    font-size: 1.4em;
}

.about-content p,
.call-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.research-areas {
    background: #f7f9fc;
    padding: 20px 40px;
    border-radius: 8px;
    margin: 20px 0;
}

.research-areas ul {
    list-style-type: none;
    padding: 0;
    columns: 2;
    column-gap: 40px;
}

.research-areas li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.research-areas li:before {
    content: "•";
    color: #1a365d;
    position: absolute;
    left: 0;
}

.emphasis {
    font-weight: 500;
    color: #1a365d;
    padding: 15px;
    background: #f7f9fc;
    border-left: 4px solid #1a365d;
    margin-top: 30px;
}

em {
    font-style: italic;
}

@media (max-width: 768px) {
    .research-areas ul {
        columns: 1;
    }
    
    .journal-info {
        padding: 10px;
    }
}

.pkp_site_nav_toggle>span:before, .pkp_site_nav_toggle>span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2f2c97;
}


/*Side Menu*/
.side-menu {
    width: 200px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.side-menu h2 {
    color: #002147;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #002147;
}

.side-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu-list li {
    margin-bottom: 0.2rem;
}

.side-menu-list a {
    display: block;
    padding: 10px 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.side-menu-list a:hover {
    background-color: #002147;
    color: white;
    padding-left: 15px;
}

.side-menu-list a.active {
    background-color: #1a4c8b;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .side-menu {
        width: 100%;
        margin-bottom: 15px;
    }
}