/* Public research collections. Scope every rule to preserve other journal pages. */
.bjbm-collections,
.bjbm-collections * { box-sizing: border-box; }
.bjbm-collections {
  width: 100%;
  margin: 0 auto;
  padding: 22px clamp(16px, 2vw, 32px) 40px;
  color: #17314f;
  font: 400 var(--bjbm-content-font-size, 16px)/1.7 "Lato", Arial, sans-serif;
}
.bjbm-collections a { color: #195a9e; text-decoration: underline; text-underline-offset: .15em; }
.bjbm-collections a:hover { color: #0b3562; }
.bjbm-collections a:focus-visible { outline: 3px solid #2467ac; outline-offset: 4px; border-radius: 2px; }
.bjbm-collections__breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .94em; }
.bjbm-collections__breadcrumb > span { color: #536982; }
.bjbm-collections__header { margin-bottom: 28px; padding: 24px 28px; border: 1px solid #d8e4f1; border-radius: 14px; background: #fff; }
.bjbm-collections__header p { margin: 12px 0 0; max-width: 92ch; }
.bjbm-collections__title { display: flex; align-items: center; gap: 18px; }
.bjbm-collections__title h1 { margin: 0; color: #142c48; font: 800 clamp(1.5em, 2.4vw, 2em)/1.3 "Lato", Arial, sans-serif; }
.bjbm-collections__title > span { flex: 1; min-width: 24px; height: 4px; background: #2474ba; }
.bjbm-collections__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 24px; }
.bjbm-collections__sidebar { position: sticky; top: 20px; }
.bjbm-collections__sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.bjbm-collections__sidebar nav a { display: block; padding: 12px 15px; border-left: 4px solid transparent; border-radius: 0 10px 10px 0; color: #526982; font-weight: 700; text-decoration: none; line-height: 1.45; }
.bjbm-collections__sidebar nav a:hover { color: #174d83; background: #edf4fc; }
.bjbm-collections__sidebar nav a[aria-current="page"] { border-left-color: #2268ad; color: #174d83; background: #e2ecf9; }
.bjbm-collections__archive { display: inline-block; margin: 20px 15px 0; font-weight: 700; }
.bjbm-collections__sectionTitle { margin: 0 0 15px; color: #17314f; font: 800 1.25em/1.4 "Lato", Arial, sans-serif; }
.bjbm-collections__sectionTitle span { color: #596e86; font-weight: 400; }
.bjbm-collections__topics,
.bjbm-collections__articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bjbm-collections__topic,
.bjbm-collections__article { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid #d7e3f0; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(27, 67, 110, .035); }
.bjbm-collections__topic h3,
.bjbm-collections__article h3 { margin: 0 0 10px; color: #17314f; font: 800 1.1em/1.5 "Lato", Arial, sans-serif; overflow-wrap: anywhere; }
.bjbm-collections__topic h3 a,
.bjbm-collections__article h3 a { text-decoration: none; }
.bjbm-collections__topic h3 a:hover,
.bjbm-collections__article h3 a:hover { text-decoration: underline; }
.bjbm-collections__topic p { margin: 0 0 16px; }
.bjbm-collections__topic .bjbm-collections__focus { margin-bottom: 10px; color: #536a83; font-size: .9em; }
.bjbm-collections__read { align-self: flex-start; margin-top: auto; padding-top: 10px; font-weight: 700; }
.bjbm-collections__authors { margin: 0 0 12px; color: #526982; overflow-wrap: anywhere; }
.bjbm-collections__articleMeta { display: flex; flex-wrap: wrap; gap: 3px 16px; color: #526982; }
.bjbm-collections__doi { margin: 8px 0 0; overflow-wrap: anywhere; }
.bjbm-collections__sharing { margin-top: 24px; padding: 22px 26px; border: 1px solid #d7e3f0; border-top: 4px solid #2474ba; border-radius: 12px; background: #f8fbff; }
.bjbm-collections__sharing h2 { margin: 0 0 12px; color: #17314f; font: 800 1.25em/1.4 "Lato", Arial, sans-serif; }
.bjbm-collections__sharing p { margin: 10px 0; }
.bjbm-collections__sharing ul { margin: 12px 0; padding-left: 24px; }
.bjbm-collections__sharing li { margin: 6px 0; font: inherit; }
.bjbm-collections__note { margin: 20px 0 0; color: #526982; }
.bjbm-collections__empty { padding: 20px; border: 1px solid #d7e3f0; border-radius: 10px; background: #fff; }
/* The homepage uses the same subject links without an extra database query. */
.bjbm-research-discovery__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.bjbm-research-discovery__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 16px; border: 1px solid #d7e3f0; border-radius: 10px; color: #195a9e; background: #f8fbff; font: inherit; font-weight: 700; line-height: 1.45; text-decoration: none; }
.bjbm-research-discovery__links a:hover { border-color: #9bbfe3; background: #edf5fe; text-decoration: underline; text-underline-offset: .15em; }
.bjbm-research-discovery__links a:focus-visible { outline: 3px solid #2467ac; outline-offset: 3px; background: #edf5fe; }
.bjbm-research-discovery__links a span { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 1000px) {
  .bjbm-collections__layout { grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
  .bjbm-collections__articles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bjbm-collections__header { padding: 20px; }
  .bjbm-collections__layout { grid-template-columns: minmax(0, 1fr); }
  .bjbm-collections__sidebar { position: static; }
  .bjbm-collections__sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bjbm-collections__sidebar nav a { padding: 10px; font-size: .94em; }
  .bjbm-collections__archive { margin-top: 10px; }
}
@media (max-width: 520px) {
  .bjbm-research-discovery__links { grid-template-columns: minmax(0, 1fr); }
  .bjbm-collections__topics { grid-template-columns: minmax(0, 1fr); }
  .bjbm-collections__title { gap: 10px; }
  .bjbm-collections__topic,
  .bjbm-collections__article,
  .bjbm-collections__sharing { padding: 18px; }
}
