.content,
.post-meta,
.post-layout,
.post-sidebar {
  --emoji-font-stack: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Twemoji Mozilla", emoji;
}

.content,
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content p,
.content li,
.content blockquote,
.post-meta,
.post-sidebar {
  font-family: raleway, var(--emoji-font-stack), sans-serif;
}

.content code,
.content pre,
.content kbd,
.content samp {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, var(--emoji-font-stack), monospace;
}

.content ul ul,
.content ul ol,
.content ol ul,
.content ol ol,
.content p + ul {
  margin-top: 10px;
  padding-left: 24px;
}

.content pre {
  background: #f4fcff;
  border: 1px solid #D8DEE4;
  color: #24292f;
  font-size: 13px;
  line-height: 1.45;
  margin: 16px 0 22px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 14px;
}

.content pre code {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

.content em {
  font-style: italic;
}

.content {
  min-width: 0;
}

.content a,
.content strong,
.content code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content img,
.content .highlight {
  display: block;
  max-width: 100%;
}

.content img {
  height: auto;
}

.content ol {
  counter-reset: content-ordered-list;
  list-style: none;
  margin: 0 0 24px 0;
  padding-left: 0;
}

.content ol > li {
  counter-increment: content-ordered-list;
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
}

.content ol > li::before {
  color: #4B5563;
  content: counter(content-ordered-list) ".";
  font-weight: 700;
  left: 0;
  position: absolute;
  top: 0;
}

.content .post-figure {
  margin: 28px 0 28px;
}

.content .post-figure img {
  margin: 0;
  width: 100%;
}

.content .post-figure figcaption,
.content .post-figure__caption {
  color: #4B5563;
  display: block;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 88%;
  padding: 7px 0 0;
  text-align: center;
  text-wrap: balance;
}

.content .highlight {
  background: #f4fcff !important;
  border: 1px solid #D8DEE4;
  margin: 16px 0 22px;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
}

.content .highlight * {
  margin-bottom: 0;
}

.content .highlight div,
.content .highlight pre {
  background: #f4fcff !important;
}

.content .highlight pre {
  border: 0;
  color: #24292f;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  min-width: max-content;
  overflow-y: hidden;
  padding: 8px 14px;
}

.content .highlight code,
.content .highlight span {
  line-height: inherit;
}

.content > .highlight span {
  background: transparent !important;
}

.content > .highlight span[style*="color:#f8f8f2"] {
  color: #24292f !important;
}

.content > .highlight span[style*="color:#f92672"] {
  color: #cf222e !important;
}

.content > .highlight span[style*="color:#ae81ff"] {
  color: #0550ae !important;
}

.content > .highlight span[style*="color:#e6db74"] {
  color: #0a3069 !important;
}

.content > .highlight span[style*="color:#a6e22e"] {
  color: #116329 !important;
}

.content > .highlight span[style*="color:#66d9ef"] {
  color: #0550ae !important;
}

.content > .highlight span[style*="color:#75715e"] {
  color: #6e7781 !important;
}

.content > .highlight span[style*="color:#960050"] {
  color: #cf222e !important;
}

.content .code-snippet {
  background: #ffffff;
  border: 1px solid #D8DEE4;
  margin: 24px 0 28px;
  position: relative;
}

.content .code-snippet * {
  margin-bottom: 0;
}

.content .code-snippet .highlight {
  border: 0;
  background: #ffffff !important;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.content .code-snippet .highlight div,
.content .code-snippet .highlight pre,
.content .code-snippet .highlight table,
.content .code-snippet .highlight td {
  background: #ffffff !important;
}

.content .code-snippet .highlight pre {
  color: #24292f;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  overflow-y: hidden;
  padding: 12px 14px;
}

.content .code-snippet .highlight code,
.content .code-snippet .highlight span {
  line-height: inherit;
}

.content .code-snippet .highlight table {
  border: 0;
  margin: 0;
  width: auto;
}

.content .code-snippet .highlight td {
  border: 0;
  padding: 0;
}

.content .code-snippet .highlight td:first-child pre {
  border-right: 1px solid #D8DEE4;
  color: #8C959F;
  padding-right: 10px;
  text-align: right;
  user-select: none;
}

.content .code-snippet .highlight td:last-child pre {
  padding-left: 12px;
}

.content .code-snippet__source,
.content .code-snippet__missing {
  background: #F6F8FA;
  border-top: 1px solid #D8DEE4;
  color: #57606A;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  padding: 7px 10px;
  text-align: right;
}

.content .code-copy {
  position: relative;
}

.content .code-copy--pre {
  margin: 16px 0 22px;
}

.content .code-copy--pre > pre {
  margin: 0;
  padding-right: 48px;
}

.content .code-copy--single-line,
.content .code-copy--single-line > pre {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.content .code-copy--single-line::-webkit-scrollbar,
.content .code-copy--single-line > pre::-webkit-scrollbar {
  display: none;
}

.content .code-copy__button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #D8DEE4;
  color: #57606A;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  transition: opacity 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  width: 28px;
  z-index: 2;
}

.content .code-copy:hover .code-copy__button,
.content .code-copy__button:focus,
.content .code-copy__button.is-copied {
  opacity: 1;
}

.content .code-copy__button:hover,
.content .code-copy__button:focus {
  border-color: #00AAA1;
  color: #00AAA1;
}

.content .code-copy__button.is-copied {
  border-color: #116329;
  color: #116329;
}

.content .code-copy__icon,
.content .code-copy__icon::before {
  border: 1.5px solid currentColor;
  box-sizing: border-box;
  display: block;
  height: 13px;
  width: 10px;
}

.content .code-copy__icon {
  position: relative;
  transform: translate(2px, -2px);
}

.content .code-copy__icon::before {
  background: #ffffff;
  content: "";
  left: -4px;
  position: absolute;
  top: 4px;
}

.content .code-copy__button.is-copied .code-copy__icon {
  border-color: transparent;
  height: 8px;
  transform: rotate(-45deg);
  width: 14px;
}

.content .code-copy__button.is-copied .code-copy__icon::before {
  background: transparent;
  border-color: transparent transparent currentColor currentColor;
  height: 8px;
  left: 0;
  top: 0;
  width: 14px;
}

.back-to-top {
  align-items: center;
  background: #00AAA1;
  border: 1px solid #00AAA1;
  bottom: 68px;
  box-shadow: 0 8px 20px rgba(0, 170, 161, 0.22);
  color: #ffffff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  width: 44px;
  z-index: 30;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
  background: #008F88;
  border-color: #008F88;
  box-shadow: 0 10px 24px rgba(0, 143, 136, 0.28);
  color: #ffffff;
}

.back-to-top__icon {
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  display: block;
  height: 12px;
  transform: translateY(3px) rotate(45deg);
  width: 12px;
}

.back-to-top__icon::after {
  background: currentColor;
  content: "";
  display: block;
  height: 18px;
  left: 5px;
  position: relative;
  top: -2px;
  transform: rotate(-45deg);
  width: 2px;
}

@media (max-width: 767px) {
  .back-to-top {
    bottom: 64px;
    height: 40px;
    right: 16px;
    width: 40px;
  }
}

.content .post-toc {
  display: none;
}

.content p:has(+ .post-toc),
.content p:has(+ p .post-toc) {
  border-top: 1px solid #D8DEE4;
  color: #4B5563;
  font-size: 15px;
  margin-bottom: 10px;
  padding-top: 18px;
}

.content p:has(+ .post-toc) strong,
.content p:has(+ p .post-toc) strong {
  font-weight: 700;
}

.content p:has(.post-toc) {
  margin-bottom: 0;
}

.content .post-toc + p,
.content .post-toc + ul,
.content p:has(.post-toc) + p,
.content p:has(.post-toc) + ul {
  background: #F8FBFF;
  border-left: 3px solid #00AAA7;
  column-gap: 26px;
  column-width: 260px;
  font-size: 14px;
  line-height: 1.48;
  margin-bottom: 40px;
  padding: 16px 18px;
}

.content .post-toc + ul,
.content p:has(.post-toc) + ul {
  list-style: none;
  padding-left: 18px;
}

.content .post-toc + ul ul,
.content p:has(.post-toc) + ul ul {
  margin-top: 4px;
  padding-left: 18px;
}

.content .post-toc + ul li,
.content p:has(.post-toc) + ul li {
  break-inside: avoid;
  margin-bottom: 7px;
  padding-left: 0;
}

.content .post-toc + ul li::before,
.content p:has(.post-toc) + ul li::before {
  content: none;
}

.content .post-toc + p a,
.content .post-toc + ul a,
.content p:has(.post-toc) + p a,
.content p:has(.post-toc) + ul a {
  display: inline;
  line-height: inherit;
}

.content .post-toc + p br,
.content p:has(.post-toc) + p br {
  content: "";
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 767px) {
  .content .post-toc + p,
  .content .post-toc + ul,
  .content p:has(.post-toc) + p,
  .content p:has(.post-toc) + ul {
    column-width: auto;
  }
}

.post-layout {
  column-gap: 56px;
}

.post-layout__main,
.post-layout__sidebar {
  min-width: 0;
}

.post-layout__sidebar {
  margin-left: 16px;
}

.post-sidebar {
  border-left: 1px solid #ACB9C4;
  margin-top: 72px;
  padding-left: 24px;
  position: sticky;
  top: 96px;
}

.post-sidebar__track {
  transform: translateY(var(--post-sidebar-offset, 0px));
  will-change: transform;
}

.post-sidebar__block {
  border-bottom: 1px solid #D8DEE4;
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.post-sidebar__block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-sidebar h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.post-sidebar p {
  color: #666666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.post-sidebar ol,
.post-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-sidebar li {
  margin-bottom: 12px;
}

.post-sidebar a {
  color: #666666;
  font-size: 13px;
  line-height: 1.35;
}

.post-sidebar__block--series ol > li > a,
.post-sidebar__block--categories ol > li > a {
  display: flex;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-sidebar a:hover,
.post-sidebar .is-current > a {
  color: #00AAA1;
}

.post-sidebar__block--series ol > li > a span,
.post-sidebar__block--categories ol > li > a span {
  align-items: center;
  flex: 0 0 24px;
  border: 1px solid #ACB9C4;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  height: 20px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  margin-right: 6px;
  padding: 0;
  vertical-align: middle;
  width: 24px;
}

.post-sidebar .is-current > a span {
  border-color: #00AAA1;
}

.post-sidebar__block--series ul {
  border-left: 1px solid #ACB9C4;
  margin: 8px 0 0 12px;
  padding-left: 12px;
}

.post-sidebar__block--series ul li {
  margin-bottom: 7px;
}

.post-sidebar__block--series ul a {
  font-size: 12px;
}

.post-sidebar__tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-sidebar__tag-cloud a {
  border: 1px solid #ACB9C4;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
}

.post-sidebar__tag-cloud a:hover {
  border-color: #00AAA1;
}

.post-sidebar__tag-cloud span {
  color: #999999;
  font-size: 11px;
  margin-left: 5px;
}

.post-sidebar__author {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.post-sidebar__author img {
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  display: block;
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.post-sidebar__author strong,
.post-sidebar__author span {
  display: block;
  line-height: 1.35;
}

.post-sidebar__author strong {
  color: #222222;
  font-size: 14px;
  margin-bottom: 3px;
}

.post-sidebar__author span,
.post-sidebar__author-details {
  color: #666666;
  font-size: 12px;
}

.post-sidebar__author-details {
  margin: 0;
}

.post-sidebar__author-details div {
  margin-bottom: 10px;
}

.post-sidebar__author-details dt {
  color: #222222;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.post-sidebar__author-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.post-sidebar__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px !important;
}

.post-sidebar__social li {
  margin-bottom: 0;
}

.post-sidebar__social a {
  align-items: center;
  border: 1px solid #ACB9C4;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.post-sidebar__social a:hover {
  border-color: #00AAA1;
}

@media (max-width: 991px) {
  .post-layout {
    column-gap: 0;
  }

  .post-layout__sidebar {
    margin-left: 0;
  }

  .post-sidebar {
    border-left: 0;
    border-top: 1px solid #ACB9C4;
    margin-top: 24px;
    padding-left: 0;
    padding-top: 24px;
    position: static;
  }

  .post-sidebar__track {
    transform: none;
  }
}
