/* science/our-research · page sheet on top of kit/rf.css
   The publications as journal cards: the masthead on top, the year as a chip. */
.rf .rs-pub { gap: 14px; min-height: clamp(320px, 26vw, 380px); }
.rf .rs-pub-src {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 clamp(28px, 3vw, 48px); padding-bottom: 20px; border-bottom: 1px solid var(--rf-rule);
}
.rf .rs-pub-j { font-size: clamp(26px, 2.2vw, 34px); line-height: 1; font-weight: 700; letter-spacing: -0.025em; color: var(--rf-navy); }
.rf .rs-pub-y {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px;
  background: var(--rf-soft); color: var(--rf-navy); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.rf .rs-pub .rf-card-t { font-size: clamp(21px, 1.7vw, 26px); }
.rf .rs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Each featured card opens its paper. */
.rf .rs-pub-go {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; color: var(--rf-accent); text-decoration: none;
}
.rf .rs-pub-go::after { content: "↗"; transition: translate .3s; }
.rf .rs-pub-go:hover::after { translate: 2px -2px; }

/* EVERY PAPER, BY METHOD (2026-10-09): Prof Adil's publication list, one
   group per measurement: the group's name and count on the left, its papers
   newest first on the right, each row the original paper by its DOI. */
.rf .rs-lib { margin-top: clamp(40px, 4.6vw, 72px); border-top: 1px solid var(--rf-rule); }
.rf .rs-grp {
  display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 72px);
  padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--rf-rule); scroll-margin-top: 120px;
}
.rf .rs-grp-head { position: sticky; top: 110px; align-self: start; }
.rf .rs-grp-head h3 { margin: 0; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--rf-navy); }
.rf .rs-grp-n { display: block; margin-top: 8px; font-size: 15px; color: var(--rf-ink-2); font-variant-numeric: tabular-nums; }
.rf .rs-list { margin: 0; padding: 0; list-style: none; }
.rf .rs-list li + li { border-top: 1px solid var(--rf-rule); }
.rf .rs-list a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 16px; align-items: start;
  padding: 18px 0; color: inherit; text-decoration: none;
}
.rf .rs-list li:first-child a { padding-top: 0; }
.rf .rs-list-y { padding-top: 2px; font-size: 15px; font-weight: 600; color: var(--rf-accent); font-variant-numeric: tabular-nums; }
.rf .rs-list-main b { display: block; font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--rf-navy); transition: color .2s; }
.rf .rs-list-m { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--rf-ink-2); }
.rf .rs-list-m i { font-style: normal; color: var(--rf-navy); }
.rf .rs-list-go {
  width: 20px; height: 20px; margin-top: 3px; background: var(--rf-navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: translate .3s, background .2s;
}
.rf .rs-list a:hover b { color: var(--rf-accent); }
.rf .rs-list a:hover .rs-list-go { translate: 2px -2px; background: var(--rf-accent); }
@media (max-width: 760px) {
  .rf .rs-grp { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rf .rs-grp-head { position: static; }
  .rf .rs-list a { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; }
  .rf .rs-list-main b { font-size: 17px; }
}
