/* Styles for rendered publication entries used on
   index.html (Select Publications) and publications.html. */

h3.pub-section {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--link);
  margin: 40px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--link);
}
h3.pub-section:first-of-type { margin-top: 18px; }

.bibbase_paper { margin-bottom: 18px; }

span.bibbase_paper_titleauthoryear { display: block; }
span.bibbase_paper_title {
  display: inline;
  font-weight: 600;
  color: var(--fg);
}
span.bibbase_paper_author {
  display: block;
  color: var(--fg-muted);
  margin-top: 1px;
}
span.bibbase_paper_author u { text-decoration: none; }

.pub-venue { color: var(--fg-muted); margin-top: 1px; }
.pub-venue em { font-style: italic; }

.pub-note  { margin-top: 2px; }
.pub-note font { font-size: 0.9em; }

.pub-links {
  margin-top: 4px;
  font-size: 13px;
  color: var(--fg-faint);
}
.pub-links a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(28,93,110,0.35);
  padding-bottom: 1px;
  margin-right: 8px;
  transition: color .12s ease, border-bottom-color .12s ease;
}
.pub-links a:hover { color: var(--link-hov); border-bottom-color: currentColor; }

/* BibTeX disclosure as just another small link in the list. */
details.pub-bibtex { display: inline; }
details.pub-bibtex summary {
  display: inline;
  cursor: pointer;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(28,93,110,0.35);
  padding-bottom: 1px;
  list-style: none;
  transition: color .12s ease, border-bottom-color .12s ease;
}
details.pub-bibtex summary::-webkit-details-marker { display: none; }
details.pub-bibtex summary::marker { content: ""; }
details.pub-bibtex summary:hover { color: var(--link-hov); border-bottom-color: currentColor; }
details.pub-bibtex[open] summary { border-bottom-color: currentColor; }
details.pub-bibtex pre {
  display: block;
  margin: 10px 0 4px;
  padding: 10px 12px;
  background: var(--tint-bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--link);
  border-radius: 3px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--fg);
  white-space: pre-wrap;
  word-break: break-word;
}
