/* ========================================================
   COGNIVERTA RESEARCH PRESS - THEME STYLESHEET
   Official brand palette
   --primary        #2857EC  Cobalt Blue
   --navy           #1C1E25  Deep Navy (text)
   --accent-orange  #FD6647  Orange Accent
   Layout follows the approved homepage mockups (CRP, CJDSIA, CJMR).
   ======================================================== */

:root {
  --primary: #2857EC;
  --primary-hover: #1f45be;
  --primary-light: #EEF3FF;
  --primary-border: #D2E0FB;
  --navy: #1C1E25;
  --ink: #0F2A6B;            /* headings on light backgrounds (mockup navy-blue) */
  --ink-soft: #4A5F8F;       /* secondary text on light backgrounds */
  --deep: #0A2260;           /* footer / stats band */
  --deep-dark: #061746;
  --accent-orange: #FD6647;
  --accent-orange-hover: #e85536;
  --cream: #F8F9FA;
  --text-main: #1C1E25;
  --text-muted: #5F6776;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-light: #EAF0FB;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 87, 236, 0.10);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background-color: var(--cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; transition: var(--transition); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(15, 42, 107, 0.05);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 88px;
}

.header-brand-wrap { flex-shrink: 0; }
.header-brand { display: flex; align-items: center; gap: 14px; }
.header-brand img.brand-logo { height: 54px; width: auto; display: block; }
.header-brand img.brand-icon { height: 56px; width: auto; display: block; }

.brand-name { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.brand-name .l2 { color: var(--ink); }
.context-cjmr .brand-name .l2 { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 8px; }

.main-nav a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  color: #2B3A67;
  padding: 8px 0;
  white-space: nowrap;
}

.main-nav a.has-caret::before {
  content: '';
  position: absolute;
  right: -11px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}
.main-nav a.has-caret { margin-right: 8px; }

.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.context-crp .main-nav a.active::after { background: #FF7A3D; }

.header-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }

.btn-icon {
  color: #2B3A67;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-icon:hover { color: var(--primary); }

.btn-text-login {
  font-size: 0.86rem;
  font-weight: 600;
  color: #2B3A67;
  padding: 4px 18px 4px 20px;
  border-left: 1px solid var(--border-light);
}
.btn-text-login:hover { color: var(--primary); }

/* Journal headers: brand + actions on the first row, navigation on the second */
.context-cjdsia .header-inner,
.context-cjmr .header-inner {
  flex-wrap: wrap;
  row-gap: 0;
  padding-top: 14px;
  min-height: 0;
}
.context-cjdsia .main-nav,
.context-cjmr .main-nav {
  order: 3;
  flex-basis: 100%;
  margin: 8px 0 0;
  gap: 34px;
}
.context-cjdsia .main-nav a,
.context-cjmr .main-nav a { padding: 10px 0 12px; }

/* ========================================================
   BUTTONS
   ======================================================== */
.btn-primary, .btn-orange, .btn-outline-white, .btn-outline-navy, .btn-primary-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  font-size: 0.86rem;
  padding: 13px 26px;
  box-shadow: 0 4px 14px rgba(40, 87, 236, 0.28);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-orange {
  background: linear-gradient(135deg, #FF7C3E 0%, #F4511E 100%);
  color: #fff;
  font-size: 0.95rem;
  padding: 17px 32px;
  box-shadow: 0 8px 22px rgba(244, 81, 30, 0.35);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(244, 81, 30, 0.45); }

.btn-outline-white {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  padding: 15.5px 32px;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.16); }

.btn-outline-navy {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid #7FA6F5;
  font-size: 0.95rem;
  padding: 15.5px 32px;
}
.btn-outline-navy:hover { background: #fff; border-color: var(--primary); color: var(--primary); }

.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  padding: 17px 32px;
  box-shadow: 0 8px 22px rgba(40, 87, 236, 0.4);
}
.btn-hero-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }

.btn-primary-sm { color: var(--primary); font-size: 0.86rem; padding: 0; gap: 8px; }
.btn-primary-sm:hover { gap: 12px; }

/* ========================================================
   HERO - COMMON
   ======================================================== */
