/* ===== IJPIR DESIGN V1 START ===== */

:root {
  --ijpir-navy: #193d86;
  --ijpir-blue: #2452a3;
  --ijpir-text: #243449;
  --ijpir-light: #f4f7fc;
  --ijpir-border: #e2e9f3;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ijpir-text);
  background: #f7f9fc;
  line-height: 1.6;
}

a {
  color: var(--ijpir-blue);
}

a:hover {
  color: #102e6f;
}

/* Header and journal logo */
.pkp_structure_head {
  background: var(--ijpir-navy) !important;
  border-bottom: 0;
}

.pkp_head_wrapper {
  max-width: 1280px;
}

.pkp_site_name {
  padding-top: 18px !important;
  padding-bottom: 14px !important;
}

.pkp_site_name img {
  max-width: 135px !important;
  max-height: 105px !important;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Main navigation */
.pkp_navigation_primary_row {
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 3px 12px rgba(20,45,90,.08);
}

.pkp_navigation_primary > li > a {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: var(--ijpir-blue);
}

/* Content */
.pkp_structure_content {
  background: #fff;
}

.pkp_structure_main {
  color: var(--ijpir-text);
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3 {
  color: var(--ijpir-navy);
  line-height: 1.3;
}

.pkp_page_index .pkp_structure_main img {
  max-width: 100%;
  height: auto;
}

.pkp_page_index .pkp_structure_main > p,
.pkp_page_index .pkp_structure_main > div {
  max-width: 100%;
}

/* Sidebar */
.pkp_structure_sidebar .pkp_block {
  background: var(--ijpir-light);
  border: 1px solid var(--ijpir-border);
  border-radius: 7px;
  margin-bottom: 20px;
  overflow: hidden;
}

.pkp_structure_sidebar .pkp_block .title {
  color: var(--ijpir-navy);
  font-weight: 700;
}

/* Current issue */
.obj_issue_toc {
  margin-top: 20px;
}

.obj_issue_toc .sections,
.obj_issue_toc .section {
  margin-top: 18px;
}

.cmp_article_list .obj_article_summary {
  padding: 18px 20px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--ijpir-border);
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(20,45,90,.045);
}

.obj_article_summary .title a {
  color: var(--ijpir-navy);
  font-weight: 650;
  line-height: 1.45;
}

.obj_article_summary .title a:hover {
  color: var(--ijpir-blue);
  text-decoration: underline;
}

.obj_article_summary .authors,
.obj_article_summary .pages {
  color: #59687b;
}

.obj_galley_link {
  background: var(--ijpir-blue);
  color: #fff !important;
  border-radius: 5px;
  padding: 7px 15px;
  text-decoration: none;
}

.obj_galley_link:hover {
  background: #142f70;
  color: #fff !important;
}

/* Footer */
.pkp_structure_footer_wrapper {
  background: #f0f4fa;
  border-top: 3px solid var(--ijpir-navy);
}

.pkp_structure_footer {
  max-width: 1280px;
}

.pkp_footer_content {
  padding-top: 28px;
  padding-bottom: 22px;
  font-size: 14px;
  line-height: 1.65;
}

.pkp_footer_content img[alt="logo"] {
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  display: block;
  margin-bottom: 16px;
}

.pkp_footer_content h2,
.pkp_footer_content h3 {
  color: var(--ijpir-navy);
}

/* Mobile */
@media (max-width: 767px) {
  .pkp_site_name {
    padding: 12px !important;
  }

  .pkp_site_name img {
    max-width: 95px !important;
    max-height: 75px !important;
  }

  .pkp_navigation_primary_row {
    border-radius: 0;
    box-shadow: none;
  }

  .pkp_structure_main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cmp_article_list .obj_article_summary {
    padding: 14px;
  }

  .pkp_footer_content {
    padding: 20px 14px;
  }

  .pkp_footer_content img[alt="logo"] {
    max-width: 140px !important;
  }
}

/* ===== IJPIR DESIGN V1 END ===== */
/* IJPIR DESIGN V2 START */

/* Sidebar heading */
.pkp_structure_sidebar .pkp_block .title {
  color: #ffffff !important;
  background: #193d86 !important;
  padding: 12px 16px !important;
}

.pkp_structure_sidebar .pkp_block .title * {
  color: #ffffff !important;
}

/* Navigation */
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  border-top: 0 !important;
}

