/* Global link styling for all <a> tags */
a {
  color: #a05a2e;
  /* 10% lighter than #8e4d27 */
  text-decoration: none;
  transition: color 0.2s;
}

/* Restrict underline hover to links in paragraphs, articles, posts, and descriptions */
p a:hover,
article a:hover,
.post-content a:hover,
.article-content a:hover,
.description a:hover {
  color: #b36b3f;
  /* Even lighter on hover */
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

/* Post and article titles: color-only hover, no underline */
article h2 a:hover,
article h3 a:hover {
  text-decoration: none;
}

/* Jekyll-Scholar citation links: sized for superscript context (elevation handled by <sup> tag) */
a.citation {
  font-size: 0.72em;
  vertical-align: super;
  line-height: 0;
}

/* Jekyll-Scholar references list */
.article-references {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.article-references ol.bibliography,
.article-references ul.bibliography {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 1.4rem;
  margin-top: 0.5rem;
}

.article-references ol.bibliography li,
.article-references ul.bibliography li {
  margin-bottom: 0.8rem;
}

.article-references ol.bibliography li,
.article-references ol.bibliography li>sup,
.article-references ol.bibliography li>span,
.article-references ul.bibliography li,
.article-references ul.bibliography li>sup,
.article-references ul.bibliography li>span {
  font-size: 1em;
  line-height: inherit;
  vertical-align: baseline;
}
