/*******************************************************************************
 * Variables used throughout the theme.
 * To adjust anything, simply edit the variables below and rebuild the theme.
 ******************************************************************************/
/*******************************************************************************
 * Themes
 ******************************************************************************/
:root {
  --global-bg-color: #ffffff;
  --global-text-color: #000000;
  --global-theme-color: #B509AC;
  --global-hover-color: rgb(96.4241486068%, 28.0856553148%, 92.8482972136%);
  --global-footer-bg-color: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  --global-footer-text-color: #e8e8e8;
  --global-footer-link-color: #ffffff;
  --global-icon-color: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  --global-code-bg-color: #f6f8fa;
  --global-divider-color: #dee2e6;
}
:root .fa-sun {
  display: none;
}
:root .fa-moon {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}

html[data-theme=dark] {
  --global-bg-color: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  --global-text-color: #e8e8e8;
  --global-theme-color: #2698BA;
  --global-hover-color: rgb(48.387605042%, 80.0210084034%, 89.4555322129%);
  --global-footer-bg-color: #e8e8e8;
  --global-footer-text-color: rgb(25.9803921569%, 25.9803921569%, 25.9803921569%);
  --global-footer-link-color: #000000;
  --global-icon-color: navajowhite;
  --global-code-bg-color: #303030;
  --global-divider-color: #5a5a5a;
}
html[data-theme=dark] .fa-sun {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}
html[data-theme=dark] .fa-moon {
  display: none;
}

/******************************************************************************
 * Content
 ******************************************************************************/
body {
  padding-bottom: 70px;
  color: var(--global-text-color);
  background-color: var(--global-bg-color);
}

body.fixed-top-nav {
  padding-top: 56px;
}

body.sticky-bottom-footer {
  padding-bottom: 0;
}

.container {
  max-width: 800px;
}

.profile img {
  width: 100%;
}

/******************************************************************************
 * Publications
 ******************************************************************************/
/*****************************************************************************
* Projects
*****************************************************************************/
/*******************************************************************************
 * Styles for the base elements of the theme.
 ******************************************************************************/
p, h1, h2, h3, h4, h5, h6, em, div, span, strong {
  color: var(--global-text-color);
}

a, table.table a {
  color: var(--global-theme-color);
}
a:hover, table.table a:hover {
  color: var(--global-theme-color);
  text-decoration: underline;
}
a:hover:after, table.table a:hover:after {
  width: 100%;
}

.equation {
  margin-bottom: 1rem;
  text-align: center;
}

.caption {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.profile {
  margin-left: 1rem;
  width: 100%;
}
.profile .address {
  margin-bottom: 5px;
  margin-top: 5px;
  font-family: monospace;
  font-size: 1.2rem;
}
.profile .address p {
  display: inline-block;
  margin: 0;
}

@media (min-width: 576px) {
  .profile {
    width: 30%;
  }
  .profile .address p {
    display: block;
  }
}
.post-description {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}
.post-description a {
  color: inherit;
}
.post-description a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

.navbar {
  box-shadow: none;
  border-bottom: 1px solid #e8e8e8;
  opacity: 0.95;
  background-color: var(--global-bg-color);
}

.navbar.navbar-light a:hover {
  text-decoration: none;
}
.navbar.navbar-light .navbar-brand {
  color: var(--global-text-color);
  font-size: 1.1rem;
}
.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--global-text-color);
}
.navbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
  color: var(--global-hover-color);
}
.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
  background-color: inherit;
  font-weight: bolder;
  color: var(--global-theme-color);
}
.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link:hover {
  color: var(--global-hover-color);
}
.navbar.navbar-light .contact-icon {
  font-size: 2rem;
}
.navbar.navbar-light .contact-icon a:hover {
  color: var(--global-hover-color);
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--global-icon-color);
  border-radius: 1px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggler .middle-bar {
  opacity: 0;
}
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.news table td {
  font-size: 1rem;
  color: var(--global-text-color);
}

.news table th {
  color: var(--global-text-color);
}

.social {
  text-align: center;
}
.social .contact-icon {
  font-size: 4rem;
}
.social .contact-icon a {
  color: var(--global-icon-color);
}
.social .contact-icon a:hover {
  color: var(--global-theme-color);
}
.social .contact-note {
  font-size: 0.8rem;
}

footer.fixed-bottom {
  background-color: var(--global-footer-bg-color);
  font-size: 0.75rem;
}
footer.fixed-bottom .container {
  color: var(--global-footer-text-color);
  padding-top: 9px;
  padding-bottom: 8px;
}
footer.fixed-bottom a {
  color: var(--global-footer-link-color);
}
footer.fixed-bottom a:hover {
  color: pink;
  text-decoration: none;
}