/* IJPIR DESIGN V2 END */

/* ===== IJPIR DESIGN V3 START ===== */

/* Professional About-section layout */
.pkp_page_index #what-we-do {
  background: transparent !important;
  padding: 0 !important;
}

.pkp_page_index #what-we-do .row.mt-5 {
  margin-top: 18px !important;
}

.pkp_page_index #what-we-do .card {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #e1e8f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(25,61,134,.07) !important;
}

.pkp_page_index #what-we-do .card-block.block-4 {
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 26px 30px !important;
  margin: 0 !important;
}

/* Remove decorative symbols */
.pkp_page_index #what-we-do .block-4::before,
.pkp_page_index #what-we-do .block-4::after {
  content: none !important;
  display: none !important;
}

/* Readable paragraphs */
.pkp_page_index #what-we-do p.leftnormal4 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #27364e !important;
  text-align: left !important;
  text-indent: 0 !important;
}

/* Override old editor formatting */
.pkp_page_index #what-we-do p.leftnormal4 span,
.pkp_page_index #what-we-do p.leftnormal4 strong {
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: #27364e !important;
  background: transparent !important;
  font-weight: 400 !important;
}

.pkp_page_index #what-we-do p.leftnormal4 em {
  color: #193d86 !important;
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  .pkp_page_index #what-we-do .card-block.block-4 {
    padding: 18px 16px !important;
  }
}

/* ===== IJPIR DESIGN V3 END ===== */


/* ===== IJPIR FOOTER V4 START ===== */

.pkp_structure_footer_wrapper {
    background: #193d82 !important;
    border-top: 4px solid #3267bf !important;
    margin-top: 28px !important;
    padding: 0 !important;
}

.pkp_structure_footer {
    background: transparent !important;
    padding: 0 !important;
    max-width: none !important;
}

.pkp_footer_content {
    padding: 0 !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.ijpir-footer-v4 {
    font-family: Arial, sans-serif;
    color: #edf3ff;
}

.ijpir-footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 30px 32px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.ijpir-footer-column {
    min-width: 0;
}

.ijpir-footer-v4 .ijpir-footer-logo {
    display: block !important;
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
    margin: 0 0 18px !important;
    border-radius: 8px;
    box-shadow: none !important;
}

.ijpir-footer-v4 h3 {
    color: #ffffff !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
}

.ijpir-footer-v4 h4 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 15px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.25);
}

.ijpir-footer-v4 h4:not(:first-child) {
    margin-top: 22px !important;
}

.ijpir-footer-v4 p {
    color: #e1eafb !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
    margin: 0 0 16px !important;
}

.ijpir-footer-v4 strong {
    color: #ffffff !important;
}

.ijpir-footer-v4 a {
    color: #dce8ff !important;
    text-decoration: none !important;
}

.ijpir-footer-v4 a:hover,
.ijpir-footer-v4 a:focus {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.ijpir-footer-v4 ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ijpir-footer-v4 li {
    margin-bottom: 10px !important;
    font-size: 14px !important;
}

.ijpir-footer-description {
    color: #c9d9f5 !important;
}

.ijpir-footer-bottom {
    background: #102a5c !important;
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 17px 24px;
    text-align: center;
}

.ijpir-footer-bottom .copy-right {
    max-width: 1100px;
    margin: 0 auto;
    color: #d8e4f8 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
}

.ijpir-footer-bottom a {
    color: #eaf1ff !important;
    text-decoration: underline !important;
}

.ijpir-footer-bottom img {
    display: inline !important;
    max-width: 100px !important;
    width: auto !important;
    height: auto !important;
    vertical-align: middle;
}

@media (max-width: 850px) {
    .ijpir-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .ijpir-footer-main {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 22px;
    }

    .ijpir-footer-v4 h3 {
        font-size: 18px !important;
    }

    .ijpir-footer-bottom {
        padding: 14px 16px;
    }
}

/* ===== IJPIR FOOTER V4 END ===== */
