.pkp_site_name .is_img img {
  max-height: 420px !important;
  width: auto !important;
  margin-bottom: 15px !important; /* Add breathing space under logo */
}
/* Mobile adjustments */
@media screen and (max-width: 767px) {
  .pkp_site_name .is_img img {
      max-height: 200px !important; /* Smaller logo for phones */
      margin-bottom: 20px !important; /* Ensure equal spacing below */
  }
  .pkp_structure_content {
      margin-top: 20px !important;
  }
}
.pkp_navigation_primary_wrapper {
  padding-left: 9px !important;
  padding-right: 10px !important;
  background-color: #002c40 !important;
  color: #ffffff !important;
}
.pkp_navigation_primary > li > a {
    color: #ffffff !important;
}
.pkp_navigation_search_wrapper a {
    color: #ffffff !important;
}
/* Make Submission button */
.block_make_submission_link{
  display: block;
  text-align: center !important;

}
.block_make_submission a {
    display: flex !important;             /* Use flexbox */
    align-items: center !important;       /* Vertical center */
    justify-content: center !important;   /* Horizontal center */
    padding: 0.8em 3em !important;        /* Button padding */
    font-size: 1.1rem !important;
    font-weight: bold !important;
    background-color: #cc333f !important;
    color: #fff !important;
    border-radius: 5px !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
    width: 250px !important;              /* Fixed width */
    text-align: center !important;        /* Fallback */
}

.block_make_submission a:hover {
    background-color: #a62831 !important;
}



/* sidebar blocks */
/* Center only the Make a Submission button on small screens */
@media (max-width: 768px) {
  .pkp_block_make_submission {
    display: flex;
    justify-content: center;  /* Center horizontally */
    text-align: center;
  }

  .pkp_block_make_submission .block_make_submission_link {
    width: auto; /* Shrinks to fit text */
    margin: 0 auto; /* Ensures center alignment */
  }
}
/* Center the Make a Submission button in its block */
.pkp_block.block_make_submission .content {
    display: flex !important;
    justify-content: center !important; /* Horizontal center */
}

/* Only for mobile screens */
@media (max-width: 768px) {
  .pkp_block.block_make_submission .content {
    display: flex !important;
    justify-content: center !important;
  }

  .pkp_block.block_make_submission .block_make_submission_link {
    display: inline-block !important;
    text-align: center !important;
  }
}

/* General block styling */
.pkp_block {
    background-color: #002c40 !important; /* Navbar color */
    padding: 1.5rem 1rem !important;
    margin-bottom: 1rem;
    border-radius: 4px;
    color: #ffffff !important;
}

/* Title/header of the block */
.pkp_block .title {
    background-color: #cc333f !important; /* Optional: keep the red header like your image */
    color: #fff !important;
    text-align: center;
    padding: 0.7rem 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px 4px 0 0;
    margin: -1.5rem -1rem 1rem -1rem; /* Pull header to top of the box */
}

/* Links inside the block */
.pkp_block a {
    display: block;
    padding: 0.6rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    font-size: 1rem;
}

.pkp_block a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

/* footer branding */
.pkp_brand_footer {
    display: none !important;
} 

/* browser compatibility */
.block_browse .has_submenu {
    color: #ffffff !important;
}

/* Adjust logo size for iPad screens */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .pkp_site_name .is_img img {
        max-height: 280px !important; /* Reduce height */
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .pkp_structure_content {
        margin-top: 20px !important;
    }
}

/* Remove divider lines from various elements */

/* Remove borders from main content areas */
.pkp_page_content {
    border: none !important;
}

/* Remove borders from sidebar elements */
.pkp_sidebar {
    border: none !important;
}

.pkp_sidebar .pkp_block {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Remove borders from article listings */
.obj_article_summary {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Remove borders from navigation elements */
.pkp_navigation_primary {
    border: none !important;
}

/* Remove any general divider lines */
.pkp_helpers_border_top,
.pkp_helpers_border_bottom,
.pkp_helpers_border_left,
.pkp_helpers_border_right {
    border: none !important;
}

/* Remove horizontal rules and dividers */
hr {
    display: none !important;
}

/* Remove borders from content blocks */
.cmp_announcements,
.homepage_image,
.additional_content {
    border: none !important;
}

/* Remove borders from journal description */
.journal_description {
    border: none !important;
}

/* Alternative approach - target all borders */
.pkp_page_wrapper * {
    border-top: none !important;
    border-bottom: none !important;
}

/* If the above is too broad, use more specific selectors */
.pkp_content * {
    border-top: none !important;
    border-bottom: none !important;
}
/* CONSERVATIVE APPROACH - Remove vertical borders step by step */

/* Step 1: Remove main layout vertical borders */
.pkp_page_content,
.pkp_sidebar {
    border-left: none !important;
    border-right: none !important;
}

/* Step 2: Remove column borders */
.col-md-8,
.col-md-4 {
    border-left: none !important;
    border-right: none !important;
}

/* Step 3: Remove sidebar block borders */
.pkp_block,
.sidebar-block {
    border-left: none !important;
    border-right: none !important;
}

/* Step 4: Remove any container borders */
.container,
.container-fluid,
.row {
    border-left: none !important;
    border-right: none !important;
}

/* Step 5: Remove pseudo-element vertical lines */
.pkp_content::before,
.pkp_content::after,
.pkp_sidebar::before,
.pkp_sidebar::after {
    border-left: none !important;
    border-right: none !important;
    content: none !important;
}

/* Step 6: If still showing, inspect element and add specific class here */
@media (min-width: 768px) {
    .pkp_page_index .cmp_announcements>.obj_announcement_summary:before {

    border-left: none !important;
    border-right: none !important;
}
}

@media (min-width: 768px) {
    .pkp_page_index .cmp_announcements .more:before {

 border-left: none !important;
    border-right: none !important;

    }}

.pkp_page_index .additional_content {
   padding: 0 .714rem !important;
}


/* PKP OJS Full Width Submission Form CSS Override */

/* Remove narrow width constraint and make container full width */
.app__page.width.width--narrow {
    max-width: none !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Make the panel use full width */
.panel.panel--wide {
    max-width: none !important;
    width: 100% !important;
}

/* Ensure form takes full width */
.startSubmissionPage__form {
    max-width: none !important;
    width: 100% !important;
}

/* Make form pages full width */
.pkpFormPages,
.pkpFormPage {
    max-width: none !important;
    width: 100% !important;
}

/* Optional: Improve section options layout for better use of width */
.pkpFormField--options .pkpFormField__control > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.pkpFormField--options__option {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.2s ease;
}

.pkpFormField--options__option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app__page.width.width--narrow {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .pkpFormField--options .pkpFormField__control > div {
        grid-template-columns: 1fr;
    }
}

/* Additional improvements for better full-width utilization */
.pkpFormField--html .pkpFormField__control {
    max-width: none !important;
}

.tox.tox-tinymce {
    max-width: 100% !important;
}

/* Make the submission checklist more readable in full width */
.pkpFormField__description {
    column-count: 1;
    max-width: none;
}

/* Improve button positioning */
.pkpFormPage__footer {
    text-align: center;
    margin-top: 30px;
}

/* notice bar mobile */
@media (max-width: 768px) {
  .notice-bar {
    margin-top: 15px !important;
  }
}