footer.sticky-bottom {
  border-top: 1px solid #e8e8e8;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

.header-bar {
  border-bottom: 1px solid #e8e8e8;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 5rem;
}
.header-bar h1 {
  color: var(--global-theme-color);
  font-size: 5rem;
}

.post-list {
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
}
.post-list li {
  border-bottom: 1px solid #e8e8e8;
  list-style: none;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.post-list li .post-meta {
  color: #828282;
  font-size: 0.875rem;
  margin-bottom: 0;
}
.post-list li a {
  color: var(--global-text-color);
  text-decoration: none;
}
.post-list li a:hover {
  color: var(--global-theme-color);
}

.pagination .page-item .page-link {
  color: var(--global-text-color);
}
.pagination .page-item .page-link:hover {
  color: #000000;
}
.pagination .page-item.active .page-link {
  background-color: var(--global-theme-color);
}
.pagination .page-item.active .page-link:hover {
  background-color: var(--global-theme-color);
}

.distill a:hover {
  border-bottom-color: var(--global-theme-color);
  text-decoration: none;
}

.projects .grid-item {
  width: 250px;
  margin-bottom: 10px;
}
.projects .grid-item a {
  color: black;
  text-decoration: none;
}
.projects .grid-item a:hover {
  color: var(--global-theme-color);
}
.projects .card img {
  width: 100%;
}

em.star {
  border-bottom: none !important;
  color: #cf0000;
  font-style: normal;
}

.abbr.preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.abbr.preview img.preview {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.publications {
  margin-top: 2rem;
}
.publications h1 {
  color: var(--global-theme-color);
  font-size: 2rem;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}
.publications h2 {
  margin-bottom: 1rem;
}
.publications h2 span {
  font-size: 1.5rem;
}
.publications h2.year {
  color: #e8e8e8;
  border-top: 1px solid #e8e8e8;
  padding-top: 1rem;
  margin-top: 2rem;
  margin-bottom: -2rem;
  text-align: right;
}
.publications ol.bibliography {
  list-style: none;
  padding: 0;
  margin-top: 0;
}
.publications ol.bibliography li {
  margin-bottom: 1rem;
  padding: 12px 16px;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.publications ol.bibliography li:hover {
  background: var(--global-theme-color-light, rgba(78, 115, 223, 0.08));
}
.publications ol.bibliography li .abbr {
  height: auto;
  min-height: 2rem;
  margin-bottom: 0.5rem;
}
.publications ol.bibliography li .abbr abbr {
  display: inline-block;
  background-color: var(--global-theme-color);
  padding-left: 1rem;
  padding-right: 1rem;
}
.publications ol.bibliography li .abbr abbr a {
  color: white;
}
.publications ol.bibliography li .abbr abbr a:hover {
  text-decoration: none;
}
.publications ol.bibliography li .abbr .award {
  color: var(--global-theme-color) !important;
  border: 1px solid var(--global-theme-color);
}
.publications ol.bibliography li .title {
  font-weight: bolder;
}
.publications ol.bibliography li .author a {
  border-bottom: 1px dashed var(--global-theme-color);
}
.publications ol.bibliography li .author a:hover {
  border-bottom-style: solid;
  text-decoration: none;
}
.publications ol.bibliography li .author > em {
  border-bottom: 1px solid;
  font-style: normal;
}
.publications ol.bibliography li .links a.btn {
  color: var(--global-text-color);
  border: 1px solid var(--global-text-color);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.publications ol.bibliography li .links a.btn:hover {
  color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}
.publications ol.bibliography li .links a.btn.highlight {
  font-weight: bold;
  color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}
.publications ol.bibliography li .links a.btn.highlight:hover {
  color: white;
  background-color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}
.publications ol.bibliography li .hidden {
  font-size: 0.875rem;
  max-height: 0px;
  overflow: hidden;
  text-align: justify;
  -webkit-transition: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}
.publications ol.bibliography li .hidden p {
  line-height: 1.4em;
  margin: 10px;
}
.publications ol.bibliography li .hidden pre {
  font-size: 1em;
  line-height: 1.4em;
  padding: 10px;
}
.publications ol.bibliography li .hidden.open {
  max-height: 100em;
  -webkit-transition: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}
.publications ol.bibliography li div.abstract.hidden {
  border: dashed 1px transparent;
}
.publications ol.bibliography li div.abstract.hidden.open {
  border-color: var(--global-text-color);
}

code {
  color: var(--global-theme-color);
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
  transition: all 750ms !important;
  transition-delay: 0 !important;
}

.card.class .card-title {
  font-weight: 400;
}

.card.class .card-title a {
  color: #424242;
}

.card.class .card-title a:hover {
  color: var(--global-hover-color);
  text-decoration: none;
}

.card.class .badge {
  background-color: var(--global-theme-color);
  padding-left: 1rem;
  padding-right: 1rem;
}

.blog-post {
  max-width: 760px;
  margin: 0 auto;
}
.blog-post .post-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--global-divider-color, #dee2e6);
}
.blog-post .post-header .post-title {
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.blog-post .post-header .post-meta {
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-size: 0.9rem;
  color: var(--global-text-color);
  opacity: 0.6;
  font-style: italic;
}
.blog-post .post-language-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: -1rem 0 1.25rem;
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-size: 0.85rem;
}
.blog-post .post-language-switcher a {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 999px;
  color: var(--global-text-color);
  text-decoration: none;
}
.blog-post .post-language-switcher a:hover, .blog-post .post-language-switcher a:focus-visible {
  border-color: var(--global-theme-color);
  color: var(--global-theme-color);
  outline: none;
}
.blog-post .post-language-switcher a.active {
  border-color: var(--global-theme-color);
  background: var(--global-theme-color);
  color: #fff;
  font-weight: 600;
  cursor: default;
}
.blog-post .post-content {
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.68;
  text-align: left;
  hyphens: none;
}
.blog-post .post-content [id] {
  scroll-margin-top: 72px;
}
.blog-post .post-content h1, .blog-post .post-content h2, .blog-post .post-content h3, .blog-post .post-content h4, .blog-post .post-content h5, .blog-post .post-content h6 {
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-weight: 700;
  position: relative;
  line-height: 1.3;
}
.blog-post .post-content h1 .anchor-link, .blog-post .post-content h2 .anchor-link, .blog-post .post-content h3 .anchor-link, .blog-post .post-content h4 .anchor-link, .blog-post .post-content h5 .anchor-link, .blog-post .post-content h6 .anchor-link {
  display: none;
  color: var(--global-theme-color);
  text-decoration: none;
  margin-left: 0.3em;
  font-size: 0.8em;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.blog-post .post-content h1 .anchor-link:hover, .blog-post .post-content h2 .anchor-link:hover, .blog-post .post-content h3 .anchor-link:hover, .blog-post .post-content h4 .anchor-link:hover, .blog-post .post-content h5 .anchor-link:hover, .blog-post .post-content h6 .anchor-link:hover {
  opacity: 1;
  border-bottom: none;
}
.blog-post .post-content h1:hover .anchor-link, .blog-post .post-content h2:hover .anchor-link, .blog-post .post-content h3:hover .anchor-link, .blog-post .post-content h4:hover .anchor-link, .blog-post .post-content h5:hover .anchor-link, .blog-post .post-content h6:hover .anchor-link {
  display: inline;
}
.blog-post .post-content h2 {
  margin-top: 3.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  font-size: 1.7rem;
  border-bottom: 1px solid var(--global-divider-color, #dee2e6);
}
.blog-post .post-content h3 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}
.blog-post .post-content h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}
.blog-post .post-content p {
  margin-bottom: 1.2rem;
}
.blog-post .post-content .media-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 1rem 0 0.5rem;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}
.blog-post .post-content .media-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.blog-post .post-content .media-embed.media-facade {
  display: flex;
  padding-top: 0;
  overflow: visible;
}
.blog-post .post-content .media-embed.media-facade::before {
  flex: none;
  width: 0;
  padding-top: 56.25%;
  content: "";
}
.blog-post .post-content .media-facade-btn {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 1rem 1.5rem;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: radial-gradient(circle at 50% 40%, #1f2937, #0b0f17);
  border: 0;
  border-radius: inherit;
}
.blog-post .post-content .media-facade-btn span {
  color: inherit;
}
.blog-post .post-content .media-facade-btn:hover .media-facade-play, .blog-post .post-content .media-facade-btn:focus-visible .media-facade-play {
  transform: scale(1.06);
  background: var(--global-theme-color);
}
.blog-post .post-content .media-facade-btn:focus-visible {
  outline: 2px solid var(--global-theme-color);
  outline-offset: -4px;
}
.blog-post .post-content .media-facade-play {
  position: relative;
  flex-shrink: 0;
  width: 4.2rem;
  height: 4.2rem;
  margin-bottom: 0.6rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: transform 0.15s ease, background 0.15s ease;
}
.blog-post .post-content .media-facade-play::after {
  position: absolute;
  top: 50%;
  left: 54%;
  content: "";
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.2rem solid #fff;
  transform: translate(-50%, -50%);
}
.blog-post .post-content .media-facade-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}
.blog-post .post-content .media-facade-meta,
.blog-post .post-content .media-facade-hint {
  font-size: 0.85rem;
  opacity: 0.75;
  text-wrap: balance;
}
.blog-post .post-content .highlight table,
.blog-post .post-content table.rouge-table {
  border: none !important;
  margin: 0 !important;
  background: none !important;
  border-collapse: collapse !important;
}
.blog-post .post-content .highlight table thead th,
.blog-post .post-content table.rouge-table thead th {
  border: none !important;
  background: none !important;
}
.blog-post .post-content .highlight table td,
.blog-post .post-content table.rouge-table td {
  border: none !important;
  padding: 0 !important;
  vertical-align: top;
}
.blog-post .post-content .highlight table tr:last-child td,
.blog-post .post-content table.rouge-table tr:last-child td {
  border: none !important;
}
.blog-post .post-content .highlight table tr:hover,
.blog-post .post-content table.rouge-table tr:hover {
  background: none !important;
}
.blog-post .post-content .highlight table .gutter, .blog-post .post-content .highlight table .rouge-gutter,
.blog-post .post-content table.rouge-table .gutter,
.blog-post .post-content table.rouge-table .rouge-gutter {
  padding-right: 8px !important;
  color: rgba(27, 31, 36, 0.3);
  text-align: right;
  user-select: none;
  border-right: 1px solid var(--global-divider-color, #d0d7de) !important;
  width: 1%;
  min-width: 2em;
}
.blog-post .post-content .highlight table .code, .blog-post .post-content .highlight table .rouge-code,
.blog-post .post-content table.rouge-table .code,
.blog-post .post-content table.rouge-table .rouge-code {
  padding-left: 10px !important;
}
.blog-post .post-content table:not(.rouge-table):not(.highlight) {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.blog-post .post-content table:not(.rouge-table):not(.highlight) thead th {
  font-weight: 700;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-top: 2px solid var(--global-text-color);
  border-bottom: 1px solid var(--global-text-color);
  background: var(--global-code-bg-color, #f6f8fa);
}
.blog-post .post-content table:not(.rouge-table):not(.highlight) tbody td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--global-divider-color, #dee2e6);
  vertical-align: top;
}
.blog-post .post-content table:not(.rouge-table):not(.highlight) tbody tr:last-child td {
  border-bottom: 2px solid var(--global-text-color);
}
.blog-post .post-content table:not(.rouge-table):not(.highlight) tbody tr:hover {
  background: var(--global-theme-color-light, rgba(78, 115, 223, 0.05));
}
.blog-post .post-content code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--global-code-bg-color, #f6f8fa);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.blog-post .post-content pre {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--global-divider-color, #d0d7de);
  background: var(--global-code-bg-color, #f6f8fa);
  overflow-x: auto;
}
.blog-post .post-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}
.blog-post .post-content figure.highlight,
.blog-post .post-content div.highlight {
  border: 1px solid var(--global-divider-color, #d0d7de);
  border-radius: 6px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.blog-post .post-content figure.highlight pre,
.blog-post .post-content div.highlight pre {
  border: none;
  border-radius: 0;
  margin: 0;
}
.blog-post .post-content blockquote {
  border-left: 3px solid var(--global-theme-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--global-text-color);
  opacity: 0.85;
}
.blog-post .post-content ul, .blog-post .post-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}
.blog-post .post-content ul li, .blog-post .post-content ol li {
  margin-bottom: 0.45rem;
}
.blog-post .post-content hr {
  border: none;
  border-top: 1px solid var(--global-divider-color, #dee2e6);
  margin: 2rem 0;
}
.blog-post .post-content a {
  color: var(--global-theme-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s ease;
}
.blog-post .post-content a:hover {
  border-bottom-color: var(--global-theme-color);
  text-decoration: none;
}
.blog-post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1rem 0;
}
.blog-post .post-content .article-figure {
  width: 100%;
  margin: 2.25rem 0;
  text-align: center;
}
.blog-post .post-content .article-figure img {
  margin: 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 12px;
  box-sizing: border-box;
}
.blog-post .post-content .article-figure figcaption {
  max-width: 820px;
  margin: 0.75rem auto 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--global-text-color);
  opacity: 0.85;
}
.blog-post .post-content .article-figure picture {
  display: block;
}
.blog-post .post-content .article-figure--animated img {
  width: 100%;
  max-width: calc(760px + 1.5rem + 2px);
}
.blog-post .post-content .figure-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.blog-post .post-content .viz3d-figure {
  margin: 2.25rem 0;
}
.blog-post .post-content .viz3d-figure figcaption {
  max-width: 820px;
  margin: 0.75rem auto 0;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.85;
}
.blog-post .post-content .viz3d {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 12px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
.blog-post .post-content .viz3d-fallback {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
}
.blog-post .post-content .viz3d--live:not(.viz3d--failed) .viz3d-fallback,
.blog-post .post-content .viz3d--failed .viz3d-stage {
  display: none;
}
.blog-post .post-content .viz3d-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem 0;
}
.blog-post .post-content .viz3d-group {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
}
.blog-post .post-content .viz3d-group .viz3d-btn {
  border: 0;
  border-radius: 0;
}
.blog-post .post-content .viz3d-btn {
  padding: 0.45rem 0.85rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  color: #0f172a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
}
.blog-post .post-content .viz3d-btn[aria-pressed=true] {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}
.blog-post .post-content .viz3d-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.blog-post .post-content .viz3d-canvas {
  position: relative;
}
.blog-post .post-content .viz3d-canvas canvas {
  display: block;
  width: 100% !important;
}
.blog-post .post-content .viz3d-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blog-post .post-content .viz3d-label {
  padding: 2px 6px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #0f172a;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
}
.blog-post .post-content .viz3d-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  max-width: 260px;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #fff;
  pointer-events: none;
  background: #0f172a;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}
.blog-post .post-content .viz3d-tip strong,
.blog-post .post-content .viz3d-tip span {
  display: block;
  color: #fff;
}
.blog-post .post-content .viz3d-tip strong {
  margin-bottom: 2px;
}
.blog-post .post-content .viz3d-status {
  min-height: 1.7em;
  padding: 0.35rem 0.85rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}
.blog-post .post-content .viz3d-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  padding: 0.3rem 0.85rem 0;
  font-size: 0.8rem;
  color: #475569;
}
.blog-post .post-content .viz3d-legend i {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.35rem;
  vertical-align: -1px;
  border-radius: 3px;
}
.blog-post .post-content .viz3d-hint {
  padding: 0.25rem 0.85rem 0.65rem;
  font-size: 0.75rem;
  color: #64748b;
}
.blog-post .post-content mjx-container[display=true] {
  margin: 1.75rem 0 !important;
  padding: 0.25rem 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.blog-post .post-content .notation-card,
.blog-post .post-content .article-callout,
.blog-post .post-content .metric-card,
.blog-post .post-content .source-card,
.blog-post .post-content .adoption-card,
.blog-post .post-content .article-details {
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 12px;
  background: var(--global-code-bg-color, #f6f8fa);
}
.blog-post .post-content .notation-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1rem;
}
.blog-post .post-content .notation-card div {
  padding: 0.25rem 0.5rem;
}
.blog-post .post-content .notation-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--global-theme-color);
  font-size: 1.08rem;
}
.blog-post .post-content .notation-card span {
  font-size: 0.94rem;
  line-height: 1.45;
}
.blog-post .post-content .metric-grid,
.blog-post .post-content .source-grid,
.blog-post .post-content .adoption-grid,
.blog-post .post-content .article-callout-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 2rem;
}
.blog-post .post-content .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.blog-post .post-content .metric-grid--results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-post .post-content .metric-card {
  padding: 1rem;
}
.blog-post .post-content .metric-card .metric-value {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--global-theme-color);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}
.blog-post .post-content .metric-card .metric-label {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}
.blog-post .post-content .metric-card .metric-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0.78;
}
.blog-post .post-content .tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.5rem 0 2rem;
}
.blog-post .post-content .tech-chips span {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 999px;
  background: var(--global-code-bg-color, #f6f8fa);
  font-size: 0.88rem;
  font-weight: 600;
}
.blog-post .post-content .article-details {
  margin: 1.5rem 0 2rem;
  padding: 0.9rem 1rem;
}
.blog-post .post-content .article-details summary {
  color: var(--global-theme-color);
  font-weight: 700;
  cursor: pointer;
}
.blog-post .post-content .article-details table {
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}
.blog-post .post-content .source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-post .post-content .source-card,
.blog-post .post-content .adoption-card {
  padding: 1.1rem;
}
.blog-post .post-content .source-card ul,
.blog-post .post-content .adoption-card ul {
  margin: 0;
  padding-left: 1.15rem;
}
.blog-post .post-content .source-card li:last-child,
.blog-post .post-content .adoption-card li:last-child {
  margin-bottom: 0;
}
.blog-post .post-content .source-card p:last-child,
.blog-post .post-content .adoption-card p:last-child {
  margin-bottom: 0;
}
.blog-post .post-content .source-card {
  font-size: 0.95rem;
  line-height: 1.5;
}
.blog-post .post-content .card-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--global-theme-color);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-post .post-content .card-title {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
  line-height: 1.3;
}
.blog-post .post-content .source-question {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
  line-height: 1.35;
}
.blog-post .post-content .source-links {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}
.blog-post .post-content .adoption-grid,
.blog-post .post-content .article-callout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.blog-post .post-content .adoption-card .step-number {
  display: inline-grid;
  width: 1.9rem;
  height: 1.9rem;
  margin-bottom: 0.55rem;
  place-items: center;
  border-radius: 50%;
  background: var(--global-theme-color);
  color: #fff;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
}
.blog-post .post-content .article-callout {
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--global-theme-color);
}
.blog-post .post-content .article-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}
.blog-post .post-content .article-callout p {
  margin: 0;
}
.blog-post .post-content .article-callout--caution {
  border-left-color: #e87518;
}
.blog-post .post-content .article-callout--crux {
  border-left-color: #2563eb;
  background: #eff6ff;
}
.blog-post .post-content .article-callout--aside {
  border-left-color: #64748b;
}
.blog-post .post-content .article-callout--tip {
  border-left-color: #0d9488;
  background: #f0fdfa;
}
.blog-post .post-content .callout-label {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}
.blog-post .post-content .dialogue {
  margin: 1.75rem 0 2rem;
  padding: 1rem 1.2rem 0.5rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 12px;
  background: #fcfbf7;
}
.blog-post .post-content .dialogue .dialogue-title {
  margin-bottom: 0.7rem;
  color: var(--global-theme-color);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-post .post-content .dialogue p {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 6rem;
  line-height: 1.55;
}
.blog-post .post-content .dialogue p.dialogue-title {
  padding-left: 0;
}
.blog-post .post-content .dialogue .speaker {
  position: absolute;
  left: 0;
  width: 5.6rem;
  font-weight: 700;
}
.blog-post .post-content .dialogue .speaker--prof {
  color: var(--global-theme-color);
}
.blog-post .post-content .dialogue .speaker--student {
  color: #0f766e;
}
.blog-post .post-content .dialogue:lang(zh) p {
  padding-left: 3.6rem;
}
.blog-post .post-content .dialogue:lang(zh) .speaker {
  width: 3.2rem;
}
.blog-post .post-content .callout-label:lang(zh),
.blog-post .post-content .dialogue .dialogue-title:lang(zh) {
  letter-spacing: 0.02em;
}
@media (max-width: 767px) {
  .blog-post .post-content {
    font-size: 1.075rem;
    line-height: 1.62;
  }
  .blog-post .post-content h2 {
    font-size: 1.5rem;
  }
  .blog-post .post-content h3 {
    font-size: 1.25rem;
  }
  .blog-post .post-content h4 {
    font-size: 1.08rem;
  }
  .blog-post .post-content table:not(.rouge-table):not(.highlight) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .blog-post .post-content .article-figure--animated img {
    max-width: calc(440px + 0.5rem + 2px);
    padding: 4px;
  }
  .blog-post .post-content .dialogue p,
  .blog-post .post-content .dialogue:lang(zh) p {
    padding-left: 0;
  }
  .blog-post .post-content .dialogue p.dialogue-title {
    margin-bottom: 0.7rem;
  }
  .blog-post .post-content .dialogue .speaker {
    position: static;
    margin-right: 0.35rem;
  }
  .blog-post .post-content .figure-scroll img {
    width: 640px;
    max-width: none;
  }
  .blog-post .post-content .notation-card,
  .blog-post .post-content .metric-grid,
  .blog-post .post-content .metric-grid--results,
  .blog-post .post-content .source-grid,
  .blog-post .post-content .adoption-grid,
  .blog-post .post-content .article-callout-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .blog-post .post-content .metric-grid,
  .blog-post .post-content .metric-grid--results,
  .blog-post .post-content .adoption-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-post .post-content .source-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1560px) {
  .blog-post .post-content .article-figure {
    width: min(1080px, 100vw - 2rem);
    margin-right: 50%;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}
.blog-post .post-content strong {
  font-weight: 700;
}
.blog-post .post-content em {
  font-style: italic;
}
.blog-post .blog-toc {
  background: var(--global-code-bg-color, #f6f8fa);
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 6px;
  padding: 0;
  margin-bottom: 2rem;
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
}
.blog-post .blog-toc .blog-toc-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.blog-post .blog-toc .blog-toc-summary::-webkit-details-marker {
  display: none;
}
.blog-post .blog-toc .blog-toc-summary::marker {
  content: "";
}
.blog-post .blog-toc h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  color: var(--global-text-color);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-post .blog-toc .blog-toc-count {
  font-size: 0.85rem;
  color: var(--global-text-color);
  opacity: 0.55;
}
.blog-post .blog-toc .blog-toc-chevron {
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--global-text-color);
  border-bottom: 2px solid var(--global-text-color);
  opacity: 0.55;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.2s ease;
}
.blog-post .blog-toc .blog-toc-details[open] .blog-toc-chevron {
  transform: translateY(25%) rotate(-135deg);
}
.blog-post .blog-toc ul {
  list-style: none;
  padding: 0 1.25rem 1rem;
  margin: 0;
}
.blog-post .blog-toc ul li {
  margin-bottom: 0.2rem;
}
.blog-post .blog-toc ul li a {
  font-size: 0.85rem;
  color: var(--global-text-color);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s ease;
  border-bottom: none;
}
.blog-post .blog-toc ul li a:hover, .blog-post .blog-toc ul li a.active {
  opacity: 1;
  color: var(--global-theme-color);
}
.blog-post .blog-toc ul li.toc-level-2 {
  padding-left: 0;
}
.blog-post .blog-toc ul li.toc-level-3 {
  padding-left: 1rem;
  font-size: 0.82rem;
}
@media (min-width: 1280px) {
  .blog-post .blog-toc {
    position: fixed;
    top: 100px;
    right: calc(50% + 420px);
    width: min(220px, 50% - 420px - 1rem);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
  }
  .blog-post .blog-toc .blog-toc-summary {
    display: block;
    min-height: 0;
    padding: 0;
    cursor: default;
    pointer-events: none;
  }
  .blog-post .blog-toc h4 {
    margin: 0 0 0.5rem 0;
  }
  .blog-post .blog-toc .blog-toc-count,
  .blog-post .blog-toc .blog-toc-chevron {
    display: none;
  }
  .blog-post .blog-toc ul {
    padding: 0;
  }
  .blog-post .blog-toc::-webkit-scrollbar {
    width: 3px;
  }
  .blog-post .blog-toc::-webkit-scrollbar-thumb {
    background: var(--global-divider-color, #dee2e6);
    border-radius: 3px;
  }
}
@media (min-width: 1560px) {
  .blog-post .blog-toc {
    right: calc(50% + 560px);
  }
}
.blog-post .post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--global-divider-color, #dee2e6);
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-size: 0.9rem;
}
.blog-post .post-nav a {
  color: var(--global-theme-color);
  text-decoration: none;
  max-width: 45%;
}
.blog-post .post-nav a:hover {
  text-decoration: underline;
}
.blog-post .post-nav .post-nav-next {
  margin-left: auto;
  text-align: right;
}

.blog-layout {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.sidebar-show-btn {
  position: fixed;
  left: max(1rem, 50% - 620px);
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 4px;
  background: var(--global-bg-color, #fff);
  color: var(--global-text-color);
  opacity: 0.4;
  cursor: pointer;
  font-size: 0.8rem;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.sidebar-show-btn:hover {
  opacity: 1;
}

.blog-sidebar {
  position: fixed;
  left: max(1rem, 50% - 620px);
  width: 180px;
  font-size: 0.85rem;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.blog-sidebar.collapsed {
  opacity: 0;
  pointer-events: none;
}
.blog-sidebar .sidebar-collapse-btn {
  display: block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 4px;
  background: var(--global-bg-color, #fff);
  color: var(--global-text-color);
  opacity: 0.4;
  cursor: pointer;
  font-size: 0.75rem;
  transition: opacity 0.2s ease;
}
.blog-sidebar .sidebar-collapse-btn:hover {
  opacity: 1;
}
.blog-sidebar .sidebar-spacer {
  display: none;
}

.blog-sidebar .sidebar-section,
.blog-browse-mobile .sidebar-section {
  margin-bottom: 1.5rem;
}
.blog-sidebar .sidebar-section h4,
.blog-browse-mobile .sidebar-section h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--global-text-color);
  opacity: 0.5;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--global-divider-color, #dee2e6);
}
.blog-sidebar .sidebar-section ul,
.blog-browse-mobile .sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar .sidebar-section ul li,
.blog-browse-mobile .sidebar-section ul li {
  margin-bottom: 0.25rem;
}
.blog-sidebar .sidebar-section ul li a,
.blog-browse-mobile .sidebar-section ul li a {
  color: var(--global-text-color);
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.2s ease;
  display: block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.blog-sidebar .sidebar-section ul li a:hover, .blog-sidebar .sidebar-section ul li a.active,
.blog-browse-mobile .sidebar-section ul li a:hover,
.blog-browse-mobile .sidebar-section ul li a.active {
  opacity: 1;
  color: var(--global-theme-color);
  background: var(--global-theme-color-light, rgba(78, 115, 223, 0.08));
}
.blog-sidebar .sidebar-section ul li a .count,
.blog-browse-mobile .sidebar-section ul li a .count {
  opacity: 0.5;
  font-size: 0.75rem;
}
.blog-sidebar .sidebar-section .sidebar-tags,
.blog-browse-mobile .sidebar-section .sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.blog-sidebar .sidebar-section .sidebar-tags .sidebar-tag,
.blog-browse-mobile .sidebar-section .sidebar-tags .sidebar-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  background: var(--global-code-bg-color, #f6f8fa);
  border-radius: 12px;
  color: var(--global-text-color);
  opacity: 0.65;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-sidebar .sidebar-section .sidebar-tags .sidebar-tag .count,
.blog-browse-mobile .sidebar-section .sidebar-tags .sidebar-tag .count {
  opacity: 0.5;
  font-size: 0.65rem;
}
.blog-sidebar .sidebar-section .sidebar-tags .sidebar-tag:hover, .blog-sidebar .sidebar-section .sidebar-tags .sidebar-tag.active,
.blog-browse-mobile .sidebar-section .sidebar-tags .sidebar-tag:hover,
.blog-browse-mobile .sidebar-section .sidebar-tags .sidebar-tag.active {
  opacity: 1;
  background: var(--global-theme-color);
  color: #fff;
}
.blog-sidebar .sidebar-section .sidebar-tags .sidebar-tag:hover .count, .blog-sidebar .sidebar-section .sidebar-tags .sidebar-tag.active .count,
.blog-browse-mobile .sidebar-section .sidebar-tags .sidebar-tag:hover .count,
.blog-browse-mobile .sidebar-section .sidebar-tags .sidebar-tag.active .count {
  opacity: 0.8;
}

.blog-browse-mobile {
  display: none;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 8px;
}
.blog-browse-mobile summary {
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.blog-browse-mobile .sidebar-section {
  margin: 0;
  padding: 0.25rem 0.9rem 0.75rem;
}

@media (max-width: 1200px) {
  .blog-sidebar,
  .sidebar-show-btn {
    display: none !important;
  }
  .blog-browse-mobile {
    display: block;
  }
}
.blog-index {
  max-width: 760px;
  margin: 0 auto;
}
.blog-index .header-bar {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 0;
  padding-bottom: 1.5rem;
}
.blog-index .header-bar h1 {
  font-family: "STIX Two Text", "Times New Roman", Georgia, serif;
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}
.blog-index .header-bar h2 {
  font-size: 1.15rem;
  color: var(--global-text-color);
  opacity: 0.6;
  font-weight: 400;
}
.blog-index .blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.blog-index .blog-tags .tag-btn {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--global-divider-color, #dee2e6);
  border-radius: 20px;
  cursor: pointer;
  color: var(--global-text-color);
  opacity: 0.7;
  transition: all 0.2s ease;
  user-select: none;
}
.blog-index .blog-tags .tag-btn:hover {
  opacity: 1;
  border-color: var(--global-theme-color);
  color: var(--global-theme-color);
}
.blog-index .blog-tags .tag-btn.active {
  background: var(--global-theme-color);
  color: #fff;
  border-color: var(--global-theme-color);
  opacity: 1;
}
.blog-index .active-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
  background: var(--global-code-bg-color, #f6f8fa);
  border-radius: 6px;
  font-size: 0.82rem;
}
.blog-index .active-filter #filter-label {
  font-weight: 600;
  color: var(--global-theme-color);
}
.blog-index .active-filter #clear-filter {
  color: var(--global-text-color);
  opacity: 0.5;
  text-decoration: none;
  font-size: 0.78rem;
}
.blog-index .active-filter #clear-filter:hover {
  opacity: 1;
}
.blog-index .post-list {
  list-style: none;
  padding: 0;
}
.blog-index .post-list li {
  padding: 1.25rem 1rem;
  position: relative;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.blog-index .post-list li:hover {
  background: var(--global-theme-color-light, rgba(78, 115, 223, 0.05));
}
.blog-index .post-list li h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.15rem;
}
.blog-index .post-list li h3 a {
  color: var(--global-text-color);
  text-decoration: none;
}
.blog-index .post-list li h3 a:hover {
  color: var(--global-theme-color);
}
.blog-index .post-list li .post-meta {
  font-size: 0.8rem;
  color: var(--global-text-color);
  opacity: 0.55;
  margin-bottom: 0.3rem;
}
.blog-index .post-list li .post-description {
  font-size: 0.9rem;
  color: var(--global-text-color);
  opacity: 0.8;
  margin-bottom: 0.3rem;
}
.blog-index .post-list li .post-series-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  background: var(--global-theme-color);
  color: #fff;
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.3rem;
}
.blog-index .post-list li .post-tags {
  margin: 0;
}
.blog-index .post-list li .post-tags .post-tag {
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  background: var(--global-code-bg-color, #f6f8fa);
  border-radius: 12px;
  color: var(--global-text-color);
  opacity: 0.6;
  margin-right: 0.3rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--global-divider-color, #dee2e6);
  background: var(--global-bg-color, #fff);
  color: var(--global-text-color);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--global-theme-color);
  color: #fff;
  border-color: var(--global-theme-color);
}

.home-latest {
  border-top: 1px solid var(--global-divider-color, #dee2e6);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}
.home-latest .home-latest-title {
  font-size: 0.95rem;
  font-weight: bold;
  margin: 0 0 0.6rem;
}
.home-latest .home-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-latest .home-latest-item {
  padding: 0.55rem 0 0.55rem 0.85rem;
  border-left: 2px solid var(--global-divider-color, #dee2e6);
  transition: border-color 0.2s ease;
}
.home-latest .home-latest-item + .home-latest-item {
  margin-top: 0.35rem;
}
.home-latest .home-latest-item:hover, .home-latest .home-latest-item:focus-within {
  border-left-color: var(--global-theme-color);
}
.home-latest .home-latest-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}
.home-latest .home-latest-meta {
  font-size: 0.78rem;
  color: var(--global-text-color);
  margin-top: 0.15rem;
}
.home-latest .home-latest-meta .home-latest-when {
  opacity: 0.65;
}
.home-latest .home-latest-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.25rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-latest .home-latest-all {
  display: inline-block;
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

footer.site-footer {
  border-top: none;
  padding: 0;
  margin-top: 4rem;
  font-size: 0.8rem;
}
footer.site-footer .site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid var(--global-divider-color, #dee2e6);
  padding: 1.5rem 0 2.5rem;
  color: var(--global-text-color);
}
footer.site-footer .site-footer-copy {
  opacity: 0.65;
}
footer.site-footer .site-footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer.site-footer .site-footer-copy a:hover, footer.site-footer .site-footer-copy a:focus {
  color: var(--global-theme-color);
}
footer.site-footer .site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
footer.site-footer .site-footer-links a {
  color: var(--global-text-color);
  opacity: 0.65;
}
footer.site-footer .site-footer-links a:hover, footer.site-footer .site-footer-links a:focus {
  color: var(--global-theme-color);
  opacity: 1;
  text-decoration: none;
}
footer.site-footer .site-footer-links a[aria-current] {
  opacity: 1;
}
body:has(.blog-post) footer.site-footer .site-footer-inner, body:has(.blog-index) footer.site-footer .site-footer-inner {
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 919.98px) {
  body:has(#back-to-top) footer.site-footer .site-footer-inner {
    padding-bottom: 5.5rem;
  }
}
@media (max-width: 767.98px) {
  footer.site-footer .site-footer-inner {
    flex-direction: column;
  }
  footer.site-footer .site-footer-links a {
    display: inline-block;
    padding: 0.5rem 0.3rem;
    margin: -0.5rem -0.3rem;
  }
}

/*# sourceMappingURL=main.css.map */