/* =========================================================
   JBRC – Sidebar Custom Block Styles (OJS)
   ========================================================= */

.jbrc-sidebar {
  background-color: #f8f9fb;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
}

/* Section headings */
.jbrc-sidebar h3 {
  font-size: 15px;
  font-weight: bold;
  color: #1f2937;
  margin: 0 0 10px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #cfd4dc;
}

/* Journal information block */
.jbrc-info {
  color: #374151;
  margin-bottom: 12px;
}

.jbrc-info strong {
  font-weight: bold;
  color: #111827;
}

/* Sidebar buttons */
.jbrc-btn {
  display: block;
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  text-align: left;
  text-decoration: none;
  font-size: 14px;
  color: #ffffff;
  background-color: #023e8a;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover and focus state */
.jbrc-btn:hover,
.jbrc-btn:focus {
  background-color: #e6f0ff;
  border-color: #2563eb;
  color: #1d4ed8;
  text-decoration: none;
}

/* Policy section spacing */
.jbrc-sidebar h3 + .jbrc-btn {
  margin-top: 6px;
}

/* Remove extra margin for last button */
.jbrc-btn:last-child {
  margin-bottom: 0;
}



@media (min-width: 768px) {
    .pkp_structure_main:before, .pkp_structure_main:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 1px;
        background: #ffffff;
    }
}

.pkp_navigation_primary_wrapper {
    padding-left: 10px;
    padding-right: 10px;
    background-color: #023e8a;
    margin: auto;
    border-radius: 5px;
}

@media (min-width: 992px) {
  .pkp_page_index .homepage_image {
    margin-top: 0;
    border: 1px solid #ffffff;
    border-radius: 10px;
    overflow: hidden; /* REQUIRED */
  }

  .pkp_page_index .homepage_image img {
    border-radius: 10px; /* ensures image corners are rounded */
    display: block;
  }
}

@media (min-width: 992px) {
    .pkp_site_nav_menu {
        display: block;
        padding: 10px;
    }
}

.pkp_brand_footer a {
    float: right;
    display: none;
    max-width: 10px;
}

.jbrc-footer {
  background-color: #f6f7f9;
  border-top: 1px solid #dcdcdc;
  padding: 20px 0;
  font-size: 13px;
  color: #333;
  border-radius: 10px;
}

.jbrc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.jbrc-footer-left {
  max-width: 65%;
}

.jbrc-footer-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.jbrc-footer-text {
  line-height: 1.5;
}

.jbrc-footer-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.jbrc-footer-right a {
  text-decoration: none;
  color: #1a4f8b;
  font-weight: 500;
}

.jbrc-footer-right a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .jbrc-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .jbrc-footer-left {
    max-width: 100%;
  }
}


@media (min-width: 1200px) {
    .pkp_structure_main {
        width: 860px;
        border: solid;
        border-width: 2px;
        border-radius: 10px;
        border-color: #ddd;
        margin-bottom: 20px;
    }
}


.cmp_breadcrumbs {
    display: inline-block;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .pkp_site_name {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        padding: 10px;
        white-space: normal;
        font-size: 2.4em;
        background: transparent;
        overflow: visible;
    }
}

.pkp_brand_footer {
    padding: 0px;
}


.pkp_structure_footer_wrapper {
    background: #0077b6;
}



/* Global override */
html, body,
#pkp_content_main,
.pkp_structure_main,
.pkp_structure_head,
.pkp_structure_footer,
.pkp_page,
.pkp_site_name,
.pkp_navigation_primary,
.pkp_navigation_user,
.pkp_block,
.pkp_block * {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
}

/* Explicit heading override */
h1, h2, h3, h4, h5, h6,
.pkp_page h1,
.pkp_page h2,
.pkp_page h3,
.pkp_page h4,
.pkp_page h5,
.pkp_page h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
  font-weight: 700;
}

/* Article titles and section headers */
.obj_article_details h1,
.obj_article_details h2,
.cmp_article h1,
.cmp_article h2,
.cmp_article h3 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
}

/* Article pages */
.pkp_page_article,
.obj_article_details,
.obj_article_summary,
.cmp_article {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
}

/* Forms, buttons, metadata */
input, textarea, select, button,
.pkp_form,
.pkp_helpers_text,
.pkp_helpers_label {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
}


/* Body text */
.pkp_page_article p,
.obj_article_details p,
.jbrc-text {
  font-size: 15px;
  line-height: 1.75;
}

/* Headings */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0.2px;
}


@media (min-width: 992px) {
    .pkp_block {
        padding: 10px;
        padding-top: 0px;
    }
}


.jbrc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jbrc-footer-center img {
  height: 40px;
  display: block;
}













