/* Captions */
figcaption,
.src-block-caption,
.table-caption {
  font-style: italic;
  text-align: center;
}
/* No list bullets in task lists */
ul.task-list {
  list-style-type: none;
  padding-inline-start: 18px;
}

/* Content */
/* Header */
article header {
  margin-top: 3em;
  margin-bottom: 2em;
}
article header h1 {
  margin-bottom: 0.2em;
}
article header .meta {
  color: #999;
  line-height: 1.2;
  font-size: 0.9em;
}
article header .published, article header .updated {
  display: inline;
  /* float: left; */
}
p.encart {
  box-sizing: border-box;
  font-size: 1.125rem;
  border: 3px solid #caebf2;
  border-width: 3px 0;
  padding: 20px 6px;
  margin-bottom: 20px;
}
/* Table of Content */
article .toc .heading {
  font-size: 1.17em;
  font-weight: bold;
}
/* Footnotes */
article .footnotes {
  font-size: 0.86em;
}
article .footnotes hr {
  border-top: 0.5px solid #999;
}

/* Section */
article h1 {
  font-size: 1.7em;
}
article h2 {
  font-size: 1.4em;
}
/* Figures */
article figure {
  margin: 0
}
article .right {
  float: right;
  margin-left: 1rem;
}
article .small img {
  max-width:240px;
  height:auto;
}
article .fullwidth img {
  width: 100%;
  height:auto;
}
article .centered img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* source code */
article div.highlight pre {
  line-height: 1.2;
  font-size: 0.9em;
}
/* otherwise highlighted lines get really ugly */
article div.highlight span.hl {
  display: inline;
}
/* otherwise first numbered line is weirdly indented */
article div.highlight span.lnt {
  margin-right: -0.4em;
}
/* otherwise the height of last numbered line is weirdly big created*/
/* an ugly bottom margin to code block  */
article div.highlight span.lnt:last-child {
  float: left;
}
/* undo previous rule for highlighted lines */
article div.highlight span.hl span.lnt:last-child {
  float: none;
}
article div.highlight pre.chroma {
  padding: 0.4em;
}
article div.highlight .chroma, article div.highlight table.lntable {
  border-radius: 5px;
}
/* center tweets from shortcode */
article .twitter-tweet-rendered {
  margin-left: auto;
  margin-right: auto;
}