
/* AECIP unified journal additional-content CSS
   Use this ONE file for all AECIP journals.
   Purpose: make all journal pages look like the existing AECIP theme.
   No journal-specific colours. No separate-looking theme. No heavy card colours.
*/

.aecip-rj {
  max-width: 100%;
  margin: 0;
  padding: 0 34px 44px;
  font-family: Arial, Helvetica, sans-serif;
  color: #1c2f44;
}

.aecip-rj * {
  box-sizing: border-box;
}

/* Main block: clean, academic, same AECIP blue */
.aecip-rj-intro {
  background: #ffffff;
  border: 1px solid #d9e3ec;
  border-top: 6px solid #143f73;
  padding: 30px 34px;
  margin: 0 0 22px;
}

.aecip-rj-kicker {
  display: inline-block;
  background: #143f73;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.aecip-rj-intro h2 {
  margin: 0 0 14px;
  color: #0f3f6e;
  font-size: 31px;
  line-height: 1.18;
  font-weight: 900;
}

.aecip-rj-intro p {
  margin: 0;
  color: #25384d;
  font-size: 15.5px;
  line-height: 1.75;
}

.aecip-rj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.aecip-rj-actions a {
  display: inline-block;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 850;
  padding: 11px 14px;
}

.aecip-rj-actions .primary {
  background: #143f73;
  color: #ffffff !important;
  border: 1px solid #143f73;
}

.aecip-rj-actions .secondary {
  background: #ffffff;
  color: #143f73 !important;
  border: 1px solid #143f73;
}

/* Three information columns */
.aecip-rj-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 22px;
  border: 1px solid #d9e3ec;
  background: #f7fafc;
}

.aecip-rj-strip div {
  padding: 20px 18px;
  border-right: 1px solid #d9e3ec;
}

.aecip-rj-strip div:last-child {
  border-right: 0;
}

.aecip-rj-strip span {
  display: block;
  color: #0f3f6e;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.aecip-rj-strip strong {
  display: block;
  color: #1c2f44;
  font-size: 14.5px;
  line-height: 1.45;
}

/* Main body */
.aecip-rj-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  margin-top: 0;
}

.aecip-rj-card {
  background: #ffffff;
  border: 1px solid #d9e3ec;
  padding: 26px 28px;
}

.aecip-rj-card.dark {
  background: #0f3f6e;
  border-color: #0f3f6e;
  color: #ffffff;
}

.aecip-rj-card h2 {
  margin: 0 0 14px;
  color: #0f3f6e;
  font-size: 24px;
  line-height: 1.22;
  font-weight: 900;
}

.aecip-rj-card.dark h2 {
  color: #ffffff;
}

.aecip-rj-card p {
  margin: 0;
  color: #25384d;
  font-size: 15px;
  line-height: 1.72;
}

.aecip-rj-card.dark p {
  color: rgba(255,255,255,0.88);
}

/* Scope list: simple institutional look */
.aecip-rj-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aecip-rj-list li {
  background: #f6f9fc;
  border: 1px solid #d9e3ec;
  border-left: 4px solid #143f73;
  padding: 10px 11px;
  color: #1c2f44;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 750;
}

/* Optional final note */
.aecip-rj-note {
  margin-top: 22px;
  background: #f7fafc;
  border: 1px solid #d9e3ec;
  padding: 24px 28px;
}

.aecip-rj-note h2 {
  margin: 0 0 12px;
  color: #0f3f6e;
  font-size: 24px;
  font-weight: 900;
}

.aecip-rj-note p {
  margin: 0;
  color: #25384d;
  line-height: 1.72;
  font-size: 15px;
}

/* Force every journal to the same AECIP visual system */
.aecip-jgmd,
.aecip-eds,
.aecip-cdks,
.aecip-tsecs,
.aecip-jpacs,
.aecip-hpdcr,
.aecip-pnid,
.aecip-jchs {
  --dark: #0f3f6e;
  --accent: #143f73;
}

/* Remove over-rounded/shadow look from previous versions if browser cached earlier styles */
.aecip-rj-intro,
.aecip-rj-strip,
.aecip-rj-card,
.aecip-rj-note {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Keep content aligned with AECIP page area */
.page_index_journal .additional_content,
.page .additional_content {
  margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 900px) {
  .aecip-rj {
    padding: 0 20px 36px;
  }

  .aecip-rj-grid,
  .aecip-rj-strip {
    grid-template-columns: 1fr;
  }

  .aecip-rj-strip div {
    border-right: 0;
    border-bottom: 1px solid #d9e3ec;
  }

  .aecip-rj-strip div:last-child {
    border-bottom: 0;
  }

  .aecip-rj-list {
    grid-template-columns: 1fr;
  }

  .aecip-rj-intro {
    padding: 24px 22px;
  }

  .aecip-rj-intro h2 {
    font-size: 26px;
  }
}
