/* Styles for blocks added to the journal profile after the site was rebuilt.
   The older profile styles live in /_astro/_slug_.CXrc3GVO.css. */

/* "Impact factor and citation metrics": name | figure | how it differs from the JIF */
.metrics .metric-value {
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: top;
  width: 1%;
  padding-right: 1.25rem;
}
.metrics .metric-note {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.5;
}
.metrics th[scope="row"] {
  width: 26%;
  vertical-align: top;
}
@media (max-width: 640px) {
  /* Stack each metric so the explanation is not squeezed into a narrow column. */
  .metrics table,
  .metrics tbody,
  .metrics tr,
  .metrics th,
  .metrics td {
    display: block;
    width: auto;
  }
  .metrics tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics tr:last-child {
    border-bottom: 0;
  }
  .metrics th[scope="row"],
  .metrics td {
    border: 0;
    padding: 0.1rem 0;
    width: auto;
  }
}

/* A dash in a comparison table always carries a spoken label and a footnote. */
.na-note {
  margin-top: 0.6rem;
}

/* "How it compares with other ... journals" reuses the .metrics layout above. */
.compare h2 a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Researcher ratings card: empty until /assets/ratings.js finds approved ratings. */
.ratings .ratings-score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
}
.ratings .ratings-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.ratings .ratings-list li {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
.ratings .ratings-list q {
  quotes: none;
  color: var(--ink-2);
}

/* "Quick answers": the common questions about a journal, each linked to its section. */
.answers {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.4rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.answers h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.answers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2rem;
}
.answer h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.answer p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.answer a {
  white-space: nowrap;
}
[id="impact-factor"],
[id="field-comparison"],
[id="cost"],
[id="peer-review"],
[id="checks"] {
  scroll-margin-top: 5rem;
}
@media (max-width: 760px) {
  .answers {
    padding: 1rem 1rem 1.1rem;
    margin-bottom: 1.75rem;
  }
  .answers-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

/* "We are not the journal" notice on profiles (DECISIONS C4) */
.not-journal{margin:.25rem 0 1rem;padding:.6rem .8rem;border-left:3px solid currentColor;opacity:.85;line-height:1.45}