.hero-crp, .hero-journal {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 470px;
}

.hero-grid { width: 100%; position: relative; z-index: 2; }
.hero-text-col { max-width: 640px; padding: 56px 0; }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.15rem;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}
.hero-title .accent { color: #FF8F2E; }
.hero-title span.t { display: block; }

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* CRP hero: deep-blue globe network */
.hero-crp {
  color: #fff;
  background-color: #041A5A;
  background-image:
    linear-gradient(90deg, #041A5A 0%, #041A5A 24%, rgba(4, 26, 90, 0.78) 44%, rgba(4, 26, 90, 0) 66%),
    var(--hero-img);
  background-repeat: no-repeat;
  background-size: auto, auto 128%;
  background-position: 0 0, 100% 42%;
}
.hero-crp .hero-title { color: #fff; max-width: 600px; }
.hero-crp .hero-desc { color: rgba(255, 255, 255, 0.9); }

.hero-side-tagline {
  position: absolute;
  right: max(24px, calc((100% - 1240px) / 2 + 24px));
  top: 50%;
  transform: translateY(-62%);
  text-align: right;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 20, 80, 0.55);
  z-index: 2;
}

/* Journal heroes */
.hero-journal .badge-acronym {
  display: inline-block;
  background: #1EA0F0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-journal .hero-title { font-size: 3rem; margin-bottom: 14px; }
.hero-journal .hero-subtitle { font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; }

.hero-journal.hero-dark {
  color: #fff;
  background-color: #031538;
  background-image:
    linear-gradient(90deg, #031538 0%, rgba(3, 21, 56, 0.96) 30%, rgba(3, 21, 56, 0.55) 55%, rgba(3, 21, 56, 0.05) 80%),
    var(--hero-img);
  background-repeat: no-repeat;
  background-size: auto, cover;
  background-position: 0 0, 70% 50%;
}
.hero-dark .hero-title { color: #fff; }
.hero-dark .hero-subtitle { color: #4FD1F5; }
.hero-dark .hero-desc { color: rgba(255, 255, 255, 0.9); }

.hero-journal.hero-light {
  color: var(--ink);
  background-color: #EAF4FF;
  background-image:
    linear-gradient(90deg, rgba(246, 251, 255, 0.98) 0%, rgba(246, 251, 255, 0.92) 34%, rgba(234, 244, 255, 0.45) 58%, rgba(234, 244, 255, 0) 80%),
    var(--hero-img);
  background-repeat: no-repeat;
  background-size: auto, cover;
  background-position: 0 0, 70% 50%;
}
.hero-light .hero-title { color: var(--ink); }
.hero-light .hero-title .t-2 { color: var(--primary); }
.hero-light .hero-subtitle { color: var(--primary); }
.hero-light .hero-desc { color: #2E4170; }

/* ========================================================
   TRUST BAR
   ======================================================== */
.trust-bar-section {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 6px 18px rgba(15, 42, 107, 0.04);
  position: relative;
  z-index: 3;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 6px 0;
}
.trust-bar-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 14px 20px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 1px;
  background: var(--border-light);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EAF1FF;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.trust-icon-box svg { width: 24px; height: 24px; }
.trust-item:hover .trust-icon-box {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.trust-text h4 { font-size: 0.84rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.trust-text p { font-size: 0.76rem; color: #5F7BB4; line-height: 1.4; }

/* ========================================================
   SECTION HEADINGS (shared)
   ======================================================== */
.section-subheading {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.section-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.section-desc { font-size: 0.95rem; color: var(--ink-soft); margin-top: 8px; max-width: 560px; }

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-text-link:hover { gap: 12px; }

/* ========================================================
   CRP: EXPLORE OUR JOURNALS
   ======================================================== */
.journals-section {
  background: linear-gradient(180deg, #F4F8FF 0%, #fff 100%);
  padding: 56px 0 44px;
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.journals-cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.journal-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.journal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.journal-card-cover-wrap {
  flex: 0 0 212px;
  height: 232px;
  border-radius: 12px;
  overflow: hidden;
  background: #0B2A6F;
}
.journal-card-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

.journal-card-content { flex: 1; min-width: 0; padding-right: 8px; }

.journal-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
}
.journal-card-title a { display: block; }
.journal-card-title .hl { color: var(--primary); }

.badge-pill {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.journal-scope { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; white-space: nowrap; }
.journal-scope .dot { color: #7FA0E8; margin: 0 4px; }

/* ========================================================
   CRP: ABOUT
   ======================================================== */
.about-section { background: #fff; padding: 36px 0 52px; }

.about-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 1px 350px;
  gap: 32px;
  align-items: center;
}

.about-image-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); background: #0B2A6F; }
.about-building-img { width: 100%; height: 220px; object-fit: cover; display: block; }

.about-content-col h2 { font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.about-lead { font-size: 0.94rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 24px; max-width: 460px; }

.about-divider { width: 1px; align-self: stretch; background: var(--border-light); }

.about-features-grid { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-icon-box {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #0F4BCF;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon-box svg { width: 20px; height: 20px; }
.feature-text h4 { font-size: 0.92rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.feature-text p { font-size: 0.8rem; color: #6C86BC; }

/* ========================================================
   CRP: STATS BAND (joins the footer)
   ======================================================== */
.stats-section {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 24px;
  position: relative;
}
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.stat-icon {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1B4BBE 0%, #0E2F86 100%);
  border: 1px solid rgba(120, 160, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-number { font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 0.82rem; font-weight: 600; color: #DCE6FF; margin-top: 2px; }
.stat-sub { font-size: 0.72rem; color: #8FA6D8; }

/* ========================================================
   JOURNAL PAGES (CJDSIA / CJMR)
   ======================================================== */
.page_index_journal { background: #fff; }

.journal-content-section { padding: 44px 0 28px; background: #fff; }

.journal-main-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.current-issue-col { padding-right: 36px; }
.section-sub-title { font-size: 1.08rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.issue-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.issue-date { font-size: 0.9rem; color: var(--ink-soft); margin: 4px 0 16px; }

.issue-row { display: flex; align-items: center; gap: 22px; }
.issue-cover-wrap { flex: 0 0 150px; }
.issue-cover-wrap img {
  width: 150px; height: auto; display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 42, 111, 0.28);
}
.issue-view-link {
  font-size: 0.8rem; font-weight: 700; color: var(--primary);
  border-bottom: 1.5px solid #9DB8F6; padding-bottom: 3px; white-space: nowrap;
}
.issue-view-link:hover { border-color: var(--primary); }

.featured-articles-col { border-left: 1px solid var(--border-light); padding-left: 40px; }

.featured-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.featured-head h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); }

.articles-list { display: flex; flex-direction: column; }
.article-item-card {
  position: relative;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid var(--border-light);
}
.article-item-card:last-child { border-bottom: none; }
.article-item-card::before {
  content: '';
  position: absolute;
  left: 4px; top: 27px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.article-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  color: var(--primary);
  background: #F0F5FF;
  border: 1px solid var(--primary-border);
  border-radius: 6px;
  padding: 1px 8px;
  margin-bottom: 4px;
}
.article-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.article-title a { color: var(--ink); }
.article-title a:hover { color: var(--primary); }
.article-meta { font-size: 0.78rem; color: var(--ink-soft); }
.article-meta .sep { margin: 0 8px; color: var(--primary-border); }
.article-author { font-size: 0.78rem; color: var(--ink-soft); }

/* Why publish + highlights */
.why-publish-section { padding: 22px 0 20px; background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.why-left { display: flex; gap: 26px; align-items: center; padding: 26px 36px 26px 0; }
.why-photo { flex: 0 0 168px; width: 168px; height: 168px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.why-left h3 { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.why-left p { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }

.why-right { border-left: 1px solid var(--border-light); padding: 26px 0 26px 32px; }
.why-right h4 { font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.highlight-item { display: flex; gap: 10px; align-items: flex-start; padding: 0 10px; position: relative; }
.highlight-item:first-child { padding-left: 0; }
.highlight-item + .highlight-item::before {
  content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: var(--border-light);
}
.highlight-icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: #EAF1FF; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.highlight-icon svg { width: 20px; height: 20px; }
.highlight-num { font-size: 1.2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.highlight-label { font-size: 0.74rem; color: #6C86BC; line-height: 1.35; }
.highlight-label .sub { white-space: nowrap; }

/* News */
.news-section { background: #fff; padding: 20px 0 52px; }
.news-section h4 { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 18px; }
.news-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: flex; gap: 16px; align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card img { flex: 0 0 84px; width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.news-date { font-size: 0.72rem; font-weight: 600; color: #6C86BC; }
.news-title { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 3px 0 8px; }
.news-link { font-size: 0.8rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.news-link:hover { gap: 10px; }

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-dark) 100%);
  color: #DCE6FF;
  padding: 44px 0 0;
  font-size: 0.86rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 1.2fr);
  gap: 0;
  padding-bottom: 36px;
}
.footer-col { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.footer-col:first-child { padding-left: 0; border-left: none; }
.footer-col:last-child { padding-right: 0; }

.footer-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand img.footer-logo { height: 58px; width: auto; display: block; }
.footer-brand img.footer-icon { height: 52px; width: auto; display: block; }
.footer-brand .brand-name { color: #fff; font-size: 1rem; }
.footer-brand .brand-name .l2 { color: #fff; }
.context-cjmr .footer-brand .brand-name .l2 { color: #fff; }

.footer-tagline { font-size: 0.8rem; color: #BFD0F5; white-space: nowrap; }
.footer-mission { font-size: 0.82rem; color: #9FB4E6; margin-top: 10px; line-height: 1.6; max-width: 320px; }

.footer-heading { font-size: 0.86rem; font-weight: 700; color: #fff; margin-bottom: 16px; }

.footer-links { list-style: none; columns: 2; column-gap: 28px; }
.footer-links li { margin-bottom: 9px; break-inside: avoid; }
.footer-links a { color: #BFD0F5; font-size: 0.82rem; }
.footer-links a:hover { color: #fff; }

.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: #BFD0F5; margin-bottom: 10px; }
.footer-contact-item svg { flex: 0 0 16px; margin-top: 3px; color: #9FB4E6; }

.footer-social-icons { display: flex; gap: 14px; margin-top: 18px; }
.social-icon-btn { color: #fff; display: inline-flex; opacity: 0.92; }
.social-icon-btn:hover { opacity: 1; transform: translateY(-2px); }
.social-icon-btn svg { width: 20px; height: 20px; }

.footer-text { font-size: 0.8rem; color: #9FB4E6; margin-bottom: 14px; line-height: 1.55; }
.footer-subscribe-form { display: flex; gap: 8px; }
.footer-subscribe-form input {
  flex: 1; min-width: 0;
  background: #fff !important;
  color: var(--navy) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-size: 0.82rem;
}
.footer-subscribe-form button {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0 20px;
  border-radius: 8px;
}
.footer-subscribe-form button:hover { background: var(--primary-hover); }

.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 18px;
  font-size: 0.76rem; color: #9FB4E6;
}
.footer-legal-links { display: flex; align-items: center; gap: 14px; }
.footer-legal-links a { color: #BFD0F5; }
.footer-legal-links a:hover { color: #fff; }
.footer-legal-links .sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.25); }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1320px) {
  .header-inner { gap: 20px; }
  .main-nav { gap: 20px; margin-left: 0; }
  .header-right { gap: 12px; }
}
@media (max-width: 1180px) {
  .journal-scope { white-space: normal; }
  .journals-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .header-inner { flex-wrap: wrap; row-gap: 8px; padding-top: 12px; padding-bottom: 8px; min-height: 0; }
  .main-nav { order: 3; flex-basis: 100%; margin: 0; overflow-x: auto; gap: 22px; }
}
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .about-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .about-divider { display: none; }
  .about-features-grid { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-side-tagline { display: none; }
}

@media (max-width: 992px) {
  .hero-title, .hero-journal .hero-title { font-size: 2.3rem; }
  .trust-bar-grid, .trust-bar-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .journals-cards-grid { grid-template-columns: minmax(0, 1fr); }
  .journal-main-grid { grid-template-columns: 1fr; }
  .current-issue-col { padding-right: 0; margin-bottom: 28px; }
  .featured-articles-col { border-left: none; padding-left: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-right { border-left: none; border-top: 1px solid var(--border-light); padding-left: 0; }
  .news-cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 30px; }
  .footer-col { border-left: none; padding: 0; }
}

@media (max-width: 640px) {
  .journal-card { flex-direction: column; align-items: stretch; }
  .journal-card-cover-wrap { flex-basis: auto; height: 200px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-features-grid { grid-template-columns: 1fr; }
  .trust-bar-grid, .trust-bar-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: 1fr; row-gap: 14px; }
  .highlight-item, .highlight-item:first-child { padding-left: 0; padding-right: 0; }
  .highlight-item + .highlight-item::before { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-links { columns: 1; }
  .why-left { flex-direction: column; align-items: flex-start; padding-right: 0; }
  .btn-orange, .btn-outline-white, .btn-hero-primary, .btn-outline-navy { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 480px) {
  .section-header-row { flex-wrap: wrap; row-gap: 10px; }
  .header-brand-wrap, .header-brand { max-width: 100%; }
  .header-brand { gap: 10px; }
  .header-brand img.brand-icon, .header-brand img.brand-logo { height: 44px; max-width: 100%; }
  .brand-name { min-width: 0; font-size: 0.95rem; }
  .header-right { gap: 8px; }
  .btn-text-login { padding: 4px 8px 4px 10px; }
  .header-right .btn-primary { padding: 9px 16px; font-size: 0.8rem; }
  .journal-card-content, .journal-card-title { min-width: 0; }
}
/* ========================================================
   OJS SYSTEM & INNER PAGE STYLES (COGNIVERTA BRANDING)
   ======================================================== */
.pkp_structure_page {
  background-color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pkp_structure_content {
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 32px auto;
  padding: 0 24px;
}

.pkp_structure_main {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

/* Breakout rules for Homepage (Edge-to-Edge full width) */
.pkp_page_index .pkp_structure_content,
body.pkp_page_index .pkp_structure_content,
.context-cjdsia.pkp_page_index .pkp_structure_content,
.context-cjmr.pkp_page_index .pkp_structure_content,
.context-crp.pkp_page_index .pkp_structure_content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

.pkp_page_index .pkp_structure_main,
body.pkp_page_index .pkp_structure_main,
.context-cjdsia.pkp_page_index .pkp_structure_main,
.context-cjmr.pkp_page_index .pkp_structure_main,
.context-crp.pkp_page_index .pkp_structure_main {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.pkp_page_index .pkp_structure_main:before,
.pkp_page_index .pkp_structure_main:after {
  display: none !important;
}

.page_index_site, .page_index_journal {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  width: 100%;
}

/* Override Default OJS Header & Footer containers */
.pkp_structure_head {
  border: none;
  background: transparent;
}

.pkp_head_wrapper {
  max-width: 100%;
  padding: 0;
}

/* OJS Buttons */
.pkp_button, .cmp_button, button[type="submit"], input[type="submit"] {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-family: var(--font-main) !important;
  box-shadow: 0 4px 14px rgba(40, 87, 236, 0.25) !important;
  transition: var(--transition) !important;
  cursor: pointer;
}

.pkp_button:hover, .cmp_button:hover, button[type="submit"]:hover, input[type="submit"]:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

/* Form inputs */
input[type="text"], input[type="password"], input[type="email"], select, textarea {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-family: var(--font-main) !important;
  transition: var(--transition);
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(40, 87, 236, 0.15) !important;
  outline: none !important;
}

/* Badges & Tags */
.cogniverta-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
}
.cogniverta-tag-blue {
  background: rgba(40, 87, 236, 0.1);
  color: var(--primary);
  border: 1px solid rgba(40, 87, 236, 0.2);
}
.cogniverta-tag-orange {
  background: rgba(253, 102, 71, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(253, 102, 71, 0.2);
}


@media (max-width: 640px) {
  .header-brand .brand-name { font-size: 0.95rem; }
}
