/* visibility */

.blog-content .not-large,
.blog-content .mobile-only {
  display: block;
}
.blog-content .not-mobile,
.blog-content .large-only {
  display: none;
}

@media screen and (min-width:30em) {
  .blog-content .not-large,
  .blog-content .not-mobile
  {
    display: block;
  }
  .blog-content .mobile-only,
  .blog-content .large-only {
    display: none;
  }
}
@media screen and (min-width:60em) {
  .blog-content .not-mobile,
  .blog-content .large-only {
    display: block;
  }
  .blog-content .not-large,
  .blog-content .mobile-only {
    display: none;
  }
}

/* KATEX */

.blog-content .katex-display {
  display: inline;
}

.blog-content .katex-display>.katex {
  display: inline;
}

.blog-content .katex-display>.katex>.katex-html {
  display: inline;
}

.katex {
  color: rgb(61,100,134); /* blueblacklight */
}

.blog-content .katex-block code,
.blog-content .katex-block pre {
  font-size: 1em;
  background-color: white;
}

/* Headings */

.blog-content h2 {
  font-family: 'D-Din-Exp', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.1666666em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  margin-top: 1.75rem;
  line-height: 1.25;
}

.blog-content h3 {
  font-family: 'D-Din-Exp', 'Helvetica Neue', Arial, sans-serif;
  font-weight: normal;
  font-size: 1rem;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  margin-top: 1.75rem;
  line-height: 1.25;
}

/* code */

.blog-content code {
  font-family: 'IBM Plex Mono', 'Menlo', monospace;
  font-weight: 600;
  font-size: 0.75rem;

  line-height: 1.5rem;
  letter-spacing: -0.5pt;

  background-color: rgb(248,250,251);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

@media screen and (min-width:30em) {
  .blog-content code {
    font-size: 0.8625rem;
  }
}

.blog-content pre {
  width: 100%;

  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.50rem;
  padding-bottom: 0.50rem;

  background-color: rgb(248,250,251);

  border-radius: 6px;
}

.blog-content code .co {
  color: #839496; /* base0 */
}

.blog-content code .kw {
  color: #cb4b16; /* orange */
}

.blog-content code .dt {
  display: inline;
  color: #2aa198; /* cyan */
}

/* footnotes */

.blog-content hr {
  background-image: linear-gradient(to right, rgb(27, 104, 191) 25%, rgba(255, 255, 255, 0) 0%);
  background-position: top;
  background-size: 0.25rem 0.125rem;
  background-repeat: repeat-x;

  width: 100%;
  height: 0.125rem;

  border: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.blog-content .code {
  position: relative;

}

.blog-content .code .footnote-ref {
  position: absolute;
  left: 100%;
  top: 0rem;
}

/* lists */

.blog-content ol, .blog-content ul {
  padding-inline-start: 1.2rem;
}
.blog-content ol li, .blog-content ul li {
  padding-left: 0.5rem;
}

@media screen and (min-width:30em) {
  .blog-content ol {
    padding-inline-start: 0em;
    margin-left: -1.5rem;
  }

  .blog-content ol li {
    padding-left: 1.47rem;
  }

  .blog-content ul {
    padding-inline-start: 0em;
    margin-left: -1.0rem;
  }

  .blog-content ul li {
    padding-left: 0.97rem;
  }
}

/* figures */

.blog-content .caption {
  font-family:'IBM Plex Italic', italic;
  font-size: 1rem;
  font-style: italic;

  line-height: 1.5rem;

  text-align: center;

  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

@media screen and (min-width:30em) {
  .blog-content .caption {
    margin-left: 5rem;
    margin-right: 5rem;
  }
}

/* block quotes */

.blog-content blockquote {
  margin-inline-start: 1rem;
  margin-inline-end: 1rem;
}

/* links */
.blog-content a:not(.footnote-ref):not(.sourceLine) {
  position: relative;
  color: rgb(70, 99, 131); /* blue black */
  text-decoration: none;
  padding-bottom: 0rem; /* offset */
  border-bottom: 1px solid rgb(45,158,219); /* color & weight */
}

.blog-content a:not(.footnote-ref):not(.sourceLine):hover {
  color: rgb(45,158,219); /* blue */
}

.blog-content a.footnote-ref, .side-footnote sup {
  position: relative;
  text-decoration: none;
  color: rgb(45,158,219); /* blue */
  border: none;
}

.blog-content a.footnote-ref:hover sup {
  color: rgb(45,158,219); /* blue */
  padding-bottom: 0rem; /* offset */
  border-bottom: 1px solid rgb(45,158,219); /* color & weight */
}

.blog-content a[href^="#"]:not(.footnote-ref) {
  position: relative;
  text-decoration: none;
  color: rgb(45,158,219); /* blue */
  border: none;
}

.blog-content a[href^="#"]:not(.footnote-ref):hover {
  color: rgb(45,158,219); /* blue */
  padding-bottom: 0rem; /* offset */
  border-bottom: 1px solid rgb(45,158,219); /* color & weight */
}

/* table */
.blog-content .mobile-only .table {
  overflow-x: scroll;
}

.blog-content table {
  border-collapse: collapse;
}

.blog-content table, th, td {
  border: 1px solid rgb(218,222,228);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;

  font-weight: 400;
  white-space: nowrap;
}

.blog-content table th {
  background: rgb(248,250,251);
}

.blog-content table th:first-child {
  background: rgba(0,0,0,0);
}

/* emphasis */
.blog-content em {
  font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  color: rgb(61, 100, 134); /* emph blueblack */
}

.share {
  color: rgb(101,133,163);
}

/* share */
.share a {
  margin-right: .5rem;
  margin-left: .5rem;
  position: relative;
  text-decoration: none;
  color: rgb(134,165,190);
  font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  padding-bottom: 1px; /* offset */
}

.share a:not(.footnote-ref):not(.sourceLine):hover {
  color: rgb(45,158,219);
  padding-bottom: 0; /* offset */
  border-bottom: 1px solid rgb(45,158,219); /* color & weight */
}

/* images */

@media screen and (min-width:30em) {
  .images-2 {
    display: flex;
  }

  .images-2 * {
    width: 50%;
  }

  .images-2 img {
    width: 100%;
  }
}

.blog-content {
  position: relative;
}

/* huge footnotes */
.ibmplex:not(.side-footnotes) .side-footnote-container {
  display: none;
}

.side-footnote-container {
  height: 0px;
}

.side-footnote {
  position: absolute;
  left: 100%;
  width: 10rem;
  padding-left: 1rem;
  margin-top: -.5rem;
  font-size: .75rem;
}

.side-footnote code {
  font-size: .5rem;
}

.side-footnotes .footnotes {
  display: none;
}

.side-footnotes a.footnote-ref:hover {
  cursor: default;
}

.side-footnote sup {
  position: relative;
  top: -.125rem;
}


.side-footnotes a.footnote-ref:hover sup {
  cursor: default;
  border-bottom: none;
}

.thanks {
  font-family:'IBM Plex Italic', italic;
  font-style: italic;
}

.blog-content em {
  font-style: italic;
}

