.pub-list { max-width: 900px; }
.pub-list h5 { margin: 1.6em 0 0.6em; }
.paper-row { display: flex; align-items: flex-start; gap: 14px;
             padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.paper-main { flex: 1 1 auto; min-width: 0; }
.paper-ref { }
.paper-ref p { margin: 0; }
.paper-extras { font-size: 0.85em; opacity: 0.75; }
.paper-icons { flex: 0 0 auto; display: grid; grid-template-columns: 22px 22px;
               grid-gap: 3px; position: relative; margin-top: 2px; }
.pub-icon { display: inline-flex; align-items: center; justify-content: center;
            width: 22px; height: 22px; border-radius: 4px; color: #8aa5b4;
            transition: color .15s, background .15s; position: relative; }
.pub-icon .dashicons { font-size: 17px; width: 17px; height: 17px; }
a.pub-icon:hover, .pub-icon.has-menu:hover, .pub-icon.has-menu:focus-within
  { color: #1a6e9e; background: rgba(26,110,158,0.08); }
.pub-icon.disabled { color: #d3dbe0; cursor: default; }
/* hover label under the 2x2 grid */
.paper-icons .hover-label { position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); font-size: 10px; letter-spacing: .04em;
  color: #1a6e9e; opacity: 0; pointer-events: none; white-space: nowrap; }
.paper-icons a.icon-prereg:hover ~ .hover-label::after { content: "prereg"; }
.paper-icons .icon-data:hover  ~ .hover-label::after { content: "data"; }
.paper-icons .icon-code:hover  ~ .hover-label::after { content: "code"; }
.paper-icons a.icon-paper:hover ~ .hover-label::after { content: "paper"; }
.paper-icons .pub-icon:not(.disabled):hover ~ .hover-label { opacity: 1; }
/* popover listing several data/code/prereg links */
.pub-icon .icon-menu { display: none; position: absolute; right: 0; top: 24px;
  z-index: 20; background: #fff; border: 1px solid #dbe4e9; border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12); padding: 6px 0; min-width: 130px; }
.pub-icon.has-menu:hover .icon-menu, .pub-icon.has-menu:focus-within .icon-menu
  { display: block; }
.pub-icon .icon-menu a { display: block; padding: 3px 12px; font-size: 12px;
  color: #1a6e9e; text-decoration: none; white-space: nowrap; }
.pub-icon .icon-menu a:hover { background: rgba(26,110,158,0.08); }
/* small corner dot marks an icon that has several links */
.pub-icon.has-menu::after { content: ""; position: absolute; right: 1px; top: 1px;
  width: 5px; height: 5px; border-radius: 50%; background: #1a6e9e; opacity: .55; }
/* The two fold-outs under a reference: peer commentary and press coverage.
   ONE rule set for both, written as grouped selectors rather than two blocks
   that happen to agree - the moment they are separate they drift, which is
   exactly how commentary ended up a size larger than the coverage under it.
   Change a number here and both blocks move together.

   Everything is in px, and repeated on the li as well as the ul: themes set
   their own base size, often on li directly, where a rule on the parent loses
   to it. The disc marker is drawn at the li's own size, so that repetition is
   what keeps the bullets small too. */
.paper-comment, .paper-press { margin: 3px 0 0; font-size: 13px; }
.paper-press .pgroup { margin: 2px 0 0; }
/* the summary line: 'Peer commentary 1', 'Press releases 4' */
.paper-comment > summary,
.paper-press .pgroup > summary { cursor: pointer; color: #7e9aa8;
  list-style: none; display: inline-block; padding: 0; outline: none;
  font-size: 12px; font-weight: normal; font-style: normal;
  font-family: inherit; line-height: 1.4; letter-spacing: .02em;
  transition: color .15s; }
.paper-comment > summary:hover, .paper-comment[open] > summary,
.paper-press .pgroup > summary:hover,
.paper-press .pgroup[open] > summary { color: #1a6e9e; }
.paper-comment > summary::-webkit-details-marker,
.paper-press .pgroup > summary::-webkit-details-marker { display: none; }
.paper-comment > summary:before,
.paper-press .pgroup > summary:before { content: "\25B8"; display: inline-block;
  margin-right: 4px; font-size: 9px; vertical-align: 1px; opacity: .7;
  transition: transform .15s; }
.paper-comment[open] > summary:before,
.paper-press .pgroup[open] > summary:before { transform: rotate(90deg); }
/* the count, in a rounded outline */
.paper-comment .c-count, .paper-press .pn { display: inline-block;
  margin-left: 3px; padding: 0 4px; border: 1px solid #dae5eb;
  border-radius: 8px; font-size: 10px; font-weight: normal; color: #8aa5b4; }
/* the lists themselves */
.paper-comment ul, .paper-press ul { margin: 3px 0 2px 16px; padding: 0;
  list-style: disc; font-size: 13px; }
.paper-comment li, .paper-press li { margin: 2px 0; font-size: 13px;
  line-height: 1.4; font-family: inherit; font-style: normal; }
/* belt and braces: some themes bold links inside a <details>, and a bold
   headline in one block but not the other is the difference you notice */
.paper-comment li, .paper-comment li a, .paper-comment li b,
.paper-press li, .paper-press li a, .paper-press li b, .paper-press li strong
  { font-weight: normal; }
/* the small language tag after a press item; commentary has no equivalent */
.paper-press .lang { display: inline-block; font-size: 9px; letter-spacing: .06em;
  color: #8aa5b4; border: 1px solid #dae5eb; border-radius: 2px; padding: 0 3px;
  vertical-align: 1px; }
/* Dimensions citation banner, under the reference. To switch these off, set
   "show_citations": false in config.json (they then vanish from the markup). */
.paper-citations { margin-top: 6px; }
.paper-citations .__dimensions_badge_embed__,
.paper-citations a { display: inline-flex; align-items: center; line-height: 0; }
.paper-citations img {
  display: block; height: 20px !important; width: auto !important;
  max-width: none !important; }
/* Altmetric donut column, score shown inside the donut, popover to the left.
   The embed renders at 64px, so clamp it to keep rows with and without a badge
   the same width. */
.paper-altmetric { flex: 0 0 44px; width: 44px; margin-top: 2px; min-height: 1px;
  overflow: hidden; }
.paper-altmetric .altmetric-embed,
.paper-altmetric .altmetric-embed a { display: block; width: 44px; line-height: 0; }
.paper-altmetric img, .paper-altmetric svg {
  display: block; width: 44px !important; height: 44px !important;
  max-width: 44px !important; }
@media (max-width: 600px) {
  .paper-row { flex-wrap: wrap; }
  .paper-icons { grid-template-columns: repeat(4, 26px); }
  .paper-citations { margin-top: 4px; }
}
